radiant 0.6.5 → 0.6.5.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/CHANGELOG +5 -0
- data/CONTRIBUTORS +4 -0
- data/lib/radiant.rb +1 -1
- data/lib/radiant/initializer.rb +1 -1
- data/lib/tasks/framework.rake +1 -0
- metadata +2 -2
data/CHANGELOG
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
== Change Log
|
|
2
2
|
|
|
3
|
+
=== 0.6.5.1 Chiseled
|
|
4
|
+
* Make sure extension view paths override Radiant view paths. [Josh French]
|
|
5
|
+
* Fix problem in framework.rake when public/javascripts/admin doesn't exist.
|
|
6
|
+
[Sean Cribbs]
|
|
7
|
+
|
|
3
8
|
=== 0.6.5 Chisel
|
|
4
9
|
* Convert StandardTags specs to nested describe blocks. [Sean Cribbs]
|
|
5
10
|
* Remove test/unit tests - all RSpec now. [Sean Cribbs]
|
data/CONTRIBUTORS
CHANGED
data/lib/radiant.rb
CHANGED
data/lib/radiant/initializer.rb
CHANGED
|
@@ -138,7 +138,7 @@ module Radiant
|
|
|
138
138
|
if configuration.frameworks.include?(:action_controller) || defined?(ActionController::Base)
|
|
139
139
|
view_paths.each do |vp|
|
|
140
140
|
unless ActionController::Base.view_paths.include?(vp)
|
|
141
|
-
ActionController::Base.
|
|
141
|
+
ActionController::Base.prepend_view_path vp
|
|
142
142
|
end
|
|
143
143
|
end
|
|
144
144
|
end
|
data/lib/tasks/framework.rake
CHANGED
|
@@ -95,6 +95,7 @@ unless File.directory? "#{RAILS_ROOT}/app"
|
|
|
95
95
|
|
|
96
96
|
desc "Update your javascripts from your current radiant install"
|
|
97
97
|
task :javascripts do
|
|
98
|
+
FileUtils.mkdir_p("#{RAILS_ROOT}/public/javascripts/admin/")
|
|
98
99
|
copy_javascripts = proc do |project_dir, scripts|
|
|
99
100
|
scripts.reject!{|s| File.basename(s) == 'application.js'} if File.exists?(project_dir + 'application.js')
|
|
100
101
|
FileUtils.cp(scripts, project_dir)
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: radiant
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.6.5
|
|
4
|
+
version: 0.6.5.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors: []
|
|
7
7
|
|
|
@@ -9,7 +9,7 @@ autorequire: radiant
|
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
11
|
|
|
12
|
-
date: 2008-04-
|
|
12
|
+
date: 2008-04-20 00:00:00 -05:00
|
|
13
13
|
default_executable:
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|