copperegg-revealmetrics 0.8.0 → 0.8.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -2
- data/lib/copperegg/revealmetrics/tag.rb +2 -1
- data/lib/copperegg/revealmetrics/ver.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: 4b5a3062871654fbdc87cb86df65812fd60ac585
|
4
|
+
data.tar.gz: 8e1506fa33fd8d8a39f30f1580fa833b7690f7e5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f889117eb5d0f13ff91478ec6675def633ab59827e3f462d0fd216f3fad39dd0ffaf470425afb9a73f456fe61b4686fd1c593f7c8bb401391b3de20f4928afe6
|
7
|
+
data.tar.gz: 7609ddaa3d819065755e658e9d72b5846e88a2c192b87c509d9eb4abcfdbab7af8eb4ae3ca272f96808ae7cc024639488dce3e31246b5f2dec01f249ae24cab5
|
data/README.md
CHANGED
@@ -155,11 +155,10 @@ dashboard.delete
|
|
155
155
|
|
156
156
|
## Tags
|
157
157
|
|
158
|
-
#### Get all
|
158
|
+
#### Get all tags
|
159
159
|
|
160
160
|
```ruby
|
161
161
|
tags_list = Copperegg::Revealmetrics::Tag.find
|
162
|
-
tag = Copperegg::Revealmetrics::Tag.find_by_name("my-tag")
|
163
162
|
```
|
164
163
|
|
165
164
|
#### Create a tag
|
@@ -9,6 +9,7 @@ module Copperegg
|
|
9
9
|
attr_accessor :name, :objects
|
10
10
|
|
11
11
|
def load_attributes(attributes)
|
12
|
+
@objects = []
|
12
13
|
@objects_original = []
|
13
14
|
|
14
15
|
attributes.each do |name, value|
|
@@ -71,7 +72,7 @@ module Copperegg
|
|
71
72
|
|
72
73
|
remove_objects(@objects_original - @objects)
|
73
74
|
add_objects(@objects - @objects_original)
|
74
|
-
@objects_original = @objects
|
75
|
+
@objects_original = @objects.clone
|
75
76
|
end
|
76
77
|
|
77
78
|
def update
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: copperegg-revealmetrics
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eric Anderson
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2015-03-
|
12
|
+
date: 2015-03-10 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: json_pure
|