nimbu 0.5.3 → 0.5.4

Sign up to get free protection for your applications and to get access to all the features.
data/README.md ADDED
@@ -0,0 +1,25 @@
1
+ # Nimbu CLI
2
+
3
+ [![Gem Version](https://badge.fury.io/rb/nimbu.png)](http://badge.fury.io/rb/nimbu)
4
+
5
+ The Nimbu CLI is used to manage and develop Nimbu e-commerce sites from the command line.
6
+
7
+ #### Nimbu? Zero-to-Shop in minutes!
8
+
9
+ Nimbu is a refreshingly new multilingual **e-commerce platform**, combining state of the art Content Management with all the tools you need to manage a thriving online shop.
10
+
11
+ For more about Nimbu, visit https://nimbu.io.
12
+
13
+ To get started with the Nimbu CLI, see http://developers.nimbu.io.
14
+
15
+ ## Installation
16
+
17
+ Install the gem by running
18
+
19
+ ```ruby
20
+ gem install nimbu
21
+ ```
22
+
23
+ ## Usage
24
+
25
+ Once installed, you'll have access to the `nimbu` command from your command shell. Log in using the email address and password you used when creating your Nimbu account.
data/lib/nimbu/command.rb CHANGED
@@ -179,7 +179,6 @@ module Nimbu
179
179
  object.send(method)
180
180
  rescue Interrupt, StandardError, SystemExit => error
181
181
  # load likely error classes, as they may not be loaded yet due to defered loads
182
- require 'rest_client'
183
182
  raise(error)
184
183
  end
185
184
  # rescue Nimbu::API::Errors::Unauthorized, RestClient::Unauthorized
@@ -3,7 +3,7 @@ require "nimbu/command/base"
3
3
  # open the current site in your browser (simulator, admin)
4
4
  #
5
5
  class Nimbu::Command::Browse < Nimbu::Command::Base
6
- # index
6
+ # browse
7
7
  #
8
8
  # open the current site in your browser
9
9
  #
@@ -25,7 +25,7 @@ class Nimbu::Command::Browse < Nimbu::Command::Base
25
25
  exec(cmd)
26
26
  end
27
27
 
28
- # index
28
+ # browse:simulator
29
29
  #
30
30
  # open the simulator for your current site
31
31
  #
@@ -36,7 +36,7 @@ class Nimbu::Command::Browse < Nimbu::Command::Base
36
36
  exec(cmd)
37
37
  end
38
38
 
39
- # index
39
+ # browse:admin
40
40
  #
41
41
  # open the admin area for your current site
42
42
  #
@@ -3,7 +3,7 @@ require "nimbu/command/base"
3
3
  # interacting with your sites (list, create)
4
4
  #
5
5
  class Nimbu::Command::Sites < Nimbu::Command::Base
6
- # index
6
+ # sites
7
7
  #
8
8
  # list sites you can edit
9
9
  #
@@ -21,7 +21,7 @@ class Nimbu::Command::Sites < Nimbu::Command::Base
21
21
  end
22
22
  end
23
23
 
24
- # index
24
+ # sites:list
25
25
  #
26
26
  # list sites you can edit
27
27
  #
@@ -4,7 +4,7 @@ require "nimbu/command/base"
4
4
  #
5
5
  class Nimbu::Command::Themes < Nimbu::Command::Base
6
6
 
7
- # server
7
+ # themes
8
8
  #
9
9
  # list available commands or display help for a specific command
10
10
  #
@@ -22,7 +22,7 @@ class Nimbu::Command::Themes < Nimbu::Command::Base
22
22
  puts "Currently this directory is configured for '#{Nimbu::Auth.theme.red.bold}'"
23
23
  end
24
24
 
25
- # list
25
+ # themes:list
26
26
  #
27
27
  # list all layouts, templates and assets
28
28
  #
@@ -64,7 +64,7 @@ class Nimbu::Command::Themes < Nimbu::Command::Base
64
64
  end
65
65
  end
66
66
 
67
- # push
67
+ # themes:push
68
68
  #
69
69
  # push all layouts, templates and assets
70
70
  # --liquid, --liquid-only # only push template code
data/lib/nimbu/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Nimbu
2
- VERSION = "0.5.3"
2
+ VERSION = "0.5.4"
3
3
  end
metadata CHANGED
@@ -2,14 +2,14 @@
2
2
  name: nimbu
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.5.3
5
+ version: 0.5.4
6
6
  platform: ruby
7
7
  authors:
8
8
  - Zenjoy BVBA
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-04-02 00:00:00.000000000 Z
12
+ date: 2013-04-03 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  version_requirements: !ruby/object:Gem::Requirement
@@ -171,6 +171,22 @@ dependencies:
171
171
  - !ruby/object:Gem::Version
172
172
  version: '0'
173
173
  type: :runtime
174
+ - !ruby/object:Gem::Dependency
175
+ version_requirements: !ruby/object:Gem::Requirement
176
+ none: false
177
+ requirements:
178
+ - - ~>
179
+ - !ruby/object:Gem::Version
180
+ version: 1.5.2
181
+ name: rack
182
+ prerelease: false
183
+ requirement: !ruby/object:Gem::Requirement
184
+ none: false
185
+ requirements:
186
+ - - ~>
187
+ - !ruby/object:Gem::Version
188
+ version: 1.5.2
189
+ type: :runtime
174
190
  - !ruby/object:Gem::Dependency
175
191
  version_requirements: !ruby/object:Gem::Requirement
176
192
  none: false
@@ -292,6 +308,7 @@ executables:
292
308
  extensions: []
293
309
  extra_rdoc_files: []
294
310
  files:
311
+ - README.md
295
312
  - bin/nimbu
296
313
  - lib/nimbu.rb
297
314
  - lib/nimbu/auth.rb
@@ -324,7 +341,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
324
341
  - !ruby/object:Gem::Version
325
342
  segments:
326
343
  - 0
327
- hash: -4608406263400107983
344
+ hash: 4314163285106319780
328
345
  version: '0'
329
346
  required_rubygems_version: !ruby/object:Gem::Requirement
330
347
  none: false
@@ -333,7 +350,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
333
350
  - !ruby/object:Gem::Version
334
351
  segments:
335
352
  - 0
336
- hash: -4608406263400107983
353
+ hash: 4314163285106319780
337
354
  version: '0'
338
355
  requirements: []
339
356
  rubyforge_project: