opensrs 0.3.6 → 0.3.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +8 -3
- data/lib/opensrs.rb +0 -1
- data/lib/opensrs/server.rb +0 -2
- data/lib/opensrs/version.rb +1 -1
- data/opensrs.gemspec +1 -3
- metadata +5 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ab4edecdc574d1a43b6363a82ee08aafec9009c4
|
4
|
+
data.tar.gz: 2573a679c20e68b6620480f8b6098344a8b96741
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 66a37ff3deabef598de0110754b6ccc56d03b86abe14c40ed35f273145eec35e414aaa5788a63904086cf91027dbae1d7d1c786d82320b0976dcdc0e01dd5026
|
7
|
+
data.tar.gz: 3bd39902a5ba5e08bf23f04c1e3f201e4e9e57e07af3b168c06e0dd42098031c9f5ebcdf151dadadb18729f63b7391d7a0234a2aec469851415c44b2ccfcd476
|
data/README.md
CHANGED
@@ -25,7 +25,9 @@ You can then include it in a Ruby project, like so:
|
|
25
25
|
|
26
26
|
For Rails 3.x and above, add it to the `Gemfile`:
|
27
27
|
|
28
|
-
gem
|
28
|
+
gem 'opensrs'
|
29
|
+
gem 'nokogiri' # if you want to use nokogiri as the XML parser
|
30
|
+
gem 'libxml-ruby' # if you want to use libxml as the XML parser
|
29
31
|
|
30
32
|
### Usage
|
31
33
|
|
@@ -40,6 +42,10 @@ Currently, the library supports LibXML and Nokogiri as XML parsers. By default,
|
|
40
42
|
|
41
43
|
OpenSRS::Server.xml_processor = :nokogiri
|
42
44
|
|
45
|
+
or
|
46
|
+
|
47
|
+
OpenSRS::Server.xml_processor = :libxml
|
48
|
+
|
43
49
|
To connect, instantiate a new <tt>OpenSRS::Server</tt> object:
|
44
50
|
|
45
51
|
server = OpenSRS::Server.new(
|
@@ -120,10 +126,9 @@ If you have any bugs or feature requests for this gem, feel free to [open an iss
|
|
120
126
|
|
121
127
|
### Copyright
|
122
128
|
|
123
|
-
Copyright (c) 2010-
|
129
|
+
Copyright (c) 2010-2016 Joshua Delsman.
|
124
130
|
|
125
131
|
Distributed under the MIT license. See `LICENSE` for details.
|
126
132
|
|
127
133
|
|
128
134
|
[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/voxxit/opensrs/trend.png)](https://bitdeli.com/free "Bitdeli Badge")
|
129
|
-
|
data/lib/opensrs.rb
CHANGED
data/lib/opensrs/server.rb
CHANGED
data/lib/opensrs/version.rb
CHANGED
data/opensrs.gemspec
CHANGED
@@ -19,13 +19,11 @@ Gem::Specification.new do |spec|
|
|
19
19
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
20
20
|
spec.require_paths = ["lib"]
|
21
21
|
|
22
|
-
spec.
|
23
|
-
|
22
|
+
spec.add_development_dependency "libxml-ruby", "~> 2"
|
24
23
|
spec.add_development_dependency "bundler"
|
25
24
|
spec.add_development_dependency "rake"
|
26
25
|
spec.add_development_dependency "rspec"
|
27
26
|
spec.add_development_dependency "shoulda"
|
28
27
|
spec.add_development_dependency "nokogiri"
|
29
28
|
spec.add_development_dependency "pry"
|
30
|
-
|
31
29
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: opensrs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Joshua Delsman
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-09-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: libxml-ruby
|
@@ -17,7 +17,7 @@ dependencies:
|
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '2'
|
20
|
-
type: :
|
20
|
+
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
@@ -153,8 +153,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
153
153
|
version: '0'
|
154
154
|
requirements: []
|
155
155
|
rubyforge_project:
|
156
|
-
rubygems_version: 2.
|
156
|
+
rubygems_version: 2.5.1
|
157
157
|
signing_key:
|
158
158
|
specification_version: 4
|
159
159
|
summary: OpenSRS API for Ruby
|
160
160
|
test_files: []
|
161
|
+
has_rdoc:
|