governor_twitter 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +1 -1
- data/VERSION +1 -1
- data/governor_twitter.gemspec +1 -3
- data/spec/governor_twitter_spec.rb +1 -1
- data/spec/rails_app/Gemfile.lock +1 -1
- metadata +3 -5
- data/spec/rails_app/config/initializers/twitter.rb +0 -6
data/Gemfile.lock
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.2
|
data/governor_twitter.gemspec
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{governor_twitter}
|
8
|
-
s.version = "0.1.
|
8
|
+
s.version = "0.1.2"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Liam Morley"]
|
@@ -60,7 +60,6 @@ Gem::Specification.new do |s|
|
|
60
60
|
"spec/rails_app/config/initializers/mime_types.rb",
|
61
61
|
"spec/rails_app/config/initializers/secret_token.rb",
|
62
62
|
"spec/rails_app/config/initializers/session_store.rb",
|
63
|
-
"spec/rails_app/config/initializers/twitter.rb",
|
64
63
|
"spec/rails_app/config/locales/devise.en.yml",
|
65
64
|
"spec/rails_app/config/locales/en.yml",
|
66
65
|
"spec/rails_app/config/routes.rb",
|
@@ -115,7 +114,6 @@ Gem::Specification.new do |s|
|
|
115
114
|
"spec/rails_app/config/initializers/mime_types.rb",
|
116
115
|
"spec/rails_app/config/initializers/secret_token.rb",
|
117
116
|
"spec/rails_app/config/initializers/session_store.rb",
|
118
|
-
"spec/rails_app/config/initializers/twitter.rb",
|
119
117
|
"spec/rails_app/config/routes.rb",
|
120
118
|
"spec/rails_app/db/migrate/20110329032256_devise_create_users.rb",
|
121
119
|
"spec/rails_app/db/migrate/20110330020108_governor_create_articles.rb",
|
@@ -15,6 +15,6 @@ describe GovernorTwitter do
|
|
15
15
|
shortened_url = 'http://bit.ly/short'
|
16
16
|
Shortie::Service.find_by_key("bitly").expects(:shorten).with(url).returns(shortened_url)
|
17
17
|
Twitter.expects(:update).with("#{content} #{shortened_url}")
|
18
|
-
GovernorBackground.run('
|
18
|
+
GovernorBackground.run('twitter_post', content, url)
|
19
19
|
end
|
20
20
|
end
|
data/spec/rails_app/Gemfile.lock
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: governor_twitter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 31
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 2
|
10
|
+
version: 0.1.2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Liam Morley
|
@@ -323,7 +323,6 @@ files:
|
|
323
323
|
- spec/rails_app/config/initializers/mime_types.rb
|
324
324
|
- spec/rails_app/config/initializers/secret_token.rb
|
325
325
|
- spec/rails_app/config/initializers/session_store.rb
|
326
|
-
- spec/rails_app/config/initializers/twitter.rb
|
327
326
|
- spec/rails_app/config/locales/devise.en.yml
|
328
327
|
- spec/rails_app/config/locales/en.yml
|
329
328
|
- spec/rails_app/config/routes.rb
|
@@ -406,7 +405,6 @@ test_files:
|
|
406
405
|
- spec/rails_app/config/initializers/mime_types.rb
|
407
406
|
- spec/rails_app/config/initializers/secret_token.rb
|
408
407
|
- spec/rails_app/config/initializers/session_store.rb
|
409
|
-
- spec/rails_app/config/initializers/twitter.rb
|
410
408
|
- spec/rails_app/config/routes.rb
|
411
409
|
- spec/rails_app/db/migrate/20110329032256_devise_create_users.rb
|
412
410
|
- spec/rails_app/db/migrate/20110330020108_governor_create_articles.rb
|
@@ -1,6 +0,0 @@
|
|
1
|
-
Twitter.configure do |config|
|
2
|
-
config.consumer_key = 'x2kAIZqhVbB8aYBkbIhLA'
|
3
|
-
config.consumer_secret = 'N3m27LRWN6kglvJ2QIoqS6HKv0y1MBqFNMBUpEl8g'
|
4
|
-
config.oauth_token = '298776110-A4adk6Whxn6ROReYsNyx2Ate948qXS2hQpIGVAkg'
|
5
|
-
config.oauth_token_secret = 'C2eeyC3R28PjNlaXAZXmr9hKC1MvBZy0A3wawO4xI'
|
6
|
-
end
|