orbit_activities 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +5 -5
- data/lib/orbit_activities/request.rb +3 -1
- data/lib/orbit_activities/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f6d4b2a947aca843ad8d235f4aa45ec085ce630da23038b61158d814330c1eed
|
4
|
+
data.tar.gz: c55ab525549e1434fc11d655ba97bb9dbbcadca871233bb37fa6553d0a48b079
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c393d3604e519836588ddfdde415e3cf8663bf0b16c39de0fd703a634404d9acd06e7d5658e09e6bb454805feb63668916d364ebf0fd3bed86312b562c7087ab
|
7
|
+
data.tar.gz: 9f568b3ebc2b794a516066f78d1edda8501df96b2760cc109d1853f991b17e9500188418d4c0ba6e69c58b337bec54c9ce14c894c640d9eb70278713e8b84f30
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
orbit_activities (0.
|
4
|
+
orbit_activities (0.2.2)
|
5
5
|
http (~> 4.4)
|
6
6
|
json (~> 2.5)
|
7
7
|
rake (~> 13.0)
|
@@ -56,23 +56,23 @@ GEM
|
|
56
56
|
diff-lcs (>= 1.2.0, < 2.0)
|
57
57
|
rspec-support (~> 3.10.0)
|
58
58
|
rspec-support (3.10.2)
|
59
|
-
rubocop (1.
|
59
|
+
rubocop (1.17.0)
|
60
60
|
parallel (~> 1.10)
|
61
61
|
parser (>= 3.0.0.0)
|
62
62
|
rainbow (>= 2.2.2, < 4.0)
|
63
63
|
regexp_parser (>= 1.8, < 3.0)
|
64
64
|
rexml
|
65
|
-
rubocop-ast (>= 1.
|
65
|
+
rubocop-ast (>= 1.7.0, < 2.0)
|
66
66
|
ruby-progressbar (~> 1.7)
|
67
67
|
unicode-display_width (>= 1.4.0, < 3.0)
|
68
|
-
rubocop-ast (1.
|
68
|
+
rubocop-ast (1.7.0)
|
69
69
|
parser (>= 3.0.1.1)
|
70
70
|
ruby-progressbar (1.11.0)
|
71
71
|
unf (0.1.4)
|
72
72
|
unf_ext
|
73
73
|
unf_ext (0.0.7.7)
|
74
74
|
unicode-display_width (2.0.0)
|
75
|
-
webmock (3.
|
75
|
+
webmock (3.13.0)
|
76
76
|
addressable (>= 2.3.6)
|
77
77
|
crack (>= 0.3.2)
|
78
78
|
hashdiff (>= 0.4.0, < 2.0.0)
|
@@ -77,7 +77,9 @@ module OrbitActivities
|
|
77
77
|
filters: filters
|
78
78
|
)
|
79
79
|
|
80
|
-
|
80
|
+
return nil if response["data"].nil? || response["data"].empty?
|
81
|
+
|
82
|
+
@response = response["data"][0]["attributes"]["created_at"]
|
81
83
|
end
|
82
84
|
|
83
85
|
def get_activity
|