sleepiq 0.2.2 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bb40d4f6d384d6598c5eb5ec58b75ccfb0a13fec9c97afe70a12aa5acdc3e39c
4
- data.tar.gz: 90c08cbb707980e1945bb2e624e8fe824263b46079a5b2adb84c1f15f8c337a3
3
+ metadata.gz: 4f2c900b8bcbc9e24a5846bee4371839731e0a804155ce30926073ea2b459bf8
4
+ data.tar.gz: 9cc06726cda82699f817566fd628f7072e098a49c0567b9d6a9bcc4db41d6f61
5
5
  SHA512:
6
- metadata.gz: 6ae787bccb1cbfa093871ef2b4272786dd3bdc43eb810daf27cfb18cc18800b6a49b717dd51d4fd599695200bfa0eb9ecc127596af10320c47fa994b7d4c8aff
7
- data.tar.gz: d7dfce0803af55ccc512aa069332622c7ad24a38450024e3bf547010cb020a5d858190032e140dd9153e4d033e3b87ef8cb6b857f99c57534a48f82593c76d5c
6
+ metadata.gz: 23c6707b42297fca645d3cf511b1fcd9af5731730da43f013d24a286d7deee715b24dbfade5c5725450341b84e9e5ac67bd88c844e54617d0ec9f3b0e22df03b
7
+ data.tar.gz: c7310322a4b586ef801648d44b41b28c5c135d2938b22de4137a9800ee0fc8405245c03784f5d6c460586c699dba6f8fd2e0a99f5e8caec74d8d961ae09f6c70
@@ -18,7 +18,8 @@ Layout/HashAlignment:
18
18
  Style/Documentation:
19
19
  Enabled: false
20
20
  AllCops:
21
- TargetRubyVersion: 2.6
21
+ TargetRubyVersion: 2.5
22
+ NewCops: enable
22
23
  Style/FrozenStringLiteralComment:
23
24
  Enabled: false
24
25
  require: rubocop-rake
@@ -1,4 +1,8 @@
1
1
  # SleepIQ Changelog
2
+ ## v0.3.0
3
+ * Removing Dalli dependency
4
+ * Changing ruby version to >= 2.5.0
5
+
2
6
  ## v0.2.2
3
7
  Bug fixes
4
8
 
@@ -0,0 +1,71 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ sleepiq (0.3.0)
5
+ faraday
6
+ faraday_middleware
7
+ thor
8
+
9
+ GEM
10
+ remote: https://rubygems.org/
11
+ specs:
12
+ ast (2.4.1)
13
+ diff-lcs (1.4.4)
14
+ docile (1.3.2)
15
+ faraday (1.0.1)
16
+ multipart-post (>= 1.2, < 3)
17
+ faraday_middleware (1.0.0)
18
+ faraday (~> 1.0)
19
+ multipart-post (2.1.1)
20
+ parallel (1.19.2)
21
+ parser (2.7.2.0)
22
+ ast (~> 2.4.1)
23
+ rainbow (3.0.0)
24
+ rake (13.0.1)
25
+ regexp_parser (1.8.2)
26
+ rexml (3.2.4)
27
+ rspec (3.9.0)
28
+ rspec-core (~> 3.9.0)
29
+ rspec-expectations (~> 3.9.0)
30
+ rspec-mocks (~> 3.9.0)
31
+ rspec-core (3.9.3)
32
+ rspec-support (~> 3.9.3)
33
+ rspec-expectations (3.9.2)
34
+ diff-lcs (>= 1.2.0, < 2.0)
35
+ rspec-support (~> 3.9.0)
36
+ rspec-mocks (3.9.1)
37
+ diff-lcs (>= 1.2.0, < 2.0)
38
+ rspec-support (~> 3.9.0)
39
+ rspec-support (3.9.3)
40
+ rubocop (0.93.1)
41
+ parallel (~> 1.10)
42
+ parser (>= 2.7.1.5)
43
+ rainbow (>= 2.2.2, < 4.0)
44
+ regexp_parser (>= 1.8)
45
+ rexml
46
+ rubocop-ast (>= 0.6.0)
47
+ ruby-progressbar (~> 1.7)
48
+ unicode-display_width (>= 1.4.0, < 2.0)
49
+ rubocop-ast (0.8.0)
50
+ parser (>= 2.7.1.5)
51
+ rubocop-rake (0.5.1)
52
+ rubocop
53
+ ruby-progressbar (1.10.1)
54
+ simplecov (0.19.0)
55
+ docile (~> 1.1)
56
+ simplecov-html (~> 0.11)
57
+ simplecov-html (0.12.3)
58
+ thor (1.0.1)
59
+ unicode-display_width (1.7.0)
60
+
61
+ PLATFORMS
62
+ ruby
63
+
64
+ DEPENDENCIES
65
+ bundler
66
+ rake
67
+ rspec
68
+ rubocop
69
+ rubocop-rake
70
+ simplecov
71
+ sleepiq!
@@ -7,10 +7,6 @@ image: ruby:2.6
7
7
  definitions:
8
8
  caches:
9
9
  bundle: /usr/local/bundle
10
- services:
11
- memcached:
12
- image: memcached:1.5-alpine
13
- memory: 128
14
10
  pipelines:
15
11
  default:
16
12
  - step:
@@ -20,8 +16,6 @@ pipelines:
20
16
  script:
21
17
  - bundle update
22
18
  - rubocop
23
- services:
24
- - memcached
25
19
  - step:
26
20
  name: RSpec
27
21
  caches:
@@ -29,5 +23,3 @@ pipelines:
29
23
  script:
30
24
  - bundle update
31
25
  - bundle exec rspec
32
- services:
33
- - memcached
@@ -11,7 +11,7 @@ module SleepIQ
11
11
  include SleepIQ::Pump
12
12
  include SleepIQ::Sleeper
13
13
 
14
- def initialize(**opts) # rubocop:disable Metrics/AbcSize,Metrics/CyclomaticComplexity
14
+ def initialize(**opts) # rubocop:disable Metrics/AbcSize
15
15
  @username = opts[:username].nil? ? ENV['sleepiq_username'] : opts[:username]
16
16
  @password = opts[:password].nil? ? ENV['sleepiq_password'] : opts[:password]
17
17
  @key = opts[:key]
@@ -1,3 +1,3 @@
1
1
  module SleepIQ
2
- VERSION = '0.2.2'.freeze
2
+ VERSION = '0.3.0'.freeze
3
3
  end
@@ -14,6 +14,7 @@ Gem::Specification.new do |spec|
14
14
  spec.description = 'Used to connect to the SleepIQ Internal API'
15
15
  spec.homepage = 'https://bitbucket.org/Esity/sleepiq'
16
16
  spec.license = 'MIT'
17
+ spec.required_ruby_version = Gem::Requirement.new('>= 2.5.0')
17
18
 
18
19
  spec.metadata['homepage_uri'] = spec.homepage
19
20
  spec.metadata['source_code_uri'] = 'https://bitbucket.org/Esity/sleepiq'
@@ -33,7 +34,6 @@ Gem::Specification.new do |spec|
33
34
  spec.add_development_dependency 'rubocop-rake'
34
35
  spec.add_development_dependency 'simplecov'
35
36
 
36
- spec.add_dependency 'dalli'
37
37
  spec.add_dependency 'faraday'
38
38
  spec.add_dependency 'faraday_middleware'
39
39
  spec.add_dependency 'thor'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sleepiq
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - esity
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-02-27 00:00:00.000000000 Z
11
+ date: 2020-10-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -94,20 +94,6 @@ dependencies:
94
94
  - - ">="
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0'
97
- - !ruby/object:Gem::Dependency
98
- name: dalli
99
- requirement: !ruby/object:Gem::Requirement
100
- requirements:
101
- - - ">="
102
- - !ruby/object:Gem::Version
103
- version: '0'
104
- type: :runtime
105
- prerelease: false
106
- version_requirements: !ruby/object:Gem::Requirement
107
- requirements:
108
- - - ">="
109
- - !ruby/object:Gem::Version
110
- version: '0'
111
97
  - !ruby/object:Gem::Dependency
112
98
  name: faraday
113
99
  requirement: !ruby/object:Gem::Requirement
@@ -162,6 +148,7 @@ files:
162
148
  - ".rubocop.yml"
163
149
  - CHANGELOG.md
164
150
  - Gemfile
151
+ - Gemfile.lock
165
152
  - LICENSE.txt
166
153
  - README.md
167
154
  - Rakefile
@@ -184,7 +171,7 @@ metadata:
184
171
  homepage_uri: https://bitbucket.org/Esity/sleepiq
185
172
  source_code_uri: https://bitbucket.org/Esity/sleepiq
186
173
  changelog_uri: https://bitbucket.org/Esity/sleepiq/src/master/CHANGELOG.md
187
- post_install_message:
174
+ post_install_message:
188
175
  rdoc_options: []
189
176
  require_paths:
190
177
  - lib
@@ -192,15 +179,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
192
179
  requirements:
193
180
  - - ">="
194
181
  - !ruby/object:Gem::Version
195
- version: '0'
182
+ version: 2.5.0
196
183
  required_rubygems_version: !ruby/object:Gem::Requirement
197
184
  requirements:
198
185
  - - ">="
199
186
  - !ruby/object:Gem::Version
200
187
  version: '0'
201
188
  requirements: []
202
- rubygems_version: 3.0.3
203
- signing_key:
189
+ rubygems_version: 3.1.2
190
+ signing_key:
204
191
  specification_version: 4
205
192
  summary: SleepIQ Client Library
206
193
  test_files: []