highrise 3.1.5 → 3.1.6

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5ed8a77115c9a80fa6db33d65bb978115f9a72e2
4
- data.tar.gz: 858b181c609627d59384bc99281c0340103ec5d6
3
+ metadata.gz: c08fed70b2defee5d4cd4e6d2d6487b7d2bcefd3
4
+ data.tar.gz: 752cad37c686284545b11cfe15c2eeeb591048e7
5
5
  SHA512:
6
- metadata.gz: 1c43a17b1518671e49fb5a20f3df743f32b78dddbb9422df3b0cd8340ec7a8a0603566061fc2a2b2c473732b7b4c1783d17e8f89ad7b7336808c66227f846db9
7
- data.tar.gz: d228e108e2b4c97eba087e2a289a0b575321bc31016d432f28367a12fa76cd57eda7fcf40c6f50cbc399ab1c24132ab7d000dd8a364d5f6eb79f5a2bb7f15717
6
+ metadata.gz: dbe2dd4fd7ab0a9984f4c757737a15446c71f175bd0435458567f59ea64fd5718c60bd54159a7fbe599f07f167f4f45d8df6d4be43f7008f35b224f5588d2420
7
+ data.tar.gz: ac73d6ec2703ad7629535d990ad29af33ee283c6a65eca4a8cdeee5014169ae4d5d5bb7c0e99b7dce2142e528cfa068b19e2ffc3a1ec0e05c514582ef608cea0
@@ -1,31 +1,30 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- highrise (3.1.5)
4
+ highrise (3.1.6)
5
5
  activeresource (>= 3.2.13)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
- activemodel (4.0.2)
11
- activesupport (= 4.0.2)
10
+ activemodel (4.0.4)
11
+ activesupport (= 4.0.4)
12
12
  builder (~> 3.1.0)
13
13
  activeresource (4.0.0)
14
14
  activemodel (~> 4.0)
15
15
  activesupport (~> 4.0)
16
16
  rails-observers (~> 0.1.1)
17
- activesupport (4.0.2)
18
- i18n (~> 0.6, >= 0.6.4)
17
+ activesupport (4.0.4)
18
+ i18n (~> 0.6, >= 0.6.9)
19
19
  minitest (~> 4.2)
20
20
  multi_json (~> 1.3)
21
21
  thread_safe (~> 0.1)
22
22
  tzinfo (~> 0.3.37)
23
- atomic (1.1.14)
24
23
  builder (3.1.4)
25
24
  diff-lcs (1.2.1)
26
25
  i18n (0.6.9)
27
26
  minitest (4.7.5)
28
- multi_json (1.8.2)
27
+ multi_json (1.9.2)
29
28
  rails-observers (0.1.2)
30
29
  activemodel (~> 4.0)
31
30
  rake (10.0.3)
@@ -37,9 +36,8 @@ GEM
37
36
  rspec-expectations (2.13.0)
38
37
  diff-lcs (>= 1.1.3, < 2.0)
39
38
  rspec-mocks (2.13.0)
40
- thread_safe (0.1.3)
41
- atomic
42
- tzinfo (0.3.38)
39
+ thread_safe (0.3.2)
40
+ tzinfo (0.3.39)
43
41
 
44
42
  PLATFORMS
45
43
  java
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # Highrise (master) [![Build Status](https://secure.travis-ci.org/tapajos/highrise.png)](http://travis-ci.org/tapajos/highrise)
1
+ # Highrise (master) [![Build Status](https://secure.travis-ci.org/tapajos/highrise.png)](http://travis-ci.org/tapajos/highrise) [![Code Climate](https://codeclimate.com/github/tapajos/highrise.png)](https://codeclimate.com/github/tapajos/highrise)
2
2
 
3
3
  ## What is it?
4
4
 
@@ -71,4 +71,4 @@ version file.
71
71
  [rdoc]: http://rdoc.info/projects/tapajos/highrise
72
72
  [tapajos]: http://www.improveit.com.br/en/company/tapajos
73
73
  [list]: https://github.com/tapajos/highrise/graphs/contributors
74
- []
74
+ []
@@ -9,8 +9,8 @@ module Highrise
9
9
  end
10
10
 
11
11
  def untag!(tag_name)
12
- to_delete = self.tags.find{|tag| tag['name'] == tag_name} unless tag_name.blank?
13
- self.untag_id!(to_delete['id']) unless to_delete.nil?
12
+ to_delete = self.tags.find{|tag| tag.attributes['name'] == tag_name} unless tag_name.blank?
13
+ self.untag_id!(to_delete.attributes['id']) unless to_delete.nil?
14
14
  end
15
15
  protected
16
16
  def untag_id!(tag_id)
@@ -1,3 +1,3 @@
1
1
  module Highrise
2
- VERSION = "3.1.5"
2
+ VERSION = "3.1.6"
3
3
  end
@@ -1,9 +1,9 @@
1
1
  shared_examples_for "a taggable class" do
2
2
  before(:each) do
3
3
  (@tags = []).tap do
4
- @tags << {'id' => "414578", 'name' => "cliente"}
5
- @tags << {'id' => "414580", 'name' => "ged"}
6
- @tags << {'id' => "414579", 'name' => "iepc"}
4
+ @tags << Highrise::Tag.new(:name => "cliente", :id => 414578)
5
+ @tags << Highrise::Tag.new(:name => "ged", :id => 414580)
6
+ @tags << Highrise::Tag.new(:name => "iepc", :id => 414579)
7
7
  end
8
8
  end
9
9
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: highrise
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.5
4
+ version: 3.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marcos Tapajós
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-12-23 00:00:00.000000000 Z
12
+ date: 2014-04-07 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activeresource
@@ -181,4 +181,3 @@ test_files:
181
181
  - spec/highrise/task_spec.rb
182
182
  - spec/highrise/user_spec.rb
183
183
  - spec/spec_helper.rb
184
- has_rdoc: