install_theme 0.6.1 → 0.6.2
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/History.txt +10 -0
- data/README.rdoc +6 -5
- data/Rakefile +5 -1
- data/lib/install_theme.rb +1 -1
- metadata +4 -4
data/History.txt
CHANGED
@@ -1,3 +1,13 @@
|
|
1
|
+
=== 0.6.2 / 2009-10-06
|
2
|
+
|
3
|
+
Major:
|
4
|
+
|
5
|
+
* haml is no longer a dependency for installation, just for development (and you'll need it for the --haml option)
|
6
|
+
|
7
|
+
Minor:
|
8
|
+
* update README header
|
9
|
+
* updated README for changed CLI flags
|
10
|
+
|
1
11
|
=== 0.6.1 / 2009-10-06
|
2
12
|
|
3
13
|
Major:
|
data/README.rdoc
CHANGED
@@ -1,5 +1,6 @@
|
|
1
|
-
=
|
1
|
+
= Install any HTML theme/template into your Rails app
|
2
2
|
|
3
|
+
* http://drnicwilliams.com/2009/10/06/install-any-html-themetemplate-into-your-rails-app/
|
3
4
|
* http://github.com/drnic/install_theme
|
4
5
|
|
5
6
|
== DESCRIPTION:
|
@@ -19,11 +20,11 @@ Simple case:
|
|
19
20
|
|
20
21
|
install_theme path/to/template path/to/rails_app content_path
|
21
22
|
|
22
|
-
Replace some DOM content with <%= yield :some_label %> with --
|
23
|
+
Replace some DOM content with <%= yield :some_label %> with --partial:
|
23
24
|
|
24
|
-
install_theme path/to/app path/to/rails_app content_box \
|
25
|
-
--
|
26
|
-
--
|
25
|
+
install_theme path/to/app path/to/rails_app #content_box \
|
26
|
+
--partial "header:#header h2" \
|
27
|
+
--partial sidebar:#sidebar"
|
27
28
|
|
28
29
|
=== Haml Support:
|
29
30
|
|
data/Rakefile
CHANGED
@@ -13,7 +13,7 @@ $hoe = Hoe.spec 'install_theme' do
|
|
13
13
|
self.rubyforge_name = "drnicutilities"
|
14
14
|
extra_deps << ['hpricot','>= 0.8.1']
|
15
15
|
extra_deps << ['rubigen','>= 1.5.2']
|
16
|
-
|
16
|
+
extra_dev_deps << ['drnic-haml', '>= 2.3.0']
|
17
17
|
extra_dev_deps << ['rails', '2.3.4']
|
18
18
|
end
|
19
19
|
|
@@ -23,3 +23,7 @@ Dir['tasks/**/*.rake'].each { |t| load t }
|
|
23
23
|
# TODO - want other tests/tasks run by default? Add them to the list
|
24
24
|
remove_task :default
|
25
25
|
task :default => [:spec]
|
26
|
+
|
27
|
+
task :release do
|
28
|
+
sh "gem push pkg/#{$hoe.name}-#{$hoe.version}.gem"
|
29
|
+
end
|
data/lib/install_theme.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: install_theme
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dr Nic Williams
|
@@ -33,8 +33,8 @@ dependencies:
|
|
33
33
|
version: 1.5.2
|
34
34
|
version:
|
35
35
|
- !ruby/object:Gem::Dependency
|
36
|
-
name: haml
|
37
|
-
type: :
|
36
|
+
name: drnic-haml
|
37
|
+
type: :development
|
38
38
|
version_requirement:
|
39
39
|
version_requirements: !ruby/object:Gem::Requirement
|
40
40
|
requirements:
|
@@ -395,7 +395,7 @@ files:
|
|
395
395
|
- spec/spec_helper.rb
|
396
396
|
- tasks/rspec.rake
|
397
397
|
has_rdoc: true
|
398
|
-
homepage: http://
|
398
|
+
homepage: http://drnicwilliams.com/2009/10/06/install-any-html-themetemplate-into-your-rails-app/
|
399
399
|
licenses: []
|
400
400
|
|
401
401
|
post_install_message:
|