omniauth-zooniverse 0.0.4 → 0.0.5

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: fb67d712fd698622b31601cbd634fd589762914b
4
- data.tar.gz: b2fccc2a71cf796a2db9c4f628fc4be176a4e075
2
+ SHA256:
3
+ metadata.gz: 7d0e4f78c04a2c5243229b4472cbafaf4311f4c1690f5448abafac937ffa2e1f
4
+ data.tar.gz: 5bf7ca3fd2818de7b4fa8bf1be3caf9a3f7dcaef4c9a42801fa04e0329adb5a4
5
5
  SHA512:
6
- metadata.gz: e6c6c01b8fc38270fc14ce349b8dff5ab741c773bac6d2f0f27359c06ddbaa61bef252d5ca0d4bf21dd8f728df2e9d228bc38c340931575f2d00559b7f8cef4f
7
- data.tar.gz: e895c4538e4e61f6ce4dc3df359a690215f4e71dd0ed3111bd57dc8d95b416f02ab80ec0b534aa91e17bcfe5562265be87c5af1f83ccf37dbbadaf9d4fa7c50f
6
+ metadata.gz: e6a9811615985172d7cfb13ae291aa580785178ed2e0b9300968d2e64233f2c6641cad8044bff4a9d420be6a8d9febb3a948b63f66bc28c956e06cecbe460441
7
+ data.tar.gz: a1945f4ddf319383c41f43dc0af50000cd0481d62be798959dc0c01e5a639aaed9bdca03db7ed45397e8d27d57c419f9738d1c02a51f3f118908ed9bd311b358
data/Dockerfile ADDED
@@ -0,0 +1,17 @@
1
+ FROM ruby:3-slim
2
+
3
+ WORKDIR /app
4
+
5
+ RUN apt-get update && apt-get -y upgrade && \
6
+ apt-get install --no-install-recommends -y \
7
+ #build-essential \
8
+ # git is required for installing gems
9
+ git
10
+
11
+ ADD ./Gemfile /app/
12
+ ADD ./Gemfile.lock /app/
13
+ ADD ./omniauth-zooniverse.gemspec /app/
14
+ ADD ./ /app
15
+
16
+ RUN bundle config --global jobs `cat /proc/cpuinfo | grep processor | wc -l | xargs -I % expr % - 1`
17
+ RUN bundle install
data/README.md CHANGED
@@ -34,6 +34,20 @@ end
34
34
 
35
35
  Refer to the docs for more information on how to use omniauth in your app, https://github.com/intridea/omniauth#integrating-omniauth-into-your-application
36
36
 
37
+ ## Development
38
+
39
+ Use docker & compose to setup the dev env
40
+
41
+ ```shell
42
+ $ docker-compose build
43
+ ```
44
+
45
+ Run a bash shell inside the new container
46
+
47
+ ```shell
48
+ $ docker-compose run --service-ports --rm -e omniauth-zooniverse bash
49
+ ```
50
+
37
51
  ## Contributing
38
52
 
39
53
  1. Fork it ( http://github.com/<my-github-username>/omniauth-zooniverse/fork )
@@ -0,0 +1,11 @@
1
+ version: '3'
2
+ services:
3
+ omniauth-zooniverse:
4
+ build:
5
+ context: .
6
+ volumes:
7
+ - ./:/app
8
+ - gem_cache:/usr/local/bundle
9
+
10
+ volumes:
11
+ gem_cache:
@@ -1,5 +1,5 @@
1
1
  module Omniauth
2
2
  module Zooniverse
3
- VERSION = "0.0.4"
3
+ VERSION = "0.0.5"
4
4
  end
5
5
  end
@@ -6,7 +6,7 @@ require 'omniauth/zooniverse/version'
6
6
  Gem::Specification.new do |spec|
7
7
  # https://github.com/intridea/omniauth-oauth2/issues/81
8
8
  # 1.4.0 has a bug that prevents login
9
- spec.add_dependency "omniauth-oauth2", "1.3.1"
9
+ spec.add_dependency "omniauth-oauth2", ">= 1.7"
10
10
 
11
11
  spec.name = "omniauth-zooniverse"
12
12
  spec.version = Omniauth::Zooniverse::VERSION
@@ -22,6 +22,6 @@ Gem::Specification.new do |spec|
22
22
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
23
23
  spec.require_paths = ["lib"]
24
24
 
25
- spec.add_development_dependency "bundler", "~> 1.5"
25
+ spec.add_development_dependency "bundler", ">= 2.2.10"
26
26
  spec.add_development_dependency "rake"
27
27
  end
metadata CHANGED
@@ -1,43 +1,43 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-zooniverse
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stuart Lynn
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-03-14 00:00:00.000000000 Z
11
+ date: 2025-07-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: omniauth-oauth2
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - '='
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 1.3.1
19
+ version: '1.7'
20
20
  type: :runtime
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: 1.3.1
26
+ version: '1.7'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: '1.5'
33
+ version: 2.2.10
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: '1.5'
40
+ version: 2.2.10
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rake
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -61,10 +61,12 @@ extensions: []
61
61
  extra_rdoc_files: []
62
62
  files:
63
63
  - ".gitignore"
64
+ - Dockerfile
64
65
  - Gemfile
65
66
  - LICENSE.txt
66
67
  - README.md
67
68
  - Rakefile
69
+ - docker-compose.yml
68
70
  - lib/omniauth-zooniverse.rb
69
71
  - lib/omniauth/strategies/zooniverse.rb
70
72
  - lib/omniauth/zooniverse.rb
@@ -74,7 +76,7 @@ homepage: https://github.com/zooniverse/omniauth-zooniverse
74
76
  licenses:
75
77
  - MIT
76
78
  metadata: {}
77
- post_install_message:
79
+ post_install_message:
78
80
  rdoc_options: []
79
81
  require_paths:
80
82
  - lib
@@ -89,10 +91,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
89
91
  - !ruby/object:Gem::Version
90
92
  version: '0'
91
93
  requirements: []
92
- rubyforge_project:
93
- rubygems_version: 2.5.0
94
- signing_key:
94
+ rubygems_version: 3.3.7
95
+ signing_key:
95
96
  specification_version: 4
96
97
  summary: Provides an OAuth2.0 strategy for the zooniverse
97
98
  test_files: []
98
- has_rdoc: