shotgun_api_ruby 0.0.5 → 0.0.5.1

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: 6e8f35c879d4875bb2fd7aaf64717735ef915ca5dd4229097eb9a9d3eb8265b1
4
- data.tar.gz: 0576b201159e2dcf3cfdcf7805e26e70f6796475153b0c7712c634aa4bb7fd48
3
+ metadata.gz: 5613b56eaa3fec835733c37ff970933aeaa0ff4970ca39c9752ece442c3b1471
4
+ data.tar.gz: 8bd5bc017adbf31adb476076784bef67ba2b5d83d2088b5eb09f327d5f286533
5
5
  SHA512:
6
- metadata.gz: 193682e3bbd32fdac36a9bebd5bd6c48d2e2e1652e6d6f1149a2bd103ef8028bcaae91f85320c322468e37bdbfb8e8667134a32dbe4c31c98b62799fa6551b70
7
- data.tar.gz: e782ea8785bb79dbed938e966bfb80fddafcc4b058f62a65342451be01b4587fff6f67461ab3648c54bbfb01196b0121cbf92fb3067b98ed1b85ab3dcc596d1f
6
+ metadata.gz: 9fe0567e6094baf27f63da50ba45d037f08b4d2355acd7db8ccf0415f5de8124cac64ceb29bf167457d28bce08a1fc0a94e52c11dbcbd45c6f75103df124b2f5
7
+ data.tar.gz: 7befdd689b2b75984536ae7461a816f2141a303a6aaf9a9e76571f3c2af8fa5ff4f36a9081830a9c744a73863ecdcd6736fa9a7d323f0a79af93f1f8be7b67c3
@@ -0,0 +1,73 @@
1
+ name: Test and Release
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - main
7
+
8
+ jobs:
9
+ test-2_5:
10
+ runs-on: ubuntu-latest
11
+
12
+ steps:
13
+ - uses: actions/checkout@v2
14
+ - name: Set up Ruby
15
+ uses: ruby/setup-ruby@v1
16
+ with:
17
+ ruby-version: 2.5
18
+ - name: Install dependencies
19
+ run: bundle install
20
+ - name: Run linter
21
+ run: bundle exec rubocop
22
+ - name: Run tests
23
+ run: bundle exec rspec
24
+ test-2_6:
25
+ runs-on: ubuntu-latest
26
+
27
+ steps:
28
+ - uses: actions/checkout@v2
29
+ - name: Set up Ruby
30
+ uses: ruby/setup-ruby@v1
31
+ with:
32
+ ruby-version: 2.6
33
+ - name: Install dependencies
34
+ run: bundle install
35
+ - name: Run linter
36
+ run: bundle exec rubocop
37
+ - name: Run tests
38
+ run: bundle exec rspec
39
+ test-2_7:
40
+ runs-on: ubuntu-latest
41
+
42
+ steps:
43
+ - uses: actions/checkout@v2
44
+ - name: Set up Ruby
45
+ uses: ruby/setup-ruby@v1
46
+ with:
47
+ ruby-version: 2.7
48
+ - name: Install dependencies
49
+ run: bundle install
50
+ - name: Run linter
51
+ run: bundle exec rubocop
52
+ - name: Run tests
53
+ run: bundle exec rspec
54
+ release:
55
+ needs: [test-2_5, test-2_6, test-2_7]
56
+ runs-on: ubuntu-latest
57
+
58
+ steps:
59
+ - uses: actions/checkout@v2
60
+ - name: Set up Ruby
61
+ uses: ruby/setup-ruby@v1
62
+ with:
63
+ ruby-version: 2.7
64
+ - name: Install dependencies
65
+ run: bundle install
66
+ - name: Prepare credentials
67
+ env:
68
+ RUBYGEM_KEY: ${{ secrets.RUBYGEM_KEY }}
69
+ run: "echo -e \"---\\r\\n:rubygems_api_key: $RUBYGEM_KEY\" > ~/.gem/credentials && chmod 0600 ~/.gem/credentials"
70
+ - name: Setup username/email
71
+ run: "git config --global user.email zaratan@hey.com && git config --global user.name \"Denis <Zaratan> Pasin\""
72
+ - name: Publish
73
+ run: rake release
@@ -0,0 +1,53 @@
1
+ name: Tests
2
+
3
+ on:
4
+ push:
5
+ branches-ignore:
6
+ - main
7
+
8
+ jobs:
9
+ test-2_5:
10
+ runs-on: ubuntu-latest
11
+
12
+ steps:
13
+ - uses: actions/checkout@v2
14
+ - name: Set up Ruby
15
+ uses: ruby/setup-ruby@v1
16
+ with:
17
+ ruby-version: 2.5
18
+ - name: Install dependencies
19
+ run: bundle install
20
+ - name: Run linter
21
+ run: bundle exec rubocop
22
+ - name: Run tests
23
+ run: bundle exec rspec
24
+ test-2_6:
25
+ runs-on: ubuntu-latest
26
+
27
+ steps:
28
+ - uses: actions/checkout@v2
29
+ - name: Set up Ruby
30
+ uses: ruby/setup-ruby@v1
31
+ with:
32
+ ruby-version: 2.6
33
+ - name: Install dependencies
34
+ run: bundle install
35
+ - name: Run linter
36
+ run: bundle exec rubocop
37
+ - name: Run tests
38
+ run: bundle exec rspec
39
+ test-2_7:
40
+ runs-on: ubuntu-latest
41
+
42
+ steps:
43
+ - uses: actions/checkout@v2
44
+ - name: Set up Ruby
45
+ uses: ruby/setup-ruby@v1
46
+ with:
47
+ ruby-version: 2.7
48
+ - name: Install dependencies
49
+ run: bundle install
50
+ - name: Run linter
51
+ run: bundle exec rubocop
52
+ - name: Run tests
53
+ run: bundle exec rspec
@@ -0,0 +1,21 @@
1
+ name: Verify version change
2
+
3
+ on:
4
+ pull_request:
5
+ branches:
6
+ - main
7
+
8
+ jobs:
9
+ version_change:
10
+ runs-on: ubuntu-latest
11
+
12
+ steps:
13
+ - uses: actions/checkout@v2
14
+ - name: Fetch main branch
15
+ run: git fetch origin main:main
16
+ - name: Verify if there's a change in version
17
+ run: "git diff main lib/rspec_in_context/version.rb | grep VERSION"
18
+ - name: Print new version
19
+ run: 'git diff main lib/rspec_in_context/version.rb | grep -E "^\+.*VERSION" | grep -E -o "[0-9]+\.[0-9]+\.[0-9]+(\.[0-9]+)?"'
20
+ - name: Verify if higher version
21
+ run: '[[ $(git diff main lib/rspec_in_context/version.rb | grep -E "^\+.*VERSION" | grep -E -o "[0-9]+\.[0-9]+\.[0-9]+(\.[0-9]+)?") > $(git diff main lib/rspec_in_context/version.rb | grep -E "^-.*VERSION" | grep -E -o "[0-9]+\.[0-9]+\.[0-9]+(\.[0-9]+)?") ]]'
@@ -1 +1 @@
1
- 2.6.5
1
+ 2.7.2
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- shotgun_api_ruby (0.0.5)
4
+ shotgun_api_ruby (0.0.5.1)
5
5
  activesupport
6
6
  faraday (~> 1)
7
7
  zeitwerk (~> 2.2)
@@ -40,18 +40,18 @@ GEM
40
40
  multipart-post (2.1.1)
41
41
  nokogiri (1.10.10)
42
42
  mini_portile2 (~> 2.4.0)
43
- overcommit (0.55.0)
43
+ overcommit (0.57.0)
44
44
  childprocess (>= 0.6.3, < 5)
45
45
  iniparse (~> 1.4)
46
46
  parallel (1.19.2)
47
- parser (2.7.1.4)
47
+ parser (2.7.1.5)
48
48
  ast (~> 2.4.1)
49
49
  pry (0.13.1)
50
50
  coderay (~> 1.1)
51
51
  method_source (~> 1.0)
52
52
  rainbow (3.0.0)
53
53
  rake (13.0.1)
54
- regexp_parser (1.8.0)
54
+ regexp_parser (1.8.1)
55
55
  reverse_markdown (2.0.0)
56
56
  nokogiri
57
57
  rexml (3.2.4)
@@ -59,7 +59,7 @@ GEM
59
59
  rspec-core (~> 3.9.0)
60
60
  rspec-expectations (~> 3.9.0)
61
61
  rspec-mocks (~> 3.9.0)
62
- rspec-core (3.9.2)
62
+ rspec-core (3.9.3)
63
63
  rspec-support (~> 3.9.3)
64
64
  rspec-expectations (3.9.2)
65
65
  diff-lcs (>= 1.2.0, < 2.0)
@@ -68,22 +68,22 @@ GEM
68
68
  diff-lcs (>= 1.2.0, < 2.0)
69
69
  rspec-support (~> 3.9.0)
70
70
  rspec-support (3.9.3)
71
- rubocop (0.91.0)
71
+ rubocop (0.92.0)
72
72
  parallel (~> 1.10)
73
- parser (>= 2.7.1.1)
73
+ parser (>= 2.7.1.5)
74
74
  rainbow (>= 2.2.2, < 4.0)
75
75
  regexp_parser (>= 1.7)
76
76
  rexml
77
- rubocop-ast (>= 0.4.0, < 1.0)
77
+ rubocop-ast (>= 0.5.0)
78
78
  ruby-progressbar (~> 1.7)
79
79
  unicode-display_width (>= 1.4.0, < 2.0)
80
- rubocop-ast (0.4.2)
81
- parser (>= 2.7.1.4)
80
+ rubocop-ast (0.7.1)
81
+ parser (>= 2.7.1.5)
82
82
  rubocop-performance (1.8.1)
83
83
  rubocop (>= 0.87.0)
84
84
  rubocop-ast (>= 0.4.0)
85
85
  ruby-progressbar (1.10.1)
86
- solargraph (0.39.15)
86
+ solargraph (0.39.17)
87
87
  backport (~> 1.1)
88
88
  benchmark
89
89
  bundler (>= 1.17.2)
@@ -28,7 +28,7 @@ module ShotgunApiRuby
28
28
  public_send(type)
29
29
  end
30
30
 
31
- def respond_to_missing?(_name, _include_private = false) # rubocop:disable Lint/MissingSuper,Style/OptionalBooleanParameter
31
+ def respond_to_missing?(_name, _include_private = false) # rubocop:disable Lint/MissingSuper
32
32
  true
33
33
  end
34
34
 
@@ -14,7 +14,7 @@ module ShotgunApiRuby
14
14
  end
15
15
  end
16
16
 
17
- def respond_to_missing?(name, _private_methods = false) # rubocop:disable Style/OptionalBooleanParameter
17
+ def respond_to_missing?(name, _private_methods = false)
18
18
  attributes.respond_to?(name) || super
19
19
  end
20
20
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ShotgunApiRuby
4
- VERSION = "0.0.5"
4
+ VERSION = "0.0.5.1"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shotgun_api_ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Denis <Zaratan> Pasin
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-09-23 00:00:00.000000000 Z
11
+ date: 2020-10-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -199,6 +199,9 @@ executables: []
199
199
  extensions: []
200
200
  extra_rdoc_files: []
201
201
  files:
202
+ - ".github/workflows/test_and_publish.yml"
203
+ - ".github/workflows/test_only.yml"
204
+ - ".github/workflows/verify_version_change.yml"
202
205
  - ".gitignore"
203
206
  - ".overcommit.yml"
204
207
  - ".rspec"
@@ -230,7 +233,7 @@ licenses:
230
233
  metadata:
231
234
  homepage_uri: https://github.com/shotgunsoftware/shotgun_api_ruby
232
235
  source_code_uri: https://github.com/shotgunsoftware/shotgun_api_ruby
233
- post_install_message:
236
+ post_install_message:
234
237
  rdoc_options: []
235
238
  require_paths:
236
239
  - lib
@@ -245,8 +248,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
245
248
  - !ruby/object:Gem::Version
246
249
  version: '0'
247
250
  requirements: []
248
- rubygems_version: 3.0.8
249
- signing_key:
251
+ rubygems_version: 3.1.2
252
+ signing_key:
250
253
  specification_version: 4
251
254
  summary: Gem to interact easily with Shotgun REST api.
252
255
  test_files: []