amico 2.3.0 → 2.3.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
1
  module Amico
2
- VERSION = '2.3.0'
2
+ VERSION = '2.3.1'
3
3
  end
@@ -626,8 +626,6 @@ describe Amico::Relationships do
626
626
  end
627
627
  end
628
628
 
629
-
630
-
631
629
  describe '#clear' do
632
630
  it 'should remove follower/following relationships' do
633
631
  Amico.follow(1, 11)
@@ -649,6 +647,7 @@ describe Amico::Relationships do
649
647
  Amico.followers_count(11).should be(0)
650
648
  Amico.reciprocated_count(11).should be(0)
651
649
  end
650
+
652
651
  it 'should clear pending/pending_with relationships' do
653
652
  previous_pending_value = Amico.pending_follow
654
653
  Amico.pending_follow = true
@@ -658,6 +657,7 @@ describe Amico::Relationships do
658
657
  Amico.pending_count(11).should be(0)
659
658
  Amico.pending_follow = previous_pending_value
660
659
  end
660
+
661
661
  it 'should clear blocked/blocked_by relationships' do
662
662
  Amico.block(1, 11)
663
663
  Amico.blocked_count(1).should be(1)
@@ -668,7 +668,6 @@ describe Amico::Relationships do
668
668
  end
669
669
  end
670
670
 
671
-
672
671
  private
673
672
 
674
673
  def add_reciprocal_followers(count = 26, block_relationship = false)
@@ -2,6 +2,6 @@ require 'spec_helper'
2
2
 
3
3
  describe 'Amico::VERSION' do
4
4
  it 'should be the correct version' do
5
- Amico::VERSION.should == '2.3.0'
5
+ Amico::VERSION.should == '2.3.1'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: amico
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.0
4
+ version: 2.3.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-08-29 00:00:00.000000000 Z
12
+ date: 2012-09-13 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: redis