gridcli 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -25,7 +25,7 @@ module GridCLI
25
25
  end
26
26
 
27
27
  def save(posts)
28
- if posts.length == 0
28
+ if posts.nil? or posts.length == 0
29
29
  puts "Up to date."
30
30
  else
31
31
  posts.each { |p| puts "#{p.to_s}\n\n" }
@@ -19,7 +19,7 @@ module GridCLI
19
19
 
20
20
  def default_config
21
21
  {
22
- 'site' => "http://savorthegrid.com:3000",
22
+ 'site' => "http://gridcli.com",
23
23
  'token' => rand(36**31).to_s(36)
24
24
  }
25
25
  end
@@ -1,3 +1,3 @@
1
1
  module GridCLI
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gridcli
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
4
+ hash: 25
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 2
10
- version: 0.0.2
9
+ - 3
10
+ version: 0.0.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Brian Muller