moo_moo 0.10.0 → 0.11.0

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: ba35f694e0e56c0b84757d0eb69dec11f2e78c73
4
- data.tar.gz: 95ee6eaca16cb0f1f26365799dd99335feb6a12f
3
+ metadata.gz: 8875e7a94753d756c166662a2ad8206a7f307ca4
4
+ data.tar.gz: 9fe6419a258111114936585aa2b656a42edbd39d
5
5
  SHA512:
6
- metadata.gz: 3c3976a7695d671706ade7e86079b3bc4276bc6bb2035a2bed159616250d5ef859b797feb81fdbbac4887372ae560edc63569f49541d89bfe7a1c0aa947e47c6
7
- data.tar.gz: 13a1907ce8cb220bfe9ca2a853073f3bd23391a79ba9c5e6c40d20a29e9c882de2aa75fc4f075edeb556620542da43bd72b9fc0393ec6849f7dab8c0cfb6cd68
6
+ metadata.gz: 3d1506f8d51ad6a934be2024d6bbedfc7fa13e7c4485675d809375bf69bbcc24802e1c892c94784a26907531d3f459d8729d4c398e156c985f98f28134c8b067
7
+ data.tar.gz: 58c70cb24f30a99ccdc742e0629dd656ced1b3cef99fb250ea6d590552f0cf8291bfb50536181dacc998d832d71788abd6296e0ff74704e5f12de8a124fc2b7c
@@ -1,12 +1,12 @@
1
1
  module Faraday
2
2
  class Response::MooMooLogger < Response::Middleware
3
3
  def call(env)
4
- debug("[MooMoo request] #{env[:body]}")
4
+ debug("[MooMoo request] #{env.body}")
5
5
  super
6
6
  end
7
7
 
8
8
  def on_complete(env)
9
- debug("[MooMoo response] #{env[:response].body}")
9
+ debug("[MooMoo response] #{env.body}")
10
10
  end
11
11
 
12
12
  private
@@ -1,3 +1,3 @@
1
1
  module MooMoo
2
- VERSION = Version = "0.10.0"
2
+ VERSION = Version = "0.11.0"
3
3
  end
data/lib/moo_moo.rb CHANGED
@@ -28,5 +28,5 @@ require 'moo_moo/services/transfer'
28
28
  require 'moo_moo/services/dns_zone'
29
29
  require 'moo_moo/services/cookie'
30
30
 
31
- Faraday.register_middleware :request, :open_srs_xml_builder => MooMoo::OpenSRSXMLBuilder
32
- Faraday.register_middleware :response, :open_srs_errors => MooMoo::OpenSRSErrors, :parse_open_srs => MooMoo::ParseOpenSRS
31
+ Faraday::Request.register_middleware :open_srs_xml_builder => MooMoo::OpenSRSXMLBuilder
32
+ Faraday::Response.register_middleware :open_srs_errors => MooMoo::OpenSRSErrors, :parse_open_srs => MooMoo::ParseOpenSRS
data/spec/spec_helper.rb CHANGED
@@ -2,7 +2,6 @@ require 'rspec'
2
2
  require 'moo_moo'
3
3
  require 'webmock/rspec'
4
4
  require 'vcr'
5
- require 'extlib'
6
5
 
7
6
  VCR.config do |c|
8
7
  c.cassette_library_dir = 'spec/vcr_cassettes'
metadata CHANGED
@@ -1,111 +1,97 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: moo_moo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.0
4
+ version: 0.11.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tim Parkin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-05-30 00:00:00.000000000 Z
11
+ date: 2014-06-03 00:00:00.000000000 Z
12
12
  dependencies:
13
- - !ruby/object:Gem::Dependency
14
- name: extlib
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - ~>
18
- - !ruby/object:Gem::Version
19
- version: 0.9.15
20
- type: :runtime
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - ~>
25
- - !ruby/object:Gem::Version
26
- version: 0.9.15
27
13
  - !ruby/object:Gem::Dependency
28
14
  name: faraday
29
15
  requirement: !ruby/object:Gem::Requirement
30
16
  requirements:
31
- - - ~>
17
+ - - "~>"
32
18
  - !ruby/object:Gem::Version
33
- version: 0.8.0
19
+ version: 0.9.0
34
20
  type: :runtime
35
21
  prerelease: false
36
22
  version_requirements: !ruby/object:Gem::Requirement
37
23
  requirements:
38
- - - ~>
24
+ - - "~>"
39
25
  - !ruby/object:Gem::Version
40
- version: 0.8.0
26
+ version: 0.9.0
41
27
  - !ruby/object:Gem::Dependency
42
28
  name: rake
43
29
  requirement: !ruby/object:Gem::Requirement
44
30
  requirements:
45
- - - ~>
31
+ - - "~>"
46
32
  - !ruby/object:Gem::Version
47
33
  version: 0.9.2.2
48
34
  type: :development
49
35
  prerelease: false
50
36
  version_requirements: !ruby/object:Gem::Requirement
51
37
  requirements:
52
- - - ~>
38
+ - - "~>"
53
39
  - !ruby/object:Gem::Version
54
40
  version: 0.9.2.2
55
41
  - !ruby/object:Gem::Dependency
56
42
  name: rspec
57
43
  requirement: !ruby/object:Gem::Requirement
58
44
  requirements:
59
- - - ~>
45
+ - - "~>"
60
46
  - !ruby/object:Gem::Version
61
47
  version: 2.10.0
62
48
  type: :development
63
49
  prerelease: false
64
50
  version_requirements: !ruby/object:Gem::Requirement
65
51
  requirements:
66
- - - ~>
52
+ - - "~>"
67
53
  - !ruby/object:Gem::Version
68
54
  version: 2.10.0
69
55
  - !ruby/object:Gem::Dependency
70
56
  name: rdoc
71
57
  requirement: !ruby/object:Gem::Requirement
72
58
  requirements:
73
- - - ~>
59
+ - - "~>"
74
60
  - !ruby/object:Gem::Version
75
61
  version: '3.12'
76
62
  type: :development
77
63
  prerelease: false
78
64
  version_requirements: !ruby/object:Gem::Requirement
79
65
  requirements:
80
- - - ~>
66
+ - - "~>"
81
67
  - !ruby/object:Gem::Version
82
68
  version: '3.12'
83
69
  - !ruby/object:Gem::Dependency
84
70
  name: webmock
85
71
  requirement: !ruby/object:Gem::Requirement
86
72
  requirements:
87
- - - ~>
73
+ - - "~>"
88
74
  - !ruby/object:Gem::Version
89
75
  version: 1.8.7
90
76
  type: :development
91
77
  prerelease: false
92
78
  version_requirements: !ruby/object:Gem::Requirement
93
79
  requirements:
94
- - - ~>
80
+ - - "~>"
95
81
  - !ruby/object:Gem::Version
96
82
  version: 1.8.7
97
83
  - !ruby/object:Gem::Dependency
98
84
  name: vcr
99
85
  requirement: !ruby/object:Gem::Requirement
100
86
  requirements:
101
- - - ~>
87
+ - - "~>"
102
88
  - !ruby/object:Gem::Version
103
89
  version: 1.11.3
104
90
  type: :development
105
91
  prerelease: false
106
92
  version_requirements: !ruby/object:Gem::Requirement
107
93
  requirements:
108
- - - ~>
94
+ - - "~>"
109
95
  - !ruby/object:Gem::Version
110
96
  version: 1.11.3
111
97
  description: Implements OpenSRS XML API
@@ -117,10 +103,11 @@ extra_rdoc_files: []
117
103
  files:
118
104
  - Gemfile
119
105
  - LICENSE
120
- - Rakefile
121
106
  - README.md
107
+ - Rakefile
122
108
  - config/cctld-pricing.csv
123
109
  - config/tlds.yml
110
+ - lib/moo_moo.rb
124
111
  - lib/moo_moo/base_command.rb
125
112
  - lib/moo_moo/config.rb
126
113
  - lib/moo_moo/exceptions.rb
@@ -135,7 +122,6 @@ files:
135
122
  - lib/moo_moo/services/provisioning.rb
136
123
  - lib/moo_moo/services/transfer.rb
137
124
  - lib/moo_moo/version.rb
138
- - lib/moo_moo.rb
139
125
  - spec/fixtures/success_response.xml
140
126
  - spec/integration_spec.rb
141
127
  - spec/moo_moo/base_command_spec.rb
@@ -160,32 +146,33 @@ require_paths:
160
146
  - lib
161
147
  required_ruby_version: !ruby/object:Gem::Requirement
162
148
  requirements:
163
- - - '>='
149
+ - - ">="
164
150
  - !ruby/object:Gem::Version
165
151
  version: '0'
166
152
  required_rubygems_version: !ruby/object:Gem::Requirement
167
153
  requirements:
168
- - - '>='
154
+ - - ">="
169
155
  - !ruby/object:Gem::Version
170
156
  version: '0'
171
157
  requirements: []
172
158
  rubyforge_project: opensrs
173
- rubygems_version: 2.0.14
159
+ rubygems_version: 2.2.2
174
160
  signing_key:
175
161
  specification_version: 4
176
162
  summary: Implements OpenSRS XML API
177
163
  test_files:
178
- - spec/fixtures/success_response.xml
164
+ - spec/vcr_cassettes/integration/lookup.yml
165
+ - spec/moo_moo_spec.rb
179
166
  - spec/integration_spec.rb
180
- - spec/moo_moo/base_command_spec.rb
167
+ - spec/fixtures/success_response.xml
181
168
  - spec/moo_moo/config_spec.rb
182
- - spec/moo_moo/middleware/open_srs_xml_builder_spec.rb
183
- - spec/moo_moo/services/cookie_spec.rb
169
+ - spec/moo_moo/services/provisioning_spec.rb
184
170
  - spec/moo_moo/services/dns_zone_spec.rb
171
+ - spec/moo_moo/services/cookie_spec.rb
172
+ - spec/moo_moo/services/transfer_spec.rb
185
173
  - spec/moo_moo/services/lookup_spec.rb
186
174
  - spec/moo_moo/services/nameserver_spec.rb
187
- - spec/moo_moo/services/provisioning_spec.rb
188
- - spec/moo_moo/services/transfer_spec.rb
189
- - spec/moo_moo_spec.rb
175
+ - spec/moo_moo/base_command_spec.rb
176
+ - spec/moo_moo/middleware/open_srs_xml_builder_spec.rb
190
177
  - spec/spec_helper.rb
191
- - spec/vcr_cassettes/integration/lookup.yml
178
+ has_rdoc: