amico 2.3.0 → 2.3.1
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.
- data/CHANGELOG.md +4 -0
- data/lib/amico/relationships.rb +747 -741
- data/lib/amico/version.rb +1 -1
- data/spec/amico/relationships_spec.rb +2 -3
- data/spec/amico/version_spec.rb +1 -1
- metadata +2 -2
data/lib/amico/version.rb
CHANGED
@@ -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)
|
data/spec/amico/version_spec.rb
CHANGED
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.
|
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-
|
12
|
+
date: 2012-09-13 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: redis
|