|
1 | 1 | # -*- encoding: utf-8 -*-
|
2 |
| -$:.push File.expand_path("../lib", __FILE__) |
| 2 | +lib = File.expand_path('../lib', __FILE__) |
| 3 | +$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) |
| 4 | + |
| 5 | +require 'fcm/version' |
3 | 6 |
|
4 | 7 | Gem::Specification.new do |s|
|
5 |
| - s.name = "fcm" |
6 |
| - s.version = "1.0.8" |
| 8 | + s.name = 'fcm' |
| 9 | + s.version = Fcm::VERSION |
7 | 10 | s.platform = Gem::Platform::RUBY
|
8 |
| - s.authors = ["Kashif Rasul", "Shoaib Burq"] |
9 |
| - |
10 |
| - s.homepage = "https://github.com/decision-labs/fcm" |
| 11 | + s.authors = ['Kashif Rasul', 'Shoaib Burq'] |
| 12 | + |
| 13 | + s.homepage = 'https://github.com/decision-labs/fcm' |
11 | 14 | s.summary = %q{Reliably deliver messages and notifications via FCM}
|
12 | 15 | s.description = %q{fcm provides ruby bindings to Firebase Cloud Messaging (FCM) a cross-platform messaging solution that lets you reliably deliver messages and notifications at no cost to Android, iOS or Web browsers.}
|
13 |
| - s.license = "MIT" |
| 16 | + s.license = 'MIT' |
14 | 17 |
|
15 |
| - s.required_ruby_version = ">= 2.4.0" |
| 18 | + s.required_ruby_version = '>= 2.4.0' |
16 | 19 |
|
17 |
| - s.files = `git ls-files`.split("\n") |
18 |
| - s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n") |
19 |
| - s.executables = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) } |
20 |
| - s.require_paths = ["lib"] |
| 20 | + s.files = `git ls-files`.split('\n') |
| 21 | + s.test_files = `git ls-files -- {test,spec,features}/*`.split('\n') |
| 22 | + s.executables = `git ls-files -- bin/*`.split('\n').map { |f| File.basename(f) } |
| 23 | + s.require_paths = ['lib'] |
21 | 24 |
|
22 |
| - s.add_runtime_dependency("faraday", ">= 1.0.0", "< 3.0") |
23 |
| - s.add_runtime_dependency("googleauth", "~> 1") |
| 25 | + s.add_runtime_dependency 'activesupport', '>= 3.2', '~> 6.0.0' |
| 26 | + s.add_runtime_dependency('faraday', '>= 1.0.0', '< 3.0') |
| 27 | + s.add_runtime_dependency('googleauth', '~> 1') |
24 | 28 | end
|
0 commit comments