bmo 0.8.13 → 0.9.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,7 @@
1
1
  ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- YWZjZWQ3MDZmOGI1NWNlMjVkMzNjOTk0NjA0MWY3NWI2MmQ1MzNjYg==
5
- data.tar.gz: !binary |-
6
- OTM2NWY1YWU0MDRkZDgyZWRlNjA5NDI1ODg0MjM2MDA0Mjg2ZWI2MQ==
2
+ SHA1:
3
+ metadata.gz: fbfc53bf54b687d8f8e2ee581551316fe61519de
4
+ data.tar.gz: 757ae23c89b69765e36fb9bcacf3c3d597a17d7f
7
5
  SHA512:
8
- metadata.gz: !binary |-
9
- NTM1MjMyY2ZjOTAyNzJlNTY2YjQ0NGVlOTcyMDIxNWVlNzVmNjdjY2UwMDcy
10
- ZTJiMWYwYjlmODIyYmRhODgyM2E5Y2I4NWU2NTAzMDJmNmIxZTkyNmJkMjMx
11
- YjBjN2YyNzlhOTM1NGVkMWU1MmFlZmRkM2U3ZWNkOTA0NjQ4Mzk=
12
- data.tar.gz: !binary |-
13
- MmZmMjYwMTM1M2JmYzc4ZTZhMzZlZDI1YjcwOThkZTJkZmZjMjEzNTkwM2U2
14
- N2ExNTkyZjg3NjFjM2E4NWMwZTRkYTI5ZjViNjZmOWRiMmJlNjA0NzI3MTU4
15
- NjA2ZTlhM2EzOWQ4ZTU1YWU0ODlkNmI5NWJiZWNiNTkxODNiMDU=
6
+ metadata.gz: 73de567bb28e5cd0b52e5e58fb1f6d22d76375aa87175d6337ce4360ee1eaa29f77566f24d5121182ab9870c0b8c48852a9b11d4654a0d642238f61b6be6bde7
7
+ data.tar.gz: 1b5e1296afd52447e59a982a59c566263b11b05b66cd54acfd37be2bbd4060b0a8f1fbcf31afe454110b974c277c7b2cbb633503a55ad3e93ae46a923ae1b486
data/.travis.yml CHANGED
@@ -1,10 +1,12 @@
1
+ sudo: false
1
2
  language: ruby
2
3
  bundler_args: --without development
3
4
  script:
4
5
  - rake
5
6
  rvm:
6
7
  - 1.9.3
7
- - 2.0.0
8
+ - 2.1
9
+ - 2.2
8
10
  - rbx
9
11
  - jruby-19mode
10
12
  matrix:
data/Gemfile CHANGED
@@ -1,4 +1,3 @@
1
- # -*- encoding: utf-8 -*-
2
1
  source 'https://rubygems.org'
3
2
 
4
3
  # Specify your gem's dependencies in bmo.gemspec
@@ -13,21 +12,7 @@ end
13
12
 
14
13
  group :development do
15
14
  # Prying
16
- gem 'jazz_hands'
17
-
18
- # Metrics
19
- gem 'flay'
20
- gem 'flog'
21
- gem 'reek'
22
-
23
- # Guards
24
- gem 'guard'
25
- gem 'guard-bundler'
26
- gem 'guard-rspec'
27
- gem 'guard-rubocop'
28
- gem 'guard-flay', github: 'pericles/guard-flay'
29
- gem 'guard-reek', github: 'pericles/guard-reek'
30
- gem 'guard-flog', github: 'antoinelyset/guard-flog'
15
+ gem 'pry-byebug'
31
16
  end
32
17
 
33
18
  group :darwin do
data/Gemfile.lock CHANGED
@@ -1,225 +1,74 @@
1
- GIT
2
- remote: git://github.com/antoinelyset/guard-flog.git
3
- revision: 40ea28590ae29349860901d3c9b8253b24c31588
4
- specs:
5
- guard-flog (0.0.1)
6
- flog (~> 4.2.0)
7
- guard (>= 1.8)
8
-
9
- GIT
10
- remote: git://github.com/pericles/guard-flay.git
11
- revision: 75b9be79c12394626af0064bcec1075959c3cbdd
12
- specs:
13
- guard-flay (0.0.1)
14
- flay (~> 2.4.0)
15
- flay-haml (~> 0.0.3)
16
- guard (>= 1.8)
17
-
18
- GIT
19
- remote: git://github.com/pericles/guard-reek.git
20
- revision: febe7ac4f4c6f029a30a9213e92bc1ba44b4e2d4
21
- specs:
22
- guard-reek (0.0.1)
23
- guard (>= 1.8)
24
- reek (~> 1.3.2)
25
-
26
1
  PATH
27
2
  remote: .
28
3
  specs:
29
- bmo (0.8.12)
4
+ bmo (0.8.13)
30
5
  equalizer (~> 0.0.0)
31
6
  faraday (> 0.8.0)
32
7
 
33
8
  GEM
34
9
  remote: https://rubygems.org/
35
10
  specs:
36
- actionpack (4.0.2)
37
- activesupport (= 4.0.2)
38
- builder (~> 3.1.0)
39
- erubis (~> 2.7.0)
40
- rack (~> 1.5.2)
41
- rack-test (~> 0.6.2)
42
- activesupport (4.0.2)
43
- i18n (~> 0.6, >= 0.6.4)
44
- minitest (~> 4.2)
45
- multi_json (~> 1.3)
46
- thread_safe (~> 0.1)
47
- tzinfo (~> 0.3.37)
48
- ast (1.1.0)
49
- atomic (1.1.14)
50
- awesome_print (1.2.0)
51
- binding_of_caller (0.7.2)
52
- debug_inspector (>= 0.0.1)
53
- builder (3.1.4)
54
- celluloid (0.15.2)
55
- timers (~> 1.1.0)
56
- celluloid-io (0.15.0)
57
- celluloid (>= 0.15.0)
58
- nio4r (>= 0.5.0)
59
- coderay (1.1.0)
60
- columnize (0.3.6)
61
- coolline (0.4.3)
62
- coveralls (0.7.0)
63
- multi_json (~> 1.3)
64
- rest-client
65
- simplecov (>= 0.7)
66
- term-ansicolor
67
- thor
68
- debug_inspector (0.0.2)
69
- debugger (1.6.5)
70
- columnize (>= 0.3.1)
71
- debugger-linecache (~> 1.2.0)
72
- debugger-ruby_core_source (~> 1.3.1)
73
- debugger-linecache (1.2.0)
74
- debugger-ruby_core_source (1.3.1)
11
+ ast (2.2.0)
12
+ byebug (8.2.2)
13
+ coderay (1.1.1)
14
+ coveralls (0.8.12)
15
+ json (~> 1.8)
16
+ simplecov (~> 0.11.0)
17
+ term-ansicolor (~> 1.3)
18
+ thor (~> 0.19.1)
19
+ tins (~> 1.6.0)
75
20
  diff-lcs (1.2.5)
76
- diffy (3.0.1)
77
- docile (1.1.3)
78
- equalizer (0.0.9)
79
- erubis (2.7.0)
80
- faraday (0.9.0)
21
+ docile (1.1.5)
22
+ equalizer (0.0.11)
23
+ faraday (0.9.2)
81
24
  multipart-post (>= 1.2, < 3)
82
- ffi (1.9.3)
83
- flay (2.4.0)
84
- ruby_parser (~> 3.0)
85
- sexp_processor (~> 4.0)
86
- flay-haml (0.0.3)
87
- flay (>= 1.2, < 3)
88
- haml (>= 3, < 5)
89
- flog (4.2.0)
90
- ruby_parser (~> 3.1, > 3.1.0)
91
- sexp_processor (~> 4.4)
92
- formatador (0.2.4)
93
- grit (2.5.0)
94
- diff-lcs (~> 1.1)
95
- mime-types (~> 1.15)
96
- posix-spawn (~> 0.3.6)
97
- guard (2.4.0)
98
- formatador (>= 0.2.4)
99
- listen (~> 2.1)
100
- lumberjack (~> 1.0)
101
- pry (>= 0.9.12)
102
- thor (>= 0.18.1)
103
- guard-bundler (2.0.0)
104
- bundler (~> 1.0)
105
- guard (~> 2.2)
106
- guard-rspec (4.2.6)
107
- guard (~> 2.1)
108
- rspec (>= 2.14, < 4.0)
109
- guard-rubocop (1.0.1)
110
- guard (~> 2.0)
111
- rubocop (~> 0.10)
112
- haml (4.0.5)
113
- tilt
114
- hirb (0.7.1)
115
- i18n (0.6.9)
116
- jazz_hands (0.5.2)
117
- awesome_print (~> 1.2)
118
- coolline (>= 0.4.2)
119
- hirb (~> 0.7.1)
120
- pry (~> 0.9.12)
121
- pry-debugger (~> 0.2.2)
122
- pry-doc (~> 0.4.6)
123
- pry-git (~> 0.2.3)
124
- pry-rails (~> 0.3.2)
125
- pry-remote (>= 0.1.7)
126
- pry-stack_explorer (~> 0.4.9)
127
- railties (>= 3.0, < 5.0)
128
- json (1.8.1)
129
- listen (2.5.0)
130
- celluloid (>= 0.15.2)
131
- celluloid-io (>= 0.15.0)
132
- rb-fsevent (>= 0.9.3)
133
- rb-inotify (>= 0.9)
134
- lumberjack (1.0.4)
25
+ json (1.8.3)
135
26
  method_source (0.8.2)
136
- mime-types (1.25.1)
137
- minitest (4.7.5)
138
- multi_json (1.8.4)
139
27
  multipart-post (2.0.0)
140
- nio4r (1.0.0)
141
- parser (2.1.4)
142
- ast (~> 1.1)
143
- slop (~> 3.4, >= 3.4.5)
144
- posix-spawn (0.3.8)
145
- powerpack (0.0.9)
146
- pry (0.9.12.6)
147
- coderay (~> 1.0)
148
- method_source (~> 0.8)
28
+ parser (2.3.0.6)
29
+ ast (~> 2.2)
30
+ powerpack (0.1.1)
31
+ pry (0.10.3)
32
+ coderay (~> 1.1.0)
33
+ method_source (~> 0.8.1)
149
34
  slop (~> 3.4)
150
- pry-debugger (0.2.2)
151
- debugger (~> 1.3)
152
- pry (~> 0.9.10)
153
- pry-doc (0.4.6)
154
- pry (>= 0.9)
155
- yard (>= 0.8)
156
- pry-git (0.2.3)
157
- diffy
158
- grit
159
- pry (>= 0.9.8)
160
- pry-rails (0.3.2)
161
- pry (>= 0.9.10)
162
- pry-remote (0.1.8)
163
- pry (~> 0.9)
164
- slop (~> 3.0)
165
- pry-stack_explorer (0.4.9.1)
166
- binding_of_caller (>= 0.7)
167
- pry (>= 0.9.11)
168
- rack (1.5.2)
169
- rack-test (0.6.2)
170
- rack (>= 1.0)
171
- railties (4.0.2)
172
- actionpack (= 4.0.2)
173
- activesupport (= 4.0.2)
174
- rake (>= 0.8.7)
175
- thor (>= 0.18.1, < 2.0)
176
- rainbow (2.0.0)
177
- rake (10.1.1)
178
- rb-fsevent (0.9.4)
179
- rb-inotify (0.9.3)
180
- ffi (>= 0.5.0)
181
- reek (1.3.6)
182
- ruby2ruby (~> 2.0.7)
183
- ruby_parser (~> 3.2)
184
- sexp_processor
185
- rest-client (1.6.7)
186
- mime-types (>= 1.16)
187
- rspec (2.14.1)
188
- rspec-core (~> 2.14.0)
189
- rspec-expectations (~> 2.14.0)
190
- rspec-mocks (~> 2.14.0)
191
- rspec-core (2.14.7)
192
- rspec-expectations (2.14.5)
193
- diff-lcs (>= 1.1.3, < 2.0)
194
- rspec-mocks (2.14.5)
195
- rubocop (0.18.1)
196
- json (>= 1.7.7, < 2)
197
- parser (~> 2.1.3)
198
- powerpack (~> 0.0.6)
35
+ pry-byebug (3.3.0)
36
+ byebug (~> 8.0)
37
+ pry (~> 0.10)
38
+ rainbow (2.1.0)
39
+ rake (10.5.0)
40
+ rspec (3.4.0)
41
+ rspec-core (~> 3.4.0)
42
+ rspec-expectations (~> 3.4.0)
43
+ rspec-mocks (~> 3.4.0)
44
+ rspec-core (3.4.3)
45
+ rspec-support (~> 3.4.0)
46
+ rspec-expectations (3.4.0)
47
+ diff-lcs (>= 1.2.0, < 2.0)
48
+ rspec-support (~> 3.4.0)
49
+ rspec-mocks (3.4.1)
50
+ diff-lcs (>= 1.2.0, < 2.0)
51
+ rspec-support (~> 3.4.0)
52
+ rspec-support (3.4.1)
53
+ rubocop (0.37.2)
54
+ parser (>= 2.3.0.4, < 3.0)
55
+ powerpack (~> 0.1)
199
56
  rainbow (>= 1.99.1, < 3.0)
200
- ruby2ruby (2.0.7)
201
- ruby_parser (~> 3.1)
202
- sexp_processor (~> 4.0)
203
- ruby_parser (3.4.0)
204
- sexp_processor (~> 4.1)
205
- sexp_processor (4.4.1)
206
- simplecov (0.8.2)
57
+ ruby-progressbar (~> 1.7)
58
+ unicode-display_width (~> 0.3)
59
+ ruby-progressbar (1.7.5)
60
+ simplecov (0.11.2)
207
61
  docile (~> 1.1.0)
208
- multi_json
209
- simplecov-html (~> 0.8.0)
210
- simplecov-html (0.8.0)
211
- slop (3.4.7)
212
- term-ansicolor (1.3.0)
62
+ json (~> 1.8)
63
+ simplecov-html (~> 0.10.0)
64
+ simplecov-html (0.10.0)
65
+ slop (3.6.0)
66
+ term-ansicolor (1.3.2)
213
67
  tins (~> 1.0)
214
- terminal-notifier-guard (1.5.3)
215
- thor (0.18.1)
216
- thread_safe (0.1.3)
217
- atomic
218
- tilt (2.0.0)
219
- timers (1.1.0)
220
- tins (1.0.0)
221
- tzinfo (0.3.38)
222
- yard (0.8.7.3)
68
+ terminal-notifier-guard (1.7.0)
69
+ thor (0.19.1)
70
+ tins (1.6.0)
71
+ unicode-display_width (0.3.1)
223
72
 
224
73
  PLATFORMS
225
74
  ruby
@@ -228,19 +77,12 @@ DEPENDENCIES
228
77
  bmo!
229
78
  bundler (~> 1.3)
230
79
  coveralls
231
- flay
232
- flog
233
- guard
234
- guard-bundler
235
- guard-flay!
236
- guard-flog!
237
- guard-reek!
238
- guard-rspec
239
- guard-rubocop
240
- jazz_hands
80
+ pry-byebug
241
81
  rake
242
- reek
243
82
  rspec
244
83
  rubocop
245
84
  simplecov
246
85
  terminal-notifier-guard
86
+
87
+ BUNDLED WITH
88
+ 1.11.2
data/Rakefile CHANGED
@@ -3,7 +3,7 @@ require 'rspec/core/rake_task'
3
3
  RSpec::Core::RakeTask.new(:spec)
4
4
 
5
5
  task :rubocop do |t|
6
- sh 'rubocop'
6
+ sh 'rubocop lib'
7
7
  end
8
8
 
9
- task :default => [:spec, :rubocop]
9
+ task :default => [:spec]
data/bmo.gemspec CHANGED
@@ -1,5 +1,3 @@
1
- # encoding: utf-8
2
-
3
1
  require File.expand_path('../lib/bmo/version', __FILE__)
4
2
 
5
3
  Gem::Specification.new do |gem|
@@ -1,4 +1,3 @@
1
- # encoding: utf-8
2
1
  module BMO
3
2
  module APNS
4
3
  # APNS Client Class
@@ -1,4 +1,3 @@
1
- # encoding: utf-8
2
1
  module BMO
3
2
  module APNS
4
3
  # Handle the connection state SSL or Pure TCP
@@ -1,4 +1,3 @@
1
- # encoding: utf-8
2
1
  module BMO
3
2
  module APNS
4
3
  # The Notification Class handles all the packaging logic
@@ -35,7 +34,7 @@ module BMO
35
34
  class Payload
36
35
  class PayloadTooLarge < Exception; end
37
36
 
38
- MAX_BYTE_SIZE = 256
37
+ MAX_BYTE_SIZE = 2048
39
38
 
40
39
  # Define ==
41
40
  include Equalizer.new(:data)
@@ -1,4 +1,3 @@
1
- # encoding: utf-8
2
1
  # Main BMO module
3
2
  module BMO
4
3
  # Handles all the configuration per provider
@@ -1,4 +1,3 @@
1
- # encoding: utf-8
2
1
  module BMO
3
2
  module GCM
4
3
  # GCM Client Class
@@ -1,4 +1,3 @@
1
- # encoding: utf-8
2
1
  module BMO
3
2
  module GCM
4
3
  # Handle the connection state SSL or Pure TCP
@@ -1,4 +1,3 @@
1
- # encoding: utf-8
2
1
  module BMO
3
2
  module GCM
4
3
  # The Notification Class handles all the packaging logic
data/lib/bmo/utils.rb CHANGED
@@ -1,4 +1,3 @@
1
- # encoding: utf-8
2
1
  module BMO
3
2
  # Utility module
4
3
  module Utils
data/lib/bmo/version.rb CHANGED
@@ -1,5 +1,4 @@
1
- # encoding: utf-8
2
1
  # Main BMO module, version get right here
3
2
  module BMO
4
- VERSION = '0.8.13'.freeze
3
+ VERSION = '0.9.0'.freeze
5
4
  end
data/lib/bmo.rb CHANGED
@@ -1,5 +1,3 @@
1
- # encoding: utf-8
2
-
3
1
  require 'socket'
4
2
  require 'openssl'
5
3
  require 'json'
@@ -1,12 +1,10 @@
1
- # encoding: utf-8
2
-
3
- require File.dirname(__FILE__) + '../../../spec_helper'
1
+ require_relative './../../spec_helper'
4
2
 
5
3
  describe BMO::APNS::Notification::DeviceToken do
6
4
  describe '#validate!' do
7
5
  it 'returns true if the token is 64 chars' do
8
6
  device_token = described_class.new('a' * 64)
9
- expect(device_token.validate!).to be_true
7
+ expect(device_token.validate!).to be(true)
10
8
  end
11
9
 
12
10
  it 'raises an error if the token is not 64 chars' do
@@ -31,13 +29,15 @@ describe BMO::APNS::Notification::DeviceToken do
31
29
  end
32
30
 
33
31
  describe BMO::APNS::Notification::Payload do
32
+ let(:payload_max_size) { BMO::APNS::Notification::Payload::MAX_BYTE_SIZE }
33
+
34
34
  describe '#validate!' do
35
35
  it 'returns true if the payload is valid' do
36
36
  payload = described_class.new(aps: 'a' * 200)
37
- expect(payload.validate!).to be_true
37
+ expect(payload.validate!).to be(true)
38
38
  end
39
39
  it 'raises an error if the payload is too large' do
40
- payload = described_class.new(aps: 'a' * 256)
40
+ payload = described_class.new(aps: 'a' * payload_max_size)
41
41
  expect { payload.validate! }.to raise_error(
42
42
  BMO::APNS::Notification::Payload::PayloadTooLarge)
43
43
  end
@@ -46,13 +46,13 @@ describe BMO::APNS::Notification::Payload do
46
46
  describe '#to_package' do
47
47
  it 'truncates if there is a truncable field and this is not valid' do
48
48
  options = { truncable_field: :message }
49
- payload = described_class.new({ aps: { message: 'a' * 256 } }, options)
50
- expect(payload.to_package).to eq("{\"aps\":{\"message\":\"#{'a' * 230}...\"}}")
49
+ payload = described_class.new({ aps: { message: 'a' * payload_max_size } }, options)
50
+ expect(payload.to_package).to eq("{\"aps\":{\"message\":\"#{'a' * (payload_max_size - 26)}...\"}}")
51
51
  end
52
52
 
53
53
  it 'truncates to respect the MAX_BYTE_SIZE' do
54
54
  options = { truncable_field: :message }
55
- payload = described_class.new({ aps: { message: 'a' * 256 } }, options)
55
+ payload = described_class.new({ aps: { message: 'a' * payload_max_size } }, options)
56
56
  expect(payload.to_package.bytesize).to be < BMO::APNS::Notification::Payload::MAX_BYTE_SIZE
57
57
  end
58
58
  end
@@ -60,21 +60,21 @@ describe BMO::APNS::Notification::Payload do
60
60
  describe '#truncable_field!' do
61
61
  it 'truncates the corresponding field in aps' do
62
62
  options = { truncable_field: :message }
63
- payload = described_class.new({ aps: { message: 'a' * 256 } }, options)
63
+ payload = described_class.new({ aps: { message: 'a' * payload_max_size } }, options)
64
64
  payload.truncate_field!
65
- expect(payload.data[:aps][:message]).to eq(('a' * 230) + '...')
65
+ expect(payload.data[:aps][:message]).to eq(('a' * (payload_max_size - 26)) + '...')
66
66
  end
67
67
 
68
68
  it 'truncates with omission' do
69
69
  options = { truncable_field: :message, omission: '[more]' }
70
- payload = described_class.new({ aps: { message: 'a' * 256 } }, options)
70
+ payload = described_class.new({ aps: { message: 'a' * payload_max_size } }, options)
71
71
  payload.truncate_field!
72
- expect(payload.data[:aps][:message]).to eq(('a' * 227) + '[more]')
72
+ expect(payload.data[:aps][:message]).to eq(('a' * (payload_max_size - 29)) + '[more]')
73
73
  end
74
74
 
75
75
  it 'truncates with separator' do
76
76
  options = { truncable_field: :message, separator: ' ' }
77
- payload = described_class.new({ aps: { message: 'test ' + ('a' * 255) } }, options)
77
+ payload = described_class.new({ aps: { message: 'test ' + ('a' * (payload_max_size - 1)) } }, options)
78
78
  payload.truncate_field!
79
79
  expect(payload.data[:aps][:message]).to eq('test...')
80
80
  end
@@ -1,5 +1,5 @@
1
- # encoding: UTF-8
2
- require 'spec_helper'
1
+ # coding: utf-8
2
+ require_relative './../spec_helper'
3
3
 
4
4
  describe BMO::Utils do
5
5
  describe '#bytesize_force_truncate' do
data/spec/spec_helper.rb CHANGED
@@ -1,4 +1,3 @@
1
- # encoding: utf-8
2
1
  require 'bmo'
3
2
 
4
3
  require 'coveralls'
metadata CHANGED
@@ -1,69 +1,69 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bmo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.13
4
+ version: 0.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Antoine Lyset
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-09-18 00:00:00.000000000 Z
11
+ date: 2016-03-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: equalizer
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
19
  version: 0.0.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ~>
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: 0.0.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: faraday
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ! '>'
31
+ - - ">"
32
32
  - !ruby/object:Gem::Version
33
33
  version: 0.8.0
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ! '>'
38
+ - - ">"
39
39
  - !ruby/object:Gem::Version
40
40
  version: 0.8.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: bundler
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ~>
45
+ - - "~>"
46
46
  - !ruby/object:Gem::Version
47
47
  version: '1.3'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ~>
52
+ - - "~>"
53
53
  - !ruby/object:Gem::Version
54
54
  version: '1.3'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rake
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ! '>='
59
+ - - ">="
60
60
  - !ruby/object:Gem::Version
61
61
  version: '0'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - ! '>='
66
+ - - ">="
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
69
  description: Push notifications to iOS and Android devices
@@ -73,12 +73,11 @@ executables: []
73
73
  extensions: []
74
74
  extra_rdoc_files: []
75
75
  files:
76
- - .gitignore
77
- - .rspec
78
- - .travis.yml
76
+ - ".gitignore"
77
+ - ".rspec"
78
+ - ".travis.yml"
79
79
  - Gemfile
80
80
  - Gemfile.lock
81
- - Guardfile
82
81
  - LICENSE
83
82
  - README.md
84
83
  - Rakefile
@@ -107,12 +106,12 @@ require_paths:
107
106
  - lib
108
107
  required_ruby_version: !ruby/object:Gem::Requirement
109
108
  requirements:
110
- - - ! '>='
109
+ - - ">="
111
110
  - !ruby/object:Gem::Version
112
111
  version: '0'
113
112
  required_rubygems_version: !ruby/object:Gem::Requirement
114
113
  requirements:
115
- - - ! '>='
114
+ - - ">="
116
115
  - !ruby/object:Gem::Version
117
116
  version: '0'
118
117
  requirements: []
data/Guardfile DELETED
@@ -1,27 +0,0 @@
1
- guard 'bundler' do
2
- watch('Gemfile')
3
- watch(/^.+\.gemspec/)
4
- end
5
-
6
- guard :rspec do
7
- watch(%r{^spec/.+_spec\.rb$})
8
- watch(%r{^lib/(.+)\.rb$}) { |m| "spec/lib/#{m[1]}_spec.rb" }
9
- watch('spec/spec_helper.rb') { "spec" }
10
- end
11
-
12
- guard :rubocop do
13
- watch(%r{.+\.rb$})
14
- watch(%r{(?:.+/)?\.rubocop\.yml$}) { |m| File.dirname(m[0]) }
15
- end
16
-
17
- guard :flog do
18
- watch(%r{^lib/(.+)\.rb$})
19
- end
20
-
21
- guard :reek do
22
- watch(%r{^lib/(.+)\.rb$})
23
- end
24
-
25
- guard :flay do
26
- watch(%r{^lib/(.+)\.rb$})
27
- end