moo_moo 0.11.0 → 0.12.0

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8875e7a94753d756c166662a2ad8206a7f307ca4
4
- data.tar.gz: 9fe6419a258111114936585aa2b656a42edbd39d
3
+ metadata.gz: 27598b9226bba9fd19216bd43464cf5c7eb7fcbb
4
+ data.tar.gz: '08b8e453e44737d2b21419fc6759e23f9cc80a2d'
5
5
  SHA512:
6
- metadata.gz: 3d1506f8d51ad6a934be2024d6bbedfc7fa13e7c4485675d809375bf69bbcc24802e1c892c94784a26907531d3f459d8729d4c398e156c985f98f28134c8b067
7
- data.tar.gz: 58c70cb24f30a99ccdc742e0629dd656ced1b3cef99fb250ea6d590552f0cf8291bfb50536181dacc998d832d71788abd6296e0ff74704e5f12de8a124fc2b7c
6
+ metadata.gz: 695abf8e65c32847399845b824544f7b349845425a19a065ac4980ab60e07c3d3b72f732777b64625a177824da2d5629e047d7c661807cda7a8e194a41e27b59
7
+ data.tar.gz: 7955d8daedfac56adf60891f7b083ad3dd6ccd81b7acff9cf335e40f34507d6c6d39e86006577cd7b8084ab8953d4872f93d87e98289b00657e84d1b6ee7c8dd
data/LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2014 Site5.com <http://www.site5.com>
1
+ Copyright (c) 2016 Pressed, LLC.
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person ob-
4
4
  taining a copy of this software and associated documentation
data/README.md CHANGED
@@ -1,23 +1,21 @@
1
1
  MooMoo [![MooMoo Build Status][Build Icon]][Build Status]
2
2
  =========================================================
3
3
 
4
- MooMoo is a Ruby library for working with the [Tucows OpenSRS XML API][].
5
-
6
- MooMoo has been tested with MRI versions 1.9.3, 2.0.0, 2.1.1 and JRuby 1.9 mode.
4
+ MooMoo is a Ruby library for working with the [OpenSRS XML Domain API][].
7
5
 
8
6
  Documentation is available in [RDoc][] format.
9
7
 
10
- [Build Status]: http://travis-ci.org/site5/moo_moo
11
- [Build Icon]: https://secure.travis-ci.org/site5/moo_moo.png?branch=master
12
- [Tucows OpenSRS XML API]: http://www.opensrs.com/site/resources/documentation
13
- [RDoc]: http://rdoc.info/github/site5/moo_moo/master/frames
8
+ [Build Status]: http://travis-ci.org/pressednet/moo_moo
9
+ [Build Icon]: https://secure.travis-ci.org/pressednet/moo_moo.png?branch=master
10
+ [OpenSRS XML Domain API]: https://opensrs.com/integration/api/
11
+ [RDoc]: http://rdoc.info/github/pressednet/moo_moo/master/frames
14
12
 
15
13
  Description
16
14
  -----------
17
15
 
18
16
  Implements most of the functionality of the OpenSRS XML API. For full
19
17
  documentation of the OpenSRS XML API see
20
- <http://www.opensrs.com/site/resources/documentation>
18
+ <https://help.opensrs.com/hc/en-us/articles/203245883-OpenSRS-API>.
21
19
 
22
20
  Usage
23
21
  -----
@@ -65,7 +63,7 @@ the response:
65
63
  response - the http response
66
64
  message - the "response_text"
67
65
  attributes - the "attributes" hash with relevant data
68
- successful? - wheater the request was successful or not
66
+ successful? - whether the request was successful or not
69
67
  ```
70
68
 
71
69
  Currently, there is support for the following services:
@@ -76,30 +74,30 @@ Currently, there is support for the following services:
76
74
  * Provisioning
77
75
  * Transfer
78
76
 
79
- API services are namespaced with api. For example, for the Lookup "get" api method,
80
- it will be named "api_get".
77
+ API services are namespaced with api. For example, for the Lookup "get" API method,
78
+ it will be named `api_get`.
81
79
 
82
80
  MooMoo provides custom methods that should make it easier to deal with the OpenSRS
83
- api (e.g. Lookup :domain_contacts). This custom methods are not namespaced.
84
- Check their documentation to see what parameters does it expect and what responses
85
- does it return.
81
+ API (e.g. Lookup `:domain_contacts`). These custom methods are not namespaced.
82
+ Check the documentation to see the parameters they expect and the responses
83
+ they return.
86
84
 
87
85
  TLD List
88
86
  --------
89
87
 
90
- MooMoo::Lookup provides a `tlds` method that is used to list top level domains
88
+ `MooMoo::Lookup` provides a `tlds` method that is used to list top level domains
91
89
  that OpenSRS support. At this time, OpenSRS has no API method that does that,
92
- so we keep that in a custom configuration file (config/tlds.yml).
90
+ so we keep that in a custom configuration file (`config/tlds.yml`).
93
91
 
94
- The top level domains data comes from http://www.opensrs.com/site/services/domains/tlds.
92
+ The top level domains data comes from https://opensrs.com/services/domains/domain-pricing/.
95
93
  OpenSRS also provides a CSV file for country code top level domains at
96
- http://opensrs.com/images/elements/cctld-pricing.csv.
94
+ https://opensrs.com/images/elements/cctld-pricing.csv.
97
95
 
98
- In order to generate our own config/tlds.yml file, we use the scripts/parse_cctld_csv
99
- script to parse OpenSRS csv file. In order to do that, place an updated cctld-pricing.csv
100
- under config, and run scripts/parse_cctld_csv.
96
+ In order to generate our own `config/tlds.yml` file, we use the `scripts/parse_cctld_csv`
97
+ script to parse OpenSRS CSV file. In order to do that, place an updated `cctld-pricing.csv`
98
+ under `config`, and run `scripts/parse_cctld_csv`.
101
99
 
102
- For non country code top level domains, the scripts/parse_cctld_csv `defaults`
100
+ For non-country code top level domains, the `scripts/parse_cctld_csv` `defaults`
103
101
  list needs to be updated.
104
102
 
105
103
  Debugging
@@ -122,7 +120,7 @@ Note on Patches/Pull Requests
122
120
  * Make your feature addition or bug fix.
123
121
  * Add tests for it. This is important so I don't break it in a
124
122
  future version unintentionally.
125
- * Commit, do not mess with rakefile, version, or history. (if you want to have
123
+ * Commit, do not mess with Rakefile, version, or history. (if you want to have
126
124
  your own version, that is fine but bump version in a commit by itself I can
127
125
  ignore when I pull)
128
126
  * Send me a pull request. Bonus points for topic branches.
@@ -130,4 +128,4 @@ Note on Patches/Pull Requests
130
128
  Copyright
131
129
  ---------
132
130
 
133
- Copyright (c) 2014 Site5.com. See LICENSE for details.
131
+ Copyright (c) 2016 Pressed, LLC. See LICENSE for details.
@@ -1,3 +1,3 @@
1
1
  module MooMoo
2
- VERSION = Version = "0.11.0"
2
+ VERSION = Version = "0.12.0"
3
3
  end
@@ -15,7 +15,7 @@
15
15
  content-type:
16
16
  - text/xml
17
17
  x-username:
18
- - site5srs
18
+ - pressedsrs
19
19
  x-signature:
20
20
  - 375ba5e7b76ad53ea601f096c92e8797
21
21
  content-length:
metadata CHANGED
@@ -1,29 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: moo_moo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.0
4
+ version: 0.12.0
5
5
  platform: ruby
6
6
  authors:
7
- - Tim Parkin
7
+ - Justin Mazzi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-06-03 00:00:00.000000000 Z
11
+ date: 2018-01-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.9.0
19
+ version: '0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: 0.9.0
26
+ version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -94,9 +94,9 @@ dependencies:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
96
  version: 1.11.3
97
- description: Implements OpenSRS XML API
97
+ description: Implements OpenSRS XML Domain API
98
98
  email:
99
- - tparkin@site5.com
99
+ - justin@pressed.net
100
100
  executables: []
101
101
  extensions: []
102
102
  extra_rdoc_files: []
@@ -136,7 +136,7 @@ files:
136
136
  - spec/moo_moo_spec.rb
137
137
  - spec/spec_helper.rb
138
138
  - spec/vcr_cassettes/integration/lookup.yml
139
- homepage: ''
139
+ homepage: https://github.com/pressednet/moo_moo
140
140
  licenses:
141
141
  - MIT
142
142
  metadata: {}
@@ -156,23 +156,22 @@ required_rubygems_version: !ruby/object:Gem::Requirement
156
156
  version: '0'
157
157
  requirements: []
158
158
  rubyforge_project: opensrs
159
- rubygems_version: 2.2.2
159
+ rubygems_version: 2.5.2
160
160
  signing_key:
161
161
  specification_version: 4
162
- summary: Implements OpenSRS XML API
162
+ summary: Implements OpenSRS XML Domain API
163
163
  test_files:
164
- - spec/vcr_cassettes/integration/lookup.yml
165
- - spec/moo_moo_spec.rb
166
164
  - spec/integration_spec.rb
167
165
  - spec/fixtures/success_response.xml
166
+ - spec/vcr_cassettes/integration/lookup.yml
167
+ - spec/spec_helper.rb
168
168
  - spec/moo_moo/config_spec.rb
169
+ - spec/moo_moo/base_command_spec.rb
170
+ - spec/moo_moo/services/nameserver_spec.rb
171
+ - spec/moo_moo/services/transfer_spec.rb
169
172
  - spec/moo_moo/services/provisioning_spec.rb
170
173
  - spec/moo_moo/services/dns_zone_spec.rb
171
- - spec/moo_moo/services/cookie_spec.rb
172
- - spec/moo_moo/services/transfer_spec.rb
173
174
  - spec/moo_moo/services/lookup_spec.rb
174
- - spec/moo_moo/services/nameserver_spec.rb
175
- - spec/moo_moo/base_command_spec.rb
175
+ - spec/moo_moo/services/cookie_spec.rb
176
176
  - spec/moo_moo/middleware/open_srs_xml_builder_spec.rb
177
- - spec/spec_helper.rb
178
- has_rdoc:
177
+ - spec/moo_moo_spec.rb