From 8e4d122027abd177b3efc446f2e5b25c5706b4d1 Mon Sep 17 00:00:00 2001 From: Luka Murn Date: Mon, 21 May 2018 15:31:05 +0200 Subject: [PATCH] Rename sciNote -> SciNote (lib/ folder) --- lib/generators/addon/USAGE | 2 +- lib/generators/addon/templates/README.md | 4 ++-- lib/tasks/protocol_keyword_team.rake | 4 ++-- lib/tasks/versions/generate_release_name.rake | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/generators/addon/USAGE b/lib/generators/addon/USAGE index a1e49aa05..760d17a34 100644 --- a/lib/generators/addon/USAGE +++ b/lib/generators/addon/USAGE @@ -1,5 +1,5 @@ ------------------------- -This generator creates a new sciNote addon inside /addons folder. +This generator creates a new SciNote addon inside /addons folder. The NAME parameter should be a fully namespaced addon name, containing any potential modules (e.g. Scinote::MyOrganization::MyAddon). diff --git a/lib/generators/addon/templates/README.md b/lib/generators/addon/templates/README.md index 800a77c08..1fdfcd5f9 100644 --- a/lib/generators/addon/templates/README.md +++ b/lib/generators/addon/templates/README.md @@ -1,6 +1,6 @@ -# sciNote addon - `${ADDON_NAME}` +# SciNote addon - `${ADDON_NAME}` -## How to include this addon inside main sciNote application +## How to include this addon inside main SciNote application * Inside `Gemfile`, add the following reference: diff --git a/lib/tasks/protocol_keyword_team.rake b/lib/tasks/protocol_keyword_team.rake index 07f0d31f0..cef7ddb53 100644 --- a/lib/tasks/protocol_keyword_team.rake +++ b/lib/tasks/protocol_keyword_team.rake @@ -1,7 +1,7 @@ namespace :protocol_keyword_team do desc 'Fixes false team_id on protocol keyword entry [bug SCI-2257]' task exec: :environment do - puts '[sciNote] Start processing...' + puts '[SciNote] Start processing...' Protocol.find_each do |protocol| new_keywords = [] protocol.protocol_keywords.find_each do |protocol_keyword| @@ -20,6 +20,6 @@ namespace :protocol_keyword_team do # append newly created keywords to protocol protocol.protocol_keywords << new_keywords end - puts '[sciNote] Done!' + puts '[SciNote] Done!' end end diff --git a/lib/tasks/versions/generate_release_name.rake b/lib/tasks/versions/generate_release_name.rake index 7a8d8591c..4ac249403 100644 --- a/lib/tasks/versions/generate_release_name.rake +++ b/lib/tasks/versions/generate_release_name.rake @@ -11,7 +11,7 @@ namespace :versions do puts '------------------------------------' puts '' - puts 'sciNote release name generator v0.1 ALPHA' + puts 'SciNote release name generator v0.1 ALPHA' puts '' puts '------------------------------------'