flakey 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/flakey.gemspec +1 -1
- data/lib/flakey/twitter.rb +2 -3
- data/lib/flakey/version.rb +1 -1
- metadata +4 -4
data/flakey.gemspec
CHANGED
@@ -15,7 +15,7 @@ Gem::Specification.new do |gem|
|
|
15
15
|
gem.require_paths = ["lib"]
|
16
16
|
gem.version = Flakey::VERSION
|
17
17
|
|
18
|
-
gem.add_dependency '
|
18
|
+
gem.add_dependency 'activesupport'
|
19
19
|
|
20
20
|
gem.add_development_dependency 'rspec'
|
21
21
|
gem.add_development_dependency 'rake'
|
data/lib/flakey/twitter.rb
CHANGED
@@ -108,8 +108,7 @@ module Flakey
|
|
108
108
|
|
109
109
|
# Generate a link which will open a dialog for following the user with
|
110
110
|
# whe specified user_id or screen_name.
|
111
|
-
def follow_intent_link(options = {})
|
112
|
-
text = options[:text] || ''
|
111
|
+
def follow_intent_link(text, options = {})
|
113
112
|
user_id_to_follow = options[:user_id] || ''
|
114
113
|
screen_name_to_follow = options[:screen_name] || ''
|
115
114
|
|
@@ -117,7 +116,7 @@ module Flakey
|
|
117
116
|
intent_url += user_id_to_follow.to_s unless user_id_to_follow == ''
|
118
117
|
intent_url += screen_name_to_follow.to_s unless screen_name_to_follow == ''
|
119
118
|
|
120
|
-
link_to text, intent_url, options.except(:
|
119
|
+
link_to text, intent_url, options.except(:user_id, :screen_name)
|
121
120
|
end
|
122
121
|
end
|
123
122
|
end
|
data/lib/flakey/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: flakey
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -12,7 +12,7 @@ cert_chain: []
|
|
12
12
|
date: 2013-07-05 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
|
-
name:
|
15
|
+
name: activesupport
|
16
16
|
requirement: !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
@@ -101,7 +101,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
101
101
|
version: '0'
|
102
102
|
segments:
|
103
103
|
- 0
|
104
|
-
hash: -
|
104
|
+
hash: -3395803352666594856
|
105
105
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
106
106
|
none: false
|
107
107
|
requirements:
|
@@ -110,7 +110,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
110
110
|
version: '0'
|
111
111
|
segments:
|
112
112
|
- 0
|
113
|
-
hash: -
|
113
|
+
hash: -3395803352666594856
|
114
114
|
requirements: []
|
115
115
|
rubyforge_project:
|
116
116
|
rubygems_version: 1.8.25
|