cells 3.4.4 → 3.5.0.beta1
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +7 -0
- data/CHANGES.textile +6 -0
- data/Gemfile +2 -8
- data/README.rdoc +1 -1
- data/Rakefile +3 -32
- data/about.yml +7 -0
- data/cells.gemspec +26 -0
- data/lib/cell/rails.rb +6 -8
- data/lib/cell/test_case.rb +1 -1
- data/lib/cells/version.rb +1 -1
- data/test/dummy/config/application.rb +0 -2
- data/test/dummy/config/environments/test.rb +1 -1
- data/test/dummy/log/production.log +0 -0
- data/test/dummy/log/server.log +0 -0
- data/test/dummy/public/stylesheets/.gitkeep +0 -0
- data/test/rails/cells_test.rb +25 -1
- data/test/rails/render_test.rb +4 -2
- data/test/test_case_test.rb +3 -4
- metadata +117 -131
data/.gitignore
ADDED
data/CHANGES.textile
CHANGED
data/Gemfile
CHANGED
@@ -1,11 +1,5 @@
|
|
1
1
|
source :gemcutter
|
2
|
-
gem 'sqlite3-ruby', '1.2.5', :require => 'sqlite3' # needed in router_test, whatever.
|
3
2
|
|
4
|
-
|
5
|
-
gem "rails", '~> 3.0'
|
6
|
-
gem "haml"
|
3
|
+
gemspec
|
7
4
|
|
8
|
-
|
9
|
-
gem "shoulda"
|
10
|
-
end
|
11
|
-
gem "rack", :git => "git://github.com/rack/rack.git"
|
5
|
+
#gem "rails" , :path => "/home/nick/projects/rayls"
|
data/README.rdoc
CHANGED
@@ -53,7 +53,7 @@ Time to improve our cell code. Let's start with <tt>app/cells/shopping_cart_cell
|
|
53
53
|
|
54
54
|
class ShoppingCartCell < Cell::Rails
|
55
55
|
def display
|
56
|
-
user =
|
56
|
+
user = options[:user] # #options exposes options passed to #render_cell.
|
57
57
|
@items = user.items_in_cart
|
58
58
|
|
59
59
|
render # renders display.html.erb
|
data/Rakefile
CHANGED
@@ -1,11 +1,7 @@
|
|
1
|
-
require '
|
2
|
-
|
3
|
-
require 'rake/rdoctask'
|
4
|
-
require File.join(File.dirname(__FILE__), 'lib', 'cells', 'version')
|
5
|
-
|
1
|
+
require 'bundler'
|
2
|
+
Bundler::GemHelper.install_tasks
|
6
3
|
|
7
|
-
|
8
|
-
task :default => :test
|
4
|
+
require 'rake/testtask'
|
9
5
|
|
10
6
|
desc 'Test the cells plugin.'
|
11
7
|
Rake::TestTask.new(:test) do |test|
|
@@ -13,28 +9,3 @@ Rake::TestTask.new(:test) do |test|
|
|
13
9
|
test.test_files = FileList['test/*_test.rb', 'test/rails/*_test.rb'] - ['test/rails/capture_test.rb']
|
14
10
|
test.verbose = true
|
15
11
|
end
|
16
|
-
|
17
|
-
begin
|
18
|
-
gem 'jeweler'
|
19
|
-
require 'jeweler'
|
20
|
-
|
21
|
-
Jeweler::Tasks.new do |spec|
|
22
|
-
spec.name = "cells"
|
23
|
-
spec.version = ::Cells::VERSION
|
24
|
-
spec.summary = %{View Components for Rails.}
|
25
|
-
spec.description = %{Cells are lightweight controllers for Rails and can be rendered in views, providing an elegant and fast way for encapsulation and component-orientation.}
|
26
|
-
spec.homepage = "http://cells.rubyforge.org"
|
27
|
-
spec.authors = ["Nick Sutterer"]
|
28
|
-
spec.email = "apotonick@gmail.com"
|
29
|
-
|
30
|
-
spec.files = FileList["[A-Z]*", "lib/**/*"] - ["Gemfile.lock"]
|
31
|
-
spec.test_files = FileList["test/**/*"] - FileList["test/dummy/tmp", "test/dummy/tmp/**/*", "test/dummy/log/*"]
|
32
|
-
|
33
|
-
# spec.add_dependency 'activesupport', '>= 2.3.0' # Dependencies and minimum versions?
|
34
|
-
end
|
35
|
-
|
36
|
-
Jeweler::GemcutterTasks.new
|
37
|
-
rescue LoadError
|
38
|
-
puts "Jeweler - or one of its dependencies - is not available. " <<
|
39
|
-
"Install it with: sudo gem install jeweler -s http://gemcutter.org"
|
40
|
-
end
|
data/about.yml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
author: Nick Sutterer, Peter Bex, Bob Leers
|
2
|
+
summary: Cells are lightweight controllers for Rails and can be rendered in controllers and views, providing an elegant and fast way for encapsulation and component-orientation.
|
3
|
+
homepage: http://cells.rubyforge.org
|
4
|
+
plugin:
|
5
|
+
license: MIT
|
6
|
+
version: 1.1
|
7
|
+
rails_version: 2.1
|
data/cells.gemspec
ADDED
@@ -0,0 +1,26 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
lib = File.expand_path('../lib/', __FILE__)
|
3
|
+
$:.unshift lib unless $:.include?(lib)
|
4
|
+
|
5
|
+
require 'cells/version'
|
6
|
+
|
7
|
+
Gem::Specification.new do |s|
|
8
|
+
s.name = "cells"
|
9
|
+
s.version = Cells::VERSION
|
10
|
+
s.platform = Gem::Platform::RUBY
|
11
|
+
s.authors = ["Nick Sutterer"]
|
12
|
+
s.email = ["apotonick@gmail.com"]
|
13
|
+
s.homepage = "http://cells.rubyforge.org"
|
14
|
+
s.summary = %q{View Components for Rails.}
|
15
|
+
s.description = %q{Cells are View Components for Rails. They are lightweight controllers, can be rendered in views and thus provide an elegant and fast way for encapsulation and component-orientation.}
|
16
|
+
|
17
|
+
s.files = `git ls-files`.split("\n")
|
18
|
+
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
19
|
+
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
20
|
+
s.require_paths = ["lib"]
|
21
|
+
|
22
|
+
s.add_dependency "rails", "~> 3.0"
|
23
|
+
|
24
|
+
s.add_development_dependency "shoulda"
|
25
|
+
s.add_development_dependency "haml"
|
26
|
+
end
|
data/lib/cell/rails.rb
CHANGED
@@ -35,12 +35,8 @@ module Cell
|
|
35
35
|
|
36
36
|
|
37
37
|
module Metal
|
38
|
-
def params
|
39
|
-
@_params ||= request.parameters # DISCUSS: let rails helper access @controller.params!
|
40
|
-
end
|
41
|
-
|
42
38
|
attr_internal :request
|
43
|
-
delegate :session,
|
39
|
+
delegate :session, :params, :to => :parent_controller
|
44
40
|
end
|
45
41
|
|
46
42
|
|
@@ -49,15 +45,17 @@ module Cell
|
|
49
45
|
include Caching
|
50
46
|
|
51
47
|
attr_reader :parent_controller
|
48
|
+
attr_accessor :options
|
52
49
|
|
53
50
|
abstract!
|
54
51
|
|
55
52
|
|
56
53
|
def initialize(parent_controller, options={})
|
57
54
|
@parent_controller = parent_controller
|
58
|
-
@_request = parent_controller.request # DISCUSS:
|
59
|
-
@_config = parent_controller.config.dup
|
60
|
-
@
|
55
|
+
@_request = parent_controller.request # DISCUSS: delegate?
|
56
|
+
@_config = parent_controller.config.dup # FIXME: delegate!
|
57
|
+
@options = options
|
58
|
+
@opts = ActiveSupport::Deprecation::DeprecatedInstanceVariableProxy.new(self, :options)
|
61
59
|
end
|
62
60
|
|
63
61
|
def self.view_context_class
|
data/lib/cell/test_case.rb
CHANGED
@@ -106,7 +106,7 @@ module Cell
|
|
106
106
|
def setup_test_states_in(cell)
|
107
107
|
cell.instance_eval do
|
108
108
|
def in_view
|
109
|
-
render :inline => "<%= instance_exec(&block) %>", :locals => {:block =>
|
109
|
+
render :inline => "<%= instance_exec(&block) %>", :locals => {:block => options[:block]}
|
110
110
|
end
|
111
111
|
end
|
112
112
|
end
|
data/lib/cells/version.rb
CHANGED
@@ -23,7 +23,7 @@ Dummy::Application.configure do
|
|
23
23
|
# Tell Action Mailer not to deliver emails to the real world.
|
24
24
|
# The :test delivery method accumulates sent emails in the
|
25
25
|
# ActionMailer::Base.deliveries array.
|
26
|
-
config.action_mailer.delivery_method = :test
|
26
|
+
#config.action_mailer.delivery_method = :test
|
27
27
|
|
28
28
|
# Use SQL instead of Active Record's schema dumper when creating the test database.
|
29
29
|
# This is necessary if your schema can't be completely dumped by the schema dumper,
|
File without changes
|
File without changes
|
File without changes
|
data/test/rails/cells_test.rb
CHANGED
@@ -35,6 +35,20 @@ class RailsCellsTest < ActiveSupport::TestCase
|
|
35
35
|
assert_equal({}, cell(:bassist).config)
|
36
36
|
end
|
37
37
|
|
38
|
+
include ActiveSupport::Testing::Deprecation
|
39
|
+
should "mark @opts as deprecated, but still works" do
|
40
|
+
res = nil
|
41
|
+
assert_deprecated do
|
42
|
+
res = cell(:bassist, :song => "Lockdown").instance_eval do
|
43
|
+
@opts[:song]
|
44
|
+
end
|
45
|
+
end
|
46
|
+
assert_equal "Lockdown", res
|
47
|
+
end
|
48
|
+
|
49
|
+
should "respond to #options and return the cell options" do
|
50
|
+
assert_equal({:song => "Lockdown"}, cell(:bassist, :song => "Lockdown").options)
|
51
|
+
end
|
38
52
|
|
39
53
|
context "invoking defaultize_render_options_for" do
|
40
54
|
should "set default values" do
|
@@ -77,8 +91,9 @@ class RailsCellsTest < ActiveSupport::TestCase
|
|
77
91
|
|
78
92
|
context "delegation" do
|
79
93
|
setup do
|
80
|
-
@request = ActionController::TestRequest.new
|
81
94
|
@request.env["action_dispatch.request.request_parameters"] = {:song => "Creatures"}
|
95
|
+
@controller = Class.new(ActionController::Base).new
|
96
|
+
@controller.request = @request
|
82
97
|
@cell = cell(:bassist)
|
83
98
|
end
|
84
99
|
|
@@ -91,9 +106,18 @@ class RailsCellsTest < ActiveSupport::TestCase
|
|
91
106
|
should "respond to session" do
|
92
107
|
assert_kind_of Hash, @cell.session
|
93
108
|
end
|
109
|
+
|
110
|
+
should "respond to #params and return the request parameters" do
|
111
|
+
assert_equal({"song" => "Creatures"}, cell(:bassist).params)
|
112
|
+
end
|
113
|
+
|
114
|
+
should "not merge #params and #options" do
|
115
|
+
assert_equal({"song" => "Creatures"}, cell(:bassist, "song" => "Lockdown").params)
|
116
|
+
end
|
94
117
|
end
|
95
118
|
|
96
119
|
|
120
|
+
# DISCUSS: do we really need that test anymore?
|
97
121
|
should "precede cell ivars over controller ivars" do
|
98
122
|
@controller.instance_variable_set(:@note, "E")
|
99
123
|
BassistCell.class_eval do
|
data/test/rails/render_test.rb
CHANGED
@@ -92,7 +92,7 @@ class RailsRenderTest < ActiveSupport::TestCase
|
|
92
92
|
render_cell(:bad_guitarist, :groove)
|
93
93
|
end
|
94
94
|
|
95
|
-
|
95
|
+
assert_includes e.message, "Missing template cell/rails/groove with {:handlers=>[:erb, :rjs, :builder, :rhtml, :rxml, :haml], :formats=>[:html, :text, :js, :css, :ics, :csv, :xml, :rss, :atom, :yaml, :multipart_form, :url_encoded_form, :json], :locale=>[:en, :en]} in view paths"
|
96
96
|
end
|
97
97
|
|
98
98
|
should "render instance variables from the cell" do
|
@@ -135,7 +135,9 @@ class RailsRenderTest < ActiveSupport::TestCase
|
|
135
135
|
def pose; render; end
|
136
136
|
end
|
137
137
|
|
138
|
-
@request.env["action_dispatch.request.request_parameters"] = {:what => 'get'}
|
138
|
+
@request.env["action_dispatch.request.request_parameters"] = {:what => 'get'} # FIXME: duplicated in cells_test.rb.
|
139
|
+
@controller = Class.new(ActionController::Base).new
|
140
|
+
@controller.request = @request
|
139
141
|
@cell = cell(:bassist)
|
140
142
|
|
141
143
|
assert_equal "Come and get me!", @cell.render_state(:pose)
|
data/test/test_case_test.rb
CHANGED
@@ -22,15 +22,14 @@ class TestCaseTest < Cell::TestCase
|
|
22
22
|
|
23
23
|
should "respond to #cell" do
|
24
24
|
assert_kind_of BassistCell, cell(:bassist)
|
25
|
-
assert !cell(:bassist).respond_to?(:opts)
|
26
25
|
end
|
27
26
|
|
28
27
|
should "respond to #cell with a block" do
|
29
|
-
assert_respond_to cell(:bassist)
|
28
|
+
assert_respond_to cell(:bassist){ def whatever; end }, :whatever
|
30
29
|
end
|
31
30
|
|
32
31
|
should "respond to #cell with options and block" do
|
33
|
-
assert_equal({:topic => :peace}, cell(:bassist, :topic => :peace)
|
32
|
+
assert_equal({:topic => :peace}, cell(:bassist, :topic => :peace).options)
|
34
33
|
end
|
35
34
|
|
36
35
|
context "in declarative tests" do
|
@@ -64,7 +63,7 @@ class TestCaseTest < Cell::TestCase
|
|
64
63
|
assert_equal "Doo", last_invoke
|
65
64
|
end
|
66
65
|
|
67
|
-
should "provide #invoke accepting
|
66
|
+
should "provide #invoke accepting options" do
|
68
67
|
#assert_equal "Doo", invoke(:play)
|
69
68
|
end
|
70
69
|
|
metadata
CHANGED
@@ -1,12 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cells
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
prerelease:
|
4
|
+
prerelease: true
|
5
5
|
segments:
|
6
6
|
- 3
|
7
|
-
-
|
8
|
-
-
|
9
|
-
|
7
|
+
- 5
|
8
|
+
- 0
|
9
|
+
- beta1
|
10
|
+
version: 3.5.0.beta1
|
10
11
|
platform: ruby
|
11
12
|
authors:
|
12
13
|
- Nick Sutterer
|
@@ -14,23 +15,66 @@ autorequire:
|
|
14
15
|
bindir: bin
|
15
16
|
cert_chain: []
|
16
17
|
|
17
|
-
date: 2011-01-
|
18
|
+
date: 2011-01-26 00:00:00 +01:00
|
18
19
|
default_executable:
|
19
|
-
dependencies:
|
20
|
-
|
21
|
-
|
22
|
-
|
20
|
+
dependencies:
|
21
|
+
- !ruby/object:Gem::Dependency
|
22
|
+
name: rails
|
23
|
+
prerelease: false
|
24
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ~>
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
segments:
|
30
|
+
- 3
|
31
|
+
- 0
|
32
|
+
version: "3.0"
|
33
|
+
type: :runtime
|
34
|
+
version_requirements: *id001
|
35
|
+
- !ruby/object:Gem::Dependency
|
36
|
+
name: shoulda
|
37
|
+
prerelease: false
|
38
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
39
|
+
none: false
|
40
|
+
requirements:
|
41
|
+
- - ">="
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
segments:
|
44
|
+
- 0
|
45
|
+
version: "0"
|
46
|
+
type: :development
|
47
|
+
version_requirements: *id002
|
48
|
+
- !ruby/object:Gem::Dependency
|
49
|
+
name: haml
|
50
|
+
prerelease: false
|
51
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
52
|
+
none: false
|
53
|
+
requirements:
|
54
|
+
- - ">="
|
55
|
+
- !ruby/object:Gem::Version
|
56
|
+
segments:
|
57
|
+
- 0
|
58
|
+
version: "0"
|
59
|
+
type: :development
|
60
|
+
version_requirements: *id003
|
61
|
+
description: Cells are View Components for Rails. They are lightweight controllers, can be rendered in views and thus provide an elegant and fast way for encapsulation and component-orientation.
|
62
|
+
email:
|
63
|
+
- apotonick@gmail.com
|
23
64
|
executables: []
|
24
65
|
|
25
66
|
extensions: []
|
26
67
|
|
27
|
-
extra_rdoc_files:
|
28
|
-
|
68
|
+
extra_rdoc_files: []
|
69
|
+
|
29
70
|
files:
|
71
|
+
- .gitignore
|
30
72
|
- CHANGES.textile
|
31
73
|
- Gemfile
|
32
74
|
- README.rdoc
|
33
75
|
- Rakefile
|
76
|
+
- about.yml
|
77
|
+
- cells.gemspec
|
34
78
|
- lib/cell.rb
|
35
79
|
- lib/cell/active_helper.rb
|
36
80
|
- lib/cell/caching.rb
|
@@ -49,76 +93,79 @@ files:
|
|
49
93
|
- lib/generators/cells/templates/view.erb
|
50
94
|
- lib/generators/cells/templates/view.haml
|
51
95
|
- test/active_helper_test.rb
|
52
|
-
- test/
|
53
|
-
- test/
|
54
|
-
- test/
|
55
|
-
- test/
|
56
|
-
- test/
|
57
|
-
- test/
|
58
|
-
- test/
|
96
|
+
- test/app/cells/bad_guitarist/_dii.html.erb
|
97
|
+
- test/app/cells/bad_guitarist_cell.rb
|
98
|
+
- test/app/cells/bassist/_dii.html.erb
|
99
|
+
- test/app/cells/bassist/ahem.html.erb
|
100
|
+
- test/app/cells/bassist/compose.html.erb
|
101
|
+
- test/app/cells/bassist/contact_form.html.erb
|
102
|
+
- test/app/cells/bassist/jam.html.erb
|
103
|
+
- test/app/cells/bassist/play.html.erb
|
104
|
+
- test/app/cells/bassist/play.js.erb
|
105
|
+
- test/app/cells/bassist/pose.html.erb
|
106
|
+
- test/app/cells/bassist/promote.html.erb
|
107
|
+
- test/app/cells/bassist/provoke.html.erb
|
108
|
+
- test/app/cells/bassist/sing.html.haml
|
109
|
+
- test/app/cells/bassist/slap.html.erb
|
110
|
+
- test/app/cells/bassist/yell.en.html.erb
|
111
|
+
- test/app/cells/bassist_cell.rb
|
112
|
+
- test/app/cells/layouts/b.erb
|
113
|
+
- test/app/cells/layouts/metal.html.erb
|
114
|
+
- test/app/cells/producer/capture.html.erb
|
115
|
+
- test/app/cells/producer/content_for.html.erb
|
59
116
|
- test/cell_generator_test.rb
|
60
|
-
- test/
|
117
|
+
- test/cell_module_test.rb
|
118
|
+
- test/cells_module_test.rb
|
119
|
+
- test/dummy/Rakefile
|
120
|
+
- test/dummy/app/controllers/application_controller.rb
|
121
|
+
- test/dummy/app/controllers/musician_controller.rb
|
122
|
+
- test/dummy/app/helpers/application_helper.rb
|
123
|
+
- test/dummy/app/views/layouts/application.html.erb
|
124
|
+
- test/dummy/app/views/musician/featured.html.erb
|
125
|
+
- test/dummy/app/views/musician/featured_with_block.html.erb
|
126
|
+
- test/dummy/app/views/musician/hamlet.html.haml
|
127
|
+
- test/dummy/config.ru
|
61
128
|
- test/dummy/config/application.rb
|
62
|
-
- test/dummy/config/locales/en.yml
|
63
|
-
- test/dummy/config/routes.rb
|
64
129
|
- test/dummy/config/boot.rb
|
130
|
+
- test/dummy/config/database.yml
|
65
131
|
- test/dummy/config/environment.rb
|
132
|
+
- test/dummy/config/environments/development.rb
|
66
133
|
- test/dummy/config/environments/production.rb
|
67
134
|
- test/dummy/config/environments/test.rb
|
68
|
-
- test/dummy/config/
|
69
|
-
- test/dummy/config/
|
70
|
-
- test/dummy/script/rails
|
71
|
-
- test/dummy/config.ru
|
135
|
+
- test/dummy/config/locales/en.yml
|
136
|
+
- test/dummy/config/routes.rb
|
72
137
|
- test/dummy/db/test.sqlite3
|
73
|
-
- test/dummy/
|
138
|
+
- test/dummy/log/production.log
|
139
|
+
- test/dummy/log/server.log
|
140
|
+
- test/dummy/public/404.html
|
74
141
|
- test/dummy/public/422.html
|
75
|
-
- test/dummy/public/favicon.ico
|
76
142
|
- test/dummy/public/500.html
|
77
|
-
- test/dummy/public/
|
78
|
-
- test/dummy/public/javascripts/controls.js
|
143
|
+
- test/dummy/public/favicon.ico
|
79
144
|
- test/dummy/public/javascripts/application.js
|
80
|
-
- test/dummy/public/javascripts/
|
145
|
+
- test/dummy/public/javascripts/controls.js
|
81
146
|
- test/dummy/public/javascripts/dragdrop.js
|
82
|
-
- test/dummy/public/javascripts/prototype.js
|
83
147
|
- test/dummy/public/javascripts/effects.js
|
84
|
-
- test/dummy/
|
85
|
-
- test/dummy/
|
86
|
-
- test/dummy/
|
87
|
-
- test/dummy/
|
88
|
-
- test/dummy/app/views/musician/hamlet.html.haml
|
89
|
-
- test/dummy/app/views/musician/featured.html.erb
|
90
|
-
- test/dummy/app/helpers/application_helper.rb
|
91
|
-
- test/cells_module_test.rb
|
92
|
-
- test/test_case_test.rb
|
148
|
+
- test/dummy/public/javascripts/prototype.js
|
149
|
+
- test/dummy/public/javascripts/rails.js
|
150
|
+
- test/dummy/public/stylesheets/.gitkeep
|
151
|
+
- test/dummy/script/rails
|
93
152
|
- test/helper_test.rb
|
94
|
-
- test/
|
95
|
-
- test/
|
96
|
-
- test/
|
97
|
-
- test/
|
98
|
-
- test/
|
99
|
-
- test/
|
100
|
-
- test/
|
101
|
-
- test/
|
102
|
-
- test/
|
103
|
-
- test/app/cells/bassist/slap.html.erb
|
104
|
-
- test/app/cells/bassist/play.html.erb
|
105
|
-
- test/app/cells/bassist/play.js.erb
|
106
|
-
- test/app/cells/bassist/sing.html.haml
|
107
|
-
- test/app/cells/bassist/jam.html.erb
|
108
|
-
- test/app/cells/bassist/ahem.html.erb
|
109
|
-
- test/app/cells/bassist/provoke.html.erb
|
110
|
-
- test/app/cells/bassist/pose.html.erb
|
111
|
-
- test/app/cells/bassist/promote.html.erb
|
112
|
-
- test/app/cells/bassist/compose.html.erb
|
113
|
-
- test/app/cells/bassist/_dii.html.erb
|
114
|
-
- test/app/cells/bassist/yell.en.html.erb
|
153
|
+
- test/rails/caching_test.rb
|
154
|
+
- test/rails/capture_test.rb
|
155
|
+
- test/rails/cells_test.rb
|
156
|
+
- test/rails/integration_test.rb
|
157
|
+
- test/rails/render_test.rb
|
158
|
+
- test/rails/router_test.rb
|
159
|
+
- test/rails/view_test.rb
|
160
|
+
- test/test_case_test.rb
|
161
|
+
- test/test_helper.rb
|
115
162
|
has_rdoc: true
|
116
163
|
homepage: http://cells.rubyforge.org
|
117
164
|
licenses: []
|
118
165
|
|
119
166
|
post_install_message:
|
120
|
-
rdoc_options:
|
121
|
-
|
167
|
+
rdoc_options: []
|
168
|
+
|
122
169
|
require_paths:
|
123
170
|
- lib
|
124
171
|
required_ruby_version: !ruby/object:Gem::Requirement
|
@@ -132,11 +179,13 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
132
179
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
133
180
|
none: false
|
134
181
|
requirements:
|
135
|
-
- - "
|
182
|
+
- - ">"
|
136
183
|
- !ruby/object:Gem::Version
|
137
184
|
segments:
|
138
|
-
-
|
139
|
-
|
185
|
+
- 1
|
186
|
+
- 3
|
187
|
+
- 1
|
188
|
+
version: 1.3.1
|
140
189
|
requirements: []
|
141
190
|
|
142
191
|
rubyforge_project:
|
@@ -144,68 +193,5 @@ rubygems_version: 1.3.7
|
|
144
193
|
signing_key:
|
145
194
|
specification_version: 3
|
146
195
|
summary: View Components for Rails.
|
147
|
-
test_files:
|
148
|
-
|
149
|
-
- test/rails/router_test.rb
|
150
|
-
- test/rails/view_test.rb
|
151
|
-
- test/rails/capture_test.rb
|
152
|
-
- test/rails/integration_test.rb
|
153
|
-
- test/rails/render_test.rb
|
154
|
-
- test/rails/cells_test.rb
|
155
|
-
- test/rails/caching_test.rb
|
156
|
-
- test/cell_generator_test.rb
|
157
|
-
- test/test_helper.rb
|
158
|
-
- test/dummy/config/application.rb
|
159
|
-
- test/dummy/config/locales/en.yml
|
160
|
-
- test/dummy/config/routes.rb
|
161
|
-
- test/dummy/config/boot.rb
|
162
|
-
- test/dummy/config/environment.rb
|
163
|
-
- test/dummy/config/environments/production.rb
|
164
|
-
- test/dummy/config/environments/test.rb
|
165
|
-
- test/dummy/config/environments/development.rb
|
166
|
-
- test/dummy/config/database.yml
|
167
|
-
- test/dummy/script/rails
|
168
|
-
- test/dummy/config.ru
|
169
|
-
- test/dummy/db/test.sqlite3
|
170
|
-
- test/dummy/Rakefile
|
171
|
-
- test/dummy/public/422.html
|
172
|
-
- test/dummy/public/favicon.ico
|
173
|
-
- test/dummy/public/500.html
|
174
|
-
- test/dummy/public/404.html
|
175
|
-
- test/dummy/public/javascripts/controls.js
|
176
|
-
- test/dummy/public/javascripts/application.js
|
177
|
-
- test/dummy/public/javascripts/rails.js
|
178
|
-
- test/dummy/public/javascripts/dragdrop.js
|
179
|
-
- test/dummy/public/javascripts/prototype.js
|
180
|
-
- test/dummy/public/javascripts/effects.js
|
181
|
-
- test/dummy/app/controllers/musician_controller.rb
|
182
|
-
- test/dummy/app/controllers/application_controller.rb
|
183
|
-
- test/dummy/app/views/layouts/application.html.erb
|
184
|
-
- test/dummy/app/views/musician/featured_with_block.html.erb
|
185
|
-
- test/dummy/app/views/musician/hamlet.html.haml
|
186
|
-
- test/dummy/app/views/musician/featured.html.erb
|
187
|
-
- test/dummy/app/helpers/application_helper.rb
|
188
|
-
- test/cells_module_test.rb
|
189
|
-
- test/test_case_test.rb
|
190
|
-
- test/helper_test.rb
|
191
|
-
- test/cell_module_test.rb
|
192
|
-
- test/app/cells/layouts/metal.html.erb
|
193
|
-
- test/app/cells/layouts/b.erb
|
194
|
-
- test/app/cells/bassist_cell.rb
|
195
|
-
- test/app/cells/producer/capture.html.erb
|
196
|
-
- test/app/cells/producer/content_for.html.erb
|
197
|
-
- test/app/cells/bad_guitarist/_dii.html.erb
|
198
|
-
- test/app/cells/bad_guitarist_cell.rb
|
199
|
-
- test/app/cells/bassist/contact_form.html.erb
|
200
|
-
- test/app/cells/bassist/slap.html.erb
|
201
|
-
- test/app/cells/bassist/play.html.erb
|
202
|
-
- test/app/cells/bassist/play.js.erb
|
203
|
-
- test/app/cells/bassist/sing.html.haml
|
204
|
-
- test/app/cells/bassist/jam.html.erb
|
205
|
-
- test/app/cells/bassist/ahem.html.erb
|
206
|
-
- test/app/cells/bassist/provoke.html.erb
|
207
|
-
- test/app/cells/bassist/pose.html.erb
|
208
|
-
- test/app/cells/bassist/promote.html.erb
|
209
|
-
- test/app/cells/bassist/compose.html.erb
|
210
|
-
- test/app/cells/bassist/_dii.html.erb
|
211
|
-
- test/app/cells/bassist/yell.en.html.erb
|
196
|
+
test_files: []
|
197
|
+
|