-
Notifications
You must be signed in to change notification settings - Fork 156
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
18 changed files
with
1,153 additions
and
686 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
rubocop: | ||
config_file: .rubocop.yml | ||
fail_on_violations: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# default rule used by hound | ||
# @see https://github.com/houndci/hound/blob/master/.rubocop.yml | ||
require: rubocop-rspec | ||
|
||
AllCops: | ||
Exclude: | ||
- spec/spec_helper.rb | ||
- vendor/**/* | ||
- fcm.gemspec | ||
- Gemfile | ||
- Rakefile | ||
- lib/fcm.rb | ||
|
||
Metrics/LineLength: | ||
Description: 'Limit lines to 85 characters.' | ||
StyleGuide: '#80-character-limits' | ||
Max: 85 | ||
Enabled: true | ||
|
||
Metrics/MethodLength: | ||
Description: 'Avoid methods longer than 25 lines of code.' | ||
StyleGuide: '#short-methods' | ||
Max: 25 | ||
Enabled: true | ||
|
||
Metrics/BlockLength: | ||
Exclude: | ||
- spec/fcm_spec.rb | ||
|
||
RSpec/MultipleMemoizedHelpers: | ||
Max: 10 | ||
|
||
RSpec/ExampleLength: | ||
Max: 15 | ||
|
||
RSpec/MultipleMemoizedHelpers: | ||
Max: 15 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,19 @@ | ||
source "https://rubygems.org" | ||
source 'https://rubygems.org' | ||
gemspec | ||
|
||
gem 'rake' | ||
gem 'rspec' | ||
gem 'webmock' | ||
gem 'ci_reporter_rspec' | ||
gem 'faraday' | ||
gem 'faraday-retry' | ||
gem 'faraday-typhoeus' | ||
gem 'googleauth' | ||
gem 'rake' | ||
|
||
group :development, :test do | ||
gem 'ci_reporter_rspec' | ||
gem 'pry-byebug' | ||
gem 'rspec' | ||
gem 'rubocop' | ||
gem 'rubocop-rspec', require: false | ||
gem 'simplecov', require: false | ||
gem 'webmock' | ||
gem 'yard' | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,24 @@ | ||
# -*- encoding: utf-8 -*- | ||
$:.push File.expand_path("../lib", __FILE__) | ||
lib = File.expand_path('../lib', __FILE__) | ||
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) | ||
|
||
require 'fcm/version' | ||
|
||
Gem::Specification.new do |s| | ||
s.name = "fcm" | ||
s.version = "1.0.8" | ||
s.name = 'fcm' | ||
s.version = Fcm::VERSION | ||
s.platform = Gem::Platform::RUBY | ||
s.authors = ["Kashif Rasul", "Shoaib Burq"] | ||
s.email = ["[email protected]", "[email protected]"] | ||
s.homepage = "https://github.com/decision-labs/fcm" | ||
s.authors = ['Kashif Rasul', 'Shoaib Burq'] | ||
s.email = ['[email protected]', '[email protected]'] | ||
s.homepage = 'https://github.com/decision-labs/fcm' | ||
s.summary = %q{Reliably deliver messages and notifications via FCM} | ||
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.} | ||
s.license = "MIT" | ||
|
||
s.required_ruby_version = ">= 2.4.0" | ||
s.license = 'MIT' | ||
|
||
s.files = `git ls-files`.split("\n") | ||
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n") | ||
s.executables = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) } | ||
s.require_paths = ["lib"] | ||
s.required_ruby_version = '>= 2.4.0' | ||
|
||
s.add_runtime_dependency("faraday", ">= 1.0.0", "< 3.0") | ||
s.add_runtime_dependency("googleauth", "~> 1") | ||
s.files = `git ls-files`.split('\n') | ||
s.test_files = `git ls-files -- {test,spec,features}/*`.split('\n') | ||
s.executables = `git ls-files -- bin/*`.split('\n').map { |f| File.basename(f) } | ||
s.require_paths = ['lib'] | ||
end |
Oops, something went wrong.