attend 0.2.0 → 0.2.1

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: c46e25b56aaf29efe1459cd66c089ad2a38ff6005f9e5f55740df8b2536c7e9f
4
- data.tar.gz: 35a78bc6703ba3bd444bfff9d358a9c0c3028070ca01217a17ef755266b7b32b
3
+ metadata.gz: 3a34b69b2e209344f4c98a064fbc4987ba3c9a8dcb871bb8653b9b610a336c01
4
+ data.tar.gz: 2e2ff463a58a98bb96865dbea49dcada014ef00d2e9365610ec34942ff522d22
5
5
  SHA512:
6
- metadata.gz: d5deeb346f54560476edf64aacae31310e8c14076f3f43549b28e73bf7d2676c1ad63e43d1dc4ba6ccd932ec4342c585e04762d2cffa62a8d4dfe4b52fe31b3f
7
- data.tar.gz: 1d81cd85960b9b60b93fb7da2a8271963ca4fe7db981eff47d6551e3bed25b226bbc6c9bdc95a3f765e0bd915d79f531cb4757d054b0ed742a0ee1a6d8c09231
6
+ metadata.gz: e6d1bdb568c87d289d3bde4cb7fd23fb834c78f7b9dcae50454ed5f3e6c30979520e3f184d40970d22980034340c8db2f97a9de67608d0fc00548dd98c018c55
7
+ data.tar.gz: bb2a25d4221d267db22949e87d0da8a4f765b81de9c314c29ec8bb3f8313a7103a32c3b4f9b4fdc5dcc8e33a717089c5b3c84aa7cadb84b656ec1b6a7ad7c5ca
@@ -1,4 +1,7 @@
1
+ AllCops:
2
+ NewCops: enable
3
+ TargetRubyVersion: 2.7
1
4
  Documentation:
2
5
  Enabled: false
3
- Metrics/LineLength:
4
- Max: 100
6
+ Layout/LineLength:
7
+ Max: 120
@@ -1 +1 @@
1
- 2.6.3
1
+ 2.7.1
@@ -2,4 +2,5 @@ sudo: false
2
2
  language: ruby
3
3
  script: bundle exec rspec
4
4
  rvm:
5
- - 2.6.3
5
+ - 2.6
6
+ - 2.7
@@ -1,69 +1,80 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- attend (0.2.0)
4
+ attend (0.2.1)
5
5
  clamp (~> 1.3)
6
- http (~> 4.1)
6
+ http (~> 4.4)
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
- addressable (2.6.0)
12
- public_suffix (>= 2.0.2, < 4.0)
13
- ast (2.4.0)
14
- clamp (1.3.0)
15
- diff-lcs (1.3)
16
- domain_name (0.5.20180417)
11
+ addressable (2.7.0)
12
+ public_suffix (>= 2.0.2, < 5.0)
13
+ ast (2.4.1)
14
+ clamp (1.3.2)
15
+ diff-lcs (1.4.4)
16
+ domain_name (0.5.20190701)
17
17
  unf (>= 0.0.5, < 1.0.0)
18
- http (4.1.1)
18
+ ffi (1.13.1)
19
+ ffi-compiler (1.0.1)
20
+ ffi (>= 1.0.0)
21
+ rake
22
+ http (4.4.1)
19
23
  addressable (~> 2.3)
20
24
  http-cookie (~> 1.0)
21
- http-form_data (~> 2.0)
22
- http_parser.rb (~> 0.6.0)
25
+ http-form_data (~> 2.2)
26
+ http-parser (~> 1.2.0)
23
27
  http-cookie (1.0.3)
24
28
  domain_name (~> 0.5)
25
- http-form_data (2.1.1)
26
- http_parser.rb (0.6.0)
27
- jaro_winkler (1.5.2)
28
- parallel (1.17.0)
29
- parser (2.6.3.0)
30
- ast (~> 2.4.0)
31
- public_suffix (3.1.1)
29
+ http-form_data (2.3.0)
30
+ http-parser (1.2.1)
31
+ ffi-compiler (>= 1.0, < 2.0)
32
+ parallel (1.19.2)
33
+ parser (2.7.1.4)
34
+ ast (~> 2.4.1)
35
+ public_suffix (4.0.6)
32
36
  rainbow (3.0.0)
33
- rspec (3.8.0)
34
- rspec-core (~> 3.8.0)
35
- rspec-expectations (~> 3.8.0)
36
- rspec-mocks (~> 3.8.0)
37
- rspec-core (3.8.0)
38
- rspec-support (~> 3.8.0)
39
- rspec-expectations (3.8.3)
37
+ rake (13.0.1)
38
+ regexp_parser (1.7.1)
39
+ rexml (3.2.4)
40
+ rspec (3.9.0)
41
+ rspec-core (~> 3.9.0)
42
+ rspec-expectations (~> 3.9.0)
43
+ rspec-mocks (~> 3.9.0)
44
+ rspec-core (3.9.2)
45
+ rspec-support (~> 3.9.3)
46
+ rspec-expectations (3.9.2)
40
47
  diff-lcs (>= 1.2.0, < 2.0)
41
- rspec-support (~> 3.8.0)
42
- rspec-mocks (3.8.0)
48
+ rspec-support (~> 3.9.0)
49
+ rspec-mocks (3.9.1)
43
50
  diff-lcs (>= 1.2.0, < 2.0)
44
- rspec-support (~> 3.8.0)
45
- rspec-support (3.8.0)
46
- rubocop (0.71.0)
47
- jaro_winkler (~> 1.5.1)
51
+ rspec-support (~> 3.9.0)
52
+ rspec-support (3.9.3)
53
+ rubocop (0.91.0)
48
54
  parallel (~> 1.10)
49
- parser (>= 2.6)
55
+ parser (>= 2.7.1.1)
50
56
  rainbow (>= 2.2.2, < 4.0)
57
+ regexp_parser (>= 1.7)
58
+ rexml
59
+ rubocop-ast (>= 0.4.0, < 1.0)
51
60
  ruby-progressbar (~> 1.7)
52
- unicode-display_width (>= 1.4.0, < 1.7)
61
+ unicode-display_width (>= 1.4.0, < 2.0)
62
+ rubocop-ast (0.4.1)
63
+ parser (>= 2.7.1.4)
53
64
  ruby-progressbar (1.10.1)
54
65
  unf (0.1.4)
55
66
  unf_ext
56
- unf_ext (0.0.7.6)
57
- unicode-display_width (1.6.0)
67
+ unf_ext (0.0.7.7)
68
+ unicode-display_width (1.7.0)
58
69
 
59
70
  PLATFORMS
60
71
  ruby
61
72
 
62
73
  DEPENDENCIES
63
74
  attend!
64
- bundler (~> 1.17)
65
- rspec (~> 3.8)
66
- rubocop (~> 0.71.0)
75
+ bundler (~> 2.1)
76
+ rspec (~> 3.9)
77
+ rubocop (~> 0.91)
67
78
 
68
79
  BUNDLED WITH
69
- 1.17.2
80
+ 2.1.4
@@ -11,8 +11,10 @@ Gem::Specification.new do |spec|
11
11
  spec.email = ['mckomo@gmail.com']
12
12
  spec.license = 'MIT'
13
13
 
14
- spec.summary = 'Register Zoho Poeople attendance using CLI'
15
- spec.description = 'Attend is command line tool that will help you register your Zoho Poeople attendance in fast and easy way'
14
+ spec.required_ruby_version = '>= 2.6'
15
+
16
+ spec.summary = 'Register Zoho People attendance using CLI'
17
+ spec.description = 'Attend is CLI tool that will help you register your Zoho People attendance in fast and easy way'
16
18
  spec.homepage = 'https://github.com/mckomo/attend'
17
19
 
18
20
  spec.files = `git ls-files -z`.split("\x0").reject do |f|
@@ -23,9 +25,9 @@ Gem::Specification.new do |spec|
23
25
  spec.require_paths = ['lib']
24
26
 
25
27
  spec.add_dependency 'clamp', '~> 1.3'
26
- spec.add_dependency 'http', '~> 4.1'
28
+ spec.add_dependency 'http', '~> 4.4'
27
29
 
28
- spec.add_development_dependency 'bundler', '~> 1.17'
29
- spec.add_development_dependency 'rspec', '~> 3.8'
30
- spec.add_development_dependency 'rubocop', '~> 0.71.0'
30
+ spec.add_development_dependency 'bundler', '~> 2.1'
31
+ spec.add_development_dependency 'rspec', '~> 3.9'
32
+ spec.add_development_dependency 'rubocop', '~> 0.91'
31
33
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Attend
4
- VERSION = '0.2.0'
4
+ VERSION = '0.2.1'
5
5
  end
@@ -46,7 +46,7 @@ module Zoho
46
46
  private
47
47
 
48
48
  def request(method, endpoint, options)
49
- response = Http.method(method).call("#{URL}/#{endpoint}", options)
49
+ response = HTTP.method(method).call("#{URL}/#{endpoint}", options)
50
50
 
51
51
  if response.status.success?
52
52
  response.parse
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: attend
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Maciej Komorowski
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-06-26 00:00:00.000000000 Z
11
+ date: 2020-09-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: clamp
@@ -30,58 +30,58 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '4.1'
33
+ version: '4.4'
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
- version: '4.1'
40
+ version: '4.4'
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
- version: '1.17'
47
+ version: '2.1'
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
- version: '1.17'
54
+ version: '2.1'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rspec
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '3.8'
61
+ version: '3.9'
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
- version: '3.8'
68
+ version: '3.9'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: rubocop
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: 0.71.0
75
+ version: '0.91'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: 0.71.0
83
- description: Attend is command line tool that will help you register your Zoho Poeople
84
- attendance in fast and easy way
82
+ version: '0.91'
83
+ description: Attend is CLI tool that will help you register your Zoho People attendance
84
+ in fast and easy way
85
85
  email:
86
86
  - mckomo@gmail.com
87
87
  executables:
@@ -123,15 +123,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
123
123
  requirements:
124
124
  - - ">="
125
125
  - !ruby/object:Gem::Version
126
- version: '0'
126
+ version: '2.6'
127
127
  required_rubygems_version: !ruby/object:Gem::Requirement
128
128
  requirements:
129
129
  - - ">="
130
130
  - !ruby/object:Gem::Version
131
131
  version: '0'
132
132
  requirements: []
133
- rubygems_version: 3.0.3
133
+ rubygems_version: 3.1.4
134
134
  signing_key:
135
135
  specification_version: 4
136
- summary: Register Zoho Poeople attendance using CLI
136
+ summary: Register Zoho People attendance using CLI
137
137
  test_files: []