locomotivecms_wagon 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +27 -0
- data/.rspec +2 -0
- data/Gemfile +8 -0
- data/LICENSE.txt +22 -0
- data/README.md +68 -0
- data/Rakefile +57 -0
- data/TODO +57 -0
- data/bin/wagon +9 -0
- data/generators/blank/Gemfile.tt +20 -0
- data/generators/blank/app/content_types/.empty_directory +1 -0
- data/generators/blank/app/views/pages/404.liquid +11 -0
- data/generators/blank/app/views/pages/index.liquid +19 -0
- data/generators/blank/app/views/snippets/.empty_directory +1 -0
- data/generators/blank/config/deploy.yml +12 -0
- data/generators/blank/config/site.yml.tt +16 -0
- data/generators/blank/config/translations.yml +8 -0
- data/generators/blank/config.ru +3 -0
- data/generators/blank/data/.empty_directory +1 -0
- data/generators/blank/public/fonts/.empty_directory +1 -0
- data/generators/blank/public/images/.empty_directory +1 -0
- data/generators/blank/public/javascripts/.empty_directory +1 -0
- data/generators/blank/public/samples/.empty_directory +1 -0
- data/generators/blank/public/stylesheets/.empty_directory +1 -0
- data/generators/bootstrap/Gemfile.tt +20 -0
- data/generators/bootstrap/app/content_types/.empty_directory +1 -0
- data/generators/bootstrap/app/views/pages/404.liquid +13 -0
- data/generators/bootstrap/app/views/pages/404.liquid.haml +10 -0
- data/generators/bootstrap/app/views/pages/index.liquid +89 -0
- data/generators/bootstrap/app/views/pages/index.liquid.haml +72 -0
- data/generators/bootstrap/app/views/snippets/footer.liquid +3 -0
- data/generators/bootstrap/app/views/snippets/footer.liquid.haml +2 -0
- data/generators/bootstrap/config/deploy.yml +12 -0
- data/generators/bootstrap/config/site.yml.tt +16 -0
- data/generators/bootstrap/config/translations.yml +8 -0
- data/generators/bootstrap/config.ru +3 -0
- data/generators/bootstrap/data/.empty_directory +1 -0
- data/generators/bootstrap/public/fonts/FontAwesome.otf +0 -0
- data/generators/bootstrap/public/fonts/font-awesome-ie7.min.css +23 -0
- data/generators/bootstrap/public/fonts/font-awesome.css +469 -0
- data/generators/bootstrap/public/fonts/font-awesome.min.css +34 -0
- data/generators/bootstrap/public/fonts/fontawesome-webfont.eot +0 -0
- data/generators/bootstrap/public/fonts/fontawesome-webfont.ttf +0 -0
- data/generators/bootstrap/public/fonts/fontawesome-webfont.woff +0 -0
- data/generators/bootstrap/public/javascripts/bootstrap.js +2159 -0
- data/generators/bootstrap/public/javascripts/bootstrap.min.js +6 -0
- data/generators/bootstrap/public/samples/.empty_directory +1 -0
- data/generators/bootstrap/public/stylesheets/application.css.scss +39 -0
- data/generators/bootstrap/public/stylesheets/bootstrap-responsive.css +1092 -0
- data/generators/bootstrap/public/stylesheets/bootstrap-responsive.min.css +9 -0
- data/generators/bootstrap/public/stylesheets/bootstrap.css +5652 -0
- data/generators/bootstrap/public/stylesheets/bootstrap.min.css +726 -0
- data/generators/content_type/app/content_types/%name%.yml.tt +58 -0
- data/generators/content_type/data/%name%.yml.tt +24 -0
- data/generators/foundation/Gemfile.tt +20 -0
- data/generators/foundation/app/content_types/.empty_directory +1 -0
- data/generators/foundation/app/views/pages/404.liquid +13 -0
- data/generators/foundation/app/views/pages/404.liquid.haml +10 -0
- data/generators/foundation/app/views/pages/index.liquid +152 -0
- data/generators/foundation/app/views/pages/index.liquid.haml +130 -0
- data/generators/foundation/app/views/snippets/footer.liquid +16 -0
- data/generators/foundation/app/views/snippets/footer.liquid.haml +23 -0
- data/generators/foundation/config/deploy.yml +12 -0
- data/generators/foundation/config/site.yml.tt +16 -0
- data/generators/foundation/config/translations.yml +8 -0
- data/generators/foundation/config.ru +3 -0
- data/generators/foundation/data/.empty_directory +1 -0
- data/generators/foundation/public/fonts/.empty_directory +1 -0
- data/generators/foundation/public/javascripts/foundation/foundation.alerts.js +50 -0
- data/generators/foundation/public/javascripts/foundation/foundation.clearing.js +480 -0
- data/generators/foundation/public/javascripts/foundation/foundation.cookie.js +74 -0
- data/generators/foundation/public/javascripts/foundation/foundation.dropdown.js +130 -0
- data/generators/foundation/public/javascripts/foundation/foundation.forms.js +395 -0
- data/generators/foundation/public/javascripts/foundation/foundation.joyride.js +612 -0
- data/generators/foundation/public/javascripts/foundation/foundation.js +372 -0
- data/generators/foundation/public/javascripts/foundation/foundation.magellan.js +130 -0
- data/generators/foundation/public/javascripts/foundation/foundation.orbit.js +365 -0
- data/generators/foundation/public/javascripts/foundation/foundation.placeholder.js +159 -0
- data/generators/foundation/public/javascripts/foundation/foundation.reveal.js +270 -0
- data/generators/foundation/public/javascripts/foundation/foundation.section.js +272 -0
- data/generators/foundation/public/javascripts/foundation/foundation.tooltips.js +195 -0
- data/generators/foundation/public/javascripts/foundation/foundation.topbar.js +225 -0
- data/generators/foundation/public/javascripts/foundation.min.js +14 -0
- data/generators/foundation/public/javascripts/vendor/custom.modernizr.js +4 -0
- data/generators/foundation/public/javascripts/vendor/jquery.js +9597 -0
- data/generators/foundation/public/javascripts/vendor/zepto.js +1884 -0
- data/generators/foundation/public/samples/.empty_directory +1 -0
- data/generators/foundation/public/stylesheets/foundation.css +3818 -0
- data/generators/foundation/public/stylesheets/foundation.min.css +1 -0
- data/generators/foundation/public/stylesheets/normalize.css +396 -0
- data/generators/page/template.liquid.haml.tt +35 -0
- data/generators/page/template.liquid.tt +1 -0
- data/generators/snippet/template.liquid.haml.tt +4 -0
- data/generators/snippet/template.liquid.tt +4 -0
- data/lib/locomotive/wagon/cli.rb +238 -0
- data/lib/locomotive/wagon/exceptions.rb +35 -0
- data/lib/locomotive/wagon/generators/content_type.rb +47 -0
- data/lib/locomotive/wagon/generators/page.rb +63 -0
- data/lib/locomotive/wagon/generators/site/base.rb +30 -0
- data/lib/locomotive/wagon/generators/site/blank.rb +23 -0
- data/lib/locomotive/wagon/generators/site/bootstrap.rb +35 -0
- data/lib/locomotive/wagon/generators/site/foundation.rb +35 -0
- data/lib/locomotive/wagon/generators/site/unzip.rb +81 -0
- data/lib/locomotive/wagon/generators/site.rb +99 -0
- data/lib/locomotive/wagon/generators/snippet.rb +60 -0
- data/lib/locomotive/wagon/liquid/drops/base.rb +44 -0
- data/lib/locomotive/wagon/liquid/drops/content_entry.rb +48 -0
- data/lib/locomotive/wagon/liquid/drops/content_types.rb +121 -0
- data/lib/locomotive/wagon/liquid/drops/page.rb +36 -0
- data/lib/locomotive/wagon/liquid/drops/site.rb +21 -0
- data/lib/locomotive/wagon/liquid/errors.rb +7 -0
- data/lib/locomotive/wagon/liquid/filters/date.rb +98 -0
- data/lib/locomotive/wagon/liquid/filters/html.rb +154 -0
- data/lib/locomotive/wagon/liquid/filters/misc.rb +28 -0
- data/lib/locomotive/wagon/liquid/filters/resize.rb +18 -0
- data/lib/locomotive/wagon/liquid/filters/text.rb +50 -0
- data/lib/locomotive/wagon/liquid/filters/translate.rb +24 -0
- data/lib/locomotive/wagon/liquid/patches.rb +47 -0
- data/lib/locomotive/wagon/liquid/tags/consume.rb +58 -0
- data/lib/locomotive/wagon/liquid/tags/csrf.rb +34 -0
- data/lib/locomotive/wagon/liquid/tags/editable/base.rb +46 -0
- data/lib/locomotive/wagon/liquid/tags/editable/control.rb +19 -0
- data/lib/locomotive/wagon/liquid/tags/editable/file.rb +15 -0
- data/lib/locomotive/wagon/liquid/tags/editable/long_text.rb +15 -0
- data/lib/locomotive/wagon/liquid/tags/editable/short_text.rb +15 -0
- data/lib/locomotive/wagon/liquid/tags/editable.rb +5 -0
- data/lib/locomotive/wagon/liquid/tags/extends.rb +25 -0
- data/lib/locomotive/wagon/liquid/tags/google_analytics.rb +28 -0
- data/lib/locomotive/wagon/liquid/tags/inline_editor.rb +16 -0
- data/lib/locomotive/wagon/liquid/tags/locale_switcher.rb +106 -0
- data/lib/locomotive/wagon/liquid/tags/nav.rb +167 -0
- data/lib/locomotive/wagon/liquid/tags/paginate.rb +105 -0
- data/lib/locomotive/wagon/liquid/tags/seo.rb +74 -0
- data/lib/locomotive/wagon/liquid/tags/snippet.rb +44 -0
- data/lib/locomotive/wagon/liquid/tags/with_scope.rb +43 -0
- data/lib/locomotive/wagon/liquid.rb +19 -0
- data/lib/locomotive/wagon/listen.rb +57 -0
- data/lib/locomotive/wagon/logger.rb +54 -0
- data/lib/locomotive/wagon/misc/core_ext.rb +29 -0
- data/lib/locomotive/wagon/misc/dragonfly.rb +79 -0
- data/lib/locomotive/wagon/misc/httparty.rb +46 -0
- data/lib/locomotive/wagon/misc/i18n.rb +2 -0
- data/lib/locomotive/wagon/misc/will_paginate.rb +16 -0
- data/lib/locomotive/wagon/misc.rb +5 -0
- data/lib/locomotive/wagon/server/dynamic_assets.rb +31 -0
- data/lib/locomotive/wagon/server/entry_submission.rb +116 -0
- data/lib/locomotive/wagon/server/favicon.rb +17 -0
- data/lib/locomotive/wagon/server/locale.rb +42 -0
- data/lib/locomotive/wagon/server/logging.rb +32 -0
- data/lib/locomotive/wagon/server/middleware.rb +59 -0
- data/lib/locomotive/wagon/server/not_found.rb +19 -0
- data/lib/locomotive/wagon/server/page.rb +61 -0
- data/lib/locomotive/wagon/server/path.rb +34 -0
- data/lib/locomotive/wagon/server/renderer.rb +105 -0
- data/lib/locomotive/wagon/server/templatized_page.rb +32 -0
- data/lib/locomotive/wagon/server.rb +81 -0
- data/lib/locomotive/wagon/standalone_server.rb +28 -0
- data/lib/locomotive/wagon/version.rb +5 -0
- data/lib/locomotive/wagon.rb +163 -0
- data/locales/de.yml +156 -0
- data/locales/en.yml +177 -0
- data/locales/es.yml +132 -0
- data/locales/et.yml +153 -0
- data/locales/fr.yml +146 -0
- data/locales/it.yml +154 -0
- data/locales/nb.yml +190 -0
- data/locales/nl.yml +159 -0
- data/locales/pl.yml +202 -0
- data/locales/pt-BR.yml +138 -0
- data/locales/ru.yml +223 -0
- data/locomotivecms_wagon.gemspec +44 -0
- data/spec/integration/cassettes/pull.yml +590 -0
- data/spec/integration/cassettes/push.yml +810 -0
- data/spec/integration/integration_helper.rb +14 -0
- data/spec/integration/server_spec.rb +38 -0
- data/spec/integration/sites_spec.rb +29 -0
- data/spec/spec_helper.rb +12 -0
- data/spec/support/helpers.rb +13 -0
- metadata +544 -0
@@ -0,0 +1,44 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'locomotive/wagon/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |gem|
|
7
|
+
gem.name = 'locomotivecms_wagon'
|
8
|
+
gem.version = Locomotive::Wagon::VERSION
|
9
|
+
gem.authors = ['Didier Lafforgue', 'Rodrigo Alvarez']
|
10
|
+
gem.email = ['did@locomotivecms.com', 'papipo@gmail.com']
|
11
|
+
gem.description = %q{The LocomotiveCMS wagon is a site generator for the LocomotiveCMS engine}
|
12
|
+
gem.summary = %q{The LocomotiveCMS wagon is a site generator for the LocomotiveCMS engine powered by all the efficient and modern HTML development tools (Haml, SASS, Compass, Less).}
|
13
|
+
gem.homepage = 'http://www.locomotivecms.com'
|
14
|
+
|
15
|
+
gem.files = `git ls-files`.split($/)
|
16
|
+
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
|
17
|
+
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
18
|
+
gem.require_paths = ['lib']
|
19
|
+
gem.executables = ['wagon']
|
20
|
+
|
21
|
+
gem.add_dependency 'thor'
|
22
|
+
gem.add_dependency 'thin'
|
23
|
+
gem.add_dependency 'activesupport', '~> 3.2.11'
|
24
|
+
gem.add_dependency 'locomotive_liquid', '~> 2.4.1'
|
25
|
+
gem.add_dependency 'RedCloth', '~> 4.2.9'
|
26
|
+
gem.add_dependency 'dragonfly', '~> 0.9.12'
|
27
|
+
gem.add_dependency 'rack-cache', '~> 1.1'
|
28
|
+
gem.add_dependency 'better_errors', '~> 0.7.2'
|
29
|
+
|
30
|
+
gem.add_dependency 'listen', '~> 0.7.0'
|
31
|
+
|
32
|
+
gem.add_dependency 'rmagick', '2.12.2'
|
33
|
+
gem.add_dependency 'httmultiparty', '~> 0.3.8'
|
34
|
+
gem.add_dependency 'will_paginate', '~> 3.0.3'
|
35
|
+
gem.add_dependency 'locomotivecms_mounter', '1.0.1'
|
36
|
+
|
37
|
+
gem.add_dependency 'faker', '~> 0.9.5'
|
38
|
+
|
39
|
+
gem.add_development_dependency 'rake', '~> 10.0.4'
|
40
|
+
gem.add_development_dependency 'rspec', '~> 2.6.0'
|
41
|
+
gem.add_development_dependency 'vcr'
|
42
|
+
gem.add_development_dependency 'webmock', '~> 1.8.0'
|
43
|
+
gem.add_development_dependency 'rack-test'
|
44
|
+
end
|
@@ -0,0 +1,590 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: http://locomotive.engine.dev:3000/locomotive/api/tokens.json
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: email=admin%40locomotivecms.com&password=locomotive
|
9
|
+
headers: {}
|
10
|
+
response:
|
11
|
+
status:
|
12
|
+
code: 200
|
13
|
+
message: ! 'OK '
|
14
|
+
headers:
|
15
|
+
Location:
|
16
|
+
- http://locomotive.engine.dev:3000/locomotive/
|
17
|
+
Content-Type:
|
18
|
+
- application/json; charset=utf-8
|
19
|
+
X-Ua-Compatible:
|
20
|
+
- IE=Edge
|
21
|
+
Etag:
|
22
|
+
- ! '"e29ee4caaed0880055c032e8a8586878"'
|
23
|
+
Cache-Control:
|
24
|
+
- max-age=0, private, must-revalidate
|
25
|
+
X-Request-Id:
|
26
|
+
- 59f2d2115fdeb2d7c49b02418d27eae4
|
27
|
+
X-Runtime:
|
28
|
+
- '0.013383'
|
29
|
+
Content-Length:
|
30
|
+
- '32'
|
31
|
+
Server:
|
32
|
+
- WEBrick/1.3.1 (Ruby/1.9.3/2012-11-10)
|
33
|
+
Date:
|
34
|
+
- Thu, 24 Jan 2013 10:44:23 GMT
|
35
|
+
Connection:
|
36
|
+
- Keep-Alive
|
37
|
+
Set-Cookie:
|
38
|
+
- _dummy_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRkkiJWNmNzczNTRhZjYzNWI0YjI4MDE0NjM0YTYzOTEzMTg1BjsAVEkiCmZsYXNoBjsARm86JUFjdGlvbkRpc3BhdGNoOjpGbGFzaDo6Rmxhc2hIYXNoCToKQHVzZWRvOghTZXQGOgpAaGFzaHsAOgxAY2xvc2VkRjoNQGZsYXNoZXN7BjoLbm90aWNlSUM6HkFjdGl2ZVN1cHBvcnQ6OlNhZmVCdWZmZXIiI0hhc2ggd2FzIHN1Y2Nlc3NmdWxseSBjcmVhdGVkLgc7AFQ6D0BodG1sX3NhZmVUOglAbm93MA%3D%3D--caf0dc8a7bcb6597e57a691cd94ffb4436ac1388;
|
39
|
+
domain=.engine.dev; path=/; HttpOnly
|
40
|
+
body:
|
41
|
+
encoding: US-ASCII
|
42
|
+
string: ! '{"token":"jKkxPorzWo8uNYUxiiQC"}'
|
43
|
+
http_version:
|
44
|
+
recorded_at: Thu, 24 Jan 2013 10:44:23 GMT
|
45
|
+
- request:
|
46
|
+
method: get
|
47
|
+
uri: http://locomotive.engine.dev:3000/locomotive/api/current_site.json?auth_token=jKkxPorzWo8uNYUxiiQC
|
48
|
+
body:
|
49
|
+
encoding: US-ASCII
|
50
|
+
string: ''
|
51
|
+
headers: {}
|
52
|
+
response:
|
53
|
+
status:
|
54
|
+
code: 200
|
55
|
+
message: ! 'OK '
|
56
|
+
headers:
|
57
|
+
Content-Type:
|
58
|
+
- application/json; charset=utf-8
|
59
|
+
X-Ua-Compatible:
|
60
|
+
- IE=Edge
|
61
|
+
Etag:
|
62
|
+
- ! '"116f03a67f2d85f59d9496bc0fd26224"'
|
63
|
+
Cache-Control:
|
64
|
+
- max-age=0, private, must-revalidate
|
65
|
+
X-Request-Id:
|
66
|
+
- faf1e65df83529834e55bf98fa2bb4f5
|
67
|
+
X-Runtime:
|
68
|
+
- '0.018925'
|
69
|
+
Content-Length:
|
70
|
+
- '562'
|
71
|
+
Server:
|
72
|
+
- WEBrick/1.3.1 (Ruby/1.9.3/2012-11-10)
|
73
|
+
Date:
|
74
|
+
- Thu, 24 Jan 2013 10:44:23 GMT
|
75
|
+
Connection:
|
76
|
+
- Keep-Alive
|
77
|
+
Set-Cookie:
|
78
|
+
- _dummy_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRkkiJTk4ZjhhYThkMjI1M2Q1YTg4YjFjZWUwM2JmODEwYWU1BjsAVEkiJ3dhcmRlbi51c2VyLmxvY29tb3RpdmVfYWNjb3VudC5rZXkGOwBUWwhJIhhMb2NvbW90aXZlOjpBY2NvdW50BjsARlsGbzoTQlNPTjo6T2JqZWN0SWQGOgpAZGF0YVsRaVZpBmkUaQHSaQHIaTFpAdFpdml%2BaQBpAGkJSSIZM1E2OFRtN0c4MUV4RkhiWjc3R3gGOwBU--7d724604c6d9d346bc05f19ae86b8aee2c0cd574;
|
79
|
+
domain=.engine.dev; path=/; HttpOnly
|
80
|
+
body:
|
81
|
+
encoding: US-ASCII
|
82
|
+
string: ! '{"id":"51010fd2c82cd17179000001","_id":"51010fd2c82cd17179000001","created_at":"2013-01-24T11:41:22+01:00","updated_at":"2013-01-24T11:43:08+01:00","name":"locomotive","locales":["en","es"],"subdomain":"locomotive","domains":["locomotive.engine.dev"],"domains_without_subdomain":[],"domain_name":"engine.dev","memberships":[{"id":"51010fd2c82cd17179000005","_id":"51010fd2c82cd17179000005","role":"admin","role_name":"Administrator","can_update":false,"grant_admin":true,"account_id":"51010fd2c82cd17179000004","name":"Admin","email":"admin@locomotivecms.com"}]}'
|
83
|
+
http_version:
|
84
|
+
recorded_at: Thu, 24 Jan 2013 10:44:23 GMT
|
85
|
+
- request:
|
86
|
+
method: get
|
87
|
+
uri: http://locomotive.engine.dev:3000/locomotive/api/current_site.json?auth_token=jKkxPorzWo8uNYUxiiQC&locale=es
|
88
|
+
body:
|
89
|
+
encoding: US-ASCII
|
90
|
+
string: ''
|
91
|
+
headers: {}
|
92
|
+
response:
|
93
|
+
status:
|
94
|
+
code: 200
|
95
|
+
message: ! 'OK '
|
96
|
+
headers:
|
97
|
+
Content-Type:
|
98
|
+
- application/json; charset=utf-8
|
99
|
+
X-Ua-Compatible:
|
100
|
+
- IE=Edge
|
101
|
+
Etag:
|
102
|
+
- ! '"290f92414519318b73a02cf9bd36344d"'
|
103
|
+
Cache-Control:
|
104
|
+
- max-age=0, private, must-revalidate
|
105
|
+
X-Request-Id:
|
106
|
+
- 08614ed46539674ed8c2016ea4fdcf0c
|
107
|
+
X-Runtime:
|
108
|
+
- '0.017585'
|
109
|
+
Content-Length:
|
110
|
+
- '562'
|
111
|
+
Server:
|
112
|
+
- WEBrick/1.3.1 (Ruby/1.9.3/2012-11-10)
|
113
|
+
Date:
|
114
|
+
- Thu, 24 Jan 2013 10:44:23 GMT
|
115
|
+
Connection:
|
116
|
+
- Keep-Alive
|
117
|
+
Set-Cookie:
|
118
|
+
- _dummy_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRkkiJTBlNzZhZjYzZjFjMTk3MzcwNzQ2MDFmMmVlZWY2OWQ1BjsAVEkiJ3dhcmRlbi51c2VyLmxvY29tb3RpdmVfYWNjb3VudC5rZXkGOwBUWwhJIhhMb2NvbW90aXZlOjpBY2NvdW50BjsARlsGbzoTQlNPTjo6T2JqZWN0SWQGOgpAZGF0YVsRaVZpBmkUaQHSaQHIaTFpAdFpdml%2BaQBpAGkJSSIZM1E2OFRtN0c4MUV4RkhiWjc3R3gGOwBU--9bf1249cfa3e46432f1c7dd3e8a2594b03bdaf9a;
|
119
|
+
domain=.engine.dev; path=/; HttpOnly
|
120
|
+
body:
|
121
|
+
encoding: US-ASCII
|
122
|
+
string: ! '{"id":"51010fd2c82cd17179000001","_id":"51010fd2c82cd17179000001","created_at":"2013-01-24T11:41:22+01:00","updated_at":"2013-01-24T11:43:08+01:00","name":"locomotive","locales":["en","es"],"subdomain":"locomotive","domains":["locomotive.engine.dev"],"domains_without_subdomain":[],"domain_name":"engine.dev","memberships":[{"id":"51010fd2c82cd17179000005","_id":"51010fd2c82cd17179000005","role":"admin","role_name":"Administrador","can_update":false,"grant_admin":true,"account_id":"51010fd2c82cd17179000004","name":"Admin","email":"admin@locomotivecms.com"}]}'
|
123
|
+
http_version:
|
124
|
+
recorded_at: Thu, 24 Jan 2013 10:44:23 GMT
|
125
|
+
- request:
|
126
|
+
method: get
|
127
|
+
uri: http://locomotive.engine.dev:3000/locomotive/api/content_assets.json?auth_token=jKkxPorzWo8uNYUxiiQC
|
128
|
+
body:
|
129
|
+
encoding: US-ASCII
|
130
|
+
string: ''
|
131
|
+
headers: {}
|
132
|
+
response:
|
133
|
+
status:
|
134
|
+
code: 200
|
135
|
+
message: ! 'OK '
|
136
|
+
headers:
|
137
|
+
Content-Type:
|
138
|
+
- application/json; charset=utf-8
|
139
|
+
X-Ua-Compatible:
|
140
|
+
- IE=Edge
|
141
|
+
Etag:
|
142
|
+
- ! '"d751713988987e9331980363e24189ce"'
|
143
|
+
Cache-Control:
|
144
|
+
- max-age=0, private, must-revalidate
|
145
|
+
X-Request-Id:
|
146
|
+
- a50fd6835cceb48a63a17a91bad6a420
|
147
|
+
X-Runtime:
|
148
|
+
- '0.021747'
|
149
|
+
Content-Length:
|
150
|
+
- '2'
|
151
|
+
Server:
|
152
|
+
- WEBrick/1.3.1 (Ruby/1.9.3/2012-11-10)
|
153
|
+
Date:
|
154
|
+
- Thu, 24 Jan 2013 10:44:23 GMT
|
155
|
+
Connection:
|
156
|
+
- Keep-Alive
|
157
|
+
Set-Cookie:
|
158
|
+
- _dummy_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRkkiJTllNGJlZWRkZjc5YTVlNjE0OWJlZTBiOGEyYzQ1YmJlBjsAVEkiJ3dhcmRlbi51c2VyLmxvY29tb3RpdmVfYWNjb3VudC5rZXkGOwBUWwhJIhhMb2NvbW90aXZlOjpBY2NvdW50BjsARlsGbzoTQlNPTjo6T2JqZWN0SWQGOgpAZGF0YVsRaVZpBmkUaQHSaQHIaTFpAdFpdml%2BaQBpAGkJSSIZM1E2OFRtN0c4MUV4RkhiWjc3R3gGOwBU--f810b26e5dc1a0555d604fa40848d116eddab440;
|
159
|
+
domain=.engine.dev; path=/; HttpOnly
|
160
|
+
body:
|
161
|
+
encoding: US-ASCII
|
162
|
+
string: ! '[]'
|
163
|
+
http_version:
|
164
|
+
recorded_at: Thu, 24 Jan 2013 10:44:23 GMT
|
165
|
+
- request:
|
166
|
+
method: get
|
167
|
+
uri: http://locomotive.engine.dev:3000/locomotive/api/snippets.json?auth_token=jKkxPorzWo8uNYUxiiQC
|
168
|
+
body:
|
169
|
+
encoding: US-ASCII
|
170
|
+
string: ''
|
171
|
+
headers: {}
|
172
|
+
response:
|
173
|
+
status:
|
174
|
+
code: 200
|
175
|
+
message: ! 'OK '
|
176
|
+
headers:
|
177
|
+
Content-Type:
|
178
|
+
- application/json; charset=utf-8
|
179
|
+
X-Ua-Compatible:
|
180
|
+
- IE=Edge
|
181
|
+
Etag:
|
182
|
+
- ! '"d751713988987e9331980363e24189ce"'
|
183
|
+
Cache-Control:
|
184
|
+
- max-age=0, private, must-revalidate
|
185
|
+
X-Request-Id:
|
186
|
+
- 4852e41984215bb29e898dd321ddeea8
|
187
|
+
X-Runtime:
|
188
|
+
- '0.020064'
|
189
|
+
Content-Length:
|
190
|
+
- '2'
|
191
|
+
Server:
|
192
|
+
- WEBrick/1.3.1 (Ruby/1.9.3/2012-11-10)
|
193
|
+
Date:
|
194
|
+
- Thu, 24 Jan 2013 10:44:23 GMT
|
195
|
+
Connection:
|
196
|
+
- Keep-Alive
|
197
|
+
Set-Cookie:
|
198
|
+
- _dummy_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRkkiJTI4OWY1ZTBmMjc2NGZiZTc5NDNiYzQ3MDM2MjFlMWM3BjsAVEkiJ3dhcmRlbi51c2VyLmxvY29tb3RpdmVfYWNjb3VudC5rZXkGOwBUWwhJIhhMb2NvbW90aXZlOjpBY2NvdW50BjsARlsGbzoTQlNPTjo6T2JqZWN0SWQGOgpAZGF0YVsRaVZpBmkUaQHSaQHIaTFpAdFpdml%2BaQBpAGkJSSIZM1E2OFRtN0c4MUV4RkhiWjc3R3gGOwBU--25fd219d6f35dda262d9a3201096a073b1f1cd8d;
|
199
|
+
domain=.engine.dev; path=/; HttpOnly
|
200
|
+
body:
|
201
|
+
encoding: US-ASCII
|
202
|
+
string: ! '[]'
|
203
|
+
http_version:
|
204
|
+
recorded_at: Thu, 24 Jan 2013 10:44:23 GMT
|
205
|
+
- request:
|
206
|
+
method: get
|
207
|
+
uri: http://locomotive.engine.dev:3000/locomotive/api/content_types.json?auth_token=jKkxPorzWo8uNYUxiiQC
|
208
|
+
body:
|
209
|
+
encoding: US-ASCII
|
210
|
+
string: ''
|
211
|
+
headers: {}
|
212
|
+
response:
|
213
|
+
status:
|
214
|
+
code: 200
|
215
|
+
message: ! 'OK '
|
216
|
+
headers:
|
217
|
+
Content-Type:
|
218
|
+
- application/json; charset=utf-8
|
219
|
+
X-Ua-Compatible:
|
220
|
+
- IE=Edge
|
221
|
+
Etag:
|
222
|
+
- ! '"821b57c9b4131678fd1b597e87252e96"'
|
223
|
+
Cache-Control:
|
224
|
+
- max-age=0, private, must-revalidate
|
225
|
+
X-Request-Id:
|
226
|
+
- d4a9e750a0aed593d6e7478176d873b5
|
227
|
+
X-Runtime:
|
228
|
+
- '0.120591'
|
229
|
+
Content-Length:
|
230
|
+
- '761'
|
231
|
+
Server:
|
232
|
+
- WEBrick/1.3.1 (Ruby/1.9.3/2012-11-10)
|
233
|
+
Date:
|
234
|
+
- Thu, 24 Jan 2013 10:44:23 GMT
|
235
|
+
Connection:
|
236
|
+
- Keep-Alive
|
237
|
+
Set-Cookie:
|
238
|
+
- _dummy_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRkkiJTMwMGIzZjY3YmU3ZTZjMDAwZDM2MjU2N2ExOGVmMmM0BjsAVEkiJ3dhcmRlbi51c2VyLmxvY29tb3RpdmVfYWNjb3VudC5rZXkGOwBUWwhJIhhMb2NvbW90aXZlOjpBY2NvdW50BjsARlsGbzoTQlNPTjo6T2JqZWN0SWQGOgpAZGF0YVsRaVZpBmkUaQHSaQHIaTFpAdFpdml%2BaQBpAGkJSSIZM1E2OFRtN0c4MUV4RkhiWjc3R3gGOwBU--5875fe0fbbabbfdfcc6ae1da4cb0bf05e8d1f645;
|
239
|
+
domain=.engine.dev; path=/; HttpOnly
|
240
|
+
body:
|
241
|
+
encoding: US-ASCII
|
242
|
+
string: ! '[{"id":"5101101bc82cd12530000013","_id":"5101101bc82cd12530000013","created_at":"2013-01-24T11:42:35+01:00","updated_at":"2013-01-24T11:42:35+01:00","name":"Products","slug":"products","entries_custom_fields":[{"id":"5101101bc82cd12530000014","_id":"5101101bc82cd12530000014","name":"name","label":"name","type":"string","required":true,"localized":true,"position":0},{"id":"5101101bc82cd12530000015","_id":"5101101bc82cd12530000015","name":"available","label":"available","type":"boolean","required":false,"localized":false,"position":1}],"description":"My
|
243
|
+
products collection","label_field_name":"name","order_by":"created_at","order_direction":"asc","order_by_field_name":"created_at","public_submission_enabled":false,"public_submission_account_emails":[]}]'
|
244
|
+
http_version:
|
245
|
+
recorded_at: Thu, 24 Jan 2013 10:44:23 GMT
|
246
|
+
- request:
|
247
|
+
method: get
|
248
|
+
uri: http://locomotive.engine.dev:3000/locomotive/api/content_types/products/entries.json?auth_token=jKkxPorzWo8uNYUxiiQC
|
249
|
+
body:
|
250
|
+
encoding: US-ASCII
|
251
|
+
string: ''
|
252
|
+
headers: {}
|
253
|
+
response:
|
254
|
+
status:
|
255
|
+
code: 200
|
256
|
+
message: ! 'OK '
|
257
|
+
headers:
|
258
|
+
Content-Type:
|
259
|
+
- text/html; charset=utf-8
|
260
|
+
X-Ua-Compatible:
|
261
|
+
- IE=Edge
|
262
|
+
Etag:
|
263
|
+
- ! '"75b1ac8a95d518ac69b5f02f6dc4d132"'
|
264
|
+
Cache-Control:
|
265
|
+
- max-age=0, private, must-revalidate
|
266
|
+
X-Request-Id:
|
267
|
+
- 9d6ff0a86f4b780eb26dc19d3d95b86c
|
268
|
+
X-Runtime:
|
269
|
+
- '0.027776'
|
270
|
+
Content-Length:
|
271
|
+
- '307'
|
272
|
+
Server:
|
273
|
+
- WEBrick/1.3.1 (Ruby/1.9.3/2012-11-10)
|
274
|
+
Date:
|
275
|
+
- Thu, 24 Jan 2013 10:44:23 GMT
|
276
|
+
Connection:
|
277
|
+
- Keep-Alive
|
278
|
+
Set-Cookie:
|
279
|
+
- _dummy_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRkkiJWI5OWVkZTkwNmQzNzgzZTc2OThjYzZhOThlZmM2ZTg4BjsAVEkiJ3dhcmRlbi51c2VyLmxvY29tb3RpdmVfYWNjb3VudC5rZXkGOwBUWwhJIhhMb2NvbW90aXZlOjpBY2NvdW50BjsARlsGbzoTQlNPTjo6T2JqZWN0SWQGOgpAZGF0YVsRaVZpBmkUaQHSaQHIaTFpAdFpdml%2BaQBpAGkJSSIZM1E2OFRtN0c4MUV4RkhiWjc3R3gGOwBU--7ff0b67b71c9435b72a4699277635b6206e7c16a;
|
280
|
+
domain=.engine.dev; path=/; HttpOnly
|
281
|
+
body:
|
282
|
+
encoding: US-ASCII
|
283
|
+
string: ! '[{"id":"5101101bc82cd12530000016","_id":"5101101bc82cd12530000016","created_at":"2013-01-24T11:42:35+01:00","updated_at":"2013-01-24T11:43:08+01:00","_label":"Useless
|
284
|
+
stuff","_slug":"useless-stuff","_position":0,"content_type_slug":"products","translated_in":["en"],"name":"Useless
|
285
|
+
stuff","available":true}]'
|
286
|
+
http_version:
|
287
|
+
recorded_at: Thu, 24 Jan 2013 10:44:23 GMT
|
288
|
+
- request:
|
289
|
+
method: get
|
290
|
+
uri: http://locomotive.engine.dev:3000/locomotive/api/content_types/products/entries/5101101bc82cd12530000016.json?auth_token=jKkxPorzWo8uNYUxiiQC&locale=en
|
291
|
+
body:
|
292
|
+
encoding: US-ASCII
|
293
|
+
string: ''
|
294
|
+
headers: {}
|
295
|
+
response:
|
296
|
+
status:
|
297
|
+
code: 200
|
298
|
+
message: ! 'OK '
|
299
|
+
headers:
|
300
|
+
Content-Type:
|
301
|
+
- text/html; charset=utf-8
|
302
|
+
X-Ua-Compatible:
|
303
|
+
- IE=Edge
|
304
|
+
Etag:
|
305
|
+
- ! '"f2a0d516ed3a703c2e3e670fefef2216"'
|
306
|
+
Cache-Control:
|
307
|
+
- max-age=0, private, must-revalidate
|
308
|
+
X-Request-Id:
|
309
|
+
- 8cf2616e66c2a234c63c2f4de3cc7928
|
310
|
+
X-Runtime:
|
311
|
+
- '0.029427'
|
312
|
+
Content-Length:
|
313
|
+
- '305'
|
314
|
+
Server:
|
315
|
+
- WEBrick/1.3.1 (Ruby/1.9.3/2012-11-10)
|
316
|
+
Date:
|
317
|
+
- Thu, 24 Jan 2013 10:44:24 GMT
|
318
|
+
Connection:
|
319
|
+
- Keep-Alive
|
320
|
+
Set-Cookie:
|
321
|
+
- _dummy_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRkkiJWMwZWQxZWIzNDZkZDQ1N2I5YTkyMmRkODNmZWU5OTJjBjsAVEkiJ3dhcmRlbi51c2VyLmxvY29tb3RpdmVfYWNjb3VudC5rZXkGOwBUWwhJIhhMb2NvbW90aXZlOjpBY2NvdW50BjsARlsGbzoTQlNPTjo6T2JqZWN0SWQGOgpAZGF0YVsRaVZpBmkUaQHSaQHIaTFpAdFpdml%2BaQBpAGkJSSIZM1E2OFRtN0c4MUV4RkhiWjc3R3gGOwBU--9dba89ed5da9cdae1e6de95b0afcd39e18b8479f;
|
322
|
+
domain=.engine.dev; path=/; HttpOnly
|
323
|
+
body:
|
324
|
+
encoding: US-ASCII
|
325
|
+
string: ! '{"id":"5101101bc82cd12530000016","_id":"5101101bc82cd12530000016","created_at":"2013-01-24T11:42:35+01:00","updated_at":"2013-01-24T11:43:08+01:00","_label":"Useless
|
326
|
+
stuff","_slug":"useless-stuff","_position":0,"content_type_slug":"products","translated_in":["en"],"name":"Useless
|
327
|
+
stuff","available":true}'
|
328
|
+
http_version:
|
329
|
+
recorded_at: Thu, 24 Jan 2013 10:44:24 GMT
|
330
|
+
- request:
|
331
|
+
method: get
|
332
|
+
uri: http://locomotive.engine.dev:3000/locomotive/api/pages.json?auth_token=jKkxPorzWo8uNYUxiiQC
|
333
|
+
body:
|
334
|
+
encoding: US-ASCII
|
335
|
+
string: ''
|
336
|
+
headers: {}
|
337
|
+
response:
|
338
|
+
status:
|
339
|
+
code: 200
|
340
|
+
message: ! 'OK '
|
341
|
+
headers:
|
342
|
+
Content-Type:
|
343
|
+
- application/json; charset=utf-8
|
344
|
+
X-Ua-Compatible:
|
345
|
+
- IE=Edge
|
346
|
+
Etag:
|
347
|
+
- ! '"a92c6f0783ec1d04ebed1da8c968c8da"'
|
348
|
+
Cache-Control:
|
349
|
+
- max-age=0, private, must-revalidate
|
350
|
+
X-Request-Id:
|
351
|
+
- 2f74ac0edd40d5b3fedab213731db59e
|
352
|
+
X-Runtime:
|
353
|
+
- '0.026828'
|
354
|
+
Content-Length:
|
355
|
+
- '3338'
|
356
|
+
Server:
|
357
|
+
- WEBrick/1.3.1 (Ruby/1.9.3/2012-11-10)
|
358
|
+
Date:
|
359
|
+
- Thu, 24 Jan 2013 10:44:24 GMT
|
360
|
+
Connection:
|
361
|
+
- Keep-Alive
|
362
|
+
Set-Cookie:
|
363
|
+
- _dummy_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRkkiJWI1ZTllZjNmMjIzMzg4OGI2OWUyZWYzN2EzMjQzOWE0BjsAVEkiJ3dhcmRlbi51c2VyLmxvY29tb3RpdmVfYWNjb3VudC5rZXkGOwBUWwhJIhhMb2NvbW90aXZlOjpBY2NvdW50BjsARlsGbzoTQlNPTjo6T2JqZWN0SWQGOgpAZGF0YVsRaVZpBmkUaQHSaQHIaTFpAdFpdml%2BaQBpAGkJSSIZM1E2OFRtN0c4MUV4RkhiWjc3R3gGOwBU--e5aaa1fa9fa5db7b16428b3f23aa6bab71c24295;
|
364
|
+
domain=.engine.dev; path=/; HttpOnly
|
365
|
+
body:
|
366
|
+
encoding: US-ASCII
|
367
|
+
string: ! '[{"id":"51010fd2c82cd17179000002","_id":"51010fd2c82cd17179000002","created_at":"2013-01-24T11:41:22+01:00","updated_at":"2013-01-24T11:43:08+01:00","title":"Home
|
368
|
+
page","slug":"index","position":0,"response_type":"text/html","cache_strategy":"none","redirect":false,"redirect_type":301,"listed":true,"published":true,"templatized":false,"templatized_from_parent":false,"fullpath":"index","localized_fullpaths":{"en":"","es":"es"},"depth":0,"translated_in":["en","es"],"raw_template":"{%
|
369
|
+
block content %}\r\n Content of the home page\r\n{% endblock %}\r\n\r\n","escaped_raw_template":"{%
|
370
|
+
block content %}\r\n Content of the home page\r\n{% endblock %}\r\n\r\n","editable_elements":[]},{"id":"5101101cc82cd12530000017","_id":"5101101cc82cd12530000017","created_at":"2013-01-24T11:42:36+01:00","updated_at":"2013-01-24T11:43:08+01:00","title":"translated","slug":"translated","position":0,"response_type":"text/html","cache_strategy":"none","redirect":false,"redirect_type":301,"listed":true,"published":true,"templatized":false,"templatized_from_parent":false,"fullpath":"translated","localized_fullpaths":{"en":"translated","es":"es/translated"},"depth":1,"translated_in":["en"],"raw_template":"{{
|
371
|
+
''hello_world'' | translate}}","escaped_raw_template":"{{ 'hello_world'
|
372
|
+
| translate}}","editable_elements":[]},{"id":"5101101cc82cd12530000019","_id":"5101101cc82cd12530000019","created_at":"2013-01-24T11:42:36+01:00","updated_at":"2013-01-24T11:43:08+01:00","title":"Latest","slug":"latest","position":0,"response_type":"text/html","cache_strategy":"none","redirect":false,"redirect_type":301,"listed":true,"published":true,"templatized":false,"templatized_from_parent":false,"fullpath":"products/latest","localized_fullpaths":{"en":"products/latest","es":"es/products/latest"},"depth":2,"translated_in":["en"],"raw_template":"{%
|
373
|
+
extends parent %}\r\n{% block content %}\r\n The name of the latest product
|
374
|
+
is: {{ contents.products.last.name }}\r\n{% endblock %}","escaped_raw_template":"{%
|
375
|
+
extends parent %}\r\n{% block content %}\r\n The name of the latest product
|
376
|
+
is: {{ contents.products.last.name }}\r\n{% endblock %}","editable_elements":[]},{"id":"51010fd2c82cd17179000003","_id":"51010fd2c82cd17179000003","created_at":"2013-01-24T11:41:22+01:00","updated_at":"2013-01-24T11:43:08+01:00","title":"Page
|
377
|
+
not found","slug":"404","position":1,"response_type":"text/html","cache_strategy":"none","redirect":false,"redirect_type":301,"listed":true,"published":true,"templatized":false,"templatized_from_parent":false,"fullpath":"404","localized_fullpaths":{"en":"404","es":"es/404"},"depth":0,"translated_in":["en","es"],"raw_template":"Content
|
378
|
+
of the 404 page","escaped_raw_template":"Content of the 404 page","editable_elements":[]},{"id":"5101101cc82cd12530000018","_id":"5101101cc82cd12530000018","created_at":"2013-01-24T11:42:36+01:00","updated_at":"2013-01-24T11:43:08+01:00","title":"Products","slug":"products","position":1,"response_type":"text/html","cache_strategy":"none","redirect":false,"redirect_type":301,"listed":true,"published":true,"templatized":false,"templatized_from_parent":false,"fullpath":"products","localized_fullpaths":{"en":"products","es":"es/products"},"depth":1,"translated_in":["en"],"raw_template":"{%
|
379
|
+
extends parent %}","escaped_raw_template":"{% extends parent %}","editable_elements":[]}]'
|
380
|
+
http_version:
|
381
|
+
recorded_at: Thu, 24 Jan 2013 10:44:24 GMT
|
382
|
+
- request:
|
383
|
+
method: get
|
384
|
+
uri: http://locomotive.engine.dev:3000/locomotive/api/pages/51010fd2c82cd17179000002.json?auth_token=jKkxPorzWo8uNYUxiiQC&locale=es
|
385
|
+
body:
|
386
|
+
encoding: US-ASCII
|
387
|
+
string: ''
|
388
|
+
headers: {}
|
389
|
+
response:
|
390
|
+
status:
|
391
|
+
code: 200
|
392
|
+
message: ! 'OK '
|
393
|
+
headers:
|
394
|
+
Content-Type:
|
395
|
+
- application/json; charset=utf-8
|
396
|
+
X-Ua-Compatible:
|
397
|
+
- IE=Edge
|
398
|
+
Etag:
|
399
|
+
- ! '"6ddd24909444a1ff7d0e9b9da8b6cff3"'
|
400
|
+
Cache-Control:
|
401
|
+
- max-age=0, private, must-revalidate
|
402
|
+
X-Request-Id:
|
403
|
+
- 365c77e4a1f178cac260a68e5a8937bb
|
404
|
+
X-Runtime:
|
405
|
+
- '0.017366'
|
406
|
+
Content-Length:
|
407
|
+
- '610'
|
408
|
+
Server:
|
409
|
+
- WEBrick/1.3.1 (Ruby/1.9.3/2012-11-10)
|
410
|
+
Date:
|
411
|
+
- Thu, 24 Jan 2013 10:44:24 GMT
|
412
|
+
Connection:
|
413
|
+
- Keep-Alive
|
414
|
+
Set-Cookie:
|
415
|
+
- _dummy_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRkkiJWYwNTU5OTllYmQ4ZDY1ODBiMGIxN2FkZWU4ZTg4YWJhBjsAVEkiJ3dhcmRlbi51c2VyLmxvY29tb3RpdmVfYWNjb3VudC5rZXkGOwBUWwhJIhhMb2NvbW90aXZlOjpBY2NvdW50BjsARlsGbzoTQlNPTjo6T2JqZWN0SWQGOgpAZGF0YVsRaVZpBmkUaQHSaQHIaTFpAdFpdml%2BaQBpAGkJSSIZM1E2OFRtN0c4MUV4RkhiWjc3R3gGOwBU--1c3c7c2a9738456face697b3aa05b50b4eb4cefd;
|
416
|
+
domain=.engine.dev; path=/; HttpOnly
|
417
|
+
body:
|
418
|
+
encoding: US-ASCII
|
419
|
+
string: ! '{"id":"51010fd2c82cd17179000002","_id":"51010fd2c82cd17179000002","created_at":"2013-01-24T11:41:22+01:00","updated_at":"2013-01-24T11:43:08+01:00","title":"P\u00e1gina
|
420
|
+
de inicio","slug":"index","position":0,"response_type":"text/html","cache_strategy":"none","redirect":false,"redirect_type":301,"listed":true,"published":true,"templatized":false,"templatized_from_parent":false,"fullpath":"index","localized_fullpaths":{"en":"","es":"es"},"depth":0,"translated_in":["en","es"],"raw_template":"New
|
421
|
+
content of the home page\r\n","escaped_raw_template":"New content of the home
|
422
|
+
page\r\n","editable_elements":[]}'
|
423
|
+
http_version:
|
424
|
+
recorded_at: Thu, 24 Jan 2013 10:44:24 GMT
|
425
|
+
- request:
|
426
|
+
method: get
|
427
|
+
uri: http://locomotive.engine.dev:3000/locomotive/api/pages/51010fd2c82cd17179000003.json?auth_token=jKkxPorzWo8uNYUxiiQC&locale=es
|
428
|
+
body:
|
429
|
+
encoding: US-ASCII
|
430
|
+
string: ''
|
431
|
+
headers: {}
|
432
|
+
response:
|
433
|
+
status:
|
434
|
+
code: 200
|
435
|
+
message: ! 'OK '
|
436
|
+
headers:
|
437
|
+
Content-Type:
|
438
|
+
- application/json; charset=utf-8
|
439
|
+
X-Ua-Compatible:
|
440
|
+
- IE=Edge
|
441
|
+
Etag:
|
442
|
+
- ! '"e772ebb150342a9c4fce4582b1664b9c"'
|
443
|
+
Cache-Control:
|
444
|
+
- max-age=0, private, must-revalidate
|
445
|
+
X-Request-Id:
|
446
|
+
- 3ab28f6a798829f5fa0f31f25dcc72e3
|
447
|
+
X-Runtime:
|
448
|
+
- '0.013809'
|
449
|
+
Content-Length:
|
450
|
+
- '599'
|
451
|
+
Server:
|
452
|
+
- WEBrick/1.3.1 (Ruby/1.9.3/2012-11-10)
|
453
|
+
Date:
|
454
|
+
- Thu, 24 Jan 2013 10:44:24 GMT
|
455
|
+
Connection:
|
456
|
+
- Keep-Alive
|
457
|
+
Set-Cookie:
|
458
|
+
- _dummy_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRkkiJTJlYjM0NGE0YzM2ODVjZDdiMThlYzJiNDBlNTM3ZDQwBjsAVEkiJ3dhcmRlbi51c2VyLmxvY29tb3RpdmVfYWNjb3VudC5rZXkGOwBUWwhJIhhMb2NvbW90aXZlOjpBY2NvdW50BjsARlsGbzoTQlNPTjo6T2JqZWN0SWQGOgpAZGF0YVsRaVZpBmkUaQHSaQHIaTFpAdFpdml%2BaQBpAGkJSSIZM1E2OFRtN0c4MUV4RkhiWjc3R3gGOwBU--cb43e5b364719ff1586edceaafc3f6322923508b;
|
459
|
+
domain=.engine.dev; path=/; HttpOnly
|
460
|
+
body:
|
461
|
+
encoding: US-ASCII
|
462
|
+
string: ! '{"id":"51010fd2c82cd17179000003","_id":"51010fd2c82cd17179000003","created_at":"2013-01-24T11:41:22+01:00","updated_at":"2013-01-24T11:43:08+01:00","title":"P\u00e1gina
|
463
|
+
no encontrada","slug":"404","position":1,"response_type":"text/html","cache_strategy":"none","redirect":false,"redirect_type":301,"listed":true,"published":true,"templatized":false,"templatized_from_parent":false,"fullpath":"404","localized_fullpaths":{"en":"404","es":"es/404"},"depth":0,"translated_in":["en","es"],"raw_template":"Content
|
464
|
+
of the 404 page","escaped_raw_template":"Content of the 404 page","editable_elements":[]}'
|
465
|
+
http_version:
|
466
|
+
recorded_at: Thu, 24 Jan 2013 10:44:24 GMT
|
467
|
+
- request:
|
468
|
+
method: get
|
469
|
+
uri: http://locomotive.engine.dev:3000/locomotive/api/theme_assets.json?auth_token=jKkxPorzWo8uNYUxiiQC
|
470
|
+
body:
|
471
|
+
encoding: US-ASCII
|
472
|
+
string: ''
|
473
|
+
headers: {}
|
474
|
+
response:
|
475
|
+
status:
|
476
|
+
code: 200
|
477
|
+
message: ! 'OK '
|
478
|
+
headers:
|
479
|
+
Content-Type:
|
480
|
+
- application/json; charset=utf-8
|
481
|
+
X-Ua-Compatible:
|
482
|
+
- IE=Edge
|
483
|
+
Etag:
|
484
|
+
- ! '"d751713988987e9331980363e24189ce"'
|
485
|
+
Cache-Control:
|
486
|
+
- max-age=0, private, must-revalidate
|
487
|
+
X-Request-Id:
|
488
|
+
- 90979a04c25ef0950a376b4cd7915b42
|
489
|
+
X-Runtime:
|
490
|
+
- '0.013095'
|
491
|
+
Content-Length:
|
492
|
+
- '2'
|
493
|
+
Server:
|
494
|
+
- WEBrick/1.3.1 (Ruby/1.9.3/2012-11-10)
|
495
|
+
Date:
|
496
|
+
- Thu, 24 Jan 2013 10:44:24 GMT
|
497
|
+
Connection:
|
498
|
+
- Keep-Alive
|
499
|
+
Set-Cookie:
|
500
|
+
- _dummy_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRkkiJTRmNTYyNDIyMWUzMDQ0OTg1Zjc5Y2IxZDQ5NjljMTAxBjsAVEkiJ3dhcmRlbi51c2VyLmxvY29tb3RpdmVfYWNjb3VudC5rZXkGOwBUWwhJIhhMb2NvbW90aXZlOjpBY2NvdW50BjsARlsGbzoTQlNPTjo6T2JqZWN0SWQGOgpAZGF0YVsRaVZpBmkUaQHSaQHIaTFpAdFpdml%2BaQBpAGkJSSIZM1E2OFRtN0c4MUV4RkhiWjc3R3gGOwBU--e3a529fa27bc63f05973cbe983ac2b5d4ca32166;
|
501
|
+
domain=.engine.dev; path=/; HttpOnly
|
502
|
+
body:
|
503
|
+
encoding: US-ASCII
|
504
|
+
string: ! '[]'
|
505
|
+
http_version:
|
506
|
+
recorded_at: Thu, 24 Jan 2013 10:44:24 GMT
|
507
|
+
- request:
|
508
|
+
method: get
|
509
|
+
uri: http://locomotive.engine.dev:3000/locomotive/api/translations.json?auth_token=jKkxPorzWo8uNYUxiiQC
|
510
|
+
body:
|
511
|
+
encoding: US-ASCII
|
512
|
+
string: ''
|
513
|
+
headers: {}
|
514
|
+
response:
|
515
|
+
status:
|
516
|
+
code: 200
|
517
|
+
message: ! 'OK '
|
518
|
+
headers:
|
519
|
+
Content-Type:
|
520
|
+
- application/json; charset=utf-8
|
521
|
+
X-Ua-Compatible:
|
522
|
+
- IE=Edge
|
523
|
+
Etag:
|
524
|
+
- ! '"af6cd1eda244013c9eb7c76fbc7b662b"'
|
525
|
+
Cache-Control:
|
526
|
+
- max-age=0, private, must-revalidate
|
527
|
+
X-Request-Id:
|
528
|
+
- 826844351d15ef7891c7861567f8fa06
|
529
|
+
X-Runtime:
|
530
|
+
- '0.013776'
|
531
|
+
Content-Length:
|
532
|
+
- '227'
|
533
|
+
Server:
|
534
|
+
- WEBrick/1.3.1 (Ruby/1.9.3/2012-11-10)
|
535
|
+
Date:
|
536
|
+
- Thu, 24 Jan 2013 10:44:24 GMT
|
537
|
+
Connection:
|
538
|
+
- Keep-Alive
|
539
|
+
Set-Cookie:
|
540
|
+
- _dummy_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRkkiJTFkOGQ2OTBlMDYyZWZhMGMzYmQxNWIzNDFjZTY4ZThkBjsAVEkiJ3dhcmRlbi51c2VyLmxvY29tb3RpdmVfYWNjb3VudC5rZXkGOwBUWwhJIhhMb2NvbW90aXZlOjpBY2NvdW50BjsARlsGbzoTQlNPTjo6T2JqZWN0SWQGOgpAZGF0YVsRaVZpBmkUaQHSaQHIaTFpAdFpdml%2BaQBpAGkJSSIZM1E2OFRtN0c4MUV4RkhiWjc3R3gGOwBU--c7706b477d3fd1807a43add5b3aa6c5001c3de0f;
|
541
|
+
domain=.engine.dev; path=/; HttpOnly
|
542
|
+
body:
|
543
|
+
encoding: US-ASCII
|
544
|
+
string: ! '[{"id":"51011077c82cd1253000001d","_id":"51011077c82cd1253000001d","created_at":"2013-01-24T11:44:07+01:00","updated_at":"2013-01-24T11:44:07+01:00","key":"hello_world","values":{"en":"Hello
|
545
|
+
world!","es":"\u00a1Hola, Mundo!"}}]'
|
546
|
+
http_version:
|
547
|
+
recorded_at: Thu, 24 Jan 2013 10:44:24 GMT
|
548
|
+
- request:
|
549
|
+
method: post
|
550
|
+
uri: http://locomotive.engine.dev:3000/locomotive/api/tokens.json?auth_token=jKkxPorzWo8uNYUxiiQC
|
551
|
+
body:
|
552
|
+
encoding: US-ASCII
|
553
|
+
string: email=admin%40locomotivecms.com&password=locomotive
|
554
|
+
headers: {}
|
555
|
+
response:
|
556
|
+
status:
|
557
|
+
code: 200
|
558
|
+
message: ! 'OK '
|
559
|
+
headers:
|
560
|
+
Location:
|
561
|
+
- http://locomotive.engine.dev:3000/locomotive/
|
562
|
+
Content-Type:
|
563
|
+
- application/json; charset=utf-8
|
564
|
+
X-Ua-Compatible:
|
565
|
+
- IE=Edge
|
566
|
+
Etag:
|
567
|
+
- ! '"e29ee4caaed0880055c032e8a8586878"'
|
568
|
+
Cache-Control:
|
569
|
+
- max-age=0, private, must-revalidate
|
570
|
+
X-Request-Id:
|
571
|
+
- b0e8a4050aabd192afbd5e7be627b8e9
|
572
|
+
X-Runtime:
|
573
|
+
- '0.018633'
|
574
|
+
Content-Length:
|
575
|
+
- '32'
|
576
|
+
Server:
|
577
|
+
- WEBrick/1.3.1 (Ruby/1.9.3/2012-11-10)
|
578
|
+
Date:
|
579
|
+
- Thu, 24 Jan 2013 10:44:51 GMT
|
580
|
+
Connection:
|
581
|
+
- Keep-Alive
|
582
|
+
Set-Cookie:
|
583
|
+
- _dummy_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRkkiJTQyZGMxZjM0ODIxM2Y3ZTc5ZjRlMjMxNTYzOTlhOTFlBjsAVEkiJ3dhcmRlbi51c2VyLmxvY29tb3RpdmVfYWNjb3VudC5rZXkGOwBUWwhJIhhMb2NvbW90aXZlOjpBY2NvdW50BjsARlsGbzoTQlNPTjo6T2JqZWN0SWQGOgpAZGF0YVsRaVZpBmkUaQHSaQHIaTFpAdFpdml%2BaQBpAGkJSSIZM1E2OFRtN0c4MUV4RkhiWjc3R3gGOwBUSSIKZmxhc2gGOwBGbzolQWN0aW9uRGlzcGF0Y2g6OkZsYXNoOjpGbGFzaEhhc2gJOgpAdXNlZG86CFNldAY6CkBoYXNoewA6DEBjbG9zZWRGOg1AZmxhc2hlc3sGOgtub3RpY2VJQzoeQWN0aXZlU3VwcG9ydDo6U2FmZUJ1ZmZlciIjSGFzaCB3YXMgc3VjY2Vzc2Z1bGx5IGNyZWF0ZWQuBzsAVDoPQGh0bWxfc2FmZVQ6CUBub3cw--d5f7c07d1148ccf7ce2c2970faa3c0fb737697b3;
|
584
|
+
domain=.engine.dev; path=/; HttpOnly
|
585
|
+
body:
|
586
|
+
encoding: US-ASCII
|
587
|
+
string: ! '{"token":"jKkxPorzWo8uNYUxiiQC"}'
|
588
|
+
http_version:
|
589
|
+
recorded_at: Thu, 24 Jan 2013 10:44:51 GMT
|
590
|
+
recorded_with: VCR 2.3.0
|