quanto-ruby 0.0.12 → 0.0.13
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 +4 -4
- data/lib/quanto/entries.rb +8 -0
- data/lib/quanto/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: cb3e0089a8dd510b1a38fd1d7410052ea07792ac
|
|
4
|
+
data.tar.gz: a1f74cf0bc0543b489f1c309e853c78b5cc8c392
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 29cc7b1be43d820c0fca381d98411518cbb02a13483930389be5f140c2930b64740377b2b7d5f03d5645a76ef4c7092db5666a1376e212d94bd62dd68d78e01e
|
|
7
|
+
data.tar.gz: 28edec9beff4e2b03f7cc59acdd3695c64dc421e4c8bf21ebd5696ba03870f0f66285f2b20821c43efdaca06f09a326ac364fd9fc311f99fd65392cc3f1697f6
|
data/lib/quanto/entries.rb
CHANGED
|
@@ -18,6 +18,14 @@ module Quanto
|
|
|
18
18
|
attributes["url"]
|
|
19
19
|
end
|
|
20
20
|
|
|
21
|
+
# Activate the current plugin.
|
|
22
|
+
# This should only be done once credentials have been obtained.
|
|
23
|
+
# Returns the url for the current plugin.
|
|
24
|
+
def activate_plugin
|
|
25
|
+
attributes = post('/activations')
|
|
26
|
+
attributes["url"]
|
|
27
|
+
end
|
|
28
|
+
|
|
21
29
|
def metrics
|
|
22
30
|
get('/plugin/metrics')
|
|
23
31
|
end
|
data/lib/quanto/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: quanto-ruby
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.13
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Rasmus Rygaard
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-03-
|
|
11
|
+
date: 2014-03-18 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: oauth2
|