middleman-cells 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +7 -0
- data/Gemfile +27 -0
- data/LICENSE.txt +21 -0
- data/README.md +104 -0
- data/Rakefile +14 -0
- data/features/cells.feature +48 -0
- data/features/support/env.rb +4 -0
- data/fixtures/basic-app/config.rb +3 -0
- data/fixtures/basic-app/source/cells/basic/show.erb +1 -0
- data/fixtures/basic-app/source/cells/basic_cell.rb +5 -0
- data/fixtures/basic-app/source/index.html.erb +1 -0
- data/fixtures/haml-app/config.rb +3 -0
- data/fixtures/haml-app/source/cells/haml/show.haml +1 -0
- data/fixtures/haml-app/source/cells/haml_cell.rb +5 -0
- data/fixtures/haml-app/source/index.html.erb +1 -0
- data/fixtures/hamlit-app/config.rb +3 -0
- data/fixtures/hamlit-app/source/cells/hamlit/show.haml +1 -0
- data/fixtures/hamlit-app/source/cells/hamlit_cell.rb +5 -0
- data/fixtures/hamlit-app/source/index.html.erb +1 -0
- data/fixtures/helpers-app/config.rb +5 -0
- data/fixtures/helpers-app/source/cells/helpers/show.erb +1 -0
- data/fixtures/helpers-app/source/cells/helpers_cell.rb +5 -0
- data/fixtures/helpers-app/source/cells/item/show.erb +1 -0
- data/fixtures/helpers-app/source/cells/item_cell.rb +7 -0
- data/fixtures/helpers-app/source/cells/method/foobar.erb +1 -0
- data/fixtures/helpers-app/source/cells/method_cell.rb +5 -0
- data/fixtures/helpers-app/source/collection.html.erb +5 -0
- data/fixtures/helpers-app/source/index.html.erb +1 -0
- data/fixtures/helpers-app/source/method.html.erb +1 -0
- data/fixtures/non-default-dir-app/config.rb +3 -0
- data/fixtures/non-default-dir-app/source/index.html.erb +1 -0
- data/fixtures/non-default-dir-app/source/view_models/non_default_dir/show.erb +1 -0
- data/fixtures/non-default-dir-app/source/view_models/non_default_dir_cell.rb +5 -0
- data/fixtures/reload-app/config.rb +3 -0
- data/fixtures/reload-app/source/cells/reload/show.erb +1 -0
- data/fixtures/reload-app/source/cells/reload_cell.rb +5 -0
- data/fixtures/reload-app/source/index.html.erb +1 -0
- data/fixtures/slim-app/config.rb +3 -0
- data/fixtures/slim-app/source/cells/slim/show.slim +1 -0
- data/fixtures/slim-app/source/cells/slim_cell.rb +5 -0
- data/fixtures/slim-app/source/index.html.erb +1 -0
- data/lib/middleman-cells.rb +6 -0
- data/lib/middleman-cells/extension.rb +59 -0
- data/lib/middleman-cells/version.rb +5 -0
- data/middleman-cells.gemspec +22 -0
- metadata +134 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 78e0de27631ecda408448270d603dcbdf978c6ba
|
4
|
+
data.tar.gz: 3b487f2183c522e01e639e9edba5eefaa4cfcef8
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 924d0d83a3fba72932d7ec2e34a713354b1bbf9f58f2231e1fc57d1f18e7f98975d40d974cf43a9a1bfa6201e09bdaaa48a30ba4af5742864ed76fd1f7464fc7
|
7
|
+
data.tar.gz: 8a17f15450d9349a592fa57f31155ccc40b6facd5e0a81209de1b388ac1db112e3b8ccbbaed10b3ddab5b4e3c20bb53357cf4559d72b245a01476aaf076c9818
|
data/.gitignore
ADDED
data/Gemfile
ADDED
@@ -0,0 +1,27 @@
|
|
1
|
+
# If you do not have OpenSSL installed, update
|
2
|
+
# the following line to use "http://" instead
|
3
|
+
source 'https://rubygems.org'
|
4
|
+
|
5
|
+
# Specify your gem's dependencies in middleman-cells.gemspec
|
6
|
+
gemspec
|
7
|
+
|
8
|
+
group :development do
|
9
|
+
gem 'rake'
|
10
|
+
gem 'rdoc'
|
11
|
+
gem 'yard'
|
12
|
+
end
|
13
|
+
|
14
|
+
group :test do
|
15
|
+
gem 'cucumber', '~> 2.0.0'
|
16
|
+
gem 'aruba', '~> 0.7.4'
|
17
|
+
gem 'rspec', '~> 3.0.0'
|
18
|
+
|
19
|
+
gem 'cells-erb'
|
20
|
+
gem 'cells-haml'
|
21
|
+
# Haml 4.1 is required (see https://github.com/trailblazer/cells-haml#installation)
|
22
|
+
gem 'haml', github: 'haml/haml', ref: '7c7c169'
|
23
|
+
gem 'cells-hamlit'
|
24
|
+
gem 'hamlit'
|
25
|
+
gem 'cells-slim'
|
26
|
+
gem 'hashie'
|
27
|
+
end
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2016 notozeki
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
13
|
+
all copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
+
THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,104 @@
|
|
1
|
+
# Middleman::Cells
|
2
|
+
|
3
|
+
[Cells](https://github.com/apotonick/cells) support for [Middleman](https://github.com/middleman/middleman).
|
4
|
+
|
5
|
+
## Usage
|
6
|
+
|
7
|
+
Create cells under `source/cells`.
|
8
|
+
|
9
|
+
`source/cells/greet_cell.rb`:
|
10
|
+
```ruby
|
11
|
+
class GreetCell < Cell::ViewModel
|
12
|
+
property :name
|
13
|
+
|
14
|
+
def show
|
15
|
+
render
|
16
|
+
end
|
17
|
+
end
|
18
|
+
```
|
19
|
+
|
20
|
+
`source/cells/greet/show.erb`:
|
21
|
+
```erb
|
22
|
+
<p>Hello, <%= name %>!</p>
|
23
|
+
```
|
24
|
+
|
25
|
+
Use it in your views.
|
26
|
+
|
27
|
+
`source/index.html.erb`
|
28
|
+
```erb
|
29
|
+
---
|
30
|
+
name: Ninome-chan
|
31
|
+
---
|
32
|
+
|
33
|
+
<%= cell(:greet, current_page.data).() %>
|
34
|
+
```
|
35
|
+
|
36
|
+
Cool. :smirk:
|
37
|
+
|
38
|
+
For more details of Cells, see [Cells' README](https://github.com/apotonick/cells/blob/master/README.md).
|
39
|
+
|
40
|
+
|
41
|
+
## Installation
|
42
|
+
|
43
|
+
Add the following line to your `Gemfile`.
|
44
|
+
|
45
|
+
```ruby
|
46
|
+
gem 'middleman-cells'
|
47
|
+
```
|
48
|
+
|
49
|
+
In addition, you need to install template engine(s) which you want to use in cells.
|
50
|
+
Available engines are listed [here](https://github.com/apotonick/cells#installation).
|
51
|
+
|
52
|
+
If you want to use [cells-erb](https://github.com/trailblazer/cells-erb), for example, add the following line to `Gemfile`.
|
53
|
+
|
54
|
+
```ruby
|
55
|
+
gem 'cells-erb'
|
56
|
+
```
|
57
|
+
|
58
|
+
Then, run `bundle install`.
|
59
|
+
|
60
|
+
|
61
|
+
## Configuration
|
62
|
+
|
63
|
+
```ruby
|
64
|
+
require 'cells-erb' # Require template engine(s) you installed.
|
65
|
+
|
66
|
+
activate :cells
|
67
|
+
```
|
68
|
+
|
69
|
+
Or, if you prefer:
|
70
|
+
|
71
|
+
```ruby
|
72
|
+
activate :cells do
|
73
|
+
require 'cells-erb'
|
74
|
+
end
|
75
|
+
```
|
76
|
+
|
77
|
+
### Configuration Options
|
78
|
+
|
79
|
+
#### `cells_dir` (default: `"cells"`)
|
80
|
+
|
81
|
+
```ruby
|
82
|
+
# Change directory where to place cells to `source/view_models`.
|
83
|
+
activate :cells, cells_dir: 'view_models'
|
84
|
+
```
|
85
|
+
|
86
|
+
#### `autoload` (default: `true`)
|
87
|
+
|
88
|
+
```ruby
|
89
|
+
# Disable to autoload cells.
|
90
|
+
activate :cells, autoload: false
|
91
|
+
|
92
|
+
# ...and you need to require your cells manually.
|
93
|
+
require 'source/cells/foobar_cell'
|
94
|
+
```
|
95
|
+
|
96
|
+
## Contributing
|
97
|
+
|
98
|
+
Please report bugs via [Issues](https://github.com/notozeki/middleman-cells/issues). Also [Pull Requests](https://github.com/notozeki/middleman-cells/pulls) are welcome. :grinning:
|
99
|
+
|
100
|
+
Issue や Pull Request は日本語でもOKです :jp:
|
101
|
+
|
102
|
+
## License
|
103
|
+
|
104
|
+
MIT
|
data/Rakefile
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
require 'bundler'
|
2
|
+
Bundler::GemHelper.install_tasks
|
3
|
+
|
4
|
+
require 'cucumber/rake/task'
|
5
|
+
|
6
|
+
Cucumber::Rake::Task.new(:cucumber, 'Run features that should pass') do |t|
|
7
|
+
t.cucumber_opts = '--color --tags ~@wip --strict'
|
8
|
+
end
|
9
|
+
|
10
|
+
require 'rake/clean'
|
11
|
+
|
12
|
+
task test: ['cucumber']
|
13
|
+
|
14
|
+
task default: :test
|
@@ -0,0 +1,48 @@
|
|
1
|
+
Feature: Cells support for Middleman
|
2
|
+
|
3
|
+
Scenario: Render a basic cell
|
4
|
+
Given the Server is running at "basic-app"
|
5
|
+
When I go to "/index.html"
|
6
|
+
Then I should see "Hello."
|
7
|
+
|
8
|
+
Scenario: Cells in non-default directory
|
9
|
+
Given the Server is running at "non-default-dir-app"
|
10
|
+
When I go to "/index.html"
|
11
|
+
Then I should see "Hello from non-default directory."
|
12
|
+
|
13
|
+
Scenario: Render with helpers
|
14
|
+
Given the Server is running at "helpers-app"
|
15
|
+
When I go to "/index.html"
|
16
|
+
Then I should see "This is rendered by a helper."
|
17
|
+
When I go to "/method.html"
|
18
|
+
Then I should see "This is rendered by #foobar."
|
19
|
+
When I go to "/collection.html"
|
20
|
+
Then I should see "Item #1"
|
21
|
+
Then I should see "Item #2"
|
22
|
+
Then I should see "Item #3"
|
23
|
+
|
24
|
+
Scenario: Edit and reload
|
25
|
+
Given the Server is running at "reload-app"
|
26
|
+
When I go to "/index.html"
|
27
|
+
Then I should see "Before"
|
28
|
+
And a file named "source/cells/reload/show.erb" with:
|
29
|
+
"""
|
30
|
+
<p>After</p>
|
31
|
+
"""
|
32
|
+
When I go to "/index.html"
|
33
|
+
Then I should see "After"
|
34
|
+
|
35
|
+
Scenario: Hamlit support
|
36
|
+
Given the Server is running at "hamlit-app"
|
37
|
+
When I go to "/index.html"
|
38
|
+
Then I should see "<p>This is a Hamlit.</p>"
|
39
|
+
|
40
|
+
Scenario: Haml support
|
41
|
+
Given the Server is running at "haml-app"
|
42
|
+
When I go to "/index.html"
|
43
|
+
Then I should see "<p>This is a Haml.</p>"
|
44
|
+
|
45
|
+
Scenario: Slim support
|
46
|
+
Given the Server is running at "slim-app"
|
47
|
+
When I go to "/index.html"
|
48
|
+
Then I should see "<p>This is a Slim.</p>"
|
@@ -0,0 +1 @@
|
|
1
|
+
<p>Hello.</p>
|
@@ -0,0 +1 @@
|
|
1
|
+
<%= BasicCell.().() %>
|
@@ -0,0 +1 @@
|
|
1
|
+
%p This is a Haml.
|
@@ -0,0 +1 @@
|
|
1
|
+
<%= HamlCell.().() %>
|
@@ -0,0 +1 @@
|
|
1
|
+
%p This is a Hamlit.
|
@@ -0,0 +1 @@
|
|
1
|
+
<%= HamlitCell.().() %>
|
@@ -0,0 +1 @@
|
|
1
|
+
<p>This is rendered by a helper.</p>
|
@@ -0,0 +1 @@
|
|
1
|
+
<li>Item #<%= id %></li>
|
@@ -0,0 +1 @@
|
|
1
|
+
<p>This is rendered by #foobar.</p>
|
@@ -0,0 +1 @@
|
|
1
|
+
<%= cell(:helpers).() %>
|
@@ -0,0 +1 @@
|
|
1
|
+
<%= cell(:method).(:foobar) %>
|
@@ -0,0 +1 @@
|
|
1
|
+
<%= NonDefaultDirCell.().() %>
|
@@ -0,0 +1 @@
|
|
1
|
+
<p>Hello from non-default directory.</p>
|
@@ -0,0 +1 @@
|
|
1
|
+
<p>Before</p>
|
@@ -0,0 +1 @@
|
|
1
|
+
<%= ReloadCell.().() %>
|
@@ -0,0 +1 @@
|
|
1
|
+
p This is a Slim.
|
@@ -0,0 +1 @@
|
|
1
|
+
<%= SlimCell.().() %>
|
@@ -0,0 +1,59 @@
|
|
1
|
+
require 'middleman-core'
|
2
|
+
|
3
|
+
module Middleman
|
4
|
+
module Cells
|
5
|
+
class Extension < ::Middleman::Extension
|
6
|
+
option :cells_dir, 'cells', 'Directory where to place cells'
|
7
|
+
option :autoload, true, 'Whether to autoload cells or not'
|
8
|
+
|
9
|
+
def initialize(app, options_hash={}, &block)
|
10
|
+
super
|
11
|
+
|
12
|
+
require 'cells'
|
13
|
+
require 'active_support/inflector'
|
14
|
+
yield if block_given? # Expect to require template engines (like cells-erb).
|
15
|
+
|
16
|
+
::Cell::ViewModel.send(:include, ::Cell::Erb) if defined?(::Cell::Erb)
|
17
|
+
::Cell::ViewModel.send(:include, ::Cell::Hamlit) if defined?(::Cell::Hamlit)
|
18
|
+
::Cell::ViewModel.send(:include, ::Cell::Haml) if defined?(::Cell::Haml)
|
19
|
+
if defined?(::Cell::Slim)
|
20
|
+
::Cell::ViewModel.send(:include, ::Cell::Slim)
|
21
|
+
|
22
|
+
# HACK: In Tilt's convention, All arguments of Template#initialize
|
23
|
+
# are optional. But Middleman breaks it when overriding
|
24
|
+
# Slim::Template and it causes ArgumentError. So we re-define it here
|
25
|
+
# to follow the convention for the nonce. This very smells...:hankey:
|
26
|
+
::Slim::Template.class_eval do
|
27
|
+
alias orig_initialize initialize
|
28
|
+
def initialize(file=nil, line=1, options={}, &block)
|
29
|
+
orig_initialize(file, line, options, &block)
|
30
|
+
end
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
def after_configuration
|
36
|
+
cells_dir = File.join(app.root, app.config[:source], options.cells_dir)
|
37
|
+
|
38
|
+
::Cell::ViewModel.view_paths << cells_dir
|
39
|
+
|
40
|
+
if options.autoload
|
41
|
+
require 'active_support/dependencies'
|
42
|
+
::ActiveSupport::Dependencies.autoload_paths << cells_dir
|
43
|
+
end
|
44
|
+
|
45
|
+
if app.config[:environment] == :development
|
46
|
+
require 'cell/development'
|
47
|
+
::Cell::ViewModel.send(:include, ::Cell::Development)
|
48
|
+
end
|
49
|
+
end
|
50
|
+
|
51
|
+
helpers do
|
52
|
+
# Refer to Cell::ViewModel::Helpers#cell
|
53
|
+
def cell(name, *args, &block)
|
54
|
+
"#{name}_cell".camelize.constantize.(*args, &block)
|
55
|
+
end
|
56
|
+
end
|
57
|
+
end
|
58
|
+
end
|
59
|
+
end
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
$:.push File.expand_path('../lib', __FILE__)
|
3
|
+
require 'middleman-cells/version'
|
4
|
+
|
5
|
+
Gem::Specification.new do |s|
|
6
|
+
s.name = 'middleman-cells'
|
7
|
+
s.version = Middleman::Cells::VERSION
|
8
|
+
s.platform = Gem::Platform::RUBY
|
9
|
+
s.authors = ['notozeki']
|
10
|
+
s.email = ['notozeki@gmail.com']
|
11
|
+
s.summary = %q{Cells support for Middleman.}
|
12
|
+
s.license = 'MIT'
|
13
|
+
|
14
|
+
s.files = `git ls-files`.split("\n")
|
15
|
+
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
16
|
+
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
17
|
+
s.require_paths = ['lib']
|
18
|
+
|
19
|
+
s.add_runtime_dependency 'middleman-core', '~> 4.0'
|
20
|
+
s.add_runtime_dependency 'cells', '~> 4.0.0'
|
21
|
+
s.add_runtime_dependency 'activesupport', '~> 4.2.0'
|
22
|
+
end
|
metadata
ADDED
@@ -0,0 +1,134 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: middleman-cells
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- notozeki
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2016-03-02 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: middleman-core
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '4.0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '4.0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: cells
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 4.0.0
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 4.0.0
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: activesupport
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 4.2.0
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 4.2.0
|
55
|
+
description:
|
56
|
+
email:
|
57
|
+
- notozeki@gmail.com
|
58
|
+
executables: []
|
59
|
+
extensions: []
|
60
|
+
extra_rdoc_files: []
|
61
|
+
files:
|
62
|
+
- ".gitignore"
|
63
|
+
- Gemfile
|
64
|
+
- LICENSE.txt
|
65
|
+
- README.md
|
66
|
+
- Rakefile
|
67
|
+
- features/cells.feature
|
68
|
+
- features/support/env.rb
|
69
|
+
- fixtures/basic-app/config.rb
|
70
|
+
- fixtures/basic-app/source/cells/basic/show.erb
|
71
|
+
- fixtures/basic-app/source/cells/basic_cell.rb
|
72
|
+
- fixtures/basic-app/source/index.html.erb
|
73
|
+
- fixtures/haml-app/config.rb
|
74
|
+
- fixtures/haml-app/source/cells/haml/show.haml
|
75
|
+
- fixtures/haml-app/source/cells/haml_cell.rb
|
76
|
+
- fixtures/haml-app/source/index.html.erb
|
77
|
+
- fixtures/hamlit-app/config.rb
|
78
|
+
- fixtures/hamlit-app/source/cells/hamlit/show.haml
|
79
|
+
- fixtures/hamlit-app/source/cells/hamlit_cell.rb
|
80
|
+
- fixtures/hamlit-app/source/index.html.erb
|
81
|
+
- fixtures/helpers-app/config.rb
|
82
|
+
- fixtures/helpers-app/source/cells/helpers/show.erb
|
83
|
+
- fixtures/helpers-app/source/cells/helpers_cell.rb
|
84
|
+
- fixtures/helpers-app/source/cells/item/show.erb
|
85
|
+
- fixtures/helpers-app/source/cells/item_cell.rb
|
86
|
+
- fixtures/helpers-app/source/cells/method/foobar.erb
|
87
|
+
- fixtures/helpers-app/source/cells/method_cell.rb
|
88
|
+
- fixtures/helpers-app/source/collection.html.erb
|
89
|
+
- fixtures/helpers-app/source/index.html.erb
|
90
|
+
- fixtures/helpers-app/source/method.html.erb
|
91
|
+
- fixtures/non-default-dir-app/config.rb
|
92
|
+
- fixtures/non-default-dir-app/source/index.html.erb
|
93
|
+
- fixtures/non-default-dir-app/source/view_models/non_default_dir/show.erb
|
94
|
+
- fixtures/non-default-dir-app/source/view_models/non_default_dir_cell.rb
|
95
|
+
- fixtures/reload-app/config.rb
|
96
|
+
- fixtures/reload-app/source/cells/reload/show.erb
|
97
|
+
- fixtures/reload-app/source/cells/reload_cell.rb
|
98
|
+
- fixtures/reload-app/source/index.html.erb
|
99
|
+
- fixtures/slim-app/config.rb
|
100
|
+
- fixtures/slim-app/source/cells/slim/show.slim
|
101
|
+
- fixtures/slim-app/source/cells/slim_cell.rb
|
102
|
+
- fixtures/slim-app/source/index.html.erb
|
103
|
+
- lib/middleman-cells.rb
|
104
|
+
- lib/middleman-cells/extension.rb
|
105
|
+
- lib/middleman-cells/version.rb
|
106
|
+
- middleman-cells.gemspec
|
107
|
+
homepage:
|
108
|
+
licenses:
|
109
|
+
- MIT
|
110
|
+
metadata: {}
|
111
|
+
post_install_message:
|
112
|
+
rdoc_options: []
|
113
|
+
require_paths:
|
114
|
+
- lib
|
115
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
116
|
+
requirements:
|
117
|
+
- - ">="
|
118
|
+
- !ruby/object:Gem::Version
|
119
|
+
version: '0'
|
120
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - ">="
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0'
|
125
|
+
requirements: []
|
126
|
+
rubyforge_project:
|
127
|
+
rubygems_version: 2.5.1
|
128
|
+
signing_key:
|
129
|
+
specification_version: 4
|
130
|
+
summary: Cells support for Middleman.
|
131
|
+
test_files:
|
132
|
+
- features/cells.feature
|
133
|
+
- features/support/env.rb
|
134
|
+
has_rdoc:
|