radiant-flapper-extension 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -1,6 +1,10 @@
1
1
  A tweet pusher for Radiant CMS
2
2
  https://github.com/johnmuhl/flapper
3
3
 
4
+ # Overview
5
+
6
+ Flapper adds a checkbox to enable Twitter notifications for a page's children; to the children of that page it adds a "Tweet" page field. Anything in the Tweet page field plus a Google shortened URL (of the current page) will be posted to Twitter upon page publication. The message is automatically trimmed to fit in 140 characters; i.e. some of the content of the Tweet page field may be removed to make room for the URL.
7
+
4
8
  # Install
5
9
 
6
10
  ```bash
@@ -51,7 +55,7 @@ From the Radiant admin find the page whose children you want to tweet and check
51
55
 
52
56
  # Notes
53
57
 
54
- Much code (and db schema) lifted from the original [Twitter extension by Sean Cribbs][cribbs]. As a result you should be able to drop Flapper in as a replacement when you decided to upgrade to Radiant 1.x.
58
+ Much code (and db schema) lifted from the original [Twitter extension by Sean Cribbs][cribbs]. As a result you should be able to drop Flapper in as a replacement when you decided to upgrade to Radiant 1.x (assuming you only need to push).
55
59
 
56
60
  Written in a fit so no tests and probably many subtle (and not so subtle) bugs not to mention all the code is just stuffed in `#activate`. May not work with Radiant < master.
57
61
 
@@ -9,8 +9,6 @@ class FlapperExtension < Radiant::Extension
9
9
  url "https://github.com/johnmuhl/flapper"
10
10
 
11
11
  extension_config do |config|
12
- config.gem "googl", :version => "~> 0.5.0"
13
- config.gem "twitter", :version => "~> 1.5.0"
14
12
  config.after_initialize do
15
13
  if ["flapper.username", "flapper.domain", "flapper.consumer_key",
16
14
  "flapper.consumer_secret", "flapper.oauth_token",
@@ -1,5 +1,5 @@
1
1
  module RadiantFlapperExtension
2
2
 
3
- VERSION = "0.1.0"
3
+ VERSION = "0.1.1"
4
4
 
5
5
  end
metadata CHANGED
@@ -1,13 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: radiant-flapper-extension
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
5
4
  prerelease: false
6
5
  segments:
7
6
  - 0
8
7
  - 1
9
- - 0
10
- version: 0.1.0
8
+ - 1
9
+ version: 0.1.1
11
10
  platform: ruby
12
11
  authors:
13
12
  - john muhl
@@ -15,18 +14,16 @@ autorequire:
15
14
  bindir: bin
16
15
  cert_chain: []
17
16
 
18
- date: 2011-06-09 00:00:00 -05:00
17
+ date: 2011-08-17 00:00:00 -05:00
19
18
  default_executable:
20
19
  dependencies:
21
20
  - !ruby/object:Gem::Dependency
22
21
  name: googl
23
22
  prerelease: false
24
23
  requirement: &id001 !ruby/object:Gem::Requirement
25
- none: false
26
24
  requirements:
27
25
  - - ~>
28
26
  - !ruby/object:Gem::Version
29
- hash: 11
30
27
  segments:
31
28
  - 0
32
29
  - 5
@@ -38,11 +35,9 @@ dependencies:
38
35
  name: twitter
39
36
  prerelease: false
40
37
  requirement: &id002 !ruby/object:Gem::Requirement
41
- none: false
42
38
  requirements:
43
39
  - - ~>
44
40
  - !ruby/object:Gem::Version
45
- hash: 3
46
41
  segments:
47
42
  - 1
48
43
  - 5
@@ -82,33 +77,29 @@ has_rdoc: true
82
77
  homepage: https://github.com/johnmuhl/flapper
83
78
  licenses: []
84
79
 
85
- post_install_message: "\n Add this to your radiant project with:\n config.gem \"radiant-flapper-extension\", :version => \"~> 0.1.0\"\n "
80
+ post_install_message: "\n Add this to your radiant project with:\n config.gem \"radiant-flapper-extension\", :version => \"~> 0.1.1\"\n "
86
81
  rdoc_options: []
87
82
 
88
83
  require_paths:
89
84
  - lib
90
85
  required_ruby_version: !ruby/object:Gem::Requirement
91
- none: false
92
86
  requirements:
93
87
  - - ">="
94
88
  - !ruby/object:Gem::Version
95
- hash: 3
96
89
  segments:
97
90
  - 0
98
91
  version: "0"
99
92
  required_rubygems_version: !ruby/object:Gem::Requirement
100
- none: false
101
93
  requirements:
102
94
  - - ">="
103
95
  - !ruby/object:Gem::Version
104
- hash: 3
105
96
  segments:
106
97
  - 0
107
98
  version: "0"
108
99
  requirements: []
109
100
 
110
101
  rubyforge_project:
111
- rubygems_version: 1.3.7
102
+ rubygems_version: 1.3.6
112
103
  signing_key:
113
104
  specification_version: 3
114
105
  summary: Post Twitter updates from Radiant CMS