cosm-rb 0.2.03 → 0.2.04

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/cosm-rb.gemspec CHANGED
@@ -20,7 +20,7 @@ Gem::Specification.new do |s|
20
20
  s.add_dependency("multi_json", ">=1.3.6")
21
21
  s.add_dependency("multi_xml", ">=0.5.1")
22
22
  s.add_dependency("yajl-ruby", ">=1.1.0")
23
- s.add_dependency("nokogiri", ">=1.4.4")
23
+ s.add_dependency("nokogiri", ">=1.5.6")
24
24
  s.add_dependency("httparty", ">=0.8.3")
25
25
 
26
26
  if RUBY_VERSION.to_f < 1.9
@@ -34,7 +34,7 @@ Gem::Specification.new do |s|
34
34
  s.add_development_dependency("ruby-debug")
35
35
  s.add_development_dependency("rcov", ">=0.9.9")
36
36
  else
37
- s.add_development_dependency("simplecov")
37
+ s.add_development_dependency("simplecov", ">=0.7.1")
38
38
  end
39
39
  end
40
40
  rescue
@@ -25,7 +25,7 @@ module Cosm
25
25
  if val.is_a?(Hash)
26
26
  val = [val]
27
27
  else
28
- val
28
+ [*val]
29
29
  end
30
30
  end
31
31
 
@@ -1,3 +1,3 @@
1
1
  module Cosm #:nodoc:
2
- VERSION = '0.2.03'
2
+ VERSION = '0.2.04'
3
3
  end
data/spec/spec_helper.rb CHANGED
@@ -15,6 +15,7 @@ if !defined?(JRUBY_VERSION)
15
15
  add_filter "/spec/"
16
16
  add_filter "/lib/cosm-rb.rb"
17
17
  add_filter "/vendor/"
18
+ minimum_coverage 100
18
19
  end
19
20
  end
20
21
  end
@@ -5,11 +5,11 @@ RSpec::Matchers.define :describe_eeml_for_version do |eeml_version|
5
5
  when "0.5.1"
6
6
  attrs["version"].should == eeml_version
7
7
  attrs.namespace.href.should == "http://www.eeml.org/xsd/0.5.1"
8
- attrs["schemaLocation"].should == "http://www.eeml.org/xsd/0.5.1 http://www.eeml.org/xsd/0.5.1/0.5.1.xsd"
8
+ attrs["xsi:schemaLocation"].should == "http://www.eeml.org/xsd/0.5.1 http://www.eeml.org/xsd/0.5.1/0.5.1.xsd"
9
9
  when "5"
10
10
  attrs["version"].should == eeml_version
11
11
  attrs.namespace.href.should == "http://www.eeml.org/xsd/005"
12
- attrs["schemaLocation"].should == "http://www.eeml.org/xsd/005 http://www.eeml.org/xsd/005/005.xsd"
12
+ attrs["xsi:schemaLocation"].should == "http://www.eeml.org/xsd/005 http://www.eeml.org/xsd/005/005.xsd"
13
13
  else
14
14
  false
15
15
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cosm-rb
3
3
  version: !ruby/object:Gem::Version
4
- hash: 17
4
+ hash: 31
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 3
10
- version: 0.2.03
9
+ - 4
10
+ version: 0.2.04
11
11
  platform: ruby
12
12
  authors:
13
13
  - Paul Bellamy
@@ -17,7 +17,7 @@ autorequire:
17
17
  bindir: bin
18
18
  cert_chain: []
19
19
 
20
- date: 2012-11-27 00:00:00 +00:00
20
+ date: 2013-01-03 00:00:00 +00:00
21
21
  default_executable:
22
22
  dependencies:
23
23
  - !ruby/object:Gem::Dependency
@@ -79,9 +79,9 @@ dependencies:
79
79
  hash: 15
80
80
  segments:
81
81
  - 1
82
- - 4
83
- - 4
84
- version: 1.4.4
82
+ - 5
83
+ - 6
84
+ version: 1.5.6
85
85
  type: :runtime
86
86
  version_requirements: *id004
87
87
  - !ruby/object:Gem::Dependency
@@ -108,7 +108,7 @@ dependencies:
108
108
  requirements:
109
109
  - - ">="
110
110
  - !ruby/object:Gem::Version
111
- hash: -1810746622
111
+ hash: -1133987326
112
112
  segments:
113
113
  - 1
114
114
  - 5