|
1 |
| -# coding: utf-8 |
2 |
| -lib = File.expand_path("../lib", __FILE__) |
| 1 | +# frozen_string_literal: true |
| 2 | +lib = File.expand_path('../lib', __FILE__) |
3 | 3 | $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4 |
| -require "omniauth-rails/version" |
5 | 4 |
|
6 |
| -Gem::Specification.new do |spec| |
7 |
| - spec.name = "omniauth-rails" |
8 |
| - spec.version = OmniAuthRails::VERSION |
9 |
| - spec.authors = ["Erik Michaels-Ober", "Douwe Maan"] |
10 |
| - |
| 5 | +require 'omniauth-rails/version' |
11 | 6 |
|
12 |
| - spec.description = "Ruby on Rails extensions to OmniAuth" |
13 |
| - spec.summary = spec.description |
14 |
| - spec.homepage = "https://github.com/intridea/omniauth-rails" |
15 |
| - spec.license = "MIT" |
| 7 | +Gem::Specification.new do |gem| |
| 8 | + gem.authors = ['Tom Milewski'] |
| 9 | + |
| 10 | + gem.description = 'Official Rails OmniAuth gem.' |
| 11 | + gem.summary = gem.description |
| 12 | + gem.homepage = 'https://github.com/omniauth/omniauth-rails' |
| 13 | + gem.license = 'MIT' |
16 | 14 |
|
17 |
| - spec.files = `git ls-files -z`.split("\x0") |
18 |
| - spec.require_paths = ["lib"] |
| 15 | + gem.executables = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) } |
| 16 | + gem.files = `git ls-files`.split("\n") |
| 17 | + gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n") |
| 18 | + gem.name = 'omniauth-rails' |
| 19 | + gem.require_paths = %w[lib] |
| 20 | + gem.version = OmniAuth::Rails::VERSION |
19 | 21 |
|
20 |
| - spec.add_dependency "omniauth" |
21 |
| - spec.add_dependency "rails" |
22 |
| - spec.add_development_dependency "bundler", "~> 1.9" |
| 22 | + gem.add_dependency 'omniauth', '~> 1.0' |
| 23 | + gem.add_dependency 'rails' |
| 24 | + gem.add_development_dependency 'rack-test' |
| 25 | + gem.add_development_dependency 'rspec', '~> 3.5' |
| 26 | + gem.add_development_dependency 'simplecov' |
23 | 27 | end
|
0 commit comments