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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9ab876f0e7a6bdf9ea7c22ebbca19da8e231a581
4
- data.tar.gz: a726222785b11573ec23ac80f701b1535ad604d1
3
+ metadata.gz: 4b5a3062871654fbdc87cb86df65812fd60ac585
4
+ data.tar.gz: 8e1506fa33fd8d8a39f30f1580fa833b7690f7e5
5
5
  SHA512:
6
- metadata.gz: 4f941a07e07e7f61b64ae58e177c597f935143e9cd121818d54d5736f9e6dd0c7f3467f77b496ed4e300d3e76eb58012880dfdf200b6e43e7734a9812fc997ea
7
- data.tar.gz: 44b0d4aa25f277f5f343529f54743ccb123a1cbc2bd0cf1056c4a3dc9a59dae648e73f2ed878cb12de8b481055ffb725069e2f1415e270e5121ae4c5d9656a74
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 or specific tags
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
@@ -1,7 +1,7 @@
1
1
  module Copperegg
2
2
  module Revealmetrics
3
3
 
4
- GEM_VERSION = "0.8.0"
4
+ GEM_VERSION = "0.8.1"
5
5
 
6
6
  end
7
7
  end
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.0
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-09 00:00:00.000000000 Z
12
+ date: 2015-03-10 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: json_pure