omniauth-chef-oauth2 1.0.3 → 1.1.0

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
- SHA1:
3
- metadata.gz: 6caba0f7530aad2802830fef706e5e8d40b2ce74
4
- data.tar.gz: e885eea13a777d6ef823a50ea63718ff354a72fb
2
+ SHA256:
3
+ metadata.gz: d65816951c96eafc5ea088d3e2ef9f4d0f505041e6bc55ab6b880fc49e3bd98a
4
+ data.tar.gz: d60e96a72eef726550d02a69d091b215f4d2641de79969516b98f65714730499
5
5
  SHA512:
6
- metadata.gz: 4d5bdd031cd53180296f8e6dedba3fd82e0f38c7e405c957f4dfd93b180fb33644deaa310412f83d353caa0dbac6cf62033bf3106d3a925a4856f87c2a674b64
7
- data.tar.gz: afb1d9fd29da197da52e1085556950fa140c3cbe5d5a1e4c2b9589f415a1f672801442b5b44e00ee25739e858b340ab353c66a213beb8662adccd735dd699de3
6
+ metadata.gz: 100d00c278fef6b0c9718f40b70be99146af8a319cc5e38c5a47af0270dbb177788b5435a9995dd52bc3e2ccb7f6544b27373f0715b85447a68a7ab73ae27d4a
7
+ data.tar.gz: 0ef6a725ad304d56b5bcb9a35f702a2fe5e02e0e1d2e667a11cfababd31771c9b7464326121f8dd3c352fb7bea3d66966bea233a11ca363411e112055beb967b
@@ -0,0 +1,47 @@
1
+ # Documentation available at https://expeditor.chef.io/docs/getting-started/
2
+ ---
3
+
4
+ # Slack channel in Chef Software slack to send notifications about build failures, etc
5
+ slack:
6
+ notify_channel: supermarket-notify
7
+
8
+ # This publish is triggered by the `built_in:publish_rubygems` artifact_action.
9
+ rubygems:
10
+ - omniauth-chef-oauth2
11
+
12
+ github:
13
+ # This deletes the GitHub PR branch after successfully merged into the release branch
14
+ delete_branch_on_merge: true
15
+ # The tag format to use (e.g. v1.0.0)
16
+ version_tag_format: "v{{version}}"
17
+ # allow bumping the minor release via label
18
+ minor_bump_labels:
19
+ - "Expeditor: Bump Version Minor"
20
+ # allow bumping the major release via label
21
+ major_bump_labels:
22
+ - "Expeditor: Bump Version Major"
23
+
24
+ changelog:
25
+ rollup_header: Changes not yet released to rubygems.org
26
+
27
+ subscriptions:
28
+ # These actions are taken, in order they are specified, anytime a Pull Request is merged.
29
+ - workload: pull_request_merged:{{github_repo}}:{{release_branch}}:*
30
+ actions:
31
+ - built_in:bump_version:
32
+ ignore_labels:
33
+ - "Expeditor: Skip Version Bump"
34
+ - "Expeditor: Skip All"
35
+ - bash:.expeditor/update_version.sh:
36
+ only_if: built_in:bump_version
37
+ - built_in:update_changelog:
38
+ ignore_labels:
39
+ - "Expeditor: Skip Changelog"
40
+ - "Expeditor: Skip All"
41
+ - built_in:build_gem:
42
+ only_if: built_in:bump_version
43
+
44
+ - workload: project_promoted:{{agent_id}}:*
45
+ actions:
46
+ - built_in:rollover_changelog
47
+ - built_in:publish_rubygems
@@ -0,0 +1,12 @@
1
+ #!/bin/bash
2
+ #
3
+ # After a PR merge, Chef Expeditor will bump the PATCH version in the VERSION file.
4
+ # It then executes this file to update any other files/components with that new version.
5
+ #
6
+
7
+ set -evx
8
+
9
+ sed -i -r "s/VERSION = \".+\"/VERSION = \"$(cat VERSION)\"/" lib/omniauth-chef-oauth2/version.rb
10
+
11
+ # Once Expeditor finshes executing this script, it will commit the changes and push
12
+ # the commit as a new tag corresponding to the value in the VERSION file.
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # omniauth-chef-oauth2 Changelog
2
2
 
3
+ <!-- latest_release 1.1.0 -->
4
+ ## [v1.1.0](https://github.com/chef/omniauth-chef-oauth2/tree/v1.1.0) (2021-07-21)
5
+
6
+ #### Merged Pull Requests
7
+ - Update gemspec to support omniauth 1 and 2 [#6](https://github.com/chef/omniauth-chef-oauth2/pull/6) ([msys-sgarg](https://github.com/msys-sgarg))
8
+ <!-- latest_release -->
9
+
10
+ <!-- release_rollup since=1.0.3 -->
11
+ ### Changes not yet released to rubygems.org
12
+
13
+ #### Merged Pull Requests
14
+ - Update gemspec to support omniauth 1 and 2 [#6](https://github.com/chef/omniauth-chef-oauth2/pull/6) ([msys-sgarg](https://github.com/msys-sgarg)) <!-- 1.1.0 -->
15
+ <!-- release_rollup -->
16
+
17
+ <!-- latest_stable_release -->
18
+ <!-- latest_stable_release -->
3
19
  ## 1.0.3 (2014-12-04)
4
20
 
5
21
  * Add a changelog
@@ -11,4 +27,4 @@
11
27
 
12
28
  ## 1.0.0 (2014-03-27)
13
29
 
14
- * Initial release
30
+ * Initial release
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 1.1.0
@@ -1,5 +1,5 @@
1
1
  module OmniAuth
2
2
  module ChefOAuth2
3
- VERSION = '1.0.3'
3
+ VERSION = "1.1.0"
4
4
  end
5
5
  end
@@ -22,6 +22,6 @@ Gem::Specification.new do |spec|
22
22
  spec.add_development_dependency 'rspec'
23
23
  spec.add_development_dependency 'webmock'
24
24
 
25
- spec.add_dependency 'omniauth', '~> 1.0'
25
+ spec.add_dependency 'omniauth', ['>= 1.9', '< 3']
26
26
  spec.add_dependency 'omniauth-oauth2', '~> 1.0'
27
27
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-chef-oauth2
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christian Nunciato
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-12-04 00:00:00.000000000 Z
11
+ date: 2021-07-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -84,16 +84,22 @@ dependencies:
84
84
  name: omniauth
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - "~>"
87
+ - - ">="
88
88
  - !ruby/object:Gem::Version
89
- version: '1.0'
89
+ version: '1.9'
90
+ - - "<"
91
+ - !ruby/object:Gem::Version
92
+ version: '3'
90
93
  type: :runtime
91
94
  prerelease: false
92
95
  version_requirements: !ruby/object:Gem::Requirement
93
96
  requirements:
94
- - - "~>"
97
+ - - ">="
95
98
  - !ruby/object:Gem::Version
96
- version: '1.0'
99
+ version: '1.9'
100
+ - - "<"
101
+ - !ruby/object:Gem::Version
102
+ version: '3'
97
103
  - !ruby/object:Gem::Dependency
98
104
  name: omniauth-oauth2
99
105
  requirement: !ruby/object:Gem::Requirement
@@ -115,6 +121,8 @@ executables: []
115
121
  extensions: []
116
122
  extra_rdoc_files: []
117
123
  files:
124
+ - ".expeditor/config.yml"
125
+ - ".expeditor/update_version.sh"
118
126
  - ".gitignore"
119
127
  - CHANGELOG.md
120
128
  - CONTRIBUTING.md
@@ -122,6 +130,7 @@ files:
122
130
  - LICENSE
123
131
  - README.md
124
132
  - Rakefile
133
+ - VERSION
125
134
  - lib/omniauth-chef-oauth2.rb
126
135
  - lib/omniauth-chef-oauth2/version.rb
127
136
  - lib/omniauth/strategies/chef_oauth2.rb
@@ -147,13 +156,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
147
156
  - !ruby/object:Gem::Version
148
157
  version: '0'
149
158
  requirements: []
150
- rubyforge_project:
151
- rubygems_version: 2.2.2
159
+ rubygems_version: 3.1.4
152
160
  signing_key:
153
161
  specification_version: 4
154
162
  summary: OmniAuth OAuth2 strategy for Chef.
155
- test_files:
156
- - spec/omniauth/strategies/chef_oauth2_spec.rb
157
- - spec/spec_helper.rb
158
- - spec/support/shared_examples.rb
159
- has_rdoc:
163
+ test_files: []