confluence 0.0.1 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +1 -1
- data/Gemfile.lock +5 -0
- data/VERSION +1 -1
- data/confluence.gemspec +11 -9
- data/lib/confluence/templates/{test/integration/config.ru → config.ru} +1 -1
- data/lib/confluence/templates/lib/%project_name%/presenter.rb.tt +7 -0
- data/lib/confluence/templates/lib/%project_name%.rb.tt +2 -2
- data/lib/confluence/templates/spec/%project_name%_spec.rb.tt +1 -1
- data/lib/confluence/templates/spec/spec_helper.rb.tt +1 -1
- data/lib/confluence/templates/src/stylesheets/%project_name%.scss.tt +1 -1
- data/lib/confluence/templates/test/integration/app/controllers/html_controller.rb.tt +6 -0
- data/lib/confluence/templates/test/integration/app/helpers/html_helper.rb.tt +2 -0
- data/lib/confluence/templates/test/integration/app/views/html/index.html.haml.tt +1 -0
- data/lib/confluence/templates/test/integration/config/application.rb +1 -1
- data/lib/confluence/templates/test/integration/config/boot.rb +1 -1
- data/lib/confluence/templates/test/integration/config/{routes.rb → routes.rb.tt} +2 -2
- data/lib/confluence.rb +1 -0
- metadata +25 -10
- data/lib/confluence/templates/test/integration/Gemfile +0 -26
- data/lib/confluence/templates/test/integration/Gemfile.lock +0 -88
- data/lib/confluence/templates/test/integration/app/controllers/pages_controller.rb +0 -35
- data/lib/confluence/templates/test/integration/app/helpers/pages_helper.rb +0 -2
- data/lib/confluence/templates/test/integration/app/views/pages/index.html.haml +0 -1
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -2,10 +2,14 @@ GEM
|
|
2
2
|
remote: http://rubygems.org/
|
3
3
|
remote: http://gems.github.com/
|
4
4
|
specs:
|
5
|
+
activesupport (3.2.11)
|
6
|
+
i18n (~> 0.6)
|
7
|
+
multi_json (~> 1.0)
|
5
8
|
archive-tar-minitar (0.5.2)
|
6
9
|
columnize (0.3.6)
|
7
10
|
diff-lcs (1.1.3)
|
8
11
|
git (1.2.5)
|
12
|
+
i18n (0.6.1)
|
9
13
|
jeweler (1.8.4)
|
10
14
|
bundler (~> 1.0)
|
11
15
|
git (>= 1.2.5)
|
@@ -46,6 +50,7 @@ PLATFORMS
|
|
46
50
|
ruby
|
47
51
|
|
48
52
|
DEPENDENCIES
|
53
|
+
activesupport
|
49
54
|
bundler
|
50
55
|
jeweler (~> 1.8.4)
|
51
56
|
rake
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0
|
1
|
+
0.1.0
|
data/confluence.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "confluence"
|
8
|
-
s.version = "0.0
|
8
|
+
s.version = "0.1.0"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Thomas Chen"]
|
12
|
-
s.date = "2013-02-
|
12
|
+
s.date = "2013-02-18"
|
13
13
|
s.description = "confluence is the merging of rivers. In particular, it is the merging of the fay-haskell-coffee-js river with the scss-css river with the psd-png river into the rails-ruby-haml rivers"
|
14
14
|
s.email = "foxnewsnetwork@gmail.com"
|
15
15
|
s.executables = ["confluence"]
|
@@ -45,7 +45,9 @@ Gem::Specification.new do |s|
|
|
45
45
|
"lib/confluence/templates/assets/images/README.markdown.tt",
|
46
46
|
"lib/confluence/templates/assets/javascripts/README.markdown.tt",
|
47
47
|
"lib/confluence/templates/assets/stylesheets/README.markdown.tt",
|
48
|
+
"lib/confluence/templates/config.ru",
|
48
49
|
"lib/confluence/templates/lib/%project_name%.rb.tt",
|
50
|
+
"lib/confluence/templates/lib/%project_name%/presenter.rb.tt",
|
49
51
|
"lib/confluence/templates/package.json.tt",
|
50
52
|
"lib/confluence/templates/spec/%project_name%_spec.rb.tt",
|
51
53
|
"lib/confluence/templates/spec/spec_helper.rb.tt",
|
@@ -53,8 +55,6 @@ Gem::Specification.new do |s|
|
|
53
55
|
"lib/confluence/templates/src/javascripts/%project_name%.hs.tt",
|
54
56
|
"lib/confluence/templates/src/stylesheets/%project_name%.scss.tt",
|
55
57
|
"lib/confluence/templates/test/integration/.gitignore",
|
56
|
-
"lib/confluence/templates/test/integration/Gemfile",
|
57
|
-
"lib/confluence/templates/test/integration/Gemfile.lock",
|
58
58
|
"lib/confluence/templates/test/integration/README.rdoc",
|
59
59
|
"lib/confluence/templates/test/integration/Rakefile",
|
60
60
|
"lib/confluence/templates/test/integration/app/assets/images/rails.png",
|
@@ -63,14 +63,13 @@ Gem::Specification.new do |s|
|
|
63
63
|
"lib/confluence/templates/test/integration/app/assets/stylesheets/application.css",
|
64
64
|
"lib/confluence/templates/test/integration/app/assets/stylesheets/pages.css",
|
65
65
|
"lib/confluence/templates/test/integration/app/controllers/application_controller.rb",
|
66
|
-
"lib/confluence/templates/test/integration/app/controllers/
|
66
|
+
"lib/confluence/templates/test/integration/app/controllers/html_controller.rb.tt",
|
67
67
|
"lib/confluence/templates/test/integration/app/helpers/application_helper.rb",
|
68
|
-
"lib/confluence/templates/test/integration/app/helpers/
|
68
|
+
"lib/confluence/templates/test/integration/app/helpers/html_helper.rb.tt",
|
69
69
|
"lib/confluence/templates/test/integration/app/mailers/.gitkeep",
|
70
70
|
"lib/confluence/templates/test/integration/app/models/.gitkeep",
|
71
|
+
"lib/confluence/templates/test/integration/app/views/html/index.html.haml.tt",
|
71
72
|
"lib/confluence/templates/test/integration/app/views/layouts/application.html.erb",
|
72
|
-
"lib/confluence/templates/test/integration/app/views/pages/index.html.haml",
|
73
|
-
"lib/confluence/templates/test/integration/config.ru",
|
74
73
|
"lib/confluence/templates/test/integration/config/application.rb",
|
75
74
|
"lib/confluence/templates/test/integration/config/boot.rb",
|
76
75
|
"lib/confluence/templates/test/integration/config/environment.rb",
|
@@ -84,7 +83,7 @@ Gem::Specification.new do |s|
|
|
84
83
|
"lib/confluence/templates/test/integration/config/initializers/session_store.rb",
|
85
84
|
"lib/confluence/templates/test/integration/config/initializers/wrap_parameters.rb",
|
86
85
|
"lib/confluence/templates/test/integration/config/locales/en.yml",
|
87
|
-
"lib/confluence/templates/test/integration/config/routes.rb",
|
86
|
+
"lib/confluence/templates/test/integration/config/routes.rb.tt",
|
88
87
|
"lib/confluence/templates/test/integration/db/seeds.rb",
|
89
88
|
"lib/confluence/templates/test/integration/lib/assets/.gitkeep",
|
90
89
|
"lib/confluence/templates/test/integration/lib/tasks/.gitkeep",
|
@@ -119,6 +118,7 @@ Gem::Specification.new do |s|
|
|
119
118
|
s.add_runtime_dependency(%q<simplecov>, [">= 0"])
|
120
119
|
s.add_runtime_dependency(%q<rspec>, [">= 0"])
|
121
120
|
s.add_runtime_dependency(%q<thor>, [">= 0"])
|
121
|
+
s.add_runtime_dependency(%q<activesupport>, [">= 0"])
|
122
122
|
s.add_development_dependency(%q<jeweler>, ["~> 1.8.4"])
|
123
123
|
else
|
124
124
|
s.add_dependency(%q<rake>, [">= 0"])
|
@@ -127,6 +127,7 @@ Gem::Specification.new do |s|
|
|
127
127
|
s.add_dependency(%q<simplecov>, [">= 0"])
|
128
128
|
s.add_dependency(%q<rspec>, [">= 0"])
|
129
129
|
s.add_dependency(%q<thor>, [">= 0"])
|
130
|
+
s.add_dependency(%q<activesupport>, [">= 0"])
|
130
131
|
s.add_dependency(%q<jeweler>, ["~> 1.8.4"])
|
131
132
|
end
|
132
133
|
else
|
@@ -136,6 +137,7 @@ Gem::Specification.new do |s|
|
|
136
137
|
s.add_dependency(%q<simplecov>, [">= 0"])
|
137
138
|
s.add_dependency(%q<rspec>, [">= 0"])
|
138
139
|
s.add_dependency(%q<thor>, [">= 0"])
|
140
|
+
s.add_dependency(%q<activesupport>, [">= 0"])
|
139
141
|
s.add_dependency(%q<jeweler>, ["~> 1.8.4"])
|
140
142
|
end
|
141
143
|
end
|
@@ -1,3 +1,3 @@
|
|
1
|
-
Dir[File.join(File.dirname(__FILE__), "<%= project_name %>", "*.rb")].each { |source| require source }
|
1
|
+
Dir[File.join(File.dirname(__FILE__), "<%= project_name.underscore %>", "*.rb")].each { |source| require source }
|
2
2
|
|
3
|
-
module <%= project_name.
|
3
|
+
module <%= project_name.camelcase %>; end
|
@@ -0,0 +1,6 @@
|
|
1
|
+
class HtmlController < ApplicationController
|
2
|
+
append_view_path File.expand_path("../../../../assets", File.dirname(__FILE__))
|
3
|
+
append_view_path File.expand_path("../../../../assets/html", File.dirname(__FILE__))append_view_path
|
4
|
+
expose(:presenter) { <%= project_name.camelcase %>::Presenter.from_nothing %> }
|
5
|
+
def index; end
|
6
|
+
end
|
@@ -0,0 +1 @@
|
|
1
|
+
= render "<%= project_name.underscore %>", :presenter => presenter
|
@@ -22,7 +22,7 @@ module Integration
|
|
22
22
|
# -- all .rb files in that directory are automatically loaded.
|
23
23
|
|
24
24
|
# Custom directories with classes and modules you want to be autoloadable.
|
25
|
-
|
25
|
+
config.autoload_paths += %W(#{config.root}/extras #{File.expand_path('../../../lib', File.dirname(__FILE__))})
|
26
26
|
|
27
27
|
# Only load the plugins named here, in the order given (default is alphabetical).
|
28
28
|
# :all can be used as a placeholder for all plugins not explicitly named.
|
@@ -1,6 +1,6 @@
|
|
1
1
|
require 'rubygems'
|
2
2
|
|
3
3
|
# Set up gems listed in the Gemfile.
|
4
|
-
ENV['BUNDLE_GEMFILE'] ||= File.expand_path('
|
4
|
+
ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../../Gemfile', __FILE__)
|
5
5
|
|
6
6
|
require 'bundler/setup' if File.exists?(ENV['BUNDLE_GEMFILE'])
|
@@ -1,5 +1,5 @@
|
|
1
1
|
Integration::Application.routes.draw do
|
2
|
-
get "
|
2
|
+
get "html/index"
|
3
3
|
|
4
4
|
# The priority is based upon order of creation:
|
5
5
|
# first created -> highest priority.
|
@@ -50,7 +50,7 @@ Integration::Application.routes.draw do
|
|
50
50
|
|
51
51
|
# You can have the root of your site routed with "root"
|
52
52
|
# just remember to delete public/index.html.
|
53
|
-
root :to => '
|
53
|
+
root :to => 'html#index'
|
54
54
|
|
55
55
|
# See how all your routes lay out with "rake routes"
|
56
56
|
|
data/lib/confluence.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: confluence
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 0.1.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: 2013-02-
|
12
|
+
date: 2013-02-18 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rake
|
@@ -107,6 +107,22 @@ dependencies:
|
|
107
107
|
- - ! '>='
|
108
108
|
- !ruby/object:Gem::Version
|
109
109
|
version: '0'
|
110
|
+
- !ruby/object:Gem::Dependency
|
111
|
+
name: activesupport
|
112
|
+
requirement: !ruby/object:Gem::Requirement
|
113
|
+
none: false
|
114
|
+
requirements:
|
115
|
+
- - ! '>='
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
type: :runtime
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
none: false
|
122
|
+
requirements:
|
123
|
+
- - ! '>='
|
124
|
+
- !ruby/object:Gem::Version
|
125
|
+
version: '0'
|
110
126
|
- !ruby/object:Gem::Dependency
|
111
127
|
name: jeweler
|
112
128
|
requirement: !ruby/object:Gem::Requirement
|
@@ -161,7 +177,9 @@ files:
|
|
161
177
|
- lib/confluence/templates/assets/images/README.markdown.tt
|
162
178
|
- lib/confluence/templates/assets/javascripts/README.markdown.tt
|
163
179
|
- lib/confluence/templates/assets/stylesheets/README.markdown.tt
|
180
|
+
- lib/confluence/templates/config.ru
|
164
181
|
- lib/confluence/templates/lib/%project_name%.rb.tt
|
182
|
+
- lib/confluence/templates/lib/%project_name%/presenter.rb.tt
|
165
183
|
- lib/confluence/templates/package.json.tt
|
166
184
|
- lib/confluence/templates/spec/%project_name%_spec.rb.tt
|
167
185
|
- lib/confluence/templates/spec/spec_helper.rb.tt
|
@@ -169,8 +187,6 @@ files:
|
|
169
187
|
- lib/confluence/templates/src/javascripts/%project_name%.hs.tt
|
170
188
|
- lib/confluence/templates/src/stylesheets/%project_name%.scss.tt
|
171
189
|
- lib/confluence/templates/test/integration/.gitignore
|
172
|
-
- lib/confluence/templates/test/integration/Gemfile
|
173
|
-
- lib/confluence/templates/test/integration/Gemfile.lock
|
174
190
|
- lib/confluence/templates/test/integration/README.rdoc
|
175
191
|
- lib/confluence/templates/test/integration/Rakefile
|
176
192
|
- lib/confluence/templates/test/integration/app/assets/images/rails.png
|
@@ -179,14 +195,13 @@ files:
|
|
179
195
|
- lib/confluence/templates/test/integration/app/assets/stylesheets/application.css
|
180
196
|
- lib/confluence/templates/test/integration/app/assets/stylesheets/pages.css
|
181
197
|
- lib/confluence/templates/test/integration/app/controllers/application_controller.rb
|
182
|
-
- lib/confluence/templates/test/integration/app/controllers/
|
198
|
+
- lib/confluence/templates/test/integration/app/controllers/html_controller.rb.tt
|
183
199
|
- lib/confluence/templates/test/integration/app/helpers/application_helper.rb
|
184
|
-
- lib/confluence/templates/test/integration/app/helpers/
|
200
|
+
- lib/confluence/templates/test/integration/app/helpers/html_helper.rb.tt
|
185
201
|
- lib/confluence/templates/test/integration/app/mailers/.gitkeep
|
186
202
|
- lib/confluence/templates/test/integration/app/models/.gitkeep
|
203
|
+
- lib/confluence/templates/test/integration/app/views/html/index.html.haml.tt
|
187
204
|
- lib/confluence/templates/test/integration/app/views/layouts/application.html.erb
|
188
|
-
- lib/confluence/templates/test/integration/app/views/pages/index.html.haml
|
189
|
-
- lib/confluence/templates/test/integration/config.ru
|
190
205
|
- lib/confluence/templates/test/integration/config/application.rb
|
191
206
|
- lib/confluence/templates/test/integration/config/boot.rb
|
192
207
|
- lib/confluence/templates/test/integration/config/environment.rb
|
@@ -200,7 +215,7 @@ files:
|
|
200
215
|
- lib/confluence/templates/test/integration/config/initializers/session_store.rb
|
201
216
|
- lib/confluence/templates/test/integration/config/initializers/wrap_parameters.rb
|
202
217
|
- lib/confluence/templates/test/integration/config/locales/en.yml
|
203
|
-
- lib/confluence/templates/test/integration/config/routes.rb
|
218
|
+
- lib/confluence/templates/test/integration/config/routes.rb.tt
|
204
219
|
- lib/confluence/templates/test/integration/db/seeds.rb
|
205
220
|
- lib/confluence/templates/test/integration/lib/assets/.gitkeep
|
206
221
|
- lib/confluence/templates/test/integration/lib/tasks/.gitkeep
|
@@ -233,7 +248,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
233
248
|
version: '0'
|
234
249
|
segments:
|
235
250
|
- 0
|
236
|
-
hash:
|
251
|
+
hash: 3894050816172877045
|
237
252
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
238
253
|
none: false
|
239
254
|
requirements:
|
@@ -1,26 +0,0 @@
|
|
1
|
-
source 'https://rubygems.org'
|
2
|
-
|
3
|
-
gem 'rails', '3.2.11'
|
4
|
-
gem 'haml'
|
5
|
-
# Bundle edge Rails instead:
|
6
|
-
# gem 'rails', :git => 'git://github.com/rails/rails.git'
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
# To use ActiveModel has_secure_password
|
14
|
-
# gem 'bcrypt-ruby', '~> 3.0.0'
|
15
|
-
|
16
|
-
# To use Jbuilder templates for JSON
|
17
|
-
# gem 'jbuilder'
|
18
|
-
|
19
|
-
# Use unicorn as the app server
|
20
|
-
# gem 'unicorn'
|
21
|
-
|
22
|
-
# Deploy with Capistrano
|
23
|
-
# gem 'capistrano'
|
24
|
-
|
25
|
-
# To use debugger
|
26
|
-
# gem 'debugger'
|
@@ -1,88 +0,0 @@
|
|
1
|
-
GEM
|
2
|
-
remote: https://rubygems.org/
|
3
|
-
specs:
|
4
|
-
actionmailer (3.2.11)
|
5
|
-
actionpack (= 3.2.11)
|
6
|
-
mail (~> 2.4.4)
|
7
|
-
actionpack (3.2.11)
|
8
|
-
activemodel (= 3.2.11)
|
9
|
-
activesupport (= 3.2.11)
|
10
|
-
builder (~> 3.0.0)
|
11
|
-
erubis (~> 2.7.0)
|
12
|
-
journey (~> 1.0.4)
|
13
|
-
rack (~> 1.4.0)
|
14
|
-
rack-cache (~> 1.2)
|
15
|
-
rack-test (~> 0.6.1)
|
16
|
-
sprockets (~> 2.2.1)
|
17
|
-
activemodel (3.2.11)
|
18
|
-
activesupport (= 3.2.11)
|
19
|
-
builder (~> 3.0.0)
|
20
|
-
activerecord (3.2.11)
|
21
|
-
activemodel (= 3.2.11)
|
22
|
-
activesupport (= 3.2.11)
|
23
|
-
arel (~> 3.0.2)
|
24
|
-
tzinfo (~> 0.3.29)
|
25
|
-
activeresource (3.2.11)
|
26
|
-
activemodel (= 3.2.11)
|
27
|
-
activesupport (= 3.2.11)
|
28
|
-
activesupport (3.2.11)
|
29
|
-
i18n (~> 0.6)
|
30
|
-
multi_json (~> 1.0)
|
31
|
-
arel (3.0.2)
|
32
|
-
builder (3.0.4)
|
33
|
-
erubis (2.7.0)
|
34
|
-
haml (3.1.7)
|
35
|
-
hike (1.2.1)
|
36
|
-
i18n (0.6.1)
|
37
|
-
journey (1.0.4)
|
38
|
-
json (1.7.6)
|
39
|
-
mail (2.4.4)
|
40
|
-
i18n (>= 0.4.0)
|
41
|
-
mime-types (~> 1.16)
|
42
|
-
treetop (~> 1.4.8)
|
43
|
-
mime-types (1.20.1)
|
44
|
-
multi_json (1.5.0)
|
45
|
-
polyglot (0.3.3)
|
46
|
-
rack (1.4.4)
|
47
|
-
rack-cache (1.2)
|
48
|
-
rack (>= 0.4)
|
49
|
-
rack-ssl (1.3.2)
|
50
|
-
rack
|
51
|
-
rack-test (0.6.2)
|
52
|
-
rack (>= 1.0)
|
53
|
-
rails (3.2.11)
|
54
|
-
actionmailer (= 3.2.11)
|
55
|
-
actionpack (= 3.2.11)
|
56
|
-
activerecord (= 3.2.11)
|
57
|
-
activeresource (= 3.2.11)
|
58
|
-
activesupport (= 3.2.11)
|
59
|
-
bundler (~> 1.0)
|
60
|
-
railties (= 3.2.11)
|
61
|
-
railties (3.2.11)
|
62
|
-
actionpack (= 3.2.11)
|
63
|
-
activesupport (= 3.2.11)
|
64
|
-
rack-ssl (~> 1.3.2)
|
65
|
-
rake (>= 0.8.7)
|
66
|
-
rdoc (~> 3.4)
|
67
|
-
thor (>= 0.14.6, < 2.0)
|
68
|
-
rake (10.0.3)
|
69
|
-
rdoc (3.12.1)
|
70
|
-
json (~> 1.4)
|
71
|
-
sprockets (2.2.2)
|
72
|
-
hike (~> 1.2)
|
73
|
-
multi_json (~> 1.0)
|
74
|
-
rack (~> 1.0)
|
75
|
-
tilt (~> 1.1, != 1.3.0)
|
76
|
-
thor (0.17.0)
|
77
|
-
tilt (1.3.3)
|
78
|
-
treetop (1.4.12)
|
79
|
-
polyglot
|
80
|
-
polyglot (>= 0.3.1)
|
81
|
-
tzinfo (0.3.35)
|
82
|
-
|
83
|
-
PLATFORMS
|
84
|
-
ruby
|
85
|
-
|
86
|
-
DEPENDENCIES
|
87
|
-
haml
|
88
|
-
rails (= 3.2.11)
|
@@ -1,35 +0,0 @@
|
|
1
|
-
require 'singleton'
|
2
|
-
|
3
|
-
class PagesController < ApplicationController
|
4
|
-
class IntegrationsResolver < ActionView::Resolver
|
5
|
-
include Singleton
|
6
|
-
# Follow convention when using this!
|
7
|
-
# Actually, you, dear user, really
|
8
|
-
# should have no reason for changing
|
9
|
-
# the code here at all since it will be
|
10
|
-
# autogenerated for you for testing purposes
|
11
|
-
def find_templates(name, prefix, partial, details)
|
12
|
-
if partial
|
13
|
-
identifier = "#{prefix}-#{name}"
|
14
|
-
p_name = name.split "/"
|
15
|
-
p_name.push("_" + p_name.pop)
|
16
|
-
f_path = File.join( File.expand_path("../../../../assets/html", File.dirname(__FILE__)), p_name.join("/") )
|
17
|
-
throw "#{name}--#{prefix}--#{partial}--#{details}--#{f_path}" unless File.exist?( f_path + ".html.haml")
|
18
|
-
source = File.read f_path + ".html.haml"
|
19
|
-
handler = ActionView::Template.registered_template_handler("haml")
|
20
|
-
details = {
|
21
|
-
:format => Mime[:html] ,
|
22
|
-
:updated_at => 1.seconds.ago ,
|
23
|
-
:virtual_path => f_path
|
24
|
-
}
|
25
|
-
[ActionView::Template::new( source, identifier, handler, details )]
|
26
|
-
else
|
27
|
-
[]
|
28
|
-
end
|
29
|
-
end
|
30
|
-
end
|
31
|
-
|
32
|
-
append_view_path IntegrationsResolver.instance
|
33
|
-
|
34
|
-
def index; end
|
35
|
-
end
|
@@ -1 +0,0 @@
|
|
1
|
-
= render "comment"
|