lib/tasks/conflux.rake in conflux-1.0.5 vs lib/tasks/conflux.rake in conflux-1.0.6
- old
+ new
@@ -3,12 +3,12 @@
require 'fileutils'
require 'conflux/helpers'
namespace :conflux do
- desc 'Set which conflux app to use for the current directory'
- task :set_app do
+ desc 'Set which conflux bundle to use for the current directory'
+ task :use_bundle do
helpers = Conflux::Helpers
creds = helpers.ask_for_basic_creds
auth_response_body = helpers.json_request(
Net::HTTP::Post,
@@ -24,11 +24,11 @@
manifest_response_body = helpers.form_request(
Net::HTTP::Get,
'/apps/manifest',
{ app_slug: app_slug },
{ 'Conflux-User' => auth_response_body['token'] },
- 'Connecting to Conflux app failed.'
+ 'Connecting to Conflux bundle failed.'
)
manifest_json = manifest_response_body['manifest']
# Create .conflux/ folder if doesn't already exist
@@ -39,10 +39,10 @@
# Write this app info to a new manifest.json file for the user
File.open(helpers.conflux_manifest_path, 'w+') do |f|
f.write(JSON.pretty_generate(manifest_json))
end
- puts "Successfully connected project to conflux app: #{app_slug}"
+ puts "Successfully connected project to conflux bundle: #{app_slug}"
puts "The 'conflux' ruby gem wasn't automatically installed...Make sure it's installed if it's not already."
end
end
\ No newline at end of file