fitbit_api 0.15.1 → 0.15.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d911585848ded1bbf5c5abfd9090b96971592ce119e6525e7b82808468717880
4
- data.tar.gz: 1d4984610d1bba6468662b5f22d986a324642685811c9eede3bf35127b6e9bfe
3
+ metadata.gz: 561a52dc9c8bfad8017608499dea22837c6f5d8a9313cd0071df7196bb33219c
4
+ data.tar.gz: c9651611471aab84d90a9e2c4d09693e655ea22ec63e4bd728967b96a1796ad4
5
5
  SHA512:
6
- metadata.gz: fbfd618baee4f3c58b957d7f4997befa6bf25ee9778cf45d340ed13ed64188eb663781aa6a6f326d63263e0d1de21328fbbdb5e2e04c399b18aa9f617c29b852
7
- data.tar.gz: e4acd060d4d06f1a39ca1c951140db0413b1e6967f252c7abe0dc471d32295c401e67a34e20ea86531b629afcbc319d70265e0c4cbea7cd6afa646b23fe6e1ae
6
+ metadata.gz: 3ea7353d5c9699180dab5f91e0da027bb52ac032b8801b3d2120c98f47d7c594b972446322fe791b26ba1cea35286f8dd985a3936dec028fa2e705ca7fa8befd
7
+ data.tar.gz: 2a361f5e95e628e3a2b3da7e682953b7ec2b028de79559f2302729a8fda07ecf8a90b9d0ea0688daf5e1f30ebcfa24d66ac7927952100532b2db1fde4e67557e
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ 0.15.2
2
+ ------
3
+ - Reduce build size
4
+
1
5
  0.15.1
2
6
  ------
3
7
  - Improve gemspec metadata
data/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # FitbitAPI
2
2
 
3
3
  [![Gem Version](https://img.shields.io/gem/v/fitbit_api)](https://rubygems.org/gems/fitbit_api)
4
- [![CI Workflow](https://img.shields.io/github/workflow/status/zokioki/fitbit_api/CI)](https://github.com/zokioki/fitbit_api/actions/workflows/ci.yml)
4
+ [![CI Workflow](https://img.shields.io/github/actions/workflow/status/zokioki/fitbit_api/ci.yml?branch=master)](https://github.com/zokioki/fitbit_api/actions/workflows/ci.yml)
5
5
 
6
6
  FitbitAPI provides a Ruby interface to the [Fitbit Web API](https://dev.fitbit.com/reference/web-api).
7
7
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module FitbitAPI
4
- VERSION = '0.15.1'
4
+ VERSION = '0.15.2'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fitbit_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.15.1
4
+ version: 0.15.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Zoran
8
8
  autorequire:
9
- bindir: exe
9
+ bindir: bin
10
10
  cert_chain: []
11
- date: 2022-12-06 00:00:00.000000000 Z
11
+ date: 2023-11-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: oauth2
@@ -24,34 +24,6 @@ dependencies:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '1.0'
27
- - !ruby/object:Gem::Dependency
28
- name: bundler
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - "~>"
32
- - !ruby/object:Gem::Version
33
- version: '2.3'
34
- type: :development
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - "~>"
39
- - !ruby/object:Gem::Version
40
- version: '2.3'
41
- - !ruby/object:Gem::Dependency
42
- name: byebug
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - "~>"
46
- - !ruby/object:Gem::Version
47
- version: '11.0'
48
- type: :development
49
- prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - "~>"
53
- - !ruby/object:Gem::Version
54
- version: '11.0'
55
27
  - !ruby/object:Gem::Dependency
56
28
  name: rake
57
29
  requirement: !ruby/object:Gem::Requirement
@@ -72,28 +44,28 @@ dependencies:
72
44
  requirements:
73
45
  - - "~>"
74
46
  - !ruby/object:Gem::Version
75
- version: '3.11'
47
+ version: '3.12'
76
48
  type: :development
77
49
  prerelease: false
78
50
  version_requirements: !ruby/object:Gem::Requirement
79
51
  requirements:
80
52
  - - "~>"
81
53
  - !ruby/object:Gem::Version
82
- version: '3.11'
54
+ version: '3.12'
83
55
  - !ruby/object:Gem::Dependency
84
56
  name: rubocop
85
57
  requirement: !ruby/object:Gem::Requirement
86
58
  requirements:
87
59
  - - "~>"
88
60
  - !ruby/object:Gem::Version
89
- version: '1.39'
61
+ version: 1.54.2
90
62
  type: :development
91
63
  prerelease: false
92
64
  version_requirements: !ruby/object:Gem::Requirement
93
65
  requirements:
94
66
  - - "~>"
95
67
  - !ruby/object:Gem::Version
96
- version: '1.39'
68
+ version: 1.54.2
97
69
  - !ruby/object:Gem::Dependency
98
70
  name: webmock
99
71
  requirement: !ruby/object:Gem::Requirement
@@ -114,16 +86,9 @@ executables: []
114
86
  extensions: []
115
87
  extra_rdoc_files: []
116
88
  files:
117
- - ".github/workflows/ci.yml"
118
- - ".gitignore"
119
- - ".rspec"
120
- - ".rubocop.yml"
121
89
  - CHANGELOG.md
122
- - Gemfile
123
90
  - LICENSE.txt
124
91
  - README.md
125
- - Rakefile
126
- - fitbit_api.gemspec
127
92
  - lib/fitbit_api.rb
128
93
  - lib/fitbit_api/activities.rb
129
94
  - lib/fitbit_api/alarms.rb
@@ -154,8 +119,8 @@ licenses:
154
119
  - MIT
155
120
  metadata:
156
121
  source_code_uri: https://github.com/zokioki/fitbit_api
157
- changelog_uri: https://github.com/zokioki/fitbit_api/blob/v0.15.1/CHANGELOG.md
158
- documentation_uri: https://www.rubydoc.info/gems/fitbit_api/0.15.1
122
+ changelog_uri: https://github.com/zokioki/fitbit_api/blob/v0.15.2/CHANGELOG.md
123
+ documentation_uri: https://www.rubydoc.info/gems/fitbit_api/0.15.2
159
124
  rubygems_mfa_required: 'true'
160
125
  post_install_message:
161
126
  rdoc_options: []
@@ -172,7 +137,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
172
137
  - !ruby/object:Gem::Version
173
138
  version: '0'
174
139
  requirements: []
175
- rubygems_version: 3.3.24
140
+ rubygems_version: 3.4.3
176
141
  signing_key:
177
142
  specification_version: 4
178
143
  summary: A Ruby interface to the Fitbit Web API.
@@ -1,31 +0,0 @@
1
- name: CI
2
-
3
- on:
4
- - push
5
- - pull_request
6
-
7
- permissions:
8
- contents: read
9
-
10
- jobs:
11
- build:
12
- runs-on: ubuntu-latest
13
- strategy:
14
- matrix:
15
- ruby-version:
16
- - 2.6
17
- - 2.7
18
- - 3.0
19
- - 3.1
20
-
21
- steps:
22
- - uses: actions/checkout@v3
23
- - name: Set up Ruby
24
- uses: ruby/setup-ruby@v1
25
- with:
26
- ruby-version: ${{ matrix.ruby-version }}
27
- bundler-cache: true
28
- - name: Run Rubocop
29
- run: bundle exec rubocop
30
- - name: Run tests
31
- run: bundle exec rake
data/.gitignore DELETED
@@ -1,10 +0,0 @@
1
- /.bundle/
2
- /.yardoc
3
- /Gemfile.lock
4
- /_yardoc/
5
- /coverage/
6
- /doc/
7
- /pkg/
8
- /spec/reports/
9
- /tmp/
10
- .DS_Store
data/.rspec DELETED
@@ -1,2 +0,0 @@
1
- --format documentation
2
- --color
data/.rubocop.yml DELETED
@@ -1,28 +0,0 @@
1
- AllCops:
2
- TargetRubyVersion: 2.6
3
- NewCops: enable
4
-
5
- Gemspec/RequiredRubyVersion:
6
- Enabled: false
7
-
8
- Style/Documentation:
9
- Enabled: false
10
-
11
- Metrics/AbcSize:
12
- Enabled: false
13
-
14
- Metrics/CyclomaticComplexity:
15
- Enabled: false
16
-
17
- Metrics/PerceivedComplexity:
18
- Enabled: false
19
-
20
- Metrics/ClassLength:
21
- Max: 200
22
-
23
- Metrics/MethodLength:
24
- Max: 40
25
-
26
- Metrics/BlockLength:
27
- Exclude:
28
- - '**/*_spec.rb'
data/Gemfile DELETED
@@ -1,6 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- source 'https://rubygems.org'
4
-
5
- # Specify your gem's dependencies in fitbit_api.gemspec
6
- gemspec
data/Rakefile DELETED
@@ -1,8 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require 'bundler/gem_tasks'
4
- require 'rspec/core/rake_task'
5
-
6
- RSpec::Core::RakeTask.new(:spec)
7
-
8
- task default: :spec
data/fitbit_api.gemspec DELETED
@@ -1,39 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- lib = File.expand_path('lib', __dir__)
4
- $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
-
6
- require 'fitbit_api/version'
7
-
8
- Gem::Specification.new do |spec|
9
- spec.name = 'fitbit_api'
10
- spec.version = FitbitAPI::VERSION
11
- spec.authors = ['Zoran']
12
-
13
- spec.summary = 'A Ruby interface to the Fitbit Web API.'
14
- spec.homepage = 'https://github.com/zokioki/fitbit_api'
15
- spec.license = 'MIT'
16
-
17
- spec.metadata = {
18
- 'source_code_uri' => spec.homepage,
19
- 'changelog_uri' => "#{spec.homepage}/blob/v#{FitbitAPI::VERSION}/CHANGELOG.md",
20
- 'documentation_uri' => "https://www.rubydoc.info/gems/fitbit_api/#{FitbitAPI::VERSION}",
21
- 'rubygems_mfa_required' => 'true'
22
- }
23
-
24
- spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(bin|test|spec|features)/}) }
25
- spec.bindir = 'exe'
26
- spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
27
- spec.require_paths = ['lib']
28
-
29
- spec.required_ruby_version = '>= 1.9.3'
30
-
31
- spec.add_runtime_dependency 'oauth2', '~> 1.0'
32
-
33
- spec.add_development_dependency 'bundler', '~> 2.3'
34
- spec.add_development_dependency 'byebug', '~> 11.0'
35
- spec.add_development_dependency 'rake', '~> 13.0'
36
- spec.add_development_dependency 'rspec', '~> 3.11'
37
- spec.add_development_dependency 'rubocop', '~> 1.39'
38
- spec.add_development_dependency 'webmock', '~> 3.18'
39
- end