Skip to content

Commit 4750806

Browse files
committed
adjustment to follow rubocop rule rubocop --save-auto-correct
1 parent e2086ab commit 4750806

File tree

2 files changed

+19
-19
lines changed

2 files changed

+19
-19
lines changed

Rakefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
require 'rspec/core/rake_task'
2-
require "bundler/gem_tasks"
3-
require "rake/tasklib"
2+
require 'bundler/gem_tasks'
3+
require 'rake/tasklib'
44
require 'ci/reporter/rake/rspec'
55

6-
RSpec::Core::RakeTask.new(:spec => ["ci:setup:rspec"]) do |t|
6+
RSpec::Core::RakeTask.new(spec: ['ci:setup:rspec']) do |t|
77
t.pattern = 'spec/**/*_spec.rb'
88
end
99

@@ -12,4 +12,4 @@ RSpec::Core::RakeTask.new(:spec) do |spec|
1212
spec.rspec_opts = ['--format documentation']
1313
end
1414

15-
task :default => :spec
15+
task default: :spec

fcm.gemspec

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
11
# -*- 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'
36

47
Gem::Specification.new do |s|
5-
s.name = "fcm"
6-
s.version = "1.0.8"
8+
s.name = 'fcm'
9+
s.version = Fcm::VERSION
710
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'
1114
s.summary = %q{Reliably deliver messages and notifications via FCM}
1215
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"
14-
15-
s.required_ruby_version = ">= 2.4.0"
16+
s.license = 'MIT'
1617

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"]
18+
s.required_ruby_version = '>= 2.4.0'
2119

22-
s.add_runtime_dependency("faraday", ">= 1.0.0", "< 3.0")
23-
s.add_runtime_dependency("googleauth", "~> 1")
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']
2424
end

0 commit comments

Comments
 (0)