hermod 2.2.0 → 2.4.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: f824eee43c5ddbc599aebe96158698b9861b1b38
4
- data.tar.gz: 51b60d86ba5750414a51d383757cab4ee9f8af39
3
+ metadata.gz: 277f360e9a97d15b02d4cc8cf1d894d0e2e33cb9
4
+ data.tar.gz: a8741c35839d672f9b716905cf5a7c2a5c276997
5
5
  SHA512:
6
- metadata.gz: a675232e7799a9b03d64f6c4a96043dbaf27cf4f8d31b3e1d01933c920570078d4a22f73c4df5e8e10fe06ba4f1ccc9078d7827469ef0ffbdbdce376ba3c5772
7
- data.tar.gz: 8a2cc8a477aab48de66149eb98a54401e56971168e5d656b1d9b9cef52c6f439a3aa1879a706a2f5f491ec8135b7a47287fe87be657a822ac5f9958889ea771a
6
+ metadata.gz: 5a427557bff67ba17b257db46044b31d273267127060f1f4d78f0573a8983c0a979a28583359903c05989c69f404c505d458251eedcb98acb059b256b797f9eb
7
+ data.tar.gz: ddab7484e7f4e05b649faa9011d631c8d906d5c497185586ce917eeb53eb2e2c58fbf141e7f7d963409c8cf1d34faa8fbdbeed9ebeb9e2e50bebc4b8ad4decba
data/.travis.yml CHANGED
@@ -1,10 +1,10 @@
1
1
  language: ruby
2
2
  bundler_args: --without test
3
3
  rvm:
4
- - 2.1.8
5
4
  - 2.2.4
6
5
  - 2.3.0
7
6
  gemfile:
8
7
  - gemfiles/activesupport-3.2
9
8
  - gemfiles/activesupport-4.0
10
9
  - gemfiles/activesupport-4.2
10
+ - gemfiles/activesupport-5.0
data/Gemfile CHANGED
@@ -4,10 +4,10 @@ source 'https://rubygems.org'
4
4
  gemspec
5
5
 
6
6
  group :test do
7
- gem "guard", "~> 2.6.1"
8
- gem "guard-minitest", "~> 2.3.1"
9
- gem "pry-byebug", "~> 1.3.3", platform: [:mri_20, :mri_21]
7
+ gem "guard", "~> 2.13.0"
8
+ gem "guard-minitest", "~> 2.4.4"
9
+ gem "pry-byebug", "~> 3.3.0", platform: [:mri_20, :mri_21]
10
10
  gem "pry-debugger", "~> 0.2.3", platform: :mri_19
11
- gem "pry-doc", "~> 0.6.0"
11
+ gem "pry-doc", "~> 0.8.0"
12
12
  gem "bond", "~> 0.5.1"
13
13
  end
@@ -0,0 +1,6 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in xml-section.gemspec
4
+ gemspec :path => "../"
5
+
6
+ gem "activesupport", "~> 5.0"
data/hermod.gemspec CHANGED
@@ -23,10 +23,10 @@ Gem::Specification.new do |spec|
23
23
  spec.required_ruby_version = ">= 2.0.0"
24
24
 
25
25
  spec.add_runtime_dependency "libxml-ruby", "~> 2.7", ">= 2.7.0"
26
- spec.add_runtime_dependency "activesupport", "> 3.2", "< 5"
26
+ spec.add_runtime_dependency "activesupport", "> 3.2", "< 6"
27
27
 
28
28
  spec.add_development_dependency "bundler", "~> 1.6"
29
- spec.add_development_dependency "rake", "~> 10.3"
29
+ spec.add_development_dependency "rake", "~> 11.1"
30
30
  spec.add_development_dependency "minitest", "~> 5.3"
31
31
  spec.add_development_dependency "minitest-reporters", "~> 1.0", ">= 1.0.16"
32
32
  spec.add_development_dependency "nokogiri", "~> 1.5"
@@ -1,3 +1,3 @@
1
1
  module Hermod
2
- VERSION = "2.2.0"
2
+ VERSION = "2.4.0"
3
3
  end
@@ -68,7 +68,7 @@ module Hermod
68
68
  #
69
69
  # Returns a String
70
70
  def self.xml_name
71
- @xml_name || name.demodulize
71
+ @xml_name ||= name.demodulize
72
72
  end
73
73
 
74
74
  # Internal: provides access to the formats hash, falling back on an empty
data/lib/hermod.rb CHANGED
@@ -1,3 +1,4 @@
1
+ require 'hermod/version'
1
2
  require 'hermod/xml_section'
2
3
 
3
4
  I18n.enforce_available_locales = false
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hermod
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.0
4
+ version: 2.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Harry Mills
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-01-29 00:00:00.000000000 Z
11
+ date: 2017-05-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: libxml-ruby
@@ -39,7 +39,7 @@ dependencies:
39
39
  version: '3.2'
40
40
  - - "<"
41
41
  - !ruby/object:Gem::Version
42
- version: '5'
42
+ version: '6'
43
43
  type: :runtime
44
44
  prerelease: false
45
45
  version_requirements: !ruby/object:Gem::Requirement
@@ -49,7 +49,7 @@ dependencies:
49
49
  version: '3.2'
50
50
  - - "<"
51
51
  - !ruby/object:Gem::Version
52
- version: '5'
52
+ version: '6'
53
53
  - !ruby/object:Gem::Dependency
54
54
  name: bundler
55
55
  requirement: !ruby/object:Gem::Requirement
@@ -70,14 +70,14 @@ dependencies:
70
70
  requirements:
71
71
  - - "~>"
72
72
  - !ruby/object:Gem::Version
73
- version: '10.3'
73
+ version: '11.1'
74
74
  type: :development
75
75
  prerelease: false
76
76
  version_requirements: !ruby/object:Gem::Requirement
77
77
  requirements:
78
78
  - - "~>"
79
79
  - !ruby/object:Gem::Version
80
- version: '10.3'
80
+ version: '11.1'
81
81
  - !ruby/object:Gem::Dependency
82
82
  name: minitest
83
83
  requirement: !ruby/object:Gem::Requirement
@@ -146,6 +146,7 @@ files:
146
146
  - gemfiles/activesupport-3.2
147
147
  - gemfiles/activesupport-4.0
148
148
  - gemfiles/activesupport-4.2
149
+ - gemfiles/activesupport-5.0
149
150
  - hermod.gemspec
150
151
  - lib/hermod.rb
151
152
  - lib/hermod/input_mutator.rb
@@ -205,7 +206,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
205
206
  version: '0'
206
207
  requirements: []
207
208
  rubyforge_project:
208
- rubygems_version: 2.2.5
209
+ rubygems_version: 2.5.1
209
210
  signing_key:
210
211
  specification_version: 4
211
212
  summary: A Ruby library for talking to the HMRC Government Gateway.
@@ -231,4 +232,3 @@ test_files:
231
232
  - spec/hermod/xml_section_spec.rb
232
233
  - spec/hermod_spec.rb
233
234
  - spec/minitest_helper.rb
234
- has_rdoc: