partisan 0.1 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -17,7 +17,8 @@ module Partisan
17
17
  def follow(resource)
18
18
  return if self == resource
19
19
 
20
- fetch_follows(resource).first_or_create
20
+ follow = fetch_follows(resource).first_or_initialize
21
+ follow.save!
21
22
  end
22
23
  alias_method :start_following, :follow
23
24
 
@@ -1,3 +1,3 @@
1
1
  module Partisan
2
- VERSION = "0.1"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: partisan
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.1'
4
+ version: 0.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -138,7 +138,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
138
138
  version: '0'
139
139
  segments:
140
140
  - 0
141
- hash: 1786164620138942413
141
+ hash: -161122835352919844
142
142
  required_rubygems_version: !ruby/object:Gem::Requirement
143
143
  none: false
144
144
  requirements:
@@ -147,7 +147,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
147
147
  version: '0'
148
148
  segments:
149
149
  - 0
150
- hash: 1786164620138942413
150
+ hash: -161122835352919844
151
151
  requirements: []
152
152
  rubyforge_project:
153
153
  rubygems_version: 1.8.23