chili 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/.gitignore +1 -0
- data/README.md +1 -1
- data/lib/chili/version.rb +1 -1
- data/lib/generators/chili/extension_generator.rb +1 -1
- data/spec/dummy/blank_extension/app/overrides/layouts/application/example.html.erb.deface +1 -1
- data/spec/dummy/blank_extension/blank_extension.gemspec +1 -1
- metadata +4 -4
data/.gitignore
CHANGED
data/README.md
CHANGED
|
@@ -59,7 +59,7 @@ end
|
|
|
59
59
|
|
|
60
60
|
### Modifying view templates in main app
|
|
61
61
|
|
|
62
|
-
Chili uses Deface to dynamically modify existing view templates (see [Deface docs](https://github.com/
|
|
62
|
+
Chili uses Deface to dynamically modify existing view templates (see [Deface docs](https://github.com/spree/deface#using-the-deface-dsl-deface-files) for details)
|
|
63
63
|
Add overrides to the `app/overides` directory mirroring the path of the view you want to modify.
|
|
64
64
|
For example, assuming the main app has the partial `app/views/posts/_post.html.erb`:
|
|
65
65
|
|
data/lib/chili/version.rb
CHANGED
|
@@ -93,7 +93,7 @@ module Chili
|
|
|
93
93
|
<div style='background: #FFF;text-align: center; padding: 4px 0;position: fixed;width: 100%;z-index: 9999;top: 0;'>
|
|
94
94
|
#{NAME} active - edit/remove this file:<br/>
|
|
95
95
|
<strong>#{PATH}/#{example_file_path}</strong><br/>
|
|
96
|
-
<%= link_to 'deface docs', 'https://github.com/
|
|
96
|
+
<%= link_to 'deface docs', 'https://github.com/spree/deface', target: '_blank' %>
|
|
97
97
|
</div>
|
|
98
98
|
RUBY
|
|
99
99
|
end
|
|
@@ -2,5 +2,5 @@
|
|
|
2
2
|
<div style='background: #FFF;text-align: center; padding: 4px 0;position: fixed;width: 100%;z-index: 9999;top: 0;'>
|
|
3
3
|
blank_extension active - edit/remove this file:<br/>
|
|
4
4
|
<strong>vendor/chili/blank_extension/app/overrides/layouts/application/example.html.erb.deface</strong><br/>
|
|
5
|
-
<%= link_to 'deface docs', 'https://github.com/
|
|
5
|
+
<%= link_to 'deface docs', 'https://github.com/spree/deface', target: '_blank' %>
|
|
6
6
|
</div>
|
|
@@ -16,7 +16,7 @@ Gem::Specification.new do |s|
|
|
|
16
16
|
s.files = Dir["{app,config,db,lib}/**/*"] + ["MIT-LICENSE", "Rakefile", "README.rdoc"]
|
|
17
17
|
|
|
18
18
|
s.add_dependency "rails", "~> 3.2.8"
|
|
19
|
-
s.add_dependency 'chili', '~> 1.0.
|
|
19
|
+
s.add_dependency 'chili', '~> 1.0.1'
|
|
20
20
|
|
|
21
21
|
s.add_development_dependency "sqlite3"
|
|
22
22
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: chili
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.1
|
|
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-
|
|
12
|
+
date: 2012-10-11 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: rails
|
|
@@ -264,7 +264,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
264
264
|
version: '0'
|
|
265
265
|
segments:
|
|
266
266
|
- 0
|
|
267
|
-
hash:
|
|
267
|
+
hash: 2264611987361066959
|
|
268
268
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
269
269
|
none: false
|
|
270
270
|
requirements:
|
|
@@ -273,7 +273,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
273
273
|
version: '0'
|
|
274
274
|
segments:
|
|
275
275
|
- 0
|
|
276
|
-
hash:
|
|
276
|
+
hash: 2264611987361066959
|
|
277
277
|
requirements: []
|
|
278
278
|
rubyforge_project:
|
|
279
279
|
rubygems_version: 1.8.23
|