contao 0.5.2 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.travis.yml +0 -1
- data/Gemfile +4 -0
- data/README.md +350 -22
- data/contao.gemspec +5 -3
- data/lib/contao/application.rb +59 -82
- data/lib/contao/commands/help.rb +2 -2
- data/lib/contao/generators/application.rb +0 -8
- data/lib/contao/generators/base.rb +10 -0
- data/lib/contao/generators/config.rb +6 -2
- data/lib/contao/generators/contao_initializer.rb +54 -0
- data/lib/contao/password.rb +40 -0
- data/lib/contao/railties.rb +32 -0
- data/lib/contao/templates/contao_initializer.rb.erb +41 -0
- data/lib/contao/version.rb +1 -1
- data/lib/contao.rb +3 -5
- data/lib/tasks/contao.rake +34 -38
- data/spec/lib/contao/application_spec.rb +7 -7
- data/spec/lib/contao/generators/application_spec.rb +3 -2
- data/spec/lib/contao/generators/config_spec.rb +1 -1
- data/spec/lib/contao/generators/contao_initializer_spec.rb +73 -0
- data/spec/lib/contao/password_spec.rb +90 -0
- data/spec/spec_helper.rb +5 -5
- data/spec/support/filesystem_mock.rb +6 -6
- data/spec/support/pry.rb +18 -0
- data/spec/support/stub_rails.rb +9 -1
- metadata +49 -7
- data/lib/contao/railtie.rb +0 -11
data/spec/support/stub_rails.rb
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
require 'active_support/ordered_options'
|
2
|
+
|
1
3
|
module Rails
|
2
4
|
def self.env=(env)
|
3
5
|
@@env = env
|
@@ -16,7 +18,13 @@ module Rails
|
|
16
18
|
end
|
17
19
|
|
18
20
|
def self.config
|
19
|
-
|
21
|
+
@@config ||= begin
|
22
|
+
cc = ActiveSupport::OrderedOptions.new
|
23
|
+
cc.contao = ActiveSupport::OrderedOptions.new
|
24
|
+
cc.smtp = ActiveSupport::OrderedOptions.new
|
25
|
+
cc.smtp.enabled = false
|
26
|
+
cc
|
27
|
+
end
|
20
28
|
end
|
21
29
|
|
22
30
|
def self.application
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: contao
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-07-
|
12
|
+
date: 2012-07-04 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rake
|
@@ -107,7 +107,39 @@ dependencies:
|
|
107
107
|
- - ! '>='
|
108
108
|
- !ruby/object:Gem::Version
|
109
109
|
version: '0'
|
110
|
-
|
110
|
+
- !ruby/object:Gem::Dependency
|
111
|
+
name: pry
|
112
|
+
requirement: !ruby/object:Gem::Requirement
|
113
|
+
none: false
|
114
|
+
requirements:
|
115
|
+
- - ! '>='
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
none: false
|
122
|
+
requirements:
|
123
|
+
- - ! '>='
|
124
|
+
- !ruby/object:Gem::Version
|
125
|
+
version: '0'
|
126
|
+
- !ruby/object:Gem::Dependency
|
127
|
+
name: pry-doc
|
128
|
+
requirement: !ruby/object:Gem::Requirement
|
129
|
+
none: false
|
130
|
+
requirements:
|
131
|
+
- - ! '>='
|
132
|
+
- !ruby/object:Gem::Version
|
133
|
+
version: '0'
|
134
|
+
type: :development
|
135
|
+
prerelease: false
|
136
|
+
version_requirements: !ruby/object:Gem::Requirement
|
137
|
+
none: false
|
138
|
+
requirements:
|
139
|
+
- - ! '>='
|
140
|
+
- !ruby/object:Gem::Version
|
141
|
+
version: '0'
|
142
|
+
description: Contao Integration with Rails Asset Pipeline, Compass and Capistrano
|
111
143
|
email:
|
112
144
|
- wael.nasreddine@gmail.com
|
113
145
|
executables:
|
@@ -133,9 +165,12 @@ files:
|
|
133
165
|
- lib/contao/generators/application.rb
|
134
166
|
- lib/contao/generators/base.rb
|
135
167
|
- lib/contao/generators/config.rb
|
168
|
+
- lib/contao/generators/contao_initializer.rb
|
136
169
|
- lib/contao/notifier.rb
|
137
|
-
- lib/contao/
|
170
|
+
- lib/contao/password.rb
|
171
|
+
- lib/contao/railties.rb
|
138
172
|
- lib/contao/system.rb
|
173
|
+
- lib/contao/templates/contao_initializer.rb.erb
|
139
174
|
- lib/contao/ui.rb
|
140
175
|
- lib/contao/version.rb
|
141
176
|
- lib/contao_patches/development/development_htaccess.patch
|
@@ -145,10 +180,13 @@ files:
|
|
145
180
|
- spec/lib/contao/generators/application_spec.rb
|
146
181
|
- spec/lib/contao/generators/base_spec.rb
|
147
182
|
- spec/lib/contao/generators/config_spec.rb
|
183
|
+
- spec/lib/contao/generators/contao_initializer_spec.rb
|
148
184
|
- spec/lib/contao/notifier_spec.rb
|
185
|
+
- spec/lib/contao/password_spec.rb
|
149
186
|
- spec/spec_helper.rb
|
150
187
|
- spec/support/filesystem_mock.rb
|
151
188
|
- spec/support/generator_shared_examples.rb
|
189
|
+
- spec/support/pry.rb
|
152
190
|
- spec/support/singleton_shared_example.rb
|
153
191
|
- spec/support/stub_rails.rb
|
154
192
|
homepage: http://technogate.github.com/contao
|
@@ -171,14 +209,14 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
171
209
|
version: '0'
|
172
210
|
segments:
|
173
211
|
- 0
|
174
|
-
hash:
|
212
|
+
hash: 1216300722657407589
|
175
213
|
requirements: []
|
176
214
|
rubyforge_project:
|
177
215
|
rubygems_version: 1.8.23
|
178
216
|
signing_key:
|
179
217
|
specification_version: 3
|
180
|
-
summary: This gem will help you to quickly
|
181
|
-
|
218
|
+
summary: This gem will help you to quickly develop a website using Contao CMS which
|
219
|
+
has pre-built support for Sass, Compass, CoffeeScript, Jasmine and Capistrano. It
|
182
220
|
also feature hashed assets served by the Contao Assets extension, which allows you
|
183
221
|
to have an md5 appended to each of your assets URL on the production site. The
|
184
222
|
integration with Capistrano allows you to quickly deploy, copy assets, import database
|
@@ -188,9 +226,13 @@ test_files:
|
|
188
226
|
- spec/lib/contao/generators/application_spec.rb
|
189
227
|
- spec/lib/contao/generators/base_spec.rb
|
190
228
|
- spec/lib/contao/generators/config_spec.rb
|
229
|
+
- spec/lib/contao/generators/contao_initializer_spec.rb
|
191
230
|
- spec/lib/contao/notifier_spec.rb
|
231
|
+
- spec/lib/contao/password_spec.rb
|
192
232
|
- spec/spec_helper.rb
|
193
233
|
- spec/support/filesystem_mock.rb
|
194
234
|
- spec/support/generator_shared_examples.rb
|
235
|
+
- spec/support/pry.rb
|
195
236
|
- spec/support/singleton_shared_example.rb
|
196
237
|
- spec/support/stub_rails.rb
|
238
|
+
has_rdoc:
|