action_tracker_client 0.1.1 → 0.1.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: d4c190be868e1b5eed6ba65b5f5d60e91fc7dccbbdc0d29012d5713c3b68bdf3
4
- data.tar.gz: cd4f693844d1dc312d03b96c6f5b25632cd6307f2bd29055026fbd7b7baaa5cf
3
+ metadata.gz: a9e768c0943154e44f13861229d10a1b6bfb387e265c5c1f89536760dae4a071
4
+ data.tar.gz: 2752ea179b045c7b5b4764c557169bfcd9e847ee5f14fa10ad1e6a0e99ff4577
5
5
  SHA512:
6
- metadata.gz: 6a76b40225df9342df4b35c0b20e4e3f98b13a250856f5e1359e600cf28272f729629739766829daa3b6db4dc427938fe8d117ba1e843b51422e4c60a7e0997e
7
- data.tar.gz: ab5cae31834a5032b81a675acfa45abe3fe9da5f1fae84e2f08d8b356e4c687f5a81952de0e528c25b436015f88c87d6f4c3487a71578466bee8a93df352bfa9
6
+ metadata.gz: 81ea96dd3607ae73ee323b0a70be67ee45e3a6a136155d33b838165f00d11197bc3dedc72e9ebc69f2bdf53f51fc7b1ae81dd3b0f2dd23d86b07b7e24ce61f0c
7
+ data.tar.gz: 5974e50cde35b4cefa30311d29a7012b68ac34ab9fb239a7eeddb9ff89e428ee13ecefc231e6f1012a70bc56367ccead277dcf5429fca06cf5e0ca56cc3c52c3
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- action_tracker_client (0.1.1)
4
+ action_tracker_client (0.1.2)
5
5
  activemodel (>= 4.0)
6
6
  activesupport (>= 4.0)
7
7
  api_signature (~> 0.1.5)
@@ -12,13 +12,14 @@ PATH
12
12
  GEM
13
13
  remote: https://rubygems.org/
14
14
  specs:
15
- activemodel (5.2.3)
16
- activesupport (= 5.2.3)
17
- activesupport (5.2.3)
15
+ activemodel (6.0.0)
16
+ activesupport (= 6.0.0)
17
+ activesupport (6.0.0)
18
18
  concurrent-ruby (~> 1.0, >= 1.0.2)
19
19
  i18n (>= 0.7, < 2)
20
20
  minitest (~> 5.1)
21
21
  tzinfo (~> 1.1)
22
+ zeitwerk (~> 2.1, >= 2.1.8)
22
23
  addressable (2.6.0)
23
24
  public_suffix (>= 2.0.2, < 4.0)
24
25
  api_signature (0.1.5)
@@ -56,7 +57,7 @@ GEM
56
57
  guard-compat (~> 1.1)
57
58
  rspec (>= 2.99.0, < 4.0)
58
59
  hashdiff (0.3.9)
59
- httparty (0.17.0)
60
+ httparty (0.17.1)
60
61
  mime-types (~> 3.0)
61
62
  multi_xml (>= 0.5.2)
62
63
  i18n (1.6.0)
@@ -68,10 +69,10 @@ GEM
68
69
  ruby_dep (~> 1.2)
69
70
  lumberjack (1.0.13)
70
71
  method_source (0.9.2)
71
- mime-types (3.2.2)
72
+ mime-types (3.3)
72
73
  mime-types-data (~> 3.2015)
73
- mime-types-data (3.2019.0331)
74
- minitest (5.11.3)
74
+ mime-types-data (3.2019.0904)
75
+ minitest (5.12.0)
75
76
  model_auditor (0.0.2)
76
77
  multi_xml (0.6.0)
77
78
  nenv (0.3.0)
@@ -119,6 +120,7 @@ GEM
119
120
  addressable (>= 2.3.6)
120
121
  crack (>= 0.3.2)
121
122
  hashdiff
123
+ zeitwerk (2.1.10)
122
124
 
123
125
  PLATFORMS
124
126
  ruby
@@ -133,4 +135,4 @@ DEPENDENCIES
133
135
  webmock (~> 3.5, >= 3.5.1)
134
136
 
135
137
  BUNDLED WITH
136
- 1.16.2
138
+ 1.17.3
@@ -2,14 +2,22 @@
2
2
 
3
3
  module ActionTracker
4
4
  module Pagination
5
- delegate :cursor, to: :meta
5
+ delegate :next_cursor, :current_cursor, to: :meta
6
6
 
7
7
  def size
8
8
  raw_data.try(:size)
9
9
  end
10
10
 
11
+ def per_page
12
+ meta.per_page.to_i
13
+ end
14
+
11
15
  def last_page?
12
- cursor.blank?
16
+ next_cursor.blank?
17
+ end
18
+
19
+ def first_page?
20
+ current_cursor.blank?
13
21
  end
14
22
  end
15
23
  end
@@ -1,3 +1,3 @@
1
1
  module ActionTracker
2
- VERSION = '0.1.1'.freeze
2
+ VERSION = '0.1.2'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: action_tracker_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Igor Malinovskiy
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-08-05 00:00:00.000000000 Z
11
+ date: 2019-09-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -257,8 +257,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
257
257
  - !ruby/object:Gem::Version
258
258
  version: '0'
259
259
  requirements: []
260
- rubyforge_project:
261
- rubygems_version: 2.7.6.2
260
+ rubygems_version: 3.0.3
262
261
  signing_key:
263
262
  specification_version: 4
264
263
  summary: ActionTracking service client gem