locomotivecms_wagon 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (178) hide show
  1. data/.gitignore +27 -0
  2. data/.rspec +2 -0
  3. data/Gemfile +8 -0
  4. data/LICENSE.txt +22 -0
  5. data/README.md +68 -0
  6. data/Rakefile +57 -0
  7. data/TODO +57 -0
  8. data/bin/wagon +9 -0
  9. data/generators/blank/Gemfile.tt +20 -0
  10. data/generators/blank/app/content_types/.empty_directory +1 -0
  11. data/generators/blank/app/views/pages/404.liquid +11 -0
  12. data/generators/blank/app/views/pages/index.liquid +19 -0
  13. data/generators/blank/app/views/snippets/.empty_directory +1 -0
  14. data/generators/blank/config/deploy.yml +12 -0
  15. data/generators/blank/config/site.yml.tt +16 -0
  16. data/generators/blank/config/translations.yml +8 -0
  17. data/generators/blank/config.ru +3 -0
  18. data/generators/blank/data/.empty_directory +1 -0
  19. data/generators/blank/public/fonts/.empty_directory +1 -0
  20. data/generators/blank/public/images/.empty_directory +1 -0
  21. data/generators/blank/public/javascripts/.empty_directory +1 -0
  22. data/generators/blank/public/samples/.empty_directory +1 -0
  23. data/generators/blank/public/stylesheets/.empty_directory +1 -0
  24. data/generators/bootstrap/Gemfile.tt +20 -0
  25. data/generators/bootstrap/app/content_types/.empty_directory +1 -0
  26. data/generators/bootstrap/app/views/pages/404.liquid +13 -0
  27. data/generators/bootstrap/app/views/pages/404.liquid.haml +10 -0
  28. data/generators/bootstrap/app/views/pages/index.liquid +89 -0
  29. data/generators/bootstrap/app/views/pages/index.liquid.haml +72 -0
  30. data/generators/bootstrap/app/views/snippets/footer.liquid +3 -0
  31. data/generators/bootstrap/app/views/snippets/footer.liquid.haml +2 -0
  32. data/generators/bootstrap/config/deploy.yml +12 -0
  33. data/generators/bootstrap/config/site.yml.tt +16 -0
  34. data/generators/bootstrap/config/translations.yml +8 -0
  35. data/generators/bootstrap/config.ru +3 -0
  36. data/generators/bootstrap/data/.empty_directory +1 -0
  37. data/generators/bootstrap/public/fonts/FontAwesome.otf +0 -0
  38. data/generators/bootstrap/public/fonts/font-awesome-ie7.min.css +23 -0
  39. data/generators/bootstrap/public/fonts/font-awesome.css +469 -0
  40. data/generators/bootstrap/public/fonts/font-awesome.min.css +34 -0
  41. data/generators/bootstrap/public/fonts/fontawesome-webfont.eot +0 -0
  42. data/generators/bootstrap/public/fonts/fontawesome-webfont.ttf +0 -0
  43. data/generators/bootstrap/public/fonts/fontawesome-webfont.woff +0 -0
  44. data/generators/bootstrap/public/javascripts/bootstrap.js +2159 -0
  45. data/generators/bootstrap/public/javascripts/bootstrap.min.js +6 -0
  46. data/generators/bootstrap/public/samples/.empty_directory +1 -0
  47. data/generators/bootstrap/public/stylesheets/application.css.scss +39 -0
  48. data/generators/bootstrap/public/stylesheets/bootstrap-responsive.css +1092 -0
  49. data/generators/bootstrap/public/stylesheets/bootstrap-responsive.min.css +9 -0
  50. data/generators/bootstrap/public/stylesheets/bootstrap.css +5652 -0
  51. data/generators/bootstrap/public/stylesheets/bootstrap.min.css +726 -0
  52. data/generators/content_type/app/content_types/%name%.yml.tt +58 -0
  53. data/generators/content_type/data/%name%.yml.tt +24 -0
  54. data/generators/foundation/Gemfile.tt +20 -0
  55. data/generators/foundation/app/content_types/.empty_directory +1 -0
  56. data/generators/foundation/app/views/pages/404.liquid +13 -0
  57. data/generators/foundation/app/views/pages/404.liquid.haml +10 -0
  58. data/generators/foundation/app/views/pages/index.liquid +152 -0
  59. data/generators/foundation/app/views/pages/index.liquid.haml +130 -0
  60. data/generators/foundation/app/views/snippets/footer.liquid +16 -0
  61. data/generators/foundation/app/views/snippets/footer.liquid.haml +23 -0
  62. data/generators/foundation/config/deploy.yml +12 -0
  63. data/generators/foundation/config/site.yml.tt +16 -0
  64. data/generators/foundation/config/translations.yml +8 -0
  65. data/generators/foundation/config.ru +3 -0
  66. data/generators/foundation/data/.empty_directory +1 -0
  67. data/generators/foundation/public/fonts/.empty_directory +1 -0
  68. data/generators/foundation/public/javascripts/foundation/foundation.alerts.js +50 -0
  69. data/generators/foundation/public/javascripts/foundation/foundation.clearing.js +480 -0
  70. data/generators/foundation/public/javascripts/foundation/foundation.cookie.js +74 -0
  71. data/generators/foundation/public/javascripts/foundation/foundation.dropdown.js +130 -0
  72. data/generators/foundation/public/javascripts/foundation/foundation.forms.js +395 -0
  73. data/generators/foundation/public/javascripts/foundation/foundation.joyride.js +612 -0
  74. data/generators/foundation/public/javascripts/foundation/foundation.js +372 -0
  75. data/generators/foundation/public/javascripts/foundation/foundation.magellan.js +130 -0
  76. data/generators/foundation/public/javascripts/foundation/foundation.orbit.js +365 -0
  77. data/generators/foundation/public/javascripts/foundation/foundation.placeholder.js +159 -0
  78. data/generators/foundation/public/javascripts/foundation/foundation.reveal.js +270 -0
  79. data/generators/foundation/public/javascripts/foundation/foundation.section.js +272 -0
  80. data/generators/foundation/public/javascripts/foundation/foundation.tooltips.js +195 -0
  81. data/generators/foundation/public/javascripts/foundation/foundation.topbar.js +225 -0
  82. data/generators/foundation/public/javascripts/foundation.min.js +14 -0
  83. data/generators/foundation/public/javascripts/vendor/custom.modernizr.js +4 -0
  84. data/generators/foundation/public/javascripts/vendor/jquery.js +9597 -0
  85. data/generators/foundation/public/javascripts/vendor/zepto.js +1884 -0
  86. data/generators/foundation/public/samples/.empty_directory +1 -0
  87. data/generators/foundation/public/stylesheets/foundation.css +3818 -0
  88. data/generators/foundation/public/stylesheets/foundation.min.css +1 -0
  89. data/generators/foundation/public/stylesheets/normalize.css +396 -0
  90. data/generators/page/template.liquid.haml.tt +35 -0
  91. data/generators/page/template.liquid.tt +1 -0
  92. data/generators/snippet/template.liquid.haml.tt +4 -0
  93. data/generators/snippet/template.liquid.tt +4 -0
  94. data/lib/locomotive/wagon/cli.rb +238 -0
  95. data/lib/locomotive/wagon/exceptions.rb +35 -0
  96. data/lib/locomotive/wagon/generators/content_type.rb +47 -0
  97. data/lib/locomotive/wagon/generators/page.rb +63 -0
  98. data/lib/locomotive/wagon/generators/site/base.rb +30 -0
  99. data/lib/locomotive/wagon/generators/site/blank.rb +23 -0
  100. data/lib/locomotive/wagon/generators/site/bootstrap.rb +35 -0
  101. data/lib/locomotive/wagon/generators/site/foundation.rb +35 -0
  102. data/lib/locomotive/wagon/generators/site/unzip.rb +81 -0
  103. data/lib/locomotive/wagon/generators/site.rb +99 -0
  104. data/lib/locomotive/wagon/generators/snippet.rb +60 -0
  105. data/lib/locomotive/wagon/liquid/drops/base.rb +44 -0
  106. data/lib/locomotive/wagon/liquid/drops/content_entry.rb +48 -0
  107. data/lib/locomotive/wagon/liquid/drops/content_types.rb +121 -0
  108. data/lib/locomotive/wagon/liquid/drops/page.rb +36 -0
  109. data/lib/locomotive/wagon/liquid/drops/site.rb +21 -0
  110. data/lib/locomotive/wagon/liquid/errors.rb +7 -0
  111. data/lib/locomotive/wagon/liquid/filters/date.rb +98 -0
  112. data/lib/locomotive/wagon/liquid/filters/html.rb +154 -0
  113. data/lib/locomotive/wagon/liquid/filters/misc.rb +28 -0
  114. data/lib/locomotive/wagon/liquid/filters/resize.rb +18 -0
  115. data/lib/locomotive/wagon/liquid/filters/text.rb +50 -0
  116. data/lib/locomotive/wagon/liquid/filters/translate.rb +24 -0
  117. data/lib/locomotive/wagon/liquid/patches.rb +47 -0
  118. data/lib/locomotive/wagon/liquid/tags/consume.rb +58 -0
  119. data/lib/locomotive/wagon/liquid/tags/csrf.rb +34 -0
  120. data/lib/locomotive/wagon/liquid/tags/editable/base.rb +46 -0
  121. data/lib/locomotive/wagon/liquid/tags/editable/control.rb +19 -0
  122. data/lib/locomotive/wagon/liquid/tags/editable/file.rb +15 -0
  123. data/lib/locomotive/wagon/liquid/tags/editable/long_text.rb +15 -0
  124. data/lib/locomotive/wagon/liquid/tags/editable/short_text.rb +15 -0
  125. data/lib/locomotive/wagon/liquid/tags/editable.rb +5 -0
  126. data/lib/locomotive/wagon/liquid/tags/extends.rb +25 -0
  127. data/lib/locomotive/wagon/liquid/tags/google_analytics.rb +28 -0
  128. data/lib/locomotive/wagon/liquid/tags/inline_editor.rb +16 -0
  129. data/lib/locomotive/wagon/liquid/tags/locale_switcher.rb +106 -0
  130. data/lib/locomotive/wagon/liquid/tags/nav.rb +167 -0
  131. data/lib/locomotive/wagon/liquid/tags/paginate.rb +105 -0
  132. data/lib/locomotive/wagon/liquid/tags/seo.rb +74 -0
  133. data/lib/locomotive/wagon/liquid/tags/snippet.rb +44 -0
  134. data/lib/locomotive/wagon/liquid/tags/with_scope.rb +43 -0
  135. data/lib/locomotive/wagon/liquid.rb +19 -0
  136. data/lib/locomotive/wagon/listen.rb +57 -0
  137. data/lib/locomotive/wagon/logger.rb +54 -0
  138. data/lib/locomotive/wagon/misc/core_ext.rb +29 -0
  139. data/lib/locomotive/wagon/misc/dragonfly.rb +79 -0
  140. data/lib/locomotive/wagon/misc/httparty.rb +46 -0
  141. data/lib/locomotive/wagon/misc/i18n.rb +2 -0
  142. data/lib/locomotive/wagon/misc/will_paginate.rb +16 -0
  143. data/lib/locomotive/wagon/misc.rb +5 -0
  144. data/lib/locomotive/wagon/server/dynamic_assets.rb +31 -0
  145. data/lib/locomotive/wagon/server/entry_submission.rb +116 -0
  146. data/lib/locomotive/wagon/server/favicon.rb +17 -0
  147. data/lib/locomotive/wagon/server/locale.rb +42 -0
  148. data/lib/locomotive/wagon/server/logging.rb +32 -0
  149. data/lib/locomotive/wagon/server/middleware.rb +59 -0
  150. data/lib/locomotive/wagon/server/not_found.rb +19 -0
  151. data/lib/locomotive/wagon/server/page.rb +61 -0
  152. data/lib/locomotive/wagon/server/path.rb +34 -0
  153. data/lib/locomotive/wagon/server/renderer.rb +105 -0
  154. data/lib/locomotive/wagon/server/templatized_page.rb +32 -0
  155. data/lib/locomotive/wagon/server.rb +81 -0
  156. data/lib/locomotive/wagon/standalone_server.rb +28 -0
  157. data/lib/locomotive/wagon/version.rb +5 -0
  158. data/lib/locomotive/wagon.rb +163 -0
  159. data/locales/de.yml +156 -0
  160. data/locales/en.yml +177 -0
  161. data/locales/es.yml +132 -0
  162. data/locales/et.yml +153 -0
  163. data/locales/fr.yml +146 -0
  164. data/locales/it.yml +154 -0
  165. data/locales/nb.yml +190 -0
  166. data/locales/nl.yml +159 -0
  167. data/locales/pl.yml +202 -0
  168. data/locales/pt-BR.yml +138 -0
  169. data/locales/ru.yml +223 -0
  170. data/locomotivecms_wagon.gemspec +44 -0
  171. data/spec/integration/cassettes/pull.yml +590 -0
  172. data/spec/integration/cassettes/push.yml +810 -0
  173. data/spec/integration/integration_helper.rb +14 -0
  174. data/spec/integration/server_spec.rb +38 -0
  175. data/spec/integration/sites_spec.rb +29 -0
  176. data/spec/spec_helper.rb +12 -0
  177. data/spec/support/helpers.rb +13 -0
  178. metadata +544 -0
@@ -0,0 +1,14 @@
1
+ # encoding: utf-8
2
+
3
+ require File.dirname(__FILE__) + '/../spec_helper'
4
+ require 'vcr'
5
+ require 'webmock/rspec'
6
+ require 'active_support/core_ext'
7
+
8
+ VCR.configure do |c|
9
+ c.ignore_localhost = false
10
+ c.cassette_library_dir = File.dirname(__FILE__) + '/cassettes'
11
+ c.hook_into :webmock
12
+ c.default_cassette_options = { record: :new_episodes }
13
+ c.configure_rspec_metadata!
14
+ end
@@ -0,0 +1,38 @@
1
+ # encoding: utf-8
2
+
3
+ require File.dirname(__FILE__) + '/integration_helper'
4
+ require 'locomotive/wagon/server'
5
+ require 'rack/test'
6
+
7
+ describe Locomotive::Wagon::Server do
8
+ include Rack::Test::Methods
9
+
10
+ def app
11
+ clone_site
12
+ reader = Locomotive::Mounter::Reader::FileSystem.instance
13
+ reader.run!(path: 'site')
14
+ Locomotive::Wagon::Server.new(reader)
15
+ end
16
+
17
+ it 'shows the index page' do
18
+ get '/'
19
+ last_response.body.should =~ /Content of the home page/
20
+ end
21
+
22
+ it 'shows the 404 page' do
23
+ get '/void'
24
+ last_response.body.should =~ /Content of the 404 page/
25
+ end
26
+
27
+ it 'shows content' do
28
+ get '/products/latest'
29
+ last_response.body.should =~ /The name of the latest product is: Useless stuff/
30
+ end
31
+
32
+ it 'translates strings' do
33
+ get '/en/translated'
34
+ last_response.body.force_encoding('utf-8').should =~ /Hello world!/
35
+ get '/es/translated'
36
+ last_response.body.force_encoding('utf-8').should =~ /¡Hola, Mundo!/
37
+ end
38
+ end
@@ -0,0 +1,29 @@
1
+ # encoding: utf-8
2
+
3
+ require File.dirname(__FILE__) + '/integration_helper'
4
+
5
+ describe Locomotive::Wagon do
6
+
7
+ it 'imports' do
8
+ File.exists?('site/config/site.yml').should be_false
9
+ clone_site
10
+ YAML.load_file('site/config/site.yml').should == {
11
+ 'name' =>'locomotive',
12
+ 'locales' =>['en', 'es'],
13
+ 'subdomain' =>'locomotive',
14
+ 'domains' =>['locomotive.engine.dev']
15
+ }
16
+ end
17
+
18
+ it 'pushes' do
19
+ clone_site
20
+ file_name = File.dirname(__FILE__) + '/../../site/app/views/pages/index.liquid'
21
+ text = File.read(file_name)
22
+ text.gsub!(/Content of the home page/, 'New content of the home page')
23
+ File.open(file_name, 'w') { |file| file.puts text}
24
+ VCR.use_cassette('push') do
25
+ Locomotive::Wagon.push('site', {'host' => 'locomotive.engine.dev:3000'}, 'email' => 'admin@locomotivecms.com', 'password' => 'locomotive')
26
+ end
27
+ WebMock.should have_requested(:put, /pages\/.+.json\?auth_token=.+/).with(:body => /page\[raw_template\]=New%20content%20of%20the%20home%20page/).once
28
+ end
29
+ end
@@ -0,0 +1,12 @@
1
+ require "locomotive/wagon"
2
+ require "rspec"
3
+
4
+ Dir["#{File.expand_path('../support', __FILE__)}/*.rb"].each do |file|
5
+ require file
6
+ end
7
+
8
+ RSpec.configure do |c|
9
+ c.include Spec::Helpers
10
+ c.before { reset! }
11
+ c.after { reset! }
12
+ end
@@ -0,0 +1,13 @@
1
+ module Spec
2
+ module Helpers
3
+ def reset!
4
+ FileUtils.rm_rf(File.expand_path('../../../site', __FILE__))
5
+ end
6
+
7
+ def clone_site
8
+ VCR.use_cassette('pull') do
9
+ Locomotive::Wagon.clone('site', {'host' => 'locomotive.engine.dev:3000'}, 'email' => 'admin@locomotivecms.com', 'password' => 'locomotive')
10
+ end
11
+ end
12
+ end
13
+ end
metadata ADDED
@@ -0,0 +1,544 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: locomotivecms_wagon
3
+ version: !ruby/object:Gem::Version
4
+ prerelease:
5
+ version: 1.0.0
6
+ platform: ruby
7
+ authors:
8
+ - Didier Lafforgue
9
+ - Rodrigo Alvarez
10
+ autorequire:
11
+ bindir: bin
12
+ cert_chain: []
13
+ date: 2013-04-03 00:00:00.000000000 Z
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
16
+ type: :runtime
17
+ version_requirements: !ruby/object:Gem::Requirement
18
+ none: false
19
+ requirements:
20
+ - - ! '>='
21
+ - !ruby/object:Gem::Version
22
+ version: '0'
23
+ name: thor
24
+ prerelease: false
25
+ requirement: !ruby/object:Gem::Requirement
26
+ none: false
27
+ requirements:
28
+ - - ! '>='
29
+ - !ruby/object:Gem::Version
30
+ version: '0'
31
+ - !ruby/object:Gem::Dependency
32
+ type: :runtime
33
+ version_requirements: !ruby/object:Gem::Requirement
34
+ none: false
35
+ requirements:
36
+ - - ! '>='
37
+ - !ruby/object:Gem::Version
38
+ version: '0'
39
+ name: thin
40
+ prerelease: false
41
+ requirement: !ruby/object:Gem::Requirement
42
+ none: false
43
+ requirements:
44
+ - - ! '>='
45
+ - !ruby/object:Gem::Version
46
+ version: '0'
47
+ - !ruby/object:Gem::Dependency
48
+ type: :runtime
49
+ version_requirements: !ruby/object:Gem::Requirement
50
+ none: false
51
+ requirements:
52
+ - - ~>
53
+ - !ruby/object:Gem::Version
54
+ version: 3.2.11
55
+ name: activesupport
56
+ prerelease: false
57
+ requirement: !ruby/object:Gem::Requirement
58
+ none: false
59
+ requirements:
60
+ - - ~>
61
+ - !ruby/object:Gem::Version
62
+ version: 3.2.11
63
+ - !ruby/object:Gem::Dependency
64
+ type: :runtime
65
+ version_requirements: !ruby/object:Gem::Requirement
66
+ none: false
67
+ requirements:
68
+ - - ~>
69
+ - !ruby/object:Gem::Version
70
+ version: 2.4.1
71
+ name: locomotive_liquid
72
+ prerelease: false
73
+ requirement: !ruby/object:Gem::Requirement
74
+ none: false
75
+ requirements:
76
+ - - ~>
77
+ - !ruby/object:Gem::Version
78
+ version: 2.4.1
79
+ - !ruby/object:Gem::Dependency
80
+ type: :runtime
81
+ version_requirements: !ruby/object:Gem::Requirement
82
+ none: false
83
+ requirements:
84
+ - - ~>
85
+ - !ruby/object:Gem::Version
86
+ version: 4.2.9
87
+ name: RedCloth
88
+ prerelease: false
89
+ requirement: !ruby/object:Gem::Requirement
90
+ none: false
91
+ requirements:
92
+ - - ~>
93
+ - !ruby/object:Gem::Version
94
+ version: 4.2.9
95
+ - !ruby/object:Gem::Dependency
96
+ type: :runtime
97
+ version_requirements: !ruby/object:Gem::Requirement
98
+ none: false
99
+ requirements:
100
+ - - ~>
101
+ - !ruby/object:Gem::Version
102
+ version: 0.9.12
103
+ name: dragonfly
104
+ prerelease: false
105
+ requirement: !ruby/object:Gem::Requirement
106
+ none: false
107
+ requirements:
108
+ - - ~>
109
+ - !ruby/object:Gem::Version
110
+ version: 0.9.12
111
+ - !ruby/object:Gem::Dependency
112
+ type: :runtime
113
+ version_requirements: !ruby/object:Gem::Requirement
114
+ none: false
115
+ requirements:
116
+ - - ~>
117
+ - !ruby/object:Gem::Version
118
+ version: '1.1'
119
+ name: rack-cache
120
+ prerelease: false
121
+ requirement: !ruby/object:Gem::Requirement
122
+ none: false
123
+ requirements:
124
+ - - ~>
125
+ - !ruby/object:Gem::Version
126
+ version: '1.1'
127
+ - !ruby/object:Gem::Dependency
128
+ type: :runtime
129
+ version_requirements: !ruby/object:Gem::Requirement
130
+ none: false
131
+ requirements:
132
+ - - ~>
133
+ - !ruby/object:Gem::Version
134
+ version: 0.7.2
135
+ name: better_errors
136
+ prerelease: false
137
+ requirement: !ruby/object:Gem::Requirement
138
+ none: false
139
+ requirements:
140
+ - - ~>
141
+ - !ruby/object:Gem::Version
142
+ version: 0.7.2
143
+ - !ruby/object:Gem::Dependency
144
+ type: :runtime
145
+ version_requirements: !ruby/object:Gem::Requirement
146
+ none: false
147
+ requirements:
148
+ - - ~>
149
+ - !ruby/object:Gem::Version
150
+ version: 0.7.0
151
+ name: listen
152
+ prerelease: false
153
+ requirement: !ruby/object:Gem::Requirement
154
+ none: false
155
+ requirements:
156
+ - - ~>
157
+ - !ruby/object:Gem::Version
158
+ version: 0.7.0
159
+ - !ruby/object:Gem::Dependency
160
+ type: :runtime
161
+ version_requirements: !ruby/object:Gem::Requirement
162
+ none: false
163
+ requirements:
164
+ - - '='
165
+ - !ruby/object:Gem::Version
166
+ version: 2.12.2
167
+ name: rmagick
168
+ prerelease: false
169
+ requirement: !ruby/object:Gem::Requirement
170
+ none: false
171
+ requirements:
172
+ - - '='
173
+ - !ruby/object:Gem::Version
174
+ version: 2.12.2
175
+ - !ruby/object:Gem::Dependency
176
+ type: :runtime
177
+ version_requirements: !ruby/object:Gem::Requirement
178
+ none: false
179
+ requirements:
180
+ - - ~>
181
+ - !ruby/object:Gem::Version
182
+ version: 0.3.8
183
+ name: httmultiparty
184
+ prerelease: false
185
+ requirement: !ruby/object:Gem::Requirement
186
+ none: false
187
+ requirements:
188
+ - - ~>
189
+ - !ruby/object:Gem::Version
190
+ version: 0.3.8
191
+ - !ruby/object:Gem::Dependency
192
+ type: :runtime
193
+ version_requirements: !ruby/object:Gem::Requirement
194
+ none: false
195
+ requirements:
196
+ - - ~>
197
+ - !ruby/object:Gem::Version
198
+ version: 3.0.3
199
+ name: will_paginate
200
+ prerelease: false
201
+ requirement: !ruby/object:Gem::Requirement
202
+ none: false
203
+ requirements:
204
+ - - ~>
205
+ - !ruby/object:Gem::Version
206
+ version: 3.0.3
207
+ - !ruby/object:Gem::Dependency
208
+ type: :runtime
209
+ version_requirements: !ruby/object:Gem::Requirement
210
+ none: false
211
+ requirements:
212
+ - - '='
213
+ - !ruby/object:Gem::Version
214
+ version: 1.0.1
215
+ name: locomotivecms_mounter
216
+ prerelease: false
217
+ requirement: !ruby/object:Gem::Requirement
218
+ none: false
219
+ requirements:
220
+ - - '='
221
+ - !ruby/object:Gem::Version
222
+ version: 1.0.1
223
+ - !ruby/object:Gem::Dependency
224
+ type: :runtime
225
+ version_requirements: !ruby/object:Gem::Requirement
226
+ none: false
227
+ requirements:
228
+ - - ~>
229
+ - !ruby/object:Gem::Version
230
+ version: 0.9.5
231
+ name: faker
232
+ prerelease: false
233
+ requirement: !ruby/object:Gem::Requirement
234
+ none: false
235
+ requirements:
236
+ - - ~>
237
+ - !ruby/object:Gem::Version
238
+ version: 0.9.5
239
+ - !ruby/object:Gem::Dependency
240
+ type: :development
241
+ version_requirements: !ruby/object:Gem::Requirement
242
+ none: false
243
+ requirements:
244
+ - - ~>
245
+ - !ruby/object:Gem::Version
246
+ version: 10.0.4
247
+ name: rake
248
+ prerelease: false
249
+ requirement: !ruby/object:Gem::Requirement
250
+ none: false
251
+ requirements:
252
+ - - ~>
253
+ - !ruby/object:Gem::Version
254
+ version: 10.0.4
255
+ - !ruby/object:Gem::Dependency
256
+ type: :development
257
+ version_requirements: !ruby/object:Gem::Requirement
258
+ none: false
259
+ requirements:
260
+ - - ~>
261
+ - !ruby/object:Gem::Version
262
+ version: 2.6.0
263
+ name: rspec
264
+ prerelease: false
265
+ requirement: !ruby/object:Gem::Requirement
266
+ none: false
267
+ requirements:
268
+ - - ~>
269
+ - !ruby/object:Gem::Version
270
+ version: 2.6.0
271
+ - !ruby/object:Gem::Dependency
272
+ type: :development
273
+ version_requirements: !ruby/object:Gem::Requirement
274
+ none: false
275
+ requirements:
276
+ - - ! '>='
277
+ - !ruby/object:Gem::Version
278
+ version: '0'
279
+ name: vcr
280
+ prerelease: false
281
+ requirement: !ruby/object:Gem::Requirement
282
+ none: false
283
+ requirements:
284
+ - - ! '>='
285
+ - !ruby/object:Gem::Version
286
+ version: '0'
287
+ - !ruby/object:Gem::Dependency
288
+ type: :development
289
+ version_requirements: !ruby/object:Gem::Requirement
290
+ none: false
291
+ requirements:
292
+ - - ~>
293
+ - !ruby/object:Gem::Version
294
+ version: 1.8.0
295
+ name: webmock
296
+ prerelease: false
297
+ requirement: !ruby/object:Gem::Requirement
298
+ none: false
299
+ requirements:
300
+ - - ~>
301
+ - !ruby/object:Gem::Version
302
+ version: 1.8.0
303
+ - !ruby/object:Gem::Dependency
304
+ type: :development
305
+ version_requirements: !ruby/object:Gem::Requirement
306
+ none: false
307
+ requirements:
308
+ - - ! '>='
309
+ - !ruby/object:Gem::Version
310
+ version: '0'
311
+ name: rack-test
312
+ prerelease: false
313
+ requirement: !ruby/object:Gem::Requirement
314
+ none: false
315
+ requirements:
316
+ - - ! '>='
317
+ - !ruby/object:Gem::Version
318
+ version: '0'
319
+ description: The LocomotiveCMS wagon is a site generator for the LocomotiveCMS engine
320
+ email:
321
+ - did@locomotivecms.com
322
+ - papipo@gmail.com
323
+ executables:
324
+ - wagon
325
+ extensions: []
326
+ extra_rdoc_files: []
327
+ files:
328
+ - .gitignore
329
+ - .rspec
330
+ - Gemfile
331
+ - LICENSE.txt
332
+ - README.md
333
+ - Rakefile
334
+ - TODO
335
+ - bin/wagon
336
+ - generators/blank/Gemfile.tt
337
+ - generators/blank/app/content_types/.empty_directory
338
+ - generators/blank/app/views/pages/404.liquid
339
+ - generators/blank/app/views/pages/index.liquid
340
+ - generators/blank/app/views/snippets/.empty_directory
341
+ - generators/blank/config.ru
342
+ - generators/blank/config/deploy.yml
343
+ - generators/blank/config/site.yml.tt
344
+ - generators/blank/config/translations.yml
345
+ - generators/blank/data/.empty_directory
346
+ - generators/blank/public/fonts/.empty_directory
347
+ - generators/blank/public/images/.empty_directory
348
+ - generators/blank/public/javascripts/.empty_directory
349
+ - generators/blank/public/samples/.empty_directory
350
+ - generators/blank/public/stylesheets/.empty_directory
351
+ - generators/bootstrap/Gemfile.tt
352
+ - generators/bootstrap/app/content_types/.empty_directory
353
+ - generators/bootstrap/app/views/pages/404.liquid
354
+ - generators/bootstrap/app/views/pages/404.liquid.haml
355
+ - generators/bootstrap/app/views/pages/index.liquid
356
+ - generators/bootstrap/app/views/pages/index.liquid.haml
357
+ - generators/bootstrap/app/views/snippets/footer.liquid
358
+ - generators/bootstrap/app/views/snippets/footer.liquid.haml
359
+ - generators/bootstrap/config.ru
360
+ - generators/bootstrap/config/deploy.yml
361
+ - generators/bootstrap/config/site.yml.tt
362
+ - generators/bootstrap/config/translations.yml
363
+ - generators/bootstrap/data/.empty_directory
364
+ - generators/bootstrap/public/fonts/FontAwesome.otf
365
+ - generators/bootstrap/public/fonts/font-awesome-ie7.min.css
366
+ - generators/bootstrap/public/fonts/font-awesome.css
367
+ - generators/bootstrap/public/fonts/font-awesome.min.css
368
+ - generators/bootstrap/public/fonts/fontawesome-webfont.eot
369
+ - generators/bootstrap/public/fonts/fontawesome-webfont.ttf
370
+ - generators/bootstrap/public/fonts/fontawesome-webfont.woff
371
+ - generators/bootstrap/public/javascripts/bootstrap.js
372
+ - generators/bootstrap/public/javascripts/bootstrap.min.js
373
+ - generators/bootstrap/public/samples/.empty_directory
374
+ - generators/bootstrap/public/stylesheets/application.css.scss
375
+ - generators/bootstrap/public/stylesheets/bootstrap-responsive.css
376
+ - generators/bootstrap/public/stylesheets/bootstrap-responsive.min.css
377
+ - generators/bootstrap/public/stylesheets/bootstrap.css
378
+ - generators/bootstrap/public/stylesheets/bootstrap.min.css
379
+ - generators/content_type/app/content_types/%name%.yml.tt
380
+ - generators/content_type/data/%name%.yml.tt
381
+ - generators/foundation/Gemfile.tt
382
+ - generators/foundation/app/content_types/.empty_directory
383
+ - generators/foundation/app/views/pages/404.liquid
384
+ - generators/foundation/app/views/pages/404.liquid.haml
385
+ - generators/foundation/app/views/pages/index.liquid
386
+ - generators/foundation/app/views/pages/index.liquid.haml
387
+ - generators/foundation/app/views/snippets/footer.liquid
388
+ - generators/foundation/app/views/snippets/footer.liquid.haml
389
+ - generators/foundation/config.ru
390
+ - generators/foundation/config/deploy.yml
391
+ - generators/foundation/config/site.yml.tt
392
+ - generators/foundation/config/translations.yml
393
+ - generators/foundation/data/.empty_directory
394
+ - generators/foundation/public/fonts/.empty_directory
395
+ - generators/foundation/public/javascripts/foundation.min.js
396
+ - generators/foundation/public/javascripts/foundation/foundation.alerts.js
397
+ - generators/foundation/public/javascripts/foundation/foundation.clearing.js
398
+ - generators/foundation/public/javascripts/foundation/foundation.cookie.js
399
+ - generators/foundation/public/javascripts/foundation/foundation.dropdown.js
400
+ - generators/foundation/public/javascripts/foundation/foundation.forms.js
401
+ - generators/foundation/public/javascripts/foundation/foundation.joyride.js
402
+ - generators/foundation/public/javascripts/foundation/foundation.js
403
+ - generators/foundation/public/javascripts/foundation/foundation.magellan.js
404
+ - generators/foundation/public/javascripts/foundation/foundation.orbit.js
405
+ - generators/foundation/public/javascripts/foundation/foundation.placeholder.js
406
+ - generators/foundation/public/javascripts/foundation/foundation.reveal.js
407
+ - generators/foundation/public/javascripts/foundation/foundation.section.js
408
+ - generators/foundation/public/javascripts/foundation/foundation.tooltips.js
409
+ - generators/foundation/public/javascripts/foundation/foundation.topbar.js
410
+ - generators/foundation/public/javascripts/vendor/custom.modernizr.js
411
+ - generators/foundation/public/javascripts/vendor/jquery.js
412
+ - generators/foundation/public/javascripts/vendor/zepto.js
413
+ - generators/foundation/public/samples/.empty_directory
414
+ - generators/foundation/public/stylesheets/foundation.css
415
+ - generators/foundation/public/stylesheets/foundation.min.css
416
+ - generators/foundation/public/stylesheets/normalize.css
417
+ - generators/page/template.liquid.haml.tt
418
+ - generators/page/template.liquid.tt
419
+ - generators/snippet/template.liquid.haml.tt
420
+ - generators/snippet/template.liquid.tt
421
+ - lib/locomotive/wagon.rb
422
+ - lib/locomotive/wagon/cli.rb
423
+ - lib/locomotive/wagon/exceptions.rb
424
+ - lib/locomotive/wagon/generators/content_type.rb
425
+ - lib/locomotive/wagon/generators/page.rb
426
+ - lib/locomotive/wagon/generators/site.rb
427
+ - lib/locomotive/wagon/generators/site/base.rb
428
+ - lib/locomotive/wagon/generators/site/blank.rb
429
+ - lib/locomotive/wagon/generators/site/bootstrap.rb
430
+ - lib/locomotive/wagon/generators/site/foundation.rb
431
+ - lib/locomotive/wagon/generators/site/unzip.rb
432
+ - lib/locomotive/wagon/generators/snippet.rb
433
+ - lib/locomotive/wagon/liquid.rb
434
+ - lib/locomotive/wagon/liquid/drops/base.rb
435
+ - lib/locomotive/wagon/liquid/drops/content_entry.rb
436
+ - lib/locomotive/wagon/liquid/drops/content_types.rb
437
+ - lib/locomotive/wagon/liquid/drops/page.rb
438
+ - lib/locomotive/wagon/liquid/drops/site.rb
439
+ - lib/locomotive/wagon/liquid/errors.rb
440
+ - lib/locomotive/wagon/liquid/filters/date.rb
441
+ - lib/locomotive/wagon/liquid/filters/html.rb
442
+ - lib/locomotive/wagon/liquid/filters/misc.rb
443
+ - lib/locomotive/wagon/liquid/filters/resize.rb
444
+ - lib/locomotive/wagon/liquid/filters/text.rb
445
+ - lib/locomotive/wagon/liquid/filters/translate.rb
446
+ - lib/locomotive/wagon/liquid/patches.rb
447
+ - lib/locomotive/wagon/liquid/tags/consume.rb
448
+ - lib/locomotive/wagon/liquid/tags/csrf.rb
449
+ - lib/locomotive/wagon/liquid/tags/editable.rb
450
+ - lib/locomotive/wagon/liquid/tags/editable/base.rb
451
+ - lib/locomotive/wagon/liquid/tags/editable/control.rb
452
+ - lib/locomotive/wagon/liquid/tags/editable/file.rb
453
+ - lib/locomotive/wagon/liquid/tags/editable/long_text.rb
454
+ - lib/locomotive/wagon/liquid/tags/editable/short_text.rb
455
+ - lib/locomotive/wagon/liquid/tags/extends.rb
456
+ - lib/locomotive/wagon/liquid/tags/google_analytics.rb
457
+ - lib/locomotive/wagon/liquid/tags/inline_editor.rb
458
+ - lib/locomotive/wagon/liquid/tags/locale_switcher.rb
459
+ - lib/locomotive/wagon/liquid/tags/nav.rb
460
+ - lib/locomotive/wagon/liquid/tags/paginate.rb
461
+ - lib/locomotive/wagon/liquid/tags/seo.rb
462
+ - lib/locomotive/wagon/liquid/tags/snippet.rb
463
+ - lib/locomotive/wagon/liquid/tags/with_scope.rb
464
+ - lib/locomotive/wagon/listen.rb
465
+ - lib/locomotive/wagon/logger.rb
466
+ - lib/locomotive/wagon/misc.rb
467
+ - lib/locomotive/wagon/misc/core_ext.rb
468
+ - lib/locomotive/wagon/misc/dragonfly.rb
469
+ - lib/locomotive/wagon/misc/httparty.rb
470
+ - lib/locomotive/wagon/misc/i18n.rb
471
+ - lib/locomotive/wagon/misc/will_paginate.rb
472
+ - lib/locomotive/wagon/server.rb
473
+ - lib/locomotive/wagon/server/dynamic_assets.rb
474
+ - lib/locomotive/wagon/server/entry_submission.rb
475
+ - lib/locomotive/wagon/server/favicon.rb
476
+ - lib/locomotive/wagon/server/locale.rb
477
+ - lib/locomotive/wagon/server/logging.rb
478
+ - lib/locomotive/wagon/server/middleware.rb
479
+ - lib/locomotive/wagon/server/not_found.rb
480
+ - lib/locomotive/wagon/server/page.rb
481
+ - lib/locomotive/wagon/server/path.rb
482
+ - lib/locomotive/wagon/server/renderer.rb
483
+ - lib/locomotive/wagon/server/templatized_page.rb
484
+ - lib/locomotive/wagon/standalone_server.rb
485
+ - lib/locomotive/wagon/version.rb
486
+ - locales/de.yml
487
+ - locales/en.yml
488
+ - locales/es.yml
489
+ - locales/et.yml
490
+ - locales/fr.yml
491
+ - locales/it.yml
492
+ - locales/nb.yml
493
+ - locales/nl.yml
494
+ - locales/pl.yml
495
+ - locales/pt-BR.yml
496
+ - locales/ru.yml
497
+ - locomotivecms_wagon.gemspec
498
+ - spec/integration/cassettes/pull.yml
499
+ - spec/integration/cassettes/push.yml
500
+ - spec/integration/integration_helper.rb
501
+ - spec/integration/server_spec.rb
502
+ - spec/integration/sites_spec.rb
503
+ - spec/spec_helper.rb
504
+ - spec/support/helpers.rb
505
+ homepage: http://www.locomotivecms.com
506
+ licenses: []
507
+ post_install_message:
508
+ rdoc_options: []
509
+ require_paths:
510
+ - lib
511
+ required_ruby_version: !ruby/object:Gem::Requirement
512
+ none: false
513
+ requirements:
514
+ - - ! '>='
515
+ - !ruby/object:Gem::Version
516
+ segments:
517
+ - 0
518
+ hash: -1271800771178918598
519
+ version: '0'
520
+ required_rubygems_version: !ruby/object:Gem::Requirement
521
+ none: false
522
+ requirements:
523
+ - - ! '>='
524
+ - !ruby/object:Gem::Version
525
+ segments:
526
+ - 0
527
+ hash: -1271800771178918598
528
+ version: '0'
529
+ requirements: []
530
+ rubyforge_project:
531
+ rubygems_version: 1.8.23
532
+ signing_key:
533
+ specification_version: 3
534
+ summary: The LocomotiveCMS wagon is a site generator for the LocomotiveCMS engine
535
+ powered by all the efficient and modern HTML development tools (Haml, SASS, Compass,
536
+ Less).
537
+ test_files:
538
+ - spec/integration/cassettes/pull.yml
539
+ - spec/integration/cassettes/push.yml
540
+ - spec/integration/integration_helper.rb
541
+ - spec/integration/server_spec.rb
542
+ - spec/integration/sites_spec.rb
543
+ - spec/spec_helper.rb
544
+ - spec/support/helpers.rb