governor_blogger 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.document +5 -0
- data/.rspec +1 -0
- data/Gemfile +28 -0
- data/Gemfile.lock +142 -0
- data/LICENSE.txt +20 -0
- data/README.rdoc +54 -0
- data/Rakefile +50 -0
- data/VERSION +1 -0
- data/config/locales/en.yml +5 -0
- data/governor_blogger.gemspec +194 -0
- data/lib/generators/governor/add_blogger_generator.rb +30 -0
- data/lib/generators/governor/templates/blogger.rb +3 -0
- data/lib/generators/governor/templates/migrations/add_blogger.rb +9 -0
- data/lib/governor_blogger/instance_methods.rb +38 -0
- data/lib/governor_blogger/rails.rb +5 -0
- data/lib/governor_blogger.rb +21 -0
- data/spec/governor_blogger_spec.rb +9 -0
- data/spec/rails_app/.gitignore +4 -0
- data/spec/rails_app/Gemfile +41 -0
- data/spec/rails_app/Gemfile.lock +109 -0
- data/spec/rails_app/README +256 -0
- data/spec/rails_app/Rakefile +7 -0
- data/spec/rails_app/app/controllers/application_controller.rb +4 -0
- data/spec/rails_app/app/controllers/home_controller.rb +2 -0
- data/spec/rails_app/app/helpers/application_helper.rb +2 -0
- data/spec/rails_app/app/helpers/home_helper.rb +2 -0
- data/spec/rails_app/app/models/article.rb +5 -0
- data/spec/rails_app/app/models/user.rb +9 -0
- data/spec/rails_app/app/views/governor/articles/index.xml.builder +5 -0
- data/spec/rails_app/app/views/home/index.html.erb +0 -0
- data/spec/rails_app/app/views/layouts/application.html.erb +23 -0
- data/spec/rails_app/config/application.rb +42 -0
- data/spec/rails_app/config/boot.rb +14 -0
- data/spec/rails_app/config/database.yml +19 -0
- data/spec/rails_app/config/environment.rb +5 -0
- data/spec/rails_app/config/environments/development.rb +26 -0
- data/spec/rails_app/config/environments/production.rb +49 -0
- data/spec/rails_app/config/environments/test.rb +35 -0
- data/spec/rails_app/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/rails_app/config/initializers/blogger.rb +3 -0
- data/spec/rails_app/config/initializers/delayed_job_config.rb +5 -0
- data/spec/rails_app/config/initializers/devise.rb +142 -0
- data/spec/rails_app/config/initializers/governor.rb +36 -0
- data/spec/rails_app/config/initializers/inflections.rb +10 -0
- data/spec/rails_app/config/initializers/mime_types.rb +5 -0
- data/spec/rails_app/config/initializers/secret_token.rb +7 -0
- data/spec/rails_app/config/initializers/session_store.rb +8 -0
- data/spec/rails_app/config/locales/devise.en.yml +39 -0
- data/spec/rails_app/config/locales/en.yml +5 -0
- data/spec/rails_app/config/routes.rb +64 -0
- data/spec/rails_app/config.ru +4 -0
- data/spec/rails_app/db/migrate/20110329032256_devise_create_users.rb +26 -0
- data/spec/rails_app/db/migrate/20110330020108_governor_create_articles.rb +15 -0
- data/spec/rails_app/db/migrate/20110421033536_governor_add_blogger.rb +9 -0
- data/spec/rails_app/db/migrate/20110421042239_create_delayed_jobs.rb +21 -0
- data/spec/rails_app/db/schema.rb +60 -0
- data/spec/rails_app/db/seeds.rb +7 -0
- data/spec/rails_app/lib/tasks/.gitkeep +0 -0
- data/spec/rails_app/public/404.html +26 -0
- data/spec/rails_app/public/422.html +26 -0
- data/spec/rails_app/public/500.html +26 -0
- data/spec/rails_app/public/favicon.ico +0 -0
- data/spec/rails_app/public/images/rails.png +0 -0
- data/spec/rails_app/public/javascripts/application.js +2 -0
- data/spec/rails_app/public/javascripts/controls.js +965 -0
- data/spec/rails_app/public/javascripts/dragdrop.js +974 -0
- data/spec/rails_app/public/javascripts/effects.js +1123 -0
- data/spec/rails_app/public/javascripts/prototype.js +6001 -0
- data/spec/rails_app/public/javascripts/rails.js +191 -0
- data/spec/rails_app/public/robots.txt +5 -0
- data/spec/rails_app/public/stylesheets/.gitkeep +0 -0
- data/spec/rails_app/script/delayed_job +5 -0
- data/spec/rails_app/script/rails +6 -0
- data/spec/rails_app/spec/factories.rb +12 -0
- data/spec/rails_app/vendor/plugins/.gitkeep +0 -0
- data/spec/spec_helper.rb +36 -0
- metadata +405 -0
@@ -0,0 +1,191 @@
|
|
1
|
+
(function() {
|
2
|
+
// Technique from Juriy Zaytsev
|
3
|
+
// http://thinkweb2.com/projects/prototype/detecting-event-support-without-browser-sniffing/
|
4
|
+
function isEventSupported(eventName) {
|
5
|
+
var el = document.createElement('div');
|
6
|
+
eventName = 'on' + eventName;
|
7
|
+
var isSupported = (eventName in el);
|
8
|
+
if (!isSupported) {
|
9
|
+
el.setAttribute(eventName, 'return;');
|
10
|
+
isSupported = typeof el[eventName] == 'function';
|
11
|
+
}
|
12
|
+
el = null;
|
13
|
+
return isSupported;
|
14
|
+
}
|
15
|
+
|
16
|
+
function isForm(element) {
|
17
|
+
return Object.isElement(element) && element.nodeName.toUpperCase() == 'FORM'
|
18
|
+
}
|
19
|
+
|
20
|
+
function isInput(element) {
|
21
|
+
if (Object.isElement(element)) {
|
22
|
+
var name = element.nodeName.toUpperCase()
|
23
|
+
return name == 'INPUT' || name == 'SELECT' || name == 'TEXTAREA'
|
24
|
+
}
|
25
|
+
else return false
|
26
|
+
}
|
27
|
+
|
28
|
+
var submitBubbles = isEventSupported('submit'),
|
29
|
+
changeBubbles = isEventSupported('change')
|
30
|
+
|
31
|
+
if (!submitBubbles || !changeBubbles) {
|
32
|
+
// augment the Event.Handler class to observe custom events when needed
|
33
|
+
Event.Handler.prototype.initialize = Event.Handler.prototype.initialize.wrap(
|
34
|
+
function(init, element, eventName, selector, callback) {
|
35
|
+
init(element, eventName, selector, callback)
|
36
|
+
// is the handler being attached to an element that doesn't support this event?
|
37
|
+
if ( (!submitBubbles && this.eventName == 'submit' && !isForm(this.element)) ||
|
38
|
+
(!changeBubbles && this.eventName == 'change' && !isInput(this.element)) ) {
|
39
|
+
// "submit" => "emulated:submit"
|
40
|
+
this.eventName = 'emulated:' + this.eventName
|
41
|
+
}
|
42
|
+
}
|
43
|
+
)
|
44
|
+
}
|
45
|
+
|
46
|
+
if (!submitBubbles) {
|
47
|
+
// discover forms on the page by observing focus events which always bubble
|
48
|
+
document.on('focusin', 'form', function(focusEvent, form) {
|
49
|
+
// special handler for the real "submit" event (one-time operation)
|
50
|
+
if (!form.retrieve('emulated:submit')) {
|
51
|
+
form.on('submit', function(submitEvent) {
|
52
|
+
var emulated = form.fire('emulated:submit', submitEvent, true)
|
53
|
+
// if custom event received preventDefault, cancel the real one too
|
54
|
+
if (emulated.returnValue === false) submitEvent.preventDefault()
|
55
|
+
})
|
56
|
+
form.store('emulated:submit', true)
|
57
|
+
}
|
58
|
+
})
|
59
|
+
}
|
60
|
+
|
61
|
+
if (!changeBubbles) {
|
62
|
+
// discover form inputs on the page
|
63
|
+
document.on('focusin', 'input, select, texarea', function(focusEvent, input) {
|
64
|
+
// special handler for real "change" events
|
65
|
+
if (!input.retrieve('emulated:change')) {
|
66
|
+
input.on('change', function(changeEvent) {
|
67
|
+
input.fire('emulated:change', changeEvent, true)
|
68
|
+
})
|
69
|
+
input.store('emulated:change', true)
|
70
|
+
}
|
71
|
+
})
|
72
|
+
}
|
73
|
+
|
74
|
+
function handleRemote(element) {
|
75
|
+
var method, url, params;
|
76
|
+
|
77
|
+
var event = element.fire("ajax:before");
|
78
|
+
if (event.stopped) return false;
|
79
|
+
|
80
|
+
if (element.tagName.toLowerCase() === 'form') {
|
81
|
+
method = element.readAttribute('method') || 'post';
|
82
|
+
url = element.readAttribute('action');
|
83
|
+
params = element.serialize();
|
84
|
+
} else {
|
85
|
+
method = element.readAttribute('data-method') || 'get';
|
86
|
+
url = element.readAttribute('href');
|
87
|
+
params = {};
|
88
|
+
}
|
89
|
+
|
90
|
+
new Ajax.Request(url, {
|
91
|
+
method: method,
|
92
|
+
parameters: params,
|
93
|
+
evalScripts: true,
|
94
|
+
|
95
|
+
onComplete: function(request) { element.fire("ajax:complete", request); },
|
96
|
+
onSuccess: function(request) { element.fire("ajax:success", request); },
|
97
|
+
onFailure: function(request) { element.fire("ajax:failure", request); }
|
98
|
+
});
|
99
|
+
|
100
|
+
element.fire("ajax:after");
|
101
|
+
}
|
102
|
+
|
103
|
+
function handleMethod(element) {
|
104
|
+
var method = element.readAttribute('data-method'),
|
105
|
+
url = element.readAttribute('href'),
|
106
|
+
csrf_param = $$('meta[name=csrf-param]')[0],
|
107
|
+
csrf_token = $$('meta[name=csrf-token]')[0];
|
108
|
+
|
109
|
+
var form = new Element('form', { method: "POST", action: url, style: "display: none;" });
|
110
|
+
element.parentNode.insert(form);
|
111
|
+
|
112
|
+
if (method !== 'post') {
|
113
|
+
var field = new Element('input', { type: 'hidden', name: '_method', value: method });
|
114
|
+
form.insert(field);
|
115
|
+
}
|
116
|
+
|
117
|
+
if (csrf_param) {
|
118
|
+
var param = csrf_param.readAttribute('content'),
|
119
|
+
token = csrf_token.readAttribute('content'),
|
120
|
+
field = new Element('input', { type: 'hidden', name: param, value: token });
|
121
|
+
form.insert(field);
|
122
|
+
}
|
123
|
+
|
124
|
+
form.submit();
|
125
|
+
}
|
126
|
+
|
127
|
+
|
128
|
+
document.on("click", "*[data-confirm]", function(event, element) {
|
129
|
+
var message = element.readAttribute('data-confirm');
|
130
|
+
if (!confirm(message)) event.stop();
|
131
|
+
});
|
132
|
+
|
133
|
+
document.on("click", "a[data-remote]", function(event, element) {
|
134
|
+
if (event.stopped) return;
|
135
|
+
handleRemote(element);
|
136
|
+
event.stop();
|
137
|
+
});
|
138
|
+
|
139
|
+
document.on("click", "a[data-method]", function(event, element) {
|
140
|
+
if (event.stopped) return;
|
141
|
+
handleMethod(element);
|
142
|
+
event.stop();
|
143
|
+
});
|
144
|
+
|
145
|
+
document.on("submit", function(event) {
|
146
|
+
var element = event.findElement(),
|
147
|
+
message = element.readAttribute('data-confirm');
|
148
|
+
if (message && !confirm(message)) {
|
149
|
+
event.stop();
|
150
|
+
return false;
|
151
|
+
}
|
152
|
+
|
153
|
+
var inputs = element.select("input[type=submit][data-disable-with]");
|
154
|
+
inputs.each(function(input) {
|
155
|
+
input.disabled = true;
|
156
|
+
input.writeAttribute('data-original-value', input.value);
|
157
|
+
input.value = input.readAttribute('data-disable-with');
|
158
|
+
});
|
159
|
+
|
160
|
+
var element = event.findElement("form[data-remote]");
|
161
|
+
if (element) {
|
162
|
+
handleRemote(element);
|
163
|
+
event.stop();
|
164
|
+
}
|
165
|
+
});
|
166
|
+
|
167
|
+
document.on("ajax:after", "form", function(event, element) {
|
168
|
+
var inputs = element.select("input[type=submit][disabled=true][data-disable-with]");
|
169
|
+
inputs.each(function(input) {
|
170
|
+
input.value = input.readAttribute('data-original-value');
|
171
|
+
input.removeAttribute('data-original-value');
|
172
|
+
input.disabled = false;
|
173
|
+
});
|
174
|
+
});
|
175
|
+
|
176
|
+
Ajax.Responders.register({
|
177
|
+
onCreate: function(request) {
|
178
|
+
var csrf_meta_tag = $$('meta[name=csrf-token]')[0];
|
179
|
+
|
180
|
+
if (csrf_meta_tag) {
|
181
|
+
var header = 'X-CSRF-Token',
|
182
|
+
token = csrf_meta_tag.readAttribute('content');
|
183
|
+
|
184
|
+
if (!request.options.requestHeaders) {
|
185
|
+
request.options.requestHeaders = {};
|
186
|
+
}
|
187
|
+
request.options.requestHeaders[header] = token;
|
188
|
+
}
|
189
|
+
}
|
190
|
+
});
|
191
|
+
})();
|
File without changes
|
@@ -0,0 +1,6 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
# This command will automatically be run when you run "rails" with Rails 3 gems installed from the root of your application.
|
3
|
+
|
4
|
+
APP_PATH = File.expand_path('../../config/application', __FILE__)
|
5
|
+
require File.expand_path('../../config/boot', __FILE__)
|
6
|
+
require 'rails/commands'
|
@@ -0,0 +1,12 @@
|
|
1
|
+
FactoryGirl.define do
|
2
|
+
factory :article do |a|
|
3
|
+
a.title "Some article"
|
4
|
+
a.post "This is the post. It shouldn't be blank."
|
5
|
+
end
|
6
|
+
|
7
|
+
factory :user do |u|
|
8
|
+
u.email 'blago@mayor.cityofchicago.org'
|
9
|
+
u.password 'ca$hmoney'
|
10
|
+
u.password_confirmation 'ca$hmoney'
|
11
|
+
end
|
12
|
+
end
|
File without changes
|
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,36 @@
|
|
1
|
+
ENV['RAILS_ENV'] ||= 'test'
|
2
|
+
|
3
|
+
require File.expand_path('../rails_app/config/environment.rb', __FILE__)
|
4
|
+
|
5
|
+
require 'bundler'
|
6
|
+
Bundler.setup
|
7
|
+
|
8
|
+
require 'rspec'
|
9
|
+
require 'rspec/rails'
|
10
|
+
# require 'active_support/core_ext'
|
11
|
+
# require 'rails/test_help'
|
12
|
+
|
13
|
+
Dir[Rails.root.join('spec/support/**/*.rb')].each {|f| require f}
|
14
|
+
|
15
|
+
ActiveRecord::Migrator.migrate File.expand_path('../rails_app/db/migrate/', __FILE__)
|
16
|
+
|
17
|
+
Rspec.configure do |config|
|
18
|
+
config.mock_with :mocha
|
19
|
+
|
20
|
+
config.use_transactional_fixtures = true
|
21
|
+
end
|
22
|
+
|
23
|
+
# for removing plugins added in a test to make sure they don't bleed over
|
24
|
+
module Governor
|
25
|
+
class PluginManager
|
26
|
+
def self.remove_plugin(plugin_or_name)
|
27
|
+
case plugin_or_name
|
28
|
+
when Plugin then return @@plugins.delete(plugin_or_name)
|
29
|
+
else # Plugin Name
|
30
|
+
@@plugins.each do |plugin|
|
31
|
+
return @@plugins.delete(plugin) if plugin.name == plugin_or_name
|
32
|
+
end
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
36
|
+
end
|
metadata
ADDED
@@ -0,0 +1,405 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: governor_blogger
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 27
|
5
|
+
prerelease: false
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 1
|
9
|
+
- 0
|
10
|
+
version: 0.1.0
|
11
|
+
platform: ruby
|
12
|
+
authors:
|
13
|
+
- Liam Morley
|
14
|
+
autorequire:
|
15
|
+
bindir: bin
|
16
|
+
cert_chain: []
|
17
|
+
|
18
|
+
date: 2011-04-24 00:00:00 -04:00
|
19
|
+
default_executable:
|
20
|
+
dependencies:
|
21
|
+
- !ruby/object:Gem::Dependency
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
name: gdata
|
25
|
+
version_requirements: &id001 !ruby/object:Gem::Requirement
|
26
|
+
none: false
|
27
|
+
requirements:
|
28
|
+
- - ">="
|
29
|
+
- !ruby/object:Gem::Version
|
30
|
+
hash: 3
|
31
|
+
segments:
|
32
|
+
- 0
|
33
|
+
version: "0"
|
34
|
+
requirement: *id001
|
35
|
+
- !ruby/object:Gem::Dependency
|
36
|
+
type: :runtime
|
37
|
+
prerelease: false
|
38
|
+
name: nokogiri
|
39
|
+
version_requirements: &id002 !ruby/object:Gem::Requirement
|
40
|
+
none: false
|
41
|
+
requirements:
|
42
|
+
- - ">="
|
43
|
+
- !ruby/object:Gem::Version
|
44
|
+
hash: 3
|
45
|
+
segments:
|
46
|
+
- 0
|
47
|
+
version: "0"
|
48
|
+
requirement: *id002
|
49
|
+
- !ruby/object:Gem::Dependency
|
50
|
+
type: :runtime
|
51
|
+
prerelease: false
|
52
|
+
name: governor
|
53
|
+
version_requirements: &id003 !ruby/object:Gem::Requirement
|
54
|
+
none: false
|
55
|
+
requirements:
|
56
|
+
- - ">="
|
57
|
+
- !ruby/object:Gem::Version
|
58
|
+
hash: 3
|
59
|
+
segments:
|
60
|
+
- 0
|
61
|
+
version: "0"
|
62
|
+
requirement: *id003
|
63
|
+
- !ruby/object:Gem::Dependency
|
64
|
+
type: :runtime
|
65
|
+
prerelease: false
|
66
|
+
name: governor_background
|
67
|
+
version_requirements: &id004 !ruby/object:Gem::Requirement
|
68
|
+
none: false
|
69
|
+
requirements:
|
70
|
+
- - ">="
|
71
|
+
- !ruby/object:Gem::Version
|
72
|
+
hash: 3
|
73
|
+
segments:
|
74
|
+
- 0
|
75
|
+
version: "0"
|
76
|
+
requirement: *id004
|
77
|
+
- !ruby/object:Gem::Dependency
|
78
|
+
type: :development
|
79
|
+
prerelease: false
|
80
|
+
name: jeweler
|
81
|
+
version_requirements: &id005 !ruby/object:Gem::Requirement
|
82
|
+
none: false
|
83
|
+
requirements:
|
84
|
+
- - ~>
|
85
|
+
- !ruby/object:Gem::Version
|
86
|
+
hash: 7
|
87
|
+
segments:
|
88
|
+
- 1
|
89
|
+
- 5
|
90
|
+
- 2
|
91
|
+
version: 1.5.2
|
92
|
+
requirement: *id005
|
93
|
+
- !ruby/object:Gem::Dependency
|
94
|
+
type: :development
|
95
|
+
prerelease: false
|
96
|
+
name: sqlite3
|
97
|
+
version_requirements: &id006 !ruby/object:Gem::Requirement
|
98
|
+
none: false
|
99
|
+
requirements:
|
100
|
+
- - ">="
|
101
|
+
- !ruby/object:Gem::Version
|
102
|
+
hash: 3
|
103
|
+
segments:
|
104
|
+
- 0
|
105
|
+
version: "0"
|
106
|
+
requirement: *id006
|
107
|
+
- !ruby/object:Gem::Dependency
|
108
|
+
type: :development
|
109
|
+
prerelease: false
|
110
|
+
name: rspec-rails
|
111
|
+
version_requirements: &id007 !ruby/object:Gem::Requirement
|
112
|
+
none: false
|
113
|
+
requirements:
|
114
|
+
- - ">="
|
115
|
+
- !ruby/object:Gem::Version
|
116
|
+
hash: 3
|
117
|
+
segments:
|
118
|
+
- 0
|
119
|
+
version: "0"
|
120
|
+
requirement: *id007
|
121
|
+
- !ruby/object:Gem::Dependency
|
122
|
+
type: :development
|
123
|
+
prerelease: false
|
124
|
+
name: mocha
|
125
|
+
version_requirements: &id008 !ruby/object:Gem::Requirement
|
126
|
+
none: false
|
127
|
+
requirements:
|
128
|
+
- - ">="
|
129
|
+
- !ruby/object:Gem::Version
|
130
|
+
hash: 3
|
131
|
+
segments:
|
132
|
+
- 0
|
133
|
+
version: "0"
|
134
|
+
requirement: *id008
|
135
|
+
- !ruby/object:Gem::Dependency
|
136
|
+
type: :development
|
137
|
+
prerelease: false
|
138
|
+
name: factory_girl
|
139
|
+
version_requirements: &id009 !ruby/object:Gem::Requirement
|
140
|
+
none: false
|
141
|
+
requirements:
|
142
|
+
- - ~>
|
143
|
+
- !ruby/object:Gem::Version
|
144
|
+
hash: 31098209
|
145
|
+
segments:
|
146
|
+
- 2
|
147
|
+
- 0
|
148
|
+
- 0
|
149
|
+
- beta
|
150
|
+
version: 2.0.0.beta
|
151
|
+
requirement: *id009
|
152
|
+
- !ruby/object:Gem::Dependency
|
153
|
+
type: :development
|
154
|
+
prerelease: false
|
155
|
+
name: factory_girl_rails
|
156
|
+
version_requirements: &id010 !ruby/object:Gem::Requirement
|
157
|
+
none: false
|
158
|
+
requirements:
|
159
|
+
- - ~>
|
160
|
+
- !ruby/object:Gem::Version
|
161
|
+
hash: 31098141
|
162
|
+
segments:
|
163
|
+
- 1
|
164
|
+
- 1
|
165
|
+
- beta
|
166
|
+
version: 1.1.beta
|
167
|
+
requirement: *id010
|
168
|
+
- !ruby/object:Gem::Dependency
|
169
|
+
type: :development
|
170
|
+
prerelease: false
|
171
|
+
name: activerecord-nulldb-adapter
|
172
|
+
version_requirements: &id011 !ruby/object:Gem::Requirement
|
173
|
+
none: false
|
174
|
+
requirements:
|
175
|
+
- - ">="
|
176
|
+
- !ruby/object:Gem::Version
|
177
|
+
hash: 3
|
178
|
+
segments:
|
179
|
+
- 0
|
180
|
+
version: "0"
|
181
|
+
requirement: *id011
|
182
|
+
- !ruby/object:Gem::Dependency
|
183
|
+
type: :development
|
184
|
+
prerelease: false
|
185
|
+
name: will_paginate
|
186
|
+
version_requirements: &id012 !ruby/object:Gem::Requirement
|
187
|
+
none: false
|
188
|
+
requirements:
|
189
|
+
- - ~>
|
190
|
+
- !ruby/object:Gem::Version
|
191
|
+
hash: 31098121
|
192
|
+
segments:
|
193
|
+
- 3
|
194
|
+
- 0
|
195
|
+
- beta
|
196
|
+
version: 3.0.beta
|
197
|
+
requirement: *id012
|
198
|
+
- !ruby/object:Gem::Dependency
|
199
|
+
type: :development
|
200
|
+
prerelease: false
|
201
|
+
name: devise
|
202
|
+
version_requirements: &id013 !ruby/object:Gem::Requirement
|
203
|
+
none: false
|
204
|
+
requirements:
|
205
|
+
- - ">="
|
206
|
+
- !ruby/object:Gem::Version
|
207
|
+
hash: 3
|
208
|
+
segments:
|
209
|
+
- 0
|
210
|
+
version: "0"
|
211
|
+
requirement: *id013
|
212
|
+
- !ruby/object:Gem::Dependency
|
213
|
+
type: :development
|
214
|
+
prerelease: false
|
215
|
+
name: governor_blogger
|
216
|
+
version_requirements: &id014 !ruby/object:Gem::Requirement
|
217
|
+
none: false
|
218
|
+
requirements:
|
219
|
+
- - ">="
|
220
|
+
- !ruby/object:Gem::Version
|
221
|
+
hash: 3
|
222
|
+
segments:
|
223
|
+
- 0
|
224
|
+
version: "0"
|
225
|
+
requirement: *id014
|
226
|
+
- !ruby/object:Gem::Dependency
|
227
|
+
type: :development
|
228
|
+
prerelease: false
|
229
|
+
name: delayed_job
|
230
|
+
version_requirements: &id015 !ruby/object:Gem::Requirement
|
231
|
+
none: false
|
232
|
+
requirements:
|
233
|
+
- - ">="
|
234
|
+
- !ruby/object:Gem::Version
|
235
|
+
hash: 3
|
236
|
+
segments:
|
237
|
+
- 0
|
238
|
+
version: "0"
|
239
|
+
requirement: *id015
|
240
|
+
- !ruby/object:Gem::Dependency
|
241
|
+
type: :development
|
242
|
+
prerelease: false
|
243
|
+
name: dynamic_form
|
244
|
+
version_requirements: &id016 !ruby/object:Gem::Requirement
|
245
|
+
none: false
|
246
|
+
requirements:
|
247
|
+
- - ">="
|
248
|
+
- !ruby/object:Gem::Version
|
249
|
+
hash: 3
|
250
|
+
segments:
|
251
|
+
- 0
|
252
|
+
version: "0"
|
253
|
+
requirement: *id016
|
254
|
+
description: A plugin for the Rails 3-based Governor blogging system that posts and updates articles to Blogger.com.
|
255
|
+
email: liam@carpeliam.com
|
256
|
+
executables: []
|
257
|
+
|
258
|
+
extensions: []
|
259
|
+
|
260
|
+
extra_rdoc_files:
|
261
|
+
- LICENSE.txt
|
262
|
+
- README.rdoc
|
263
|
+
files:
|
264
|
+
- .document
|
265
|
+
- .rspec
|
266
|
+
- Gemfile
|
267
|
+
- Gemfile.lock
|
268
|
+
- LICENSE.txt
|
269
|
+
- README.rdoc
|
270
|
+
- Rakefile
|
271
|
+
- VERSION
|
272
|
+
- config/locales/en.yml
|
273
|
+
- governor_blogger.gemspec
|
274
|
+
- lib/generators/governor/add_blogger_generator.rb
|
275
|
+
- lib/generators/governor/templates/blogger.rb
|
276
|
+
- lib/generators/governor/templates/migrations/add_blogger.rb
|
277
|
+
- lib/governor_blogger.rb
|
278
|
+
- lib/governor_blogger/instance_methods.rb
|
279
|
+
- lib/governor_blogger/rails.rb
|
280
|
+
- spec/governor_blogger_spec.rb
|
281
|
+
- spec/rails_app/.gitignore
|
282
|
+
- spec/rails_app/Gemfile
|
283
|
+
- spec/rails_app/Gemfile.lock
|
284
|
+
- spec/rails_app/README
|
285
|
+
- spec/rails_app/Rakefile
|
286
|
+
- spec/rails_app/app/controllers/application_controller.rb
|
287
|
+
- spec/rails_app/app/controllers/home_controller.rb
|
288
|
+
- spec/rails_app/app/helpers/application_helper.rb
|
289
|
+
- spec/rails_app/app/helpers/home_helper.rb
|
290
|
+
- spec/rails_app/app/models/article.rb
|
291
|
+
- spec/rails_app/app/models/user.rb
|
292
|
+
- spec/rails_app/app/views/governor/articles/index.xml.builder
|
293
|
+
- spec/rails_app/app/views/home/index.html.erb
|
294
|
+
- spec/rails_app/app/views/layouts/application.html.erb
|
295
|
+
- spec/rails_app/config.ru
|
296
|
+
- spec/rails_app/config/application.rb
|
297
|
+
- spec/rails_app/config/boot.rb
|
298
|
+
- spec/rails_app/config/database.yml
|
299
|
+
- spec/rails_app/config/environment.rb
|
300
|
+
- spec/rails_app/config/environments/development.rb
|
301
|
+
- spec/rails_app/config/environments/production.rb
|
302
|
+
- spec/rails_app/config/environments/test.rb
|
303
|
+
- spec/rails_app/config/initializers/backtrace_silencers.rb
|
304
|
+
- spec/rails_app/config/initializers/blogger.rb
|
305
|
+
- spec/rails_app/config/initializers/delayed_job_config.rb
|
306
|
+
- spec/rails_app/config/initializers/devise.rb
|
307
|
+
- spec/rails_app/config/initializers/governor.rb
|
308
|
+
- spec/rails_app/config/initializers/inflections.rb
|
309
|
+
- spec/rails_app/config/initializers/mime_types.rb
|
310
|
+
- spec/rails_app/config/initializers/secret_token.rb
|
311
|
+
- spec/rails_app/config/initializers/session_store.rb
|
312
|
+
- spec/rails_app/config/locales/devise.en.yml
|
313
|
+
- spec/rails_app/config/locales/en.yml
|
314
|
+
- spec/rails_app/config/routes.rb
|
315
|
+
- spec/rails_app/db/migrate/20110329032256_devise_create_users.rb
|
316
|
+
- spec/rails_app/db/migrate/20110330020108_governor_create_articles.rb
|
317
|
+
- spec/rails_app/db/migrate/20110421033536_governor_add_blogger.rb
|
318
|
+
- spec/rails_app/db/migrate/20110421042239_create_delayed_jobs.rb
|
319
|
+
- spec/rails_app/db/schema.rb
|
320
|
+
- spec/rails_app/db/seeds.rb
|
321
|
+
- spec/rails_app/lib/tasks/.gitkeep
|
322
|
+
- spec/rails_app/public/404.html
|
323
|
+
- spec/rails_app/public/422.html
|
324
|
+
- spec/rails_app/public/500.html
|
325
|
+
- spec/rails_app/public/favicon.ico
|
326
|
+
- spec/rails_app/public/images/rails.png
|
327
|
+
- spec/rails_app/public/javascripts/application.js
|
328
|
+
- spec/rails_app/public/javascripts/controls.js
|
329
|
+
- spec/rails_app/public/javascripts/dragdrop.js
|
330
|
+
- spec/rails_app/public/javascripts/effects.js
|
331
|
+
- spec/rails_app/public/javascripts/prototype.js
|
332
|
+
- spec/rails_app/public/javascripts/rails.js
|
333
|
+
- spec/rails_app/public/robots.txt
|
334
|
+
- spec/rails_app/public/stylesheets/.gitkeep
|
335
|
+
- spec/rails_app/script/delayed_job
|
336
|
+
- spec/rails_app/script/rails
|
337
|
+
- spec/rails_app/spec/factories.rb
|
338
|
+
- spec/rails_app/vendor/plugins/.gitkeep
|
339
|
+
- spec/spec_helper.rb
|
340
|
+
has_rdoc: true
|
341
|
+
homepage: http://github.com/carpeliam/governor_blogger
|
342
|
+
licenses:
|
343
|
+
- MIT
|
344
|
+
post_install_message:
|
345
|
+
rdoc_options: []
|
346
|
+
|
347
|
+
require_paths:
|
348
|
+
- lib
|
349
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
350
|
+
none: false
|
351
|
+
requirements:
|
352
|
+
- - ">="
|
353
|
+
- !ruby/object:Gem::Version
|
354
|
+
hash: 3
|
355
|
+
segments:
|
356
|
+
- 0
|
357
|
+
version: "0"
|
358
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
359
|
+
none: false
|
360
|
+
requirements:
|
361
|
+
- - ">="
|
362
|
+
- !ruby/object:Gem::Version
|
363
|
+
hash: 3
|
364
|
+
segments:
|
365
|
+
- 0
|
366
|
+
version: "0"
|
367
|
+
requirements: []
|
368
|
+
|
369
|
+
rubyforge_project:
|
370
|
+
rubygems_version: 1.3.7
|
371
|
+
signing_key:
|
372
|
+
specification_version: 3
|
373
|
+
summary: A plugin that connects Governor with a Blogger account.
|
374
|
+
test_files:
|
375
|
+
- spec/governor_blogger_spec.rb
|
376
|
+
- spec/rails_app/app/controllers/application_controller.rb
|
377
|
+
- spec/rails_app/app/controllers/home_controller.rb
|
378
|
+
- spec/rails_app/app/helpers/application_helper.rb
|
379
|
+
- spec/rails_app/app/helpers/home_helper.rb
|
380
|
+
- spec/rails_app/app/models/article.rb
|
381
|
+
- spec/rails_app/app/models/user.rb
|
382
|
+
- spec/rails_app/config/application.rb
|
383
|
+
- spec/rails_app/config/boot.rb
|
384
|
+
- spec/rails_app/config/environment.rb
|
385
|
+
- spec/rails_app/config/environments/development.rb
|
386
|
+
- spec/rails_app/config/environments/production.rb
|
387
|
+
- spec/rails_app/config/environments/test.rb
|
388
|
+
- spec/rails_app/config/initializers/backtrace_silencers.rb
|
389
|
+
- spec/rails_app/config/initializers/blogger.rb
|
390
|
+
- spec/rails_app/config/initializers/delayed_job_config.rb
|
391
|
+
- spec/rails_app/config/initializers/devise.rb
|
392
|
+
- spec/rails_app/config/initializers/governor.rb
|
393
|
+
- spec/rails_app/config/initializers/inflections.rb
|
394
|
+
- spec/rails_app/config/initializers/mime_types.rb
|
395
|
+
- spec/rails_app/config/initializers/secret_token.rb
|
396
|
+
- spec/rails_app/config/initializers/session_store.rb
|
397
|
+
- spec/rails_app/config/routes.rb
|
398
|
+
- spec/rails_app/db/migrate/20110329032256_devise_create_users.rb
|
399
|
+
- spec/rails_app/db/migrate/20110330020108_governor_create_articles.rb
|
400
|
+
- spec/rails_app/db/migrate/20110421033536_governor_add_blogger.rb
|
401
|
+
- spec/rails_app/db/migrate/20110421042239_create_delayed_jobs.rb
|
402
|
+
- spec/rails_app/db/schema.rb
|
403
|
+
- spec/rails_app/db/seeds.rb
|
404
|
+
- spec/rails_app/spec/factories.rb
|
405
|
+
- spec/spec_helper.rb
|