gb-agencies 0.0.6 → 0.0.8

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: 6a420ff9e530ee87032dac7d0c7c5bdc604c6d2c0bf0b7d2e3dea126bc3e8438
4
- data.tar.gz: af5352d6dafbf4c2d0c567964077012b2cafd33e5885872d8daab6565a391c13
3
+ metadata.gz: 6a36406524dfe5bc779cface12fb3f32063d5b39708c87a68d724283972e2306
4
+ data.tar.gz: b44f2fe33a5c799ad11a67f7ba5da99f093c9c98e05226733bc17fecaf8e84fb
5
5
  SHA512:
6
- metadata.gz: 4454f6916d8566c54665e3d12ee398c75ee9e8689e8ddbc96fb90a864e9bcd144cbece3adcfa40358ce646892a641cb35ea4b3256c03e9e9a3006c1eb69f4034
7
- data.tar.gz: d3063bc884925c2a4e4b015a493448fdd3a8445186cf3dbbf58395239c36c22dcea111a14ce8ac49b4b6f0c98018b32f19a010d173d5ebae09cc8b864fc789a9
6
+ metadata.gz: afbcac02b3e2593c395c293d975b41626bb66710b764cf0cba4742bef98fa75da2c22902044693dad166bffdda90700857cafdd00d9b45974734aa2bc10a0316
7
+ data.tar.gz: 115fd8431ae0a7dbf4a76aa6ae7e6d14f7449fe92ce9fbf5bad36f3c411eabbcdb898cb3665bcd152c5f9792339cd0a2858dc4b8902580e23b44ca677e10e6bc
@@ -0,0 +1,20 @@
1
+ # Formerly cimas-managed. Now consumer-owned per metanorma/cimas#68
2
+ # (workflow-file conversion from cimas-synced copied stubs to reusable-workflow
3
+ # references). Pins metanorma/ci reusable at @v1 (moving major, three-tier
4
+ # tagging discipline per metanorma/ci#372).
5
+ name: rake
6
+
7
+ on:
8
+ push:
9
+ branches: [ master, main ]
10
+ tags: [ v* ]
11
+ pull_request:
12
+
13
+ permissions:
14
+ contents: write
15
+
16
+ jobs:
17
+ rake:
18
+ uses: metanorma/ci/.github/workflows/generic-rake.yml@v1
19
+ secrets:
20
+ pat_token: ${{ secrets.METANORMA_CI_PAT_TOKEN }}
@@ -0,0 +1,67 @@
1
+ # Auto-generated by Cimas: Do not edit it manually!
2
+ # See https://github.com/metanorma/cimas
3
+ # Variant of `release.yml` for gems whose maintainers write GitHub Release
4
+ # notes by hand at release time and want to opt out of the auto-generated
5
+ # notes floor introduced in metanorma/ci#354.
6
+ #
7
+ # The only difference from the parent `release.yml` template is the
8
+ # `release_notes: manual` input passed to the reusable `rubygems-release.yml`
9
+ # — that flag makes the reusable's Ensure-GitHub-Release step skip itself
10
+ # entirely, leaving Release creation + notes authoring to the maintainer.
11
+ #
12
+ # Used by opoudjis-maintained gems (all `metanorma-*` except
13
+ # `metanorma-plugin-*` and `metanorma-utils`, plus `isodoc`, `isodoc-i18n`,
14
+ # `basicdoc-models`). See the `release_wo_bundle_install_manual_notes.yml`
15
+ # sibling variant for gems that also opt out of the shared workflow's
16
+ # implicit bundle install (metanorma-utils today). Gems mapping
17
+ # `release_github_packages.yml` are exempt-by-construction — that
18
+ # template calls `ghpkg-release.yml`, not `rubygems-release.yml`, so
19
+ # metanorma/ci#354's auto-notes floor doesn't reach them.
20
+ #
21
+ # To switch from opt-out back to the auto-notes floor: change the
22
+ # cimas.yml mapping for this gem from `master/release_manual_notes.yml`
23
+ # back to `master/release.yml`. No content edit needed.
24
+ #
25
+ # See metanorma/ci#354 for the rationale and metanorma/ci#PR-number for
26
+ # the introduction of this variant.
27
+
28
+ name: release
29
+
30
+ on:
31
+ workflow_dispatch:
32
+ inputs:
33
+ next_version:
34
+ description: |
35
+ Next release version. Possible values: x.y.z, major, minor, patch (or pre|rc|etc).
36
+ Also, you can pass 'skip' to skip 'git tag' and do 'gem push' for the current version
37
+ required: true
38
+ default: 'skip'
39
+ repository_dispatch:
40
+ types: [ do-release ]
41
+ # The publish leg: when the release PR (head branch release/v*) merges,
42
+ # metanorma/ci tags the merge commit and publishes (metanorma/ci#515).
43
+ # Ordinary PR closes are skipped inside the reusable workflow.
44
+ pull_request:
45
+ types:
46
+ - closed
47
+
48
+ # Least-privilege ceiling for the called rubygems-release.yml: its release job
49
+ # needs contents:write (git tag push) and id-token:write (OIDC Trusted Publishing).
50
+ permissions:
51
+ contents: write
52
+ id-token: write
53
+ pull-requests: write
54
+
55
+ jobs:
56
+ release:
57
+ uses: metanorma/ci/.github/workflows/rubygems-release.yml@main
58
+ with:
59
+ next_version: ${{ github.event.inputs.next_version }}
60
+ # Opt out of the auto-generated GitHub Release notes floor added in
61
+ # metanorma/ci#354. Notes are written by hand at release time; the
62
+ # workflow skips the ensure-release step entirely and the maintainer
63
+ # creates the Release with their own notes.
64
+ release_notes: manual
65
+ secrets:
66
+ rubygems-api-key: ${{ secrets.METANORMA_CI_RUBYGEMS_API_KEY }}
67
+ pat_token: ${{ secrets.METANORMA_CI_PAT_TOKEN }}
data/.rubocop.yml CHANGED
@@ -1,10 +1,31 @@
1
- # This project follows the Ribose OSS style guide.
2
- # https://github.com/riboseinc/oss-guides
3
- # All project-specific additions and overrides should be specified in this file.
4
-
1
+ # Auto-generated by Cimas: Do not edit it manually!
2
+ # See https://github.com/metanorma/cimas
5
3
  inherit_from:
6
- - https://raw.githubusercontent.com/riboseinc/oss-guides/master/ci/rubocop.yml
4
+ - https://raw.githubusercontent.com/riboseinc/oss-guides/main/ci/rubocop.yml
5
+ # .rubocop_todo.yml MUST be the last entry. inherit_from is last-wins:
6
+ # if listed before oss-guides, the shared config's stricter Metrics/
7
+ # (MethodLength, BlockLength, etc.) rules override the todo's per-file
8
+ # grandfathering, and the todo becomes inert on those cops. Empirically
9
+ # verified on suma 2026-07-06: with todo listed first, 34 Metrics/* offenses
10
+ # remained; moved last, cleared. Every gem in the metanorma-org fleet
11
+ # already ships a `.rubocop_todo.yml` on its live tree (audited 2026-07-06,
12
+ # 54/54 have it), so this reference is safe to emit unconditionally.
13
+ - .rubocop_todo.yml
14
+
15
+ # Rubocop plugins enabled centrally so every metanorma-org gem picks them up
16
+ # on cimas sync — best practice belongs at the shared-template layer, not
17
+ # per-repo. Per ronaldtse feedback on metanorma/ci#332.
18
+ plugins:
19
+ - rubocop-rspec
20
+ - rubocop-performance
21
+ - rubocop-rake
22
+
23
+ # local repo-specific modifications
24
+ # ...
25
+
7
26
  AllCops:
8
- TargetRubyVersion: 2.3
9
- Rails:
10
- Enabled: true
27
+ # 3.3 matches the org-wide minimum being pushed via #274 (Raise minimum
28
+ # Ruby version to 3.3 due to EOL of 3.2 on 2026-03-31). Was 3.4 before
29
+ # this commit — 3.4 was above the org's stated minimum and would have
30
+ # applied Rubocop rules that fail-close on gems still targeting 3.3.
31
+ TargetRubyVersion: 3.3
data/README.adoc CHANGED
@@ -1,8 +1,10 @@
1
1
  == gb-agencies
2
2
 
3
3
  image:https://img.shields.io/gem/v/gb-agencies.svg["Gem Version", link="https://rubygems.org/gems/gb-agencies"]
4
- image:https://img.shields.io/travis/metanorma/gb-agencies/master.svg["Build Status", link="https://travis-ci.org/metanorma/gb-agencies"]
4
+ image:https://github.com/metanorma/gb-agencies/workflows/rake/badge.svg["Build Status", link="https://github.com/metanorma/gb-agencies/actions?workflow=rake"]
5
5
  image:https://codeclimate.com/github/metanorma/gb-agencies/badges/gpa.svg["Code Climate", link="https://codeclimate.com/github/metanorma/gb-agencies"]
6
+ image:https://img.shields.io/github/issues-pr-raw/metanorma/gb-agencies.svg["Pull Requests", link="https://github.com/metanorma/gb-agencies/pulls"]
7
+ image:https://img.shields.io/github/commits-since/metanorma/gb-agencies/latest.svg["Commits since latest",link="https://github.com/metanorma/gb-agencies/releases"]
6
8
 
7
9
  Gem to look up agency names for GB standards
8
10
 
@@ -13,15 +15,15 @@ LABELS = { "PRC" => "PRC", # People's Republic of China
13
15
  "industry_standard" => "Industry Standard",
14
16
  "local_standard" => "Local Standard",
15
17
  "enterprise_standard" => "Enterprise Standard",
16
- "social_standard" => "Social Standard" }
18
+ "group_standard" => "Group Standard" }
17
19
 
18
20
  # language (only "en", "zh" defined)
19
21
  # LABELS: hash of localised labels
20
- # issuer: name of organisation issuing the standard (only used for enterprise and social-group standards;
22
+ # issuer: name of organisation issuing the standard (only used for enterprise and group standards;
21
23
  # this gem provides lookup for local, sector, and national agency names)
22
24
  gba = GbAgencies::Agencies.new("en", LABELS, "My Org")
23
25
 
24
- # scope: "national", "sector", "local", "enterprise", "social-group"
26
+ # scope: "national", "sector", "local", "enterprise", "group"
25
27
  # prefix: the prefix of the standard
26
28
  # mandate: "mandatory", "recommended", "guide"
27
29
  gba.standard_class("national", "GB", "mandatory")
@@ -30,7 +32,7 @@ gba.standard_class("national", "GB", "mandatory")
30
32
  gba.standard_class("local", "81", "guide")
31
33
  => "Hong Kong Special Administrative Region Local Standard"
32
34
 
33
- # scope: "national", "sector", "local", "enterprise", "social-group"
35
+ # scope: "national", "sector", "local", "enterprise", "group"
34
36
  # prefix: the prefix of the standard
35
37
  # mandate: "mandatory", "recommended", "guide"
36
38
  gba.standard_agency("national", "GB", "mandatory")
@@ -43,20 +45,20 @@ GbAgencies::Agencies.new("zh", LABELS, "My Org").standard_agency1("national", "G
43
45
  GbAgencies::Agencies.new("zh", LABELS, "My Org").standard_agency("national", "GB", "mandatory")
44
46
  => "["中华人民共和国国家质量监督检验检疫总局 中国国家标准化管理委员会"]
45
47
 
46
- # scope: "national", "sector", "local", "enterprise", "social-group"
48
+ # scope: "national", "sector", "local", "enterprise", "group"
47
49
  # prefix: the prefix of the standard
48
50
  # mandate: "mandatory", "recommended", "guide"
49
51
  # year: year of publication
50
52
  # nunumber: the number of the standard
51
- gba.docidentifier("social-group", "PREFIX", "guide", "2002", "123")
53
+ gba.docidentifier("group", "PREFIX", "guide", "2002", "123")
52
54
  => "T/Z/PREFIX 123—2002"
53
55
 
54
- # scope: "national", "sector", "local", "enterprise", "social-group"
56
+ # scope: "national", "sector", "local", "enterprise", "group"
55
57
  # prefix: the prefix of the standard
56
58
  gba.gbtype_validate("national", "GB")
57
59
  => true
58
60
 
59
- # scope: "national", "sector", "local", "enterprise", "social-group"
61
+ # scope: "national", "sector", "local", "enterprise", "group"
60
62
  # prefix: the prefix of the standard
61
63
  gba.gbtype_validate("national", "ZZ")
62
64
  ZZ is not a recognised national prefix
data/gb-agencies.gemspec CHANGED
@@ -1,5 +1,4 @@
1
-
2
- lib = File.expand_path("../lib", __FILE__)
1
+ lib = File.expand_path("lib", __dir__)
3
2
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
3
  require "gb_agencies/version"
5
4
 
@@ -9,8 +8,8 @@ Gem::Specification.new do |spec|
9
8
  spec.authors = ["Ribose Inc."]
10
9
  spec.email = ["open.source@ribose.com"]
11
10
 
12
- spec.summary = %q{Gem to look up agency names for GB standards.}
13
- spec.description = %q{Gem to look up agency names for GB standards.}
11
+ spec.summary = "Gem to look up agency names for GB standards."
12
+ spec.description = "Gem to look up agency names for GB standards."
14
13
  spec.homepage = "https://github.com/metanorma/gb-agencies"
15
14
  spec.license = "BSD-2-Clause"
16
15
 
@@ -20,11 +19,11 @@ Gem::Specification.new do |spec|
20
19
  spec.bindir = "exe"
21
20
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
22
21
  spec.require_paths = ["lib"]
23
- spec.required_ruby_version = Gem::Requirement.new(">= 2.4.0")
22
+ spec.required_ruby_version = Gem::Requirement.new(">= 2.7.0")
24
23
 
25
- spec.add_development_dependency "bundler", "~> 2.0.1"
26
- spec.add_development_dependency "rake", "~> 10.0"
24
+ spec.add_development_dependency "bundler"
25
+ spec.add_development_dependency "debug"
26
+ spec.add_development_dependency "rake", "~> 13.0"
27
27
  spec.add_development_dependency "rspec", "~> 3.0"
28
28
  spec.add_development_dependency "simplecov"
29
- spec.add_development_dependency "pry-byebug"
30
29
  end
@@ -1,12 +1,12 @@
1
1
  module GbAgencies
2
2
  class Agencies
3
- def initialize(lang, labels = nil, issuer = nil)
4
- @lang = lang
5
- @labels = labels || { "PRC" => "", "industry_standard" => "",
6
- "local_standard" => "", "enterprise_standard" => "",
7
- "social_standard" => "" }
8
- @issuer = issuer || "(not supplied)"
9
- end
3
+ def initialize(lang, labels = nil, issuer = nil)
4
+ @lang = lang
5
+ @labels = labels || { "PRC" => "", "industry_standard" => "",
6
+ "local_standard" => "", "enterprise_standard" => "",
7
+ "group_standard" => "" }
8
+ @issuer = issuer || "(not supplied)"
9
+ end
10
10
 
11
11
  SECTOR = { "zh" => {
12
12
  AQ: { industry: "安全生产", admin: "国家安全生产管理局" },
@@ -278,7 +278,7 @@ module GbAgencies
278
278
  when "enterprise"
279
279
  #issuer = get_metadata[:issuer]
280
280
  "#{@issuer}#{spc}#{@labels["enterprise_standard"]}"
281
- when "social-group" then @labels["social_standard"]
281
+ when "group" then @labels["group_standard"]
282
282
  when "professional" then "PROFESSIONAL STANDARD" # TODO
283
283
  end
284
284
  end
@@ -295,7 +295,7 @@ module GbAgencies
295
295
  SECTOR&.dig(@lang, prefix.to_sym, :admin) || nil
296
296
  when "local"
297
297
  LOCAL&.dig(@lang, prefix.to_sym) || nil
298
- when "enterprise", "social-group"
298
+ when "enterprise", "group"
299
299
  @issuer || nil
300
300
  when "professional" then "PROFESSIONAL STANDARD" # TODO
301
301
  end
@@ -311,7 +311,7 @@ module GbAgencies
311
311
  SECTOR&.dig(@lang, prefix.to_sym, :admin) || nil
312
312
  when "local"
313
313
  "#{LOCAL&.dig(@lang, prefix.to_sym) || 'XXXX'}#{@labels["local_issuer"]}"
314
- when "enterprise", "social-group"
314
+ when "enterprise", "group"
315
315
  @issuer || nil
316
316
  when "professional" then "PROFESSIONAL STANDARD" # TODO
317
317
  end
@@ -319,7 +319,7 @@ module GbAgencies
319
319
 
320
320
  SCOPEPFX = {
321
321
  :local => "DB",
322
- "social-group".to_sym => "T",
322
+ group: "T",
323
323
  :enterprise => "Q",
324
324
  }.freeze
325
325
 
@@ -331,7 +331,7 @@ module GbAgencies
331
331
  when "local"
332
332
  "#{SCOPEPFX[scope.to_sym]}#{mandate_suffix(prefix, mandate)}/"\
333
333
  "#{docnum}".gsub(%r{/([TZ])/}, "/\\1 ")
334
- when "social-group", "enterprise"
334
+ when "group", "enterprise"
335
335
  "#{mandate_suffix(SCOPEPFX[scope.to_sym], mandate)}/"\
336
336
  "#{prefix}#{initslash ? "" : " "}#{docnum}"
337
337
  else
@@ -1,4 +1,4 @@
1
1
  module GbAgencies
2
- VERSION = "0.0.6"
2
+ VERSION = "0.0.8"
3
3
  end
4
4
 
metadata CHANGED
@@ -1,73 +1,73 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gb-agencies
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-09-27 00:00:00.000000000 Z
11
+ date: 2026-12-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 2.0.1
19
+ version: '0'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: 2.0.1
26
+ version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
- name: rake
28
+ name: debug
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: '10.0'
33
+ version: '0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - "~>"
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
- version: '10.0'
40
+ version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
- name: rspec
42
+ name: rake
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '3.0'
47
+ version: '13.0'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '3.0'
54
+ version: '13.0'
55
55
  - !ruby/object:Gem::Dependency
56
- name: simplecov
56
+ name: rspec
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ">="
59
+ - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '0'
61
+ version: '3.0'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - ">="
66
+ - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: '0'
68
+ version: '3.0'
69
69
  - !ruby/object:Gem::Dependency
70
- name: pry-byebug
70
+ name: simplecov
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
73
  - - ">="
@@ -87,17 +87,15 @@ executables: []
87
87
  extensions: []
88
88
  extra_rdoc_files: []
89
89
  files:
90
- - ".hound.yml"
90
+ - ".github/workflows/rake.yml"
91
+ - ".github/workflows/release.yml"
91
92
  - ".rubocop.ribose.yml"
92
93
  - ".rubocop.tb.yml"
93
94
  - ".rubocop.yml"
94
- - ".travis.yml"
95
95
  - Gemfile
96
- - Gemfile.lock
97
96
  - LICENSE.txt
98
97
  - README.adoc
99
98
  - Rakefile
100
- - appveyor.yml
101
99
  - gb-agencies.gemspec
102
100
  - lib/gb_agencies.rb
103
101
  - lib/gb_agencies/gb_agencies.rb
@@ -106,7 +104,7 @@ homepage: https://github.com/metanorma/gb-agencies
106
104
  licenses:
107
105
  - BSD-2-Clause
108
106
  metadata: {}
109
- post_install_message:
107
+ post_install_message:
110
108
  rdoc_options: []
111
109
  require_paths:
112
110
  - lib
@@ -114,16 +112,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
114
112
  requirements:
115
113
  - - ">="
116
114
  - !ruby/object:Gem::Version
117
- version: 2.4.0
115
+ version: 2.7.0
118
116
  required_rubygems_version: !ruby/object:Gem::Requirement
119
117
  requirements:
120
118
  - - ">="
121
119
  - !ruby/object:Gem::Version
122
120
  version: '0'
123
121
  requirements: []
124
- rubyforge_project:
125
- rubygems_version: 2.7.6
126
- signing_key:
122
+ rubygems_version: 3.5.22
123
+ signing_key:
127
124
  specification_version: 4
128
125
  summary: Gem to look up agency names for GB standards.
129
126
  test_files: []
data/.hound.yml DELETED
@@ -1,3 +0,0 @@
1
- ruby:
2
- Enabled: true
3
- config_file: .rubocop.yml
data/.travis.yml DELETED
@@ -1,18 +0,0 @@
1
- # Auto-generated !!! Do not edit it manually
2
- # use ci-master https://github.com/metanorma/metanorma-build-scripts
3
- language: ruby
4
- cache: bundler
5
- os:
6
- - linux
7
- - osx
8
- rvm:
9
- - 2.6
10
- - 2.5
11
- - 2.4
12
- - ruby-head
13
- before_install:
14
- - gem install bundler -v "~> 2"
15
- - bundle update
16
- matrix:
17
- allow_failures:
18
- - rvm: ruby-head
data/Gemfile.lock DELETED
@@ -1,53 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- gb-agencies (0.0.6)
5
-
6
- GEM
7
- remote: https://rubygems.org/
8
- specs:
9
- byebug (11.0.1)
10
- coderay (1.1.2)
11
- diff-lcs (1.3)
12
- docile (1.3.2)
13
- json (2.2.0)
14
- method_source (0.9.2)
15
- pry (0.12.2)
16
- coderay (~> 1.1.0)
17
- method_source (~> 0.9.0)
18
- pry-byebug (3.7.0)
19
- byebug (~> 11.0)
20
- pry (~> 0.10)
21
- rake (10.5.0)
22
- rspec (3.8.0)
23
- rspec-core (~> 3.8.0)
24
- rspec-expectations (~> 3.8.0)
25
- rspec-mocks (~> 3.8.0)
26
- rspec-core (3.8.2)
27
- rspec-support (~> 3.8.0)
28
- rspec-expectations (3.8.4)
29
- diff-lcs (>= 1.2.0, < 2.0)
30
- rspec-support (~> 3.8.0)
31
- rspec-mocks (3.8.1)
32
- diff-lcs (>= 1.2.0, < 2.0)
33
- rspec-support (~> 3.8.0)
34
- rspec-support (3.8.2)
35
- simplecov (0.17.1)
36
- docile (~> 1.1)
37
- json (>= 1.8, < 3)
38
- simplecov-html (~> 0.10.0)
39
- simplecov-html (0.10.2)
40
-
41
- PLATFORMS
42
- ruby
43
-
44
- DEPENDENCIES
45
- bundler (~> 2.0.1)
46
- gb-agencies!
47
- pry-byebug
48
- rake (~> 10.0)
49
- rspec (~> 3.0)
50
- simplecov
51
-
52
- BUNDLED WITH
53
- 2.0.2
data/appveyor.yml DELETED
@@ -1,37 +0,0 @@
1
- # Auto-generated !!! Do not edit it manually
2
- # use ci-master https://github.com/metanorma/metanorma-build-scripts
3
- version: '{build}'
4
-
5
- cache:
6
- - vendor/bundle
7
-
8
- environment:
9
- matrix:
10
- - RUBY_VERSION: 26
11
- - RUBY_VERSION: 25
12
- - RUBY_VERSION: 24
13
- - RUBY_VERSION: _trunk
14
-
15
- matrix:
16
- allow_failures:
17
- - RUBY_VERSION: _trunk
18
-
19
- install:
20
- - ps: . { iwr -useb https://raw.githubusercontent.com/metanorma/metanorma-build-scripts/master/appveyor.ps1 } | iex
21
- - refreshenv
22
-
23
- build_script:
24
- - set PATH=C:\Ruby%RUBY_VERSION%\bin;%PATH%
25
- - set GIT_TERMINAL_PROMPT=0
26
- - gem install bundler -v "~> 2"
27
- - bundle config --local path vendor/bundle
28
- - bundle update
29
- - bundle install
30
-
31
- before_test:
32
- - ruby -v
33
- - gem -v
34
- - bundle -v
35
-
36
- test_script:
37
- - bundle exec rake