miniblog 1.0.0.beta
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.autotest +5 -0
- data/.gitignore +17 -0
- data/.rspec +2 -0
- data/.simplecov +13 -0
- data/.travis.yml +17 -0
- data/CHANGELOG.md +7 -0
- data/Gemfile +20 -0
- data/Gemfile.4.1 +19 -0
- data/MIT-LICENSE +20 -0
- data/README.md +86 -0
- data/Rakefile +29 -0
- data/app/assets/images/crowdblog/.gitkeep +0 -0
- data/app/assets/javascripts/miniblog.js +7 -0
- data/app/assets/javascripts/miniblog/alerts.js +5 -0
- data/app/assets/javascripts/miniblog/form-errors.js +3 -0
- data/app/assets/stylesheets/application.css +3 -0
- data/app/assets/stylesheets/miniblog.css +5 -0
- data/app/assets/stylesheets/miniblog/bootstrap_and_overrides.css.scss +1 -0
- data/app/assets/stylesheets/miniblog/posts.css.scss +34 -0
- data/app/controllers/miniblog/admin/assets_controller.rb +20 -0
- data/app/controllers/miniblog/admin/base_controller.rb +7 -0
- data/app/controllers/miniblog/admin/posts_controller.rb +63 -0
- data/app/controllers/miniblog/admin/preview_controller.rb +8 -0
- data/app/controllers/miniblog/admin/states_controller.rb +11 -0
- data/app/controllers/miniblog/admin/transitions_controller.rb +22 -0
- data/app/controllers/miniblog/application_controller.rb +14 -0
- data/app/controllers/miniblog/posts_controller.rb +7 -0
- data/app/helpers/miniblog/admin/posts_helper.rb +18 -0
- data/app/helpers/miniblog/application_helper.rb +4 -0
- data/app/models/miniblog/asset.rb +7 -0
- data/app/models/miniblog/post.rb +135 -0
- data/app/models/miniblog/status_change_record.rb +6 -0
- data/app/models/miniblog/user.rb +32 -0
- data/app/presenters/miniblog/post_presenter.rb +13 -0
- data/app/uploaders/attachment_uploader.rb +48 -0
- data/app/views/layouts/miniblog/admin/base.html.erb +26 -0
- data/app/views/miniblog/admin/posts/_form.html.erb +10 -0
- data/app/views/miniblog/admin/posts/_form.html.slim +27 -0
- data/app/views/miniblog/admin/posts/_post.html.erb +14 -0
- data/app/views/miniblog/admin/posts/_post.html.slim +20 -0
- data/app/views/miniblog/admin/posts/edit.html.erb +19 -0
- data/app/views/miniblog/admin/posts/edit.html.slim +14 -0
- data/app/views/miniblog/admin/posts/index.html.erb +5 -0
- data/app/views/miniblog/admin/posts/new.html.erb +17 -0
- data/app/views/miniblog/admin/posts/new.html.slim +12 -0
- data/app/views/miniblog/application/_navbar.html.erb +19 -0
- data/app/views/miniblog/application/_notices.html.slim +6 -0
- data/app/views/miniblog/posts/_post.html.slim +4 -0
- data/app/views/miniblog/posts/index.html.slim +1 -0
- data/config/cucumber.yml +9 -0
- data/config/initializers/date_formats.rb +1 -0
- data/config/initializers/state_machine.rb +4 -0
- data/config/locales/devise.en.yml +57 -0
- data/config/routes.rb +26 -0
- data/db/migrate/20120217213920_create_miniblog_posts.rb +17 -0
- data/db/migrate/20120219071614_create_miniblog_assets.rb +10 -0
- data/lib/generators/miniblog/views_generator.rb +11 -0
- data/lib/miniblog.rb +18 -0
- data/lib/miniblog/devise/failure_app.rb +9 -0
- data/lib/miniblog/engine.rb +9 -0
- data/lib/miniblog/rspec.rb +1 -0
- data/lib/miniblog/rspec/miniblog_shared_examples.rb +77 -0
- data/lib/miniblog/version.rb +3 -0
- data/miniblog.gemspec +40 -0
- data/script/cucumber +10 -0
- data/script/rails +8 -0
- data/spec/dummy/README.rdoc +261 -0
- data/spec/dummy/Rakefile +7 -0
- data/spec/dummy/app/assets/javascripts/application.js +16 -0
- data/spec/dummy/app/assets/stylesheets/application.css +13 -0
- data/spec/dummy/app/controllers/application_controller.rb +2 -0
- data/spec/dummy/app/helpers/application_helper.rb +2 -0
- data/spec/dummy/app/mailers/.gitkeep +0 -0
- data/spec/dummy/app/models/.gitkeep +0 -0
- data/spec/dummy/app/models/user.rb +3 -0
- data/spec/dummy/app/views/home/show.html.slim +4 -0
- data/spec/dummy/app/views/layouts/application.html.erb +14 -0
- data/spec/dummy/bin/bundle +3 -0
- data/spec/dummy/bin/rails +4 -0
- data/spec/dummy/bin/rake +4 -0
- data/spec/dummy/config.ru +4 -0
- data/spec/dummy/config/application.rb +28 -0
- data/spec/dummy/config/boot.rb +4 -0
- data/spec/dummy/config/database.yml +25 -0
- data/spec/dummy/config/environment.rb +5 -0
- data/spec/dummy/config/environments/development.rb +37 -0
- data/spec/dummy/config/environments/production.rb +82 -0
- data/spec/dummy/config/environments/test.rb +39 -0
- data/spec/dummy/config/initializers/assets.rb +8 -0
- data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/dummy/config/initializers/carrierwave.rb +18 -0
- data/spec/dummy/config/initializers/cookies_serializer.rb +3 -0
- data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/spec/dummy/config/initializers/inflections.rb +16 -0
- data/spec/dummy/config/initializers/mime_types.rb +4 -0
- data/spec/dummy/config/initializers/miniblog.rb +2 -0
- data/spec/dummy/config/initializers/secret_token.rb +7 -0
- data/spec/dummy/config/initializers/session_store.rb +3 -0
- data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/spec/dummy/config/locales/en.yml +23 -0
- data/spec/dummy/config/routes.rb +3 -0
- data/spec/dummy/config/secrets.yml +22 -0
- data/spec/dummy/db/schema.rb +50 -0
- data/spec/dummy/db/seed.rb +6 -0
- data/spec/dummy/lib/assets/.gitkeep +0 -0
- data/spec/dummy/lib/tasks/cucumber.rake +65 -0
- data/spec/dummy/public/404.html +26 -0
- data/spec/dummy/public/422.html +26 -0
- data/spec/dummy/public/500.html +25 -0
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/dummy/script/rails +6 -0
- data/spec/features/miniblog_spec.rb +5 -0
- data/spec/generators/miniblog/views_generator_spec.rb +16 -0
- data/spec/models/post_spec.rb +163 -0
- data/spec/spec_helper.rb +58 -0
- data/vendor/assets/javascripts/markdown.js +1470 -0
- data/vendor/assets/javascripts/uploader/jquery.html5uploader.js +148 -0
- metadata +464 -0
@@ -0,0 +1,148 @@
|
|
1
|
+
(function ($) {
|
2
|
+
|
3
|
+
$.fn.html5Uploader = function (options) {
|
4
|
+
|
5
|
+
var crlf = '\r\n';
|
6
|
+
var boundary = "iloveigloo";
|
7
|
+
var dashes = "--";
|
8
|
+
|
9
|
+
var settings = {
|
10
|
+
"name": "uploadedFile",
|
11
|
+
"postUrl": "Upload.aspx",
|
12
|
+
"onClientAbort": null,
|
13
|
+
"onClientError": null,
|
14
|
+
"onClientLoad": null,
|
15
|
+
"onClientLoadEnd": null,
|
16
|
+
"onClientLoadStart": null,
|
17
|
+
"onClientProgress": null,
|
18
|
+
"onServerAbort": null,
|
19
|
+
"onServerError": null,
|
20
|
+
"onServerLoad": null,
|
21
|
+
"onServerLoadStart": null,
|
22
|
+
"onServerProgress": null,
|
23
|
+
"onServerReadyStateChange": null,
|
24
|
+
"onSuccess": null
|
25
|
+
};
|
26
|
+
|
27
|
+
if (options) {
|
28
|
+
$.extend(settings, options);
|
29
|
+
}
|
30
|
+
|
31
|
+
return this.each(function (options) {
|
32
|
+
var $this = $(this);
|
33
|
+
if ($this.is("[type=\"file\"]")) {
|
34
|
+
$this.bind("change", function () {
|
35
|
+
var files = this.files;
|
36
|
+
for (var i = 0; i < files.length; i++) {
|
37
|
+
fileHandler(files[i]);
|
38
|
+
}
|
39
|
+
});
|
40
|
+
} else {
|
41
|
+
$this.bind("dragenter dragover", function () {
|
42
|
+
return false;
|
43
|
+
}).bind("drop", function (e) {
|
44
|
+
var files = e.originalEvent.dataTransfer.files;
|
45
|
+
for (var i = 0; i < files.length; i++) {
|
46
|
+
fileHandler(files[i]);
|
47
|
+
}
|
48
|
+
return false;
|
49
|
+
});
|
50
|
+
}
|
51
|
+
});
|
52
|
+
|
53
|
+
function fileHandler(file) {
|
54
|
+
var fileReader = new FileReader();
|
55
|
+
fileReader.onabort = function (e) {
|
56
|
+
if (settings.onClientAbort) {
|
57
|
+
settings.onClientAbort(e, file);
|
58
|
+
}
|
59
|
+
};
|
60
|
+
fileReader.onerror = function (e) {
|
61
|
+
if (settings.onClientError) {
|
62
|
+
settings.onClientError(e, file);
|
63
|
+
}
|
64
|
+
};
|
65
|
+
fileReader.onload = function (e) {
|
66
|
+
if (settings.onClientLoad) {
|
67
|
+
settings.onClientLoad(e, file);
|
68
|
+
}
|
69
|
+
};
|
70
|
+
fileReader.onloadend = function (e) {
|
71
|
+
if (settings.onClientLoadEnd) {
|
72
|
+
settings.onClientLoadEnd(e, file);
|
73
|
+
}
|
74
|
+
};
|
75
|
+
fileReader.onloadstart = function (e) {
|
76
|
+
if (settings.onClientLoadStart) {
|
77
|
+
settings.onClientLoadStart(e, file);
|
78
|
+
}
|
79
|
+
};
|
80
|
+
fileReader.onprogress = function (e) {
|
81
|
+
if (settings.onClientProgress) {
|
82
|
+
settings.onClientProgress(e, file);
|
83
|
+
}
|
84
|
+
};
|
85
|
+
fileReader.readAsDataURL(file);
|
86
|
+
|
87
|
+
var xmlHttpRequest = new XMLHttpRequest();
|
88
|
+
xmlHttpRequest.upload.onabort = function (e) {
|
89
|
+
if (settings.onServerAbort) {
|
90
|
+
settings.onServerAbort(e, file);
|
91
|
+
}
|
92
|
+
};
|
93
|
+
xmlHttpRequest.upload.onerror = function (e) {
|
94
|
+
if (settings.onServerError) {
|
95
|
+
settings.onServerError(e, file);
|
96
|
+
}
|
97
|
+
};
|
98
|
+
xmlHttpRequest.upload.onload = function (e) {
|
99
|
+
if (settings.onServerLoad) {
|
100
|
+
settings.onServerLoad(e, file);
|
101
|
+
}
|
102
|
+
};
|
103
|
+
xmlHttpRequest.upload.onloadstart = function (e) {
|
104
|
+
if (settings.onServerLoadStart) {
|
105
|
+
settings.onServerLoadStart(e, file);
|
106
|
+
}
|
107
|
+
};
|
108
|
+
xmlHttpRequest.upload.onprogress = function (e) {
|
109
|
+
if (settings.onServerProgress) {
|
110
|
+
settings.onServerProgress(e, file);
|
111
|
+
}
|
112
|
+
};
|
113
|
+
xmlHttpRequest.onreadystatechange = function (e) {
|
114
|
+
if (settings.onServerReadyStateChange) {
|
115
|
+
settings.onServerReadyStateChange(e, file, xmlHttpRequest.readyState);
|
116
|
+
}
|
117
|
+
if (settings.onSuccess && xmlHttpRequest.readyState == 4 && xmlHttpRequest.status == 200) {
|
118
|
+
settings.onSuccess(e, file, xmlHttpRequest.responseText);
|
119
|
+
}
|
120
|
+
};
|
121
|
+
xmlHttpRequest.open("POST", settings.postUrl, true);
|
122
|
+
|
123
|
+
if (file.getAsBinary) { // Firefox
|
124
|
+
|
125
|
+
var data = dashes + boundary + crlf +
|
126
|
+
"Content-Disposition: form-data;" +
|
127
|
+
"name=\"" + settings.name + "\";" +
|
128
|
+
"filename=\"" + unescape(encodeURIComponent(file.name)) + "\"" + crlf +
|
129
|
+
"Content-Type: application/octet-stream" + crlf + crlf +
|
130
|
+
file.getAsBinary() + crlf +
|
131
|
+
dashes + boundary + dashes;
|
132
|
+
|
133
|
+
xmlHttpRequest.setRequestHeader("Content-Type", "multipart/form-data;boundary=" + boundary);
|
134
|
+
xmlHttpRequest.sendAsBinary(data);
|
135
|
+
|
136
|
+
} else if (window.FormData) { // Chrome
|
137
|
+
|
138
|
+
var formData = new FormData();
|
139
|
+
formData.append(settings.name, file);
|
140
|
+
|
141
|
+
xmlHttpRequest.send(formData);
|
142
|
+
|
143
|
+
}
|
144
|
+
}
|
145
|
+
|
146
|
+
};
|
147
|
+
|
148
|
+
})(jQuery);
|
metadata
ADDED
@@ -0,0 +1,464 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: miniblog
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.0.beta
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- David Padilla
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2015-03-29 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: rails
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '4.1'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '4.1'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: bootstrap-sass
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: carrierwave
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 0.10.0
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 0.10.0
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: gravtastic
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: jquery-rails
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :runtime
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: jbuilder
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :runtime
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: redcarpet
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - "~>"
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: 3.2.2
|
104
|
+
type: :runtime
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - "~>"
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: 3.2.2
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: slim
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - ">="
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
type: :runtime
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - ">="
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: state_machine
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - "~>"
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: 1.2.0
|
132
|
+
type: :runtime
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - "~>"
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: 1.2.0
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: capybara-webkit
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - "~>"
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: 1.5.0
|
146
|
+
type: :development
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - "~>"
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: 1.5.0
|
153
|
+
- !ruby/object:Gem::Dependency
|
154
|
+
name: database_cleaner
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - "~>"
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: 1.4.1
|
160
|
+
type: :development
|
161
|
+
prerelease: false
|
162
|
+
version_requirements: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - "~>"
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: 1.4.1
|
167
|
+
- !ruby/object:Gem::Dependency
|
168
|
+
name: fuubar
|
169
|
+
requirement: !ruby/object:Gem::Requirement
|
170
|
+
requirements:
|
171
|
+
- - ">="
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
version: '0'
|
174
|
+
type: :development
|
175
|
+
prerelease: false
|
176
|
+
version_requirements: !ruby/object:Gem::Requirement
|
177
|
+
requirements:
|
178
|
+
- - ">="
|
179
|
+
- !ruby/object:Gem::Version
|
180
|
+
version: '0'
|
181
|
+
- !ruby/object:Gem::Dependency
|
182
|
+
name: rspec-rails
|
183
|
+
requirement: !ruby/object:Gem::Requirement
|
184
|
+
requirements:
|
185
|
+
- - "~>"
|
186
|
+
- !ruby/object:Gem::Version
|
187
|
+
version: 3.2.1
|
188
|
+
type: :development
|
189
|
+
prerelease: false
|
190
|
+
version_requirements: !ruby/object:Gem::Requirement
|
191
|
+
requirements:
|
192
|
+
- - "~>"
|
193
|
+
- !ruby/object:Gem::Version
|
194
|
+
version: 3.2.1
|
195
|
+
- !ruby/object:Gem::Dependency
|
196
|
+
name: rspec-activemodel-mocks
|
197
|
+
requirement: !ruby/object:Gem::Requirement
|
198
|
+
requirements:
|
199
|
+
- - ">="
|
200
|
+
- !ruby/object:Gem::Version
|
201
|
+
version: '0'
|
202
|
+
type: :development
|
203
|
+
prerelease: false
|
204
|
+
version_requirements: !ruby/object:Gem::Requirement
|
205
|
+
requirements:
|
206
|
+
- - ">="
|
207
|
+
- !ruby/object:Gem::Version
|
208
|
+
version: '0'
|
209
|
+
- !ruby/object:Gem::Dependency
|
210
|
+
name: selenium-webdriver
|
211
|
+
requirement: !ruby/object:Gem::Requirement
|
212
|
+
requirements:
|
213
|
+
- - ">="
|
214
|
+
- !ruby/object:Gem::Version
|
215
|
+
version: '0'
|
216
|
+
type: :development
|
217
|
+
prerelease: false
|
218
|
+
version_requirements: !ruby/object:Gem::Requirement
|
219
|
+
requirements:
|
220
|
+
- - ">="
|
221
|
+
- !ruby/object:Gem::Version
|
222
|
+
version: '0'
|
223
|
+
- !ruby/object:Gem::Dependency
|
224
|
+
name: simplecov
|
225
|
+
requirement: !ruby/object:Gem::Requirement
|
226
|
+
requirements:
|
227
|
+
- - "~>"
|
228
|
+
- !ruby/object:Gem::Version
|
229
|
+
version: 0.9.2
|
230
|
+
type: :development
|
231
|
+
prerelease: false
|
232
|
+
version_requirements: !ruby/object:Gem::Requirement
|
233
|
+
requirements:
|
234
|
+
- - "~>"
|
235
|
+
- !ruby/object:Gem::Version
|
236
|
+
version: 0.9.2
|
237
|
+
- !ruby/object:Gem::Dependency
|
238
|
+
name: simplecov-rcov-text
|
239
|
+
requirement: !ruby/object:Gem::Requirement
|
240
|
+
requirements:
|
241
|
+
- - ">="
|
242
|
+
- !ruby/object:Gem::Version
|
243
|
+
version: '0'
|
244
|
+
type: :development
|
245
|
+
prerelease: false
|
246
|
+
version_requirements: !ruby/object:Gem::Requirement
|
247
|
+
requirements:
|
248
|
+
- - ">="
|
249
|
+
- !ruby/object:Gem::Version
|
250
|
+
version: '0'
|
251
|
+
- !ruby/object:Gem::Dependency
|
252
|
+
name: sqlite3
|
253
|
+
requirement: !ruby/object:Gem::Requirement
|
254
|
+
requirements:
|
255
|
+
- - ">="
|
256
|
+
- !ruby/object:Gem::Version
|
257
|
+
version: '0'
|
258
|
+
type: :development
|
259
|
+
prerelease: false
|
260
|
+
version_requirements: !ruby/object:Gem::Requirement
|
261
|
+
requirements:
|
262
|
+
- - ">="
|
263
|
+
- !ruby/object:Gem::Version
|
264
|
+
version: '0'
|
265
|
+
description: This mountable engine has the basic functionality to manage a very simple
|
266
|
+
blog
|
267
|
+
email:
|
268
|
+
- david@padilla.cc
|
269
|
+
executables: []
|
270
|
+
extensions: []
|
271
|
+
extra_rdoc_files: []
|
272
|
+
files:
|
273
|
+
- ".autotest"
|
274
|
+
- ".gitignore"
|
275
|
+
- ".rspec"
|
276
|
+
- ".simplecov"
|
277
|
+
- ".travis.yml"
|
278
|
+
- CHANGELOG.md
|
279
|
+
- Gemfile
|
280
|
+
- Gemfile.4.1
|
281
|
+
- MIT-LICENSE
|
282
|
+
- README.md
|
283
|
+
- Rakefile
|
284
|
+
- app/assets/images/crowdblog/.gitkeep
|
285
|
+
- app/assets/javascripts/miniblog.js
|
286
|
+
- app/assets/javascripts/miniblog/alerts.js
|
287
|
+
- app/assets/javascripts/miniblog/form-errors.js
|
288
|
+
- app/assets/stylesheets/application.css
|
289
|
+
- app/assets/stylesheets/miniblog.css
|
290
|
+
- app/assets/stylesheets/miniblog/bootstrap_and_overrides.css.scss
|
291
|
+
- app/assets/stylesheets/miniblog/posts.css.scss
|
292
|
+
- app/controllers/miniblog/admin/assets_controller.rb
|
293
|
+
- app/controllers/miniblog/admin/base_controller.rb
|
294
|
+
- app/controllers/miniblog/admin/posts_controller.rb
|
295
|
+
- app/controllers/miniblog/admin/preview_controller.rb
|
296
|
+
- app/controllers/miniblog/admin/states_controller.rb
|
297
|
+
- app/controllers/miniblog/admin/transitions_controller.rb
|
298
|
+
- app/controllers/miniblog/application_controller.rb
|
299
|
+
- app/controllers/miniblog/posts_controller.rb
|
300
|
+
- app/helpers/miniblog/admin/posts_helper.rb
|
301
|
+
- app/helpers/miniblog/application_helper.rb
|
302
|
+
- app/models/miniblog/asset.rb
|
303
|
+
- app/models/miniblog/post.rb
|
304
|
+
- app/models/miniblog/status_change_record.rb
|
305
|
+
- app/models/miniblog/user.rb
|
306
|
+
- app/presenters/miniblog/post_presenter.rb
|
307
|
+
- app/uploaders/attachment_uploader.rb
|
308
|
+
- app/views/layouts/miniblog/admin/base.html.erb
|
309
|
+
- app/views/miniblog/admin/posts/_form.html.erb
|
310
|
+
- app/views/miniblog/admin/posts/_form.html.slim
|
311
|
+
- app/views/miniblog/admin/posts/_post.html.erb
|
312
|
+
- app/views/miniblog/admin/posts/_post.html.slim
|
313
|
+
- app/views/miniblog/admin/posts/edit.html.erb
|
314
|
+
- app/views/miniblog/admin/posts/edit.html.slim
|
315
|
+
- app/views/miniblog/admin/posts/index.html.erb
|
316
|
+
- app/views/miniblog/admin/posts/new.html.erb
|
317
|
+
- app/views/miniblog/admin/posts/new.html.slim
|
318
|
+
- app/views/miniblog/application/_navbar.html.erb
|
319
|
+
- app/views/miniblog/application/_notices.html.slim
|
320
|
+
- app/views/miniblog/posts/_post.html.slim
|
321
|
+
- app/views/miniblog/posts/index.html.slim
|
322
|
+
- config/cucumber.yml
|
323
|
+
- config/initializers/date_formats.rb
|
324
|
+
- config/initializers/state_machine.rb
|
325
|
+
- config/locales/devise.en.yml
|
326
|
+
- config/routes.rb
|
327
|
+
- db/migrate/20120217213920_create_miniblog_posts.rb
|
328
|
+
- db/migrate/20120219071614_create_miniblog_assets.rb
|
329
|
+
- lib/generators/miniblog/views_generator.rb
|
330
|
+
- lib/miniblog.rb
|
331
|
+
- lib/miniblog/devise/failure_app.rb
|
332
|
+
- lib/miniblog/engine.rb
|
333
|
+
- lib/miniblog/rspec.rb
|
334
|
+
- lib/miniblog/rspec/miniblog_shared_examples.rb
|
335
|
+
- lib/miniblog/version.rb
|
336
|
+
- miniblog.gemspec
|
337
|
+
- script/cucumber
|
338
|
+
- script/rails
|
339
|
+
- spec/dummy/README.rdoc
|
340
|
+
- spec/dummy/Rakefile
|
341
|
+
- spec/dummy/app/assets/javascripts/application.js
|
342
|
+
- spec/dummy/app/assets/stylesheets/application.css
|
343
|
+
- spec/dummy/app/controllers/application_controller.rb
|
344
|
+
- spec/dummy/app/helpers/application_helper.rb
|
345
|
+
- spec/dummy/app/mailers/.gitkeep
|
346
|
+
- spec/dummy/app/models/.gitkeep
|
347
|
+
- spec/dummy/app/models/user.rb
|
348
|
+
- spec/dummy/app/views/home/show.html.slim
|
349
|
+
- spec/dummy/app/views/layouts/application.html.erb
|
350
|
+
- spec/dummy/bin/bundle
|
351
|
+
- spec/dummy/bin/rails
|
352
|
+
- spec/dummy/bin/rake
|
353
|
+
- spec/dummy/config.ru
|
354
|
+
- spec/dummy/config/application.rb
|
355
|
+
- spec/dummy/config/boot.rb
|
356
|
+
- spec/dummy/config/database.yml
|
357
|
+
- spec/dummy/config/environment.rb
|
358
|
+
- spec/dummy/config/environments/development.rb
|
359
|
+
- spec/dummy/config/environments/production.rb
|
360
|
+
- spec/dummy/config/environments/test.rb
|
361
|
+
- spec/dummy/config/initializers/assets.rb
|
362
|
+
- spec/dummy/config/initializers/backtrace_silencers.rb
|
363
|
+
- spec/dummy/config/initializers/carrierwave.rb
|
364
|
+
- spec/dummy/config/initializers/cookies_serializer.rb
|
365
|
+
- spec/dummy/config/initializers/filter_parameter_logging.rb
|
366
|
+
- spec/dummy/config/initializers/inflections.rb
|
367
|
+
- spec/dummy/config/initializers/mime_types.rb
|
368
|
+
- spec/dummy/config/initializers/miniblog.rb
|
369
|
+
- spec/dummy/config/initializers/secret_token.rb
|
370
|
+
- spec/dummy/config/initializers/session_store.rb
|
371
|
+
- spec/dummy/config/initializers/wrap_parameters.rb
|
372
|
+
- spec/dummy/config/locales/en.yml
|
373
|
+
- spec/dummy/config/routes.rb
|
374
|
+
- spec/dummy/config/secrets.yml
|
375
|
+
- spec/dummy/db/schema.rb
|
376
|
+
- spec/dummy/db/seed.rb
|
377
|
+
- spec/dummy/lib/assets/.gitkeep
|
378
|
+
- spec/dummy/lib/tasks/cucumber.rake
|
379
|
+
- spec/dummy/public/404.html
|
380
|
+
- spec/dummy/public/422.html
|
381
|
+
- spec/dummy/public/500.html
|
382
|
+
- spec/dummy/public/favicon.ico
|
383
|
+
- spec/dummy/script/rails
|
384
|
+
- spec/features/miniblog_spec.rb
|
385
|
+
- spec/generators/miniblog/views_generator_spec.rb
|
386
|
+
- spec/models/post_spec.rb
|
387
|
+
- spec/spec_helper.rb
|
388
|
+
- vendor/assets/javascripts/markdown.js
|
389
|
+
- vendor/assets/javascripts/uploader/jquery.html5uploader.js
|
390
|
+
homepage: http://github.com/dabit/miniblog
|
391
|
+
licenses:
|
392
|
+
- MIT
|
393
|
+
metadata: {}
|
394
|
+
post_install_message:
|
395
|
+
rdoc_options: []
|
396
|
+
require_paths:
|
397
|
+
- lib
|
398
|
+
- app
|
399
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
400
|
+
requirements:
|
401
|
+
- - ">="
|
402
|
+
- !ruby/object:Gem::Version
|
403
|
+
version: '0'
|
404
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
405
|
+
requirements:
|
406
|
+
- - ">"
|
407
|
+
- !ruby/object:Gem::Version
|
408
|
+
version: 1.3.1
|
409
|
+
requirements: []
|
410
|
+
rubyforge_project:
|
411
|
+
rubygems_version: 2.2.2
|
412
|
+
signing_key:
|
413
|
+
specification_version: 4
|
414
|
+
summary: miniblog base functionality and backend
|
415
|
+
test_files:
|
416
|
+
- spec/dummy/README.rdoc
|
417
|
+
- spec/dummy/Rakefile
|
418
|
+
- spec/dummy/app/assets/javascripts/application.js
|
419
|
+
- spec/dummy/app/assets/stylesheets/application.css
|
420
|
+
- spec/dummy/app/controllers/application_controller.rb
|
421
|
+
- spec/dummy/app/helpers/application_helper.rb
|
422
|
+
- spec/dummy/app/mailers/.gitkeep
|
423
|
+
- spec/dummy/app/models/.gitkeep
|
424
|
+
- spec/dummy/app/models/user.rb
|
425
|
+
- spec/dummy/app/views/home/show.html.slim
|
426
|
+
- spec/dummy/app/views/layouts/application.html.erb
|
427
|
+
- spec/dummy/bin/bundle
|
428
|
+
- spec/dummy/bin/rails
|
429
|
+
- spec/dummy/bin/rake
|
430
|
+
- spec/dummy/config.ru
|
431
|
+
- spec/dummy/config/application.rb
|
432
|
+
- spec/dummy/config/boot.rb
|
433
|
+
- spec/dummy/config/database.yml
|
434
|
+
- spec/dummy/config/environment.rb
|
435
|
+
- spec/dummy/config/environments/development.rb
|
436
|
+
- spec/dummy/config/environments/production.rb
|
437
|
+
- spec/dummy/config/environments/test.rb
|
438
|
+
- spec/dummy/config/initializers/assets.rb
|
439
|
+
- spec/dummy/config/initializers/backtrace_silencers.rb
|
440
|
+
- spec/dummy/config/initializers/carrierwave.rb
|
441
|
+
- spec/dummy/config/initializers/cookies_serializer.rb
|
442
|
+
- spec/dummy/config/initializers/filter_parameter_logging.rb
|
443
|
+
- spec/dummy/config/initializers/inflections.rb
|
444
|
+
- spec/dummy/config/initializers/mime_types.rb
|
445
|
+
- spec/dummy/config/initializers/miniblog.rb
|
446
|
+
- spec/dummy/config/initializers/secret_token.rb
|
447
|
+
- spec/dummy/config/initializers/session_store.rb
|
448
|
+
- spec/dummy/config/initializers/wrap_parameters.rb
|
449
|
+
- spec/dummy/config/locales/en.yml
|
450
|
+
- spec/dummy/config/routes.rb
|
451
|
+
- spec/dummy/config/secrets.yml
|
452
|
+
- spec/dummy/db/schema.rb
|
453
|
+
- spec/dummy/db/seed.rb
|
454
|
+
- spec/dummy/lib/assets/.gitkeep
|
455
|
+
- spec/dummy/lib/tasks/cucumber.rake
|
456
|
+
- spec/dummy/public/404.html
|
457
|
+
- spec/dummy/public/422.html
|
458
|
+
- spec/dummy/public/500.html
|
459
|
+
- spec/dummy/public/favicon.ico
|
460
|
+
- spec/dummy/script/rails
|
461
|
+
- spec/features/miniblog_spec.rb
|
462
|
+
- spec/generators/miniblog/views_generator_spec.rb
|
463
|
+
- spec/models/post_spec.rb
|
464
|
+
- spec/spec_helper.rb
|