hermod 2.6.1 → 2.6.2

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
  SHA256:
3
- metadata.gz: da9b5d8d5ee3394dccb1cbf50fda9119e997ee142e06d94cc76e1ebb8a4668f5
4
- data.tar.gz: 2290b1eb07c850663aa8503a72dbe35220d8cf22c23c3f0410b24e27a598fe81
3
+ metadata.gz: 6bf9a83ff99867a10eb65b0fb9997bc70da259a771205ef7da45577e119415d1
4
+ data.tar.gz: 856ddfb2b30900fcf0db914c73d12bab63b2737a410e57f72d2537ad29cb1d7f
5
5
  SHA512:
6
- metadata.gz: d16713dc7fff7318109c675c0b38acf6f101fb62adc6fa6005aff97daade193527572d1ccbd152c850e2ff33ecdebb9c35d71aac24fe4b4f70506efa8a70a7c6
7
- data.tar.gz: fd12fa60b05c7bb69ce5418ab4fe56ca242527b6102b1b940c9833ad69d7b8a33f72c33035d28c04d7dd848c7b3f08f9a8944da7c64a8379c0c8b2530828089c
6
+ metadata.gz: 13c878ae42ed315d62097463d2969015502db292508674885ac6008dcebf47ecf541d9a35359d40f4bf512f2be26ea9de12ae7267ee22f2245668cf7426611b4
7
+ data.tar.gz: 0edb7bcc627c570563ac24d8a7993f9bcf03cf900ba7a6e86a3f45ae2838a3605d310ce9f35b981a4c004b44525916702f1eed4ffa67637ce8f641e038d1f15c
@@ -0,0 +1,58 @@
1
+ # Build, test and push gems to the FreeAgent registry.
2
+ # https://github.com/orgs/fac/packages?ecosystem=rubygems
3
+ # https://www.notion.so/freeagent/Internal-gems-5c8098501fcc48e4921be31aa9b4d495
4
+ name: FreeAgent Gem
5
+ on:
6
+ push:
7
+ branches: [master]
8
+ pull_request:
9
+
10
+ jobs:
11
+ # Install the bundle and run the gems test suite.
12
+ tests:
13
+ runs-on: ubuntu-latest
14
+
15
+ steps:
16
+ - uses: actions/checkout@v2
17
+ - uses: ruby/setup-ruby@v1 # .ruby-version
18
+ with:
19
+ bundler-cache: true # bundle install
20
+
21
+ - name: Test
22
+ run: bundle exec rake
23
+
24
+ # Builds that pass testing above, will trigger a build and push of the new
25
+ # gem version to the registry. If the version.rb has not been bumped since
26
+ # the last release, the push will no-op.
27
+ release:
28
+ needs: tests
29
+ runs-on: ubuntu-latest
30
+
31
+ steps:
32
+ - uses: fac/ruby-gem-setup-credentials-action@v2
33
+ with:
34
+ user: ""
35
+ key: rubygems
36
+ token: ${{ secrets.FAC_RUBYGEMS_KEY }}
37
+
38
+ # Build the gem package
39
+ - uses: actions/checkout@v2
40
+ - uses: ruby/setup-ruby@v1
41
+ with:
42
+ bundler-cache: true
43
+ - run: bundle exec rake build
44
+
45
+ # Release production gem version from default branch
46
+ - name: Release
47
+ if: github.ref == 'refs/heads/master'
48
+ uses: fac/ruby-gem-push-action@v2
49
+ with:
50
+ key: rubygems
51
+
52
+ # PR branch builds will release pre-release gems
53
+ - name: Pre-Release
54
+ if: github.ref != 'refs/heads/master'
55
+ uses: fac/ruby-gem-push-action@v2
56
+ with:
57
+ key: rubygems
58
+ pre-release: true
@@ -0,0 +1,13 @@
1
+ name: reviewdog
2
+ on: [pull_request]
3
+ jobs:
4
+ actionlint:
5
+ name: runner / actionlint
6
+ runs-on: ubuntu-latest
7
+ steps:
8
+ - uses: actions/checkout@v2
9
+ - name: actionlint
10
+ uses: reviewdog/action-actionlint@v1.2.0
11
+ with:
12
+ fail_on_error: true
13
+ reporter: github-pr-review
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 2.7.1
1
+ 3.0.3
data/CHANGELOG.md CHANGED
@@ -6,6 +6,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
8
  ## [Unreleased]
9
+
10
+ ##[2.6.2] - 2022-01-10
11
+ - Remove the upper limit on the activesupport version
12
+
9
13
  ##[2.6.1] - 2020-10-22
10
14
  ## Added
11
15
  - Changelog updates
data/README.md CHANGED
@@ -1,5 +1,6 @@
1
1
  # Hermod
2
2
 
3
+ [![Gem](https://github.com/fac/hermod/actions/workflows/freeagent-gem.yml/badge.svg)](https://github.com/fac/hermod/actions/workflows/freeagent-gem.yml)
3
4
  [![Code
4
5
  Climate](https://codeclimate.com/github/fac/hermod/badges/gpa.svg)](https://codeclimate.com/github/fac/hermod)
5
6
  [![Build Status](https://travis-ci.org/fac/hermod.svg?branch=master)](https://travis-ci.org/fac/hermod)
data/hermod.gemspec CHANGED
@@ -23,7 +23,7 @@ Gem::Specification.new do |spec|
23
23
  spec.required_ruby_version = ">= 2.0.0"
24
24
 
25
25
  spec.add_runtime_dependency "libxml-ruby", "~> 3.2"
26
- spec.add_runtime_dependency "activesupport", "> 3.2", "< 7"
26
+ spec.add_runtime_dependency "activesupport", "> 3.2"
27
27
 
28
28
  spec.add_development_dependency "bundler", "~> 2.0"
29
29
  spec.add_development_dependency "rake", "13.0.1"
@@ -32,6 +32,7 @@ Gem::Specification.new do |spec|
32
32
  spec.add_development_dependency "nokogiri", "~> 1.5"
33
33
 
34
34
  spec.metadata = {
35
+ "allowed_push_host" => "https://rubygems.org",
35
36
  "bug_tracker_uri" => "https://github.com/fac/hermod/issues",
36
37
  "changelog_uri" => "https://github.com/fac/hermod/blob/master/CHANGELOG.md",
37
38
  "source_code_uri" => "https://github.com/fac/hermod",
@@ -1,3 +1,3 @@
1
1
  module Hermod
2
- VERSION = "2.6.1"
2
+ VERSION = "2.6.2"
3
3
  end
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.6.1
4
+ version: 2.6.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Harry Mills
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-10-22 00:00:00.000000000 Z
11
+ date: 2022-01-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: libxml-ruby
@@ -31,9 +31,6 @@ dependencies:
31
31
  - - ">"
32
32
  - !ruby/object:Gem::Version
33
33
  version: '3.2'
34
- - - "<"
35
- - !ruby/object:Gem::Version
36
- version: '7'
37
34
  type: :runtime
38
35
  prerelease: false
39
36
  version_requirements: !ruby/object:Gem::Requirement
@@ -41,9 +38,6 @@ dependencies:
41
38
  - - ">"
42
39
  - !ruby/object:Gem::Version
43
40
  version: '3.2'
44
- - - "<"
45
- - !ruby/object:Gem::Version
46
- version: '7'
47
41
  - !ruby/object:Gem::Dependency
48
42
  name: bundler
49
43
  requirement: !ruby/object:Gem::Requirement
@@ -130,13 +124,14 @@ executables: []
130
124
  extensions: []
131
125
  extra_rdoc_files: []
132
126
  files:
127
+ - ".github/workflows/freeagent-gem.yml"
128
+ - ".github/workflows/reviewdog.yml"
133
129
  - ".gitignore"
134
130
  - ".ruby-version"
135
131
  - ".travis.yml"
136
132
  - CHANGELOG.md
137
133
  - Gemfile
138
134
  - Guardfile
139
- - Jenkinsfile
140
135
  - LICENSE
141
136
  - README.md
142
137
  - Rakefile
@@ -188,6 +183,7 @@ homepage: https://github.com/fac/hermod
188
183
  licenses:
189
184
  - Apache License, Version 2.0
190
185
  metadata:
186
+ allowed_push_host: https://rubygems.org
191
187
  bug_tracker_uri: https://github.com/fac/hermod/issues
192
188
  changelog_uri: https://github.com/fac/hermod/blob/master/CHANGELOG.md
193
189
  source_code_uri: https://github.com/fac/hermod
@@ -207,7 +203,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
207
203
  - !ruby/object:Gem::Version
208
204
  version: '0'
209
205
  requirements: []
210
- rubygems_version: 3.1.2
206
+ rubygems_version: 3.2.32
211
207
  signing_key:
212
208
  specification_version: 4
213
209
  summary: A Ruby library for talking to the HMRC Government Gateway.
data/Jenkinsfile DELETED
@@ -1,11 +0,0 @@
1
- #!groovy
2
-
3
- @Library('freeagent') _
4
-
5
- freeagentGem(
6
- node: 'smartos',
7
- slack: [channel: '#tax-eng-ci'],
8
- remote: "https://rubygems.org",
9
- key: "rubygems",
10
- pushTag: true,
11
- forcePush: true )