theme-juice 0.6.8 → 0.6.9

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8c8400c3caba23894a7c448199746d0786d6533f
4
- data.tar.gz: 35d93551ca465c84c73b6880c634aee9233bfe9e
3
+ metadata.gz: e2507ea555270b69fb0d14bd05e5a37eb93f81f8
4
+ data.tar.gz: 09bdd2f4cb9300982151f227e0f5a33aea8035f7
5
5
  SHA512:
6
- metadata.gz: c9fe226a8784be29bb8ec8a2989600f973f185aea0f6e712332f3104c5fe17476bb448a5e5cc4eb85c55c68036476d59d6fa221f863fbde4ac6df380ae5b4c40
7
- data.tar.gz: c6dee988f283a7c1a702c08c5e87149a9f241ade3af7d44c01ad3f933f4db539b5addad3a2a52b7efe91d404777fc24abe86beb05261342658c9bbd45f190804
6
+ metadata.gz: 411a2116cdd114ea8b142c96f66dd678910433dbe37f97227e160299343405e42e2c1251d3c8cce69ffb637d0f7ab71bcb71d5a26cc686da85a18f5ab41e2f46
7
+ data.tar.gz: 5607010b7ee8d93b8edc5b8d5669341c63844e8a8f8fd469497bb07dd4508d6fed84cf0aed082abd75212490e6413f83c83b9b3382a9eceed14b4694a96ec5fa
data/lib/theme-juice.rb CHANGED
@@ -15,8 +15,8 @@ require_relative "theme-juice/version"
15
15
  require_relative "theme-juice/environment"
16
16
  require_relative "theme-juice/interaction"
17
17
  require_relative "theme-juice/interactions/teejay"
18
- require_relative "theme-juice/interactions/create_options"
19
- require_relative "theme-juice/interactions/delete_options"
18
+ require_relative "theme-juice/interactions/create"
19
+ require_relative "theme-juice/interactions/delete"
20
20
  require_relative "theme-juice/service"
21
21
  require_relative "theme-juice/services/config"
22
22
  require_relative "theme-juice/services/create"
@@ -78,7 +78,7 @@ module ThemeJuice
78
78
  @create.new(opts)
79
79
  end
80
80
 
81
- desc "setup [SITE]", "Setup an existing SITE in development environment"
81
+ desc "setup [SITE]", "Setup an existing SITE within the development environment"
82
82
  method_option :site, :type => :string, :aliases => "-s", :default => false, :desc => "Name of the development site"
83
83
  method_option :location, :type => :string, :aliases => "-l", :default => false, :desc => "Location of the local site"
84
84
  method_option :url, :type => :string, :aliases => "-u", :default => false, :desc => "Development URL of the site"
@@ -267,9 +267,9 @@ module ThemeJuice
267
267
  when "return", "linefeed", "space"
268
268
  return list[selected]
269
269
  when "esc", "ctrl+c"
270
- goodbye(newline: false)
270
+ goodbye(:newline => false)
271
271
  # else
272
- # speak "You pressed: #{chr.inspect}", { color: :yellow }
272
+ # speak "You pressed: #{key.inspect}", { :color => :yellow }
273
273
  end
274
274
  end
275
275
  end
@@ -1,7 +1,7 @@
1
1
  # encoding: UTF-8
2
2
 
3
3
  module ThemeJuice
4
- class Interaction::CreateOptions
4
+ class Interaction::Create
5
5
 
6
6
  #
7
7
  # Set up interactions and environment
@@ -1,7 +1,7 @@
1
1
  # encoding: UTF-8
2
2
 
3
3
  module ThemeJuice
4
- class Interaction::DeleteOptions
4
+ class Interaction::Delete
5
5
 
6
6
  #
7
7
  # Set up interactions and environment
@@ -7,7 +7,7 @@ module ThemeJuice
7
7
  # @param {Hash} opts
8
8
  #
9
9
  def initialize(opts = {})
10
- opts = ::ThemeJuice::Interaction::CreateOptions.new.setup_site_options(opts)
10
+ opts = ::ThemeJuice::Interaction::Create.new.setup_site_options(opts)
11
11
 
12
12
  super
13
13
  end
@@ -7,7 +7,7 @@ module ThemeJuice
7
7
  # @param {Hash} opts
8
8
  #
9
9
  def initialize(opts)
10
- opts = ThemeJuice::Interaction::DeleteOptions.new.get_site_options(opts)
10
+ opts = ThemeJuice::Interaction::Delete.new.get_site_options(opts)
11
11
 
12
12
  super
13
13
  end
@@ -1,5 +1,5 @@
1
1
  # encoding: UTF-8
2
2
 
3
3
  module ThemeJuice
4
- VERSION = "0.6.8"
4
+ VERSION = "0.6.9"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: theme-juice
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.8
4
+ version: 0.6.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ezekiel Gabrielse
@@ -70,8 +70,8 @@ files:
70
70
  - lib/theme-juice/commands/subcommand.rb
71
71
  - lib/theme-juice/environment.rb
72
72
  - lib/theme-juice/interaction.rb
73
- - lib/theme-juice/interactions/create_options.rb
74
- - lib/theme-juice/interactions/delete_options.rb
73
+ - lib/theme-juice/interactions/create.rb
74
+ - lib/theme-juice/interactions/delete.rb
75
75
  - lib/theme-juice/interactions/teejay.rb
76
76
  - lib/theme-juice/service.rb
77
77
  - lib/theme-juice/services/config.rb