profitbricks 0.4.0 → 0.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ === 0.4.1 / 2012-04-11
2
+
3
+ * 1 bug fix:
4
+
5
+ * tests on 1.8.7 should pass again
6
+
1
7
  === 0.4.0 / 2012-04-11
2
8
 
3
9
  * 2 major enhancements:
data/Gemfile CHANGED
@@ -2,6 +2,7 @@ source :rubygems
2
2
  gem 'savon'
3
3
 
4
4
  group :test, :development do
5
+ gem 'json'
5
6
  gem 'rspec'
6
7
  gem 'savon_spec'
7
8
  gem 'simplecov', :require => false
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  GEM
2
2
  remote: http://rubygems.org/
3
3
  specs:
4
- ZenTest (4.6.2)
4
+ ZenTest (4.7.0)
5
5
  akami (1.0.0)
6
6
  gyoku (>= 0.4.0)
7
7
  autotest-fsevent (0.2.8)
@@ -11,32 +11,33 @@ GEM
11
11
  ffi (1.0.11)
12
12
  gyoku (0.4.4)
13
13
  builder (>= 2.1.2)
14
- hoe (2.15.0)
14
+ hoe (3.0.3)
15
15
  rake (~> 0.8)
16
16
  hoe-bundler (1.1.0)
17
17
  hoe (>= 2.2.0)
18
18
  hoe-gemspec (1.0.0)
19
19
  hoe (>= 2.2.0)
20
- hoe-git (1.4.1)
20
+ hoe-git (1.5.0)
21
21
  hoe (>= 2.2.0)
22
22
  httpi (0.9.6)
23
23
  rack
24
+ json (1.6.6)
24
25
  metaclass (0.0.1)
25
26
  mocha (0.10.5)
26
27
  metaclass (~> 0.0.1)
27
- multi_json (1.1.0)
28
- nokogiri (1.5.0)
28
+ multi_json (1.2.0)
29
+ nokogiri (1.5.2)
29
30
  nori (1.1.0)
30
31
  rack (1.4.1)
31
32
  rake (0.9.2.2)
32
- rspec (2.8.0)
33
- rspec-core (~> 2.8.0)
34
- rspec-expectations (~> 2.8.0)
35
- rspec-mocks (~> 2.8.0)
36
- rspec-core (2.8.0)
37
- rspec-expectations (2.8.0)
38
- diff-lcs (~> 1.1.2)
39
- rspec-mocks (2.8.0)
33
+ rspec (2.9.0)
34
+ rspec-core (~> 2.9.0)
35
+ rspec-expectations (~> 2.9.0)
36
+ rspec-mocks (~> 2.9.0)
37
+ rspec-core (2.9.0)
38
+ rspec-expectations (2.9.1)
39
+ diff-lcs (~> 1.1.3)
40
+ rspec-mocks (2.9.0)
40
41
  savon (0.9.9)
41
42
  akami (~> 1.0)
42
43
  builder (>= 2.1.2)
@@ -69,6 +70,7 @@ DEPENDENCIES
69
70
  hoe-gemspec
70
71
  hoe-git
71
72
  jruby-openssl
73
+ json
72
74
  rspec
73
75
  savon
74
76
  savon_spec
data/README.md CHANGED
@@ -9,6 +9,7 @@ A Ruby client for the ProfitBricks API.
9
9
 
10
10
  ## Dependencies
11
11
  A Ruby interpreter (MRI 1.8.7, 1.9.2, 1.9.3 and JRuby 1.8 passing the tests).
12
+ Examples work on Rubinius, but the tests do not pass.
12
13
 
13
14
 
14
15
  ## Installation
data/Rakefile CHANGED
@@ -1,7 +1,7 @@
1
1
  # -*- ruby -*-
2
2
 
3
+
3
4
  require 'rubygems'
4
- gem 'hoe', '>= 2.1.0'
5
5
  require 'hoe'
6
6
  require "rspec/core/rake_task"
7
7
 
data/lib/profitbricks.rb CHANGED
@@ -13,7 +13,7 @@ require 'profitbricks/firewall'
13
13
  require 'profitbricks/rule'
14
14
 
15
15
  module Profitbricks
16
- VERSION = '0.4.0'
16
+ VERSION = '0.4.1'
17
17
  end
18
18
 
19
19
  PB = Profitbricks
@@ -63,7 +63,7 @@ module Profitbricks
63
63
  require 'json'
64
64
  hash = Digest::SHA1.hexdigest xml
65
65
 
66
- unless Dir.exists?(File.expand_path("../../../spec/fixtures/#{method}", __FILE__))
66
+ unless File.exist?(File.expand_path("../../../spec/fixtures/#{method}", __FILE__))
67
67
  Dir.mkdir(File.expand_path("../../../spec/fixtures/#{method}", __FILE__))
68
68
  end
69
69
  File.open(File.expand_path("../../../spec/fixtures/#{method}/#{hash}.xml", __FILE__), 'w').write(xml)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: profitbricks
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-04-10 00:00:00.000000000 Z
12
+ date: 2012-04-11 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: savon
16
- requirement: &11811440 !ruby/object:Gem::Requirement
16
+ requirement: &22770020 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *11811440
24
+ version_requirements: *22770020
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: rdoc
27
- requirement: &11810820 !ruby/object:Gem::Requirement
27
+ requirement: &22769000 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ~>
@@ -32,18 +32,18 @@ dependencies:
32
32
  version: '3.10'
33
33
  type: :development
34
34
  prerelease: false
35
- version_requirements: *11810820
35
+ version_requirements: *22769000
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: hoe
38
- requirement: &11810240 !ruby/object:Gem::Requirement
38
+ requirement: &22768260 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ~>
42
42
  - !ruby/object:Gem::Version
43
- version: '2.15'
43
+ version: '3.0'
44
44
  type: :development
45
45
  prerelease: false
46
- version_requirements: *11810240
46
+ version_requirements: *22768260
47
47
  description: A Ruby client for the ProfitBricks API.
48
48
  email:
49
49
  - git@dsander.de