radiant-twitter-extension 2.0.0 → 2.0.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.
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
module RadiantTwitterExtension
|
|
2
|
-
VERSION = '2.0.
|
|
2
|
+
VERSION = '2.0.1'
|
|
3
3
|
SUMMARY = %q{Twitter posting and radius tags for twitter feeds.}
|
|
4
4
|
DESCRIPTION = %q{Posts notification of pages to Twitter and provides radiius tags to display the results of twitter searches.}
|
|
5
5
|
URL = "http://github.com/radiant/radiant-twitter-extension"
|
|
@@ -13,6 +13,7 @@ Gem::Specification.new do |s|
|
|
|
13
13
|
s.description = RadiantTwitterExtension::DESCRIPTION
|
|
14
14
|
|
|
15
15
|
s.add_dependency 'twitter', "~> 1.6.0"
|
|
16
|
+
s.add_dependency 'bitly', "~> 0.6.1"
|
|
16
17
|
|
|
17
18
|
ignores = if File.exist?('.gitignore')
|
|
18
19
|
File.read('.gitignore').split("\n").inject([]) {|a,p| a + Dir[p] }
|
data/twitter_extension.rb
CHANGED
|
@@ -5,11 +5,6 @@ class TwitterExtension < Radiant::Extension
|
|
|
5
5
|
description RadiantTwitterExtension::DESCRIPTION
|
|
6
6
|
url RadiantTwitterExtension::URL
|
|
7
7
|
|
|
8
|
-
extension_config do |config|
|
|
9
|
-
config.gem "twitter", :version => "~> 1.6.0"
|
|
10
|
-
# config.gem "bitly", :version => "~> 0.6.1"
|
|
11
|
-
end
|
|
12
|
-
|
|
13
8
|
def activate
|
|
14
9
|
Page.send :include, TwitterNotification # tweet page title upon publication
|
|
15
10
|
Page.send :include, TwitterTags # radius tags to display twitter search results
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: radiant-twitter-extension
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 13
|
|
5
5
|
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 2
|
|
8
8
|
- 0
|
|
9
|
-
-
|
|
10
|
-
version: 2.0.
|
|
9
|
+
- 1
|
|
10
|
+
version: 2.0.1
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Sean Cribbs
|
|
@@ -18,7 +18,7 @@ autorequire:
|
|
|
18
18
|
bindir: bin
|
|
19
19
|
cert_chain: []
|
|
20
20
|
|
|
21
|
-
date: 2011-10-
|
|
21
|
+
date: 2011-10-12 00:00:00 Z
|
|
22
22
|
dependencies:
|
|
23
23
|
- !ruby/object:Gem::Dependency
|
|
24
24
|
name: twitter
|
|
@@ -36,6 +36,22 @@ dependencies:
|
|
|
36
36
|
version: 1.6.0
|
|
37
37
|
type: :runtime
|
|
38
38
|
version_requirements: *id001
|
|
39
|
+
- !ruby/object:Gem::Dependency
|
|
40
|
+
name: bitly
|
|
41
|
+
prerelease: false
|
|
42
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
|
43
|
+
none: false
|
|
44
|
+
requirements:
|
|
45
|
+
- - ~>
|
|
46
|
+
- !ruby/object:Gem::Version
|
|
47
|
+
hash: 5
|
|
48
|
+
segments:
|
|
49
|
+
- 0
|
|
50
|
+
- 6
|
|
51
|
+
- 1
|
|
52
|
+
version: 0.6.1
|
|
53
|
+
type: :runtime
|
|
54
|
+
version_requirements: *id002
|
|
39
55
|
description: Posts notification of pages to Twitter and provides radiius tags to display the results of twitter searches.
|
|
40
56
|
email:
|
|
41
57
|
- radiant@radiantcms.org
|
|
@@ -60,7 +76,6 @@ files:
|
|
|
60
76
|
- public/images/twitter/bird.png
|
|
61
77
|
- public/images/twitter/sprite.png
|
|
62
78
|
- public/stylesheets/sass/twitter.sass
|
|
63
|
-
- radiant-twitter-extension-2.0.0.rc1.gem
|
|
64
79
|
- radiant-twitter-extension.gemspec
|
|
65
80
|
- Rakefile
|
|
66
81
|
- README.md
|
|
@@ -75,7 +90,7 @@ files:
|
|
|
75
90
|
homepage: http://github.com/radiant/radiant-twitter-extension
|
|
76
91
|
licenses: []
|
|
77
92
|
|
|
78
|
-
post_install_message: "\n Add this to your radiant project with:\n config.gem 'radiant-twitter-extension', :version => '~>2.0.
|
|
93
|
+
post_install_message: "\n Add this to your radiant project with:\n config.gem 'radiant-twitter-extension', :version => '~>2.0.1'\n "
|
|
79
94
|
rdoc_options: []
|
|
80
95
|
|
|
81
96
|
require_paths:
|
|
Binary file
|