File tree 3 files changed +27
-9
lines changed
3 files changed +27
-9
lines changed Original file line number Diff line number Diff line change
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "omniauth/omniauth-keycloak"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require "irb"
14
+ IRB . start ( __FILE__ )
Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$' \n\t '
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
Original file line number Diff line number Diff line change @@ -9,17 +9,13 @@ Gem::Specification.new do |spec|
9
9
spec . summary = spec . description
10
10
spec . homepage = "https://github.com/ccrockett/omniauth-keycloak"
11
11
spec . license = "MIT"
12
+ spec . required_rubygems_version = '>= 1.3.5'
13
+ spec . required_ruby_version = '>= 2.2'
12
14
13
- # Specify which files should be added to the gem when it is released.
14
- # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
15
- spec . files = Dir . chdir ( File . expand_path ( '..' , __FILE__ ) ) do
16
- `git ls-files -z` . split ( "\x0 " ) . reject { |f | f . match ( %r{^lib/} ) }
17
- end
18
-
19
- spec . bindir = "exe"
20
- spec . executables = spec . files . grep ( %r{^exe/} ) { |f | File . basename ( f ) }
21
15
spec . require_paths = [ "lib" ]
22
-
16
+ gem . executables = `git ls-files -- bin/*` . split ( "\n " ) . collect { |f | File . basename ( f ) }
17
+ gem . files = `git ls-files` . split ( "\n " )
18
+ gem . test_files = `git ls-files -- {test,spec,features}/*` . split ( "\n " )
23
19
24
20
spec . add_dependency "omniauth" , "~> 1.8.1"
25
21
spec . add_dependency "omniauth-oauth2" , "~> 1.5.0"
You can’t perform that action at this time.
0 commit comments