bushido 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -12,7 +12,7 @@ Gem::Specification.new do |s|
12
12
  s.summary = %q{Command-lin interface for bushi.do}
13
13
  s.description = %q{A command line tool to do everything with bushido, from signing up and deploying new apps, to claiming, restarting, and updating existing apps}
14
14
 
15
- s.add_dependency "rest-client"
15
+ s.add_dependency "rest-client", ">=1.6.1"
16
16
 
17
17
  s.rubyforge_project = "bushido"
18
18
 
@@ -32,7 +32,7 @@ module Bushido
32
32
 
33
33
  def update_account(account)
34
34
  print "Storing account information..."
35
- Dir.mkdir "#{Bushido::Utils.home_directory}/.bushido" unless Dir.exists? "#{Bushido::Utils.home_directory}/.bushido"
35
+ Dir.mkdir "#{Bushido::Utils.home_directory}/.bushido" unless (File.exist?("#{Bushido::Utils.home_directory}/.bushido") and File.directory?("#{Bushido::Utils.home_directory}/.bushido"))
36
36
  File.open(File.expand_path("#{Bushido::Utils.home_directory}/.bushido/config.json"), 'w') { |f| f.write(account.to_json) }
37
37
  puts " Done!"
38
38
  end
@@ -1,3 +1,3 @@
1
1
  module Bushido
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
metadata CHANGED
@@ -1,12 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bushido
3
3
  version: !ruby/object:Gem::Version
4
- prerelease: false
4
+ hash: 21
5
+ prerelease:
5
6
  segments:
6
7
  - 0
7
8
  - 0
8
- - 4
9
- version: 0.0.4
9
+ - 5
10
+ version: 0.0.5
10
11
  platform: ruby
11
12
  authors:
12
13
  - Sean Grove
@@ -25,9 +26,12 @@ dependencies:
25
26
  requirements:
26
27
  - - ">="
27
28
  - !ruby/object:Gem::Version
29
+ hash: 13
28
30
  segments:
29
- - 0
30
- version: "0"
31
+ - 1
32
+ - 6
33
+ - 1
34
+ version: 1.6.1
31
35
  type: :runtime
32
36
  version_requirements: *id001
33
37
  description: A command line tool to do everything with bushido, from signing up and deploying new apps, to claiming, restarting, and updating existing apps
@@ -64,6 +68,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
64
68
  requirements:
65
69
  - - ">="
66
70
  - !ruby/object:Gem::Version
71
+ hash: 3
67
72
  segments:
68
73
  - 0
69
74
  version: "0"
@@ -72,13 +77,14 @@ required_rubygems_version: !ruby/object:Gem::Requirement
72
77
  requirements:
73
78
  - - ">="
74
79
  - !ruby/object:Gem::Version
80
+ hash: 3
75
81
  segments:
76
82
  - 0
77
83
  version: "0"
78
84
  requirements: []
79
85
 
80
86
  rubyforge_project: bushido
81
- rubygems_version: 1.3.7
87
+ rubygems_version: 1.4.1
82
88
  signing_key:
83
89
  specification_version: 3
84
90
  summary: Command-lin interface for bushi.do