cartoonist-twitter 0.0.12 → 0.0.13
Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,4 @@
|
|
1
|
-
class Admin::TweetsController <
|
2
|
-
before_filter :ensure_ssl!
|
3
|
-
before_filter :check_admin!
|
4
|
-
|
1
|
+
class Admin::TweetsController < AdminCartoonistController
|
5
2
|
def index
|
6
3
|
@untweeted = Tweet.untweeted.created_chronological.not_disabled
|
7
4
|
@tweeted = Tweet.tweeted.reverse_chronological
|
data/app/models/tweet.rb
CHANGED
@@ -99,6 +99,13 @@ class Tweet < ActiveRecord::Base
|
|
99
99
|
logger.info "Fake Tweet: #{tweet}"
|
100
100
|
end
|
101
101
|
|
102
|
+
rescue => e
|
103
|
+
logger.error "Error while sending tweet, will mark sent anyways (just in case):
|
104
|
+
#{e.class} (#{e.message})
|
105
|
+
#{e.backtrace.join "\n "}
|
106
|
+
|
107
|
+
"
|
108
|
+
ensure
|
102
109
|
self.tweeted_at = Time.now
|
103
110
|
save!
|
104
111
|
end
|
data/cartoonist-twitter.gemspec
CHANGED
data/lib/cartoonist-twitter.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cartoonist-twitter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.13
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,30 +9,30 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-11-10 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: cartoonist
|
16
|
-
requirement: &
|
16
|
+
requirement: &12076320 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - =
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 0.0.
|
21
|
+
version: 0.0.13
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *12076320
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: twitter
|
27
|
-
requirement: &
|
27
|
+
requirement: &12075120 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ~>
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version:
|
32
|
+
version: 4.2.0
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *12075120
|
36
36
|
description: Plugin to allow tweeting of cartoonist entities.
|
37
37
|
email: reasonnumber@gmail.com
|
38
38
|
executables: []
|
@@ -50,6 +50,7 @@ files:
|
|
50
50
|
- db/migrate/20120501083235_create_tweets.rb
|
51
51
|
- lib/cartoonist-twitter.rb
|
52
52
|
- lib/cartoonist-twitter/engine.rb
|
53
|
+
- lib/cartoonist-twitter/version.rb
|
53
54
|
homepage: http://reasonnumber.com/cartoonist
|
54
55
|
licenses: []
|
55
56
|
post_install_message:
|