faithteams-api 2.0.1 → 2.0.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: 5cc2b7c415987619e7ebcc699f37790daeb0c7c730904c6a42fd6433a7fe72cb
4
- data.tar.gz: 2cb6331d07e910eeb623c5274f6e3737a335a0be39c6c1c1a68efb2badada2fe
3
+ metadata.gz: ac6d3897acd44723824115a31b937af2486f493af9b3ffdb7f18d88f685841f3
4
+ data.tar.gz: 75db15fcaf0b3d113eff4d7556f79a74baa36325641e7a10523cf935377569bf
5
5
  SHA512:
6
- metadata.gz: 057231fb75f6b1f0bb493698abbd877fbf137c38b8ed43dbbf746ef7a7d04e477fbfd615b09aa3d3d4915ebd70cc4f51817c1849f6e93385a9c1809660eb6936
7
- data.tar.gz: 5b18767dbed31ac0d292c29819834fa7e367ee242243487c992e6c3f32be1da7a9956a8eb660cddc1b7586747c3eab9ccfc1f6c5b91ffb066c7df6fcf15ce395
6
+ metadata.gz: b56441830101ecb2d19c20bccd154611d879291db39023c4244cf189bc175265fc930387d6b0ec79f9ef980da01075184f8829041049ccf740761a39ae6f4471
7
+ data.tar.gz: 33643b5271fe6ee6e9c36920a90ef17d4cce4fbb57f4bc9cc3ed37af7a13a20c06dd83fe63c50aa536ae1e26c5f3f118705a046883e6588e862d0b5538cdd9d9
@@ -0,0 +1,23 @@
1
+ name: EditorConfig
2
+
3
+ on:
4
+ pull_request:
5
+ types: [ opened, reopened, synchronize ]
6
+ workflow_dispatch:
7
+
8
+ jobs:
9
+ build:
10
+ name: Check
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - name: Checkout Code
14
+ uses: actions/checkout@v4
15
+ - name: Setup Node
16
+ uses: actions/setup-node@v4
17
+ with:
18
+ node-version: 20
19
+ - name: Install editorconfig-checker
20
+ run: npm install --global editorconfig-checker
21
+ - name: Run editorconfig-checker
22
+ run: |
23
+ editorconfig-checker -verbose -exclude "(thunder-tests|Gemfile.lock|.csv)"
@@ -0,0 +1,21 @@
1
+ name: Rubocop
2
+
3
+ on:
4
+ pull_request:
5
+ types: [ opened, reopened, synchronize ]
6
+ workflow_dispatch:
7
+
8
+ jobs:
9
+ check:
10
+ name: Check
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - uses: actions/checkout@v4
14
+ - name: Set up Ruby
15
+ uses: ruby/setup-ruby@v1
16
+ with:
17
+ ruby-version: 3.0
18
+ - name: Install dependencies
19
+ run: bundle install
20
+ - name: Run Rubocop
21
+ run: bundle exec rubocop --parallel
@@ -0,0 +1,36 @@
1
+ # Builds and pushes a gem to RubyGems.
2
+ name: RubyGems
3
+
4
+ on:
5
+ pull_request:
6
+ # Only on the production branch
7
+ branches:
8
+ - production
9
+ # Only when closed
10
+ types:
11
+ - closed
12
+ workflow_dispatch:
13
+
14
+ jobs:
15
+ push:
16
+ if: github.event.pull_request.merged == true
17
+ runs-on: ubuntu-latest
18
+
19
+ permissions:
20
+ contents: write
21
+ id-token: write
22
+
23
+ # If you configured a GitHub environment on RubyGems, you must use it here.
24
+ environment: release
25
+
26
+ steps:
27
+ # Set up
28
+ - uses: actions/checkout@v4
29
+ - name: Set up Ruby
30
+ uses: ruby/setup-ruby@v1
31
+ with:
32
+ bundler-cache: true
33
+ ruby-version: ruby
34
+
35
+ # Release
36
+ - uses: rubygems/release-gem@v1
@@ -0,0 +1,21 @@
1
+ name: Tester
2
+
3
+ on:
4
+ pull_request:
5
+ types: [ opened, reopened, synchronize ]
6
+ workflow_dispatch:
7
+
8
+ jobs:
9
+ build:
10
+ name: Test
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - uses: actions/checkout@v4
14
+ - name: Set up Ruby
15
+ uses: ruby/setup-ruby@v1
16
+ with:
17
+ ruby-version: 3.0
18
+ - name: Install dependencies
19
+ run: bundle install
20
+ - name: Run tests
21
+ run: bundle exec rake
@@ -0,0 +1,21 @@
1
+ name: Yard
2
+
3
+ on:
4
+ pull_request:
5
+ types: [ opened, reopened, synchronize ]
6
+ workflow_dispatch:
7
+
8
+ jobs:
9
+ check:
10
+ name: Check
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - uses: actions/checkout@v4
14
+ - name: Set up Ruby
15
+ uses: ruby/setup-ruby@v1
16
+ with:
17
+ ruby-version: 3.0
18
+ - name: Install dependencies
19
+ run: bundle install
20
+ - name: Run Yard
21
+ run: bundle exec yard stats --list-undoc --fail-on-warning
data/CHANGELOG.md CHANGED
@@ -7,11 +7,19 @@ All notable changes to this project will be documented in this file.
7
7
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
8
8
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
9
9
 
10
- ## [Unreleased]
10
+ ## [2.0.2] - 2024-04-03
11
+
12
+ ### Fixed
13
+
14
+ 1. Fixed gemspec metadata urls. (IN-2229)
15
+ 1. Update gem dependencies.
16
+ 1. Replace `jeweler.yml` Github Action with `rubygems.yml`.
17
+
18
+ ## [2.0.1] - 2024-04-03
11
19
 
12
20
  ### Changed
13
21
 
14
- 1. *BREAKING CHANGE* Allowed for newer versions of ActiveSupport for use in projects that are targeting a higher version of Rails.
22
+ 1. Published to RubyGems. (IN-2229)
15
23
 
16
24
  ## [1.1.0] - 2023-11-01
17
25
 
data/Gemfile.lock CHANGED
@@ -1,14 +1,14 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- faithteams-api (2.0.1)
4
+ faithteams-api (2.0.2)
5
5
  activesupport (>= 6.1.7)
6
6
  http (~> 5.1)
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
- activesupport (7.1.3)
11
+ activesupport (7.1.3.2)
12
12
  base64
13
13
  bigdecimal
14
14
  concurrent-ruby (~> 1.0, >= 1.0.2)
@@ -22,22 +22,21 @@ GEM
22
22
  public_suffix (>= 2.0.2, < 6.0)
23
23
  ast (2.4.2)
24
24
  base64 (0.2.0)
25
- bigdecimal (3.1.6)
25
+ bigdecimal (3.1.7)
26
26
  byebug (11.1.3)
27
27
  coderay (1.1.3)
28
28
  concurrent-ruby (1.2.3)
29
29
  connection_pool (2.4.1)
30
- crack (0.4.6)
30
+ crack (1.0.0)
31
31
  bigdecimal
32
32
  rexml
33
33
  diff-lcs (1.5.1)
34
34
  docile (1.4.0)
35
35
  domain_name (0.6.20240107)
36
- drb (2.2.0)
37
- ruby2_keywords
36
+ drb (2.2.1)
38
37
  ffi (1.16.3)
39
- ffi-compiler (1.0.1)
40
- ffi (>= 1.0.0)
38
+ ffi-compiler (1.3.2)
39
+ ffi (>= 1.15.5)
41
40
  rake
42
41
  formatador (1.1.0)
43
42
  guard (2.18.1)
@@ -64,11 +63,11 @@ GEM
64
63
  http-cookie (1.0.5)
65
64
  domain_name (~> 0.5)
66
65
  http-form_data (2.3.0)
67
- i18n (1.14.1)
66
+ i18n (1.14.4)
68
67
  concurrent-ruby (~> 1.0)
69
68
  json (2.7.1)
70
69
  language_server-protocol (3.17.0.3)
71
- listen (3.8.0)
70
+ listen (3.9.0)
72
71
  rb-fsevent (~> 0.10, >= 0.10.3)
73
72
  rb-inotify (~> 0.9, >= 0.9.10)
74
73
  llhttp-ffi (0.5.0)
@@ -76,7 +75,7 @@ GEM
76
75
  rake (~> 13.0)
77
76
  lumberjack (1.2.10)
78
77
  method_source (1.0.0)
79
- minitest (5.22.1)
78
+ minitest (5.22.3)
80
79
  mutex_m (0.2.0)
81
80
  nenv (0.3.0)
82
81
  notiffany (0.1.3)
@@ -89,10 +88,10 @@ GEM
89
88
  pry (0.14.2)
90
89
  coderay (~> 1.1)
91
90
  method_source (~> 1.0)
92
- public_suffix (5.0.4)
91
+ public_suffix (5.0.5)
93
92
  racc (1.7.3)
94
93
  rainbow (3.1.1)
95
- rake (13.1.0)
94
+ rake (13.2.0)
96
95
  rb-fsevent (0.11.2)
97
96
  rb-inotify (0.10.1)
98
97
  ffi (~> 1.0)
@@ -110,8 +109,8 @@ GEM
110
109
  rspec-mocks (3.13.0)
111
110
  diff-lcs (>= 1.2.0, < 2.0)
112
111
  rspec-support (~> 3.13.0)
113
- rspec-support (3.13.0)
114
- rubocop (1.60.2)
112
+ rspec-support (3.13.1)
113
+ rubocop (1.62.1)
115
114
  json (~> 2.3)
116
115
  language_server-protocol (>= 3.17.0)
117
116
  parallel (~> 1.10)
@@ -119,20 +118,19 @@ GEM
119
118
  rainbow (>= 2.2.2, < 4.0)
120
119
  regexp_parser (>= 1.8, < 3.0)
121
120
  rexml (>= 3.2.5, < 4.0)
122
- rubocop-ast (>= 1.30.0, < 2.0)
121
+ rubocop-ast (>= 1.31.1, < 2.0)
123
122
  ruby-progressbar (~> 1.7)
124
123
  unicode-display_width (>= 2.4.0, < 3.0)
125
- rubocop-ast (1.30.0)
126
- parser (>= 3.2.1.0)
127
- rubocop-performance (1.20.2)
124
+ rubocop-ast (1.31.2)
125
+ parser (>= 3.3.0.4)
126
+ rubocop-performance (1.21.0)
128
127
  rubocop (>= 1.48.1, < 2.0)
129
- rubocop-ast (>= 1.30.0, < 2.0)
128
+ rubocop-ast (>= 1.31.1, < 2.0)
130
129
  rubocop-rake (0.6.0)
131
130
  rubocop (~> 1.0)
132
131
  rubocop-rspec (1.42.0)
133
132
  rubocop (>= 0.87.0)
134
133
  ruby-progressbar (1.13.0)
135
- ruby2_keywords (0.0.5)
136
134
  shellany (0.0.1)
137
135
  simplecov (0.22.0)
138
136
  docile (~> 1.1)
@@ -140,15 +138,15 @@ GEM
140
138
  simplecov_json_formatter (~> 0.1)
141
139
  simplecov-html (0.12.3)
142
140
  simplecov_json_formatter (0.1.4)
143
- thor (1.3.0)
141
+ thor (1.3.1)
144
142
  tzinfo (2.0.6)
145
143
  concurrent-ruby (~> 1.0)
146
144
  unicode-display_width (2.5.0)
147
- webmock (3.20.0)
145
+ webmock (3.23.0)
148
146
  addressable (>= 2.8.0)
149
147
  crack (>= 0.3.2)
150
148
  hashdiff (>= 0.4.0, < 2.0.0)
151
- yard (0.9.34)
149
+ yard (0.9.36)
152
150
 
153
151
  PLATFORMS
154
152
  ruby
@@ -168,4 +166,4 @@ DEPENDENCIES
168
166
  yard (~> 0.9)
169
167
 
170
168
  BUNDLED WITH
171
- 2.4.13
169
+ 2.5.7
data/README.md CHANGED
@@ -60,9 +60,7 @@ Use the Thunder Client extension for VS Code to test/inspect API calls.
60
60
 
61
61
  General instructions for publishing a gem are available in this [RubyGems guide](https://guides.rubygems.org/publishing/#publishing-to-rubygemsorg).
62
62
 
63
- 1. Make sure you have a [RubyGems account](https://rubygems.org/sign_in).
64
- 1. Ensure the gem can be built and is at the correct version number: `bundle exec rake install`
65
- 1. Publish the gem `gem push pkg/faithteams-api-2.0.0.gem
63
+ Once a gem is ready to be published, a release can be made and [the GitHub Action](https://guides.rubygems.org/trusted-publishing/releasing-gems/) [rubygems.yml](./.github/workflows/rubygems.yml) will publish the gem to RubyGems.
66
64
 
67
65
  ## License
68
66
 
@@ -18,8 +18,10 @@ Gem::Specification.new do |spec|
18
18
 
19
19
  spec.metadata["homepage_uri"] = spec.homepage
20
20
  spec.metadata["source_code_uri"] = "https://github.com/tithely/faithteams-api"
21
- spec.metadata["changelog_uri"] = "https://github.com/tithely/faithteams-api/blob/master/doc/CHANGELOG.md"
22
21
  spec.metadata["github_repo"] = "https://github.com/tithely/faithteams-api"
22
+ spec.metadata["changelog_uri"] = "https://github.com/tithely/faithteams-api/blob/master/CHANGELOG.md"
23
+ spec.metadata["bug_tracker_uri"] = "https://github.com/tithely/faithteams-api/issues"
24
+ spec.metadata["documentation_uri"] = "https://github.com/tithely/faithteams-api/blob/master/README.md"
23
25
 
24
26
  # Specify which files should be added to the gem when it is released.
25
27
  # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
@@ -2,5 +2,5 @@
2
2
 
3
3
  module FaithTeams
4
4
  # Current version number.
5
- VERSION = "2.0.1"
5
+ VERSION = "2.0.2"
6
6
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: faithteams-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.1
4
+ version: 2.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tithe.ly Integrations
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-04-03 00:00:00.000000000 Z
11
+ date: 2024-04-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -203,8 +203,11 @@ files:
203
203
  - ".github/CODEOWNERS"
204
204
  - ".github/CONTRIBUTING.md"
205
205
  - ".github/PULL_REQUEST_TEMPLATE.md"
206
- - ".github/workflows/jeweler.yml"
207
- - ".github/workflows/puller.yml"
206
+ - ".github/workflows/editorconfig.yml"
207
+ - ".github/workflows/rubocop.yml"
208
+ - ".github/workflows/rubygems.yml"
209
+ - ".github/workflows/tester.yml"
210
+ - ".github/workflows/yard.yml"
208
211
  - ".gitignore"
209
212
  - ".rspec"
210
213
  - ".rubocop.yml"
@@ -259,9 +262,11 @@ metadata:
259
262
  allowed_push_host: https://rubygems.org
260
263
  homepage_uri: https://github.com/tithely/faithteams-api
261
264
  source_code_uri: https://github.com/tithely/faithteams-api
262
- changelog_uri: https://github.com/tithely/faithteams-api/blob/master/doc/CHANGELOG.md
263
265
  github_repo: https://github.com/tithely/faithteams-api
264
- post_install_message:
266
+ changelog_uri: https://github.com/tithely/faithteams-api/blob/master/CHANGELOG.md
267
+ bug_tracker_uri: https://github.com/tithely/faithteams-api/issues
268
+ documentation_uri: https://github.com/tithely/faithteams-api/blob/master/README.md
269
+ post_install_message:
265
270
  rdoc_options: []
266
271
  require_paths:
267
272
  - lib
@@ -276,8 +281,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
276
281
  - !ruby/object:Gem::Version
277
282
  version: '0'
278
283
  requirements: []
279
- rubygems_version: 3.5.7
280
- signing_key:
284
+ rubygems_version: 3.5.3
285
+ signing_key:
281
286
  specification_version: 4
282
287
  summary: A Faithteams API client gem.
283
288
  test_files: []
@@ -1,11 +0,0 @@
1
- name: Jeweler
2
-
3
- on:
4
- release:
5
- types: [ published ]
6
-
7
- jobs:
8
- jeweler:
9
- uses: tithely/gem-workflows/.github/workflows/jeweler.yml@master
10
- secrets:
11
- GEM_HOST_API_KEY: ${{ secrets.GITHUB_TOKEN }}
@@ -1,17 +0,0 @@
1
- # Pulls in multiple workflows into a single file for use with PRs.
2
- name: Puller
3
-
4
- on:
5
- pull_request:
6
- types: [ opened, reopened, synchronize ]
7
- workflow_dispatch:
8
-
9
- jobs:
10
- tester:
11
- uses: tithely/gem-workflows/.github/workflows/tester.yml@master
12
- editorconfig:
13
- uses: tithely/gem-workflows/.github/workflows/editorconfig.yml@master
14
- rubocop:
15
- uses: tithely/gem-workflows/.github/workflows/rubocop.yml@master
16
- yard:
17
- uses: tithely/gem-workflows/.github/workflows/yard.yml@master