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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 859e3e67b33ab3a4c5f7c071531a409e16048650
4
- data.tar.gz: ca25ef41d7a29a3f8bd1b491a022c4af1135caf1
3
+ metadata.gz: ab4edecdc574d1a43b6363a82ee08aafec9009c4
4
+ data.tar.gz: 2573a679c20e68b6620480f8b6098344a8b96741
5
5
  SHA512:
6
- metadata.gz: 783c86e4637b6f6ba6f4c12e4519118e42e3c4e700c2ccf2ad702021ebe569d3a62e419f167827e74176ea1b2892cbd78d6768fcf94f73ee88c4fd8180d093ed
7
- data.tar.gz: 8d271520d7d262eb3c11cf5645d3849e1f03ebfcf727fe4c1f2043d800a9dfdac745dd7d4f7b04d6d2fd9152daa05f7d1c630ade248d6a8f32c6b12b07916503
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 "opensrs"
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-2014 Joshua Delsman.
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
-
@@ -1,5 +1,4 @@
1
1
  require "opensrs/xml_processor"
2
- require "opensrs/xml_processor/libxml"
3
2
  require "opensrs/server"
4
3
  require "opensrs/response"
5
4
  require "opensrs/version"
@@ -51,8 +51,6 @@ module OpenSRS
51
51
  @@xml_processor = OpenSRS::XmlProcessor.const_get("#{name.to_s.capitalize}")
52
52
  end
53
53
 
54
- OpenSRS::Server.xml_processor = :libxml
55
-
56
54
  private
57
55
 
58
56
  def headers(request)
@@ -1,3 +1,3 @@
1
1
  module OpenSRS
2
- VERSION = "0.3.6"
2
+ VERSION = "0.3.8"
3
3
  end
@@ -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.add_runtime_dependency "libxml-ruby", "~> 2"
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.6
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: 2015-05-26 00:00:00.000000000 Z
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: :runtime
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.4.5
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: