layou2 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +13 -0
- data/Gemfile +14 -0
- data/Guardfile +13 -0
- data/Rakefile +3 -44
- data/TODO +17 -4
- data/generators/layou2/templates/initializer.rb +1 -1
- data/layou2.gemspec +28 -0
- data/lib/layou2.rb +13 -13
- data/lib/layou2/helpers.rb +14 -10
- data/lib/layou2/version.rb +1 -1
- data/test/integration/helpers_integration_test.rb +1 -1
- data/test/integration/rails_app/app/views/home/index.html.erb +13 -0
- data/test/integration/rails_app/app/views/layouts/application.html.erb +10 -0
- data/test/integration/rails_app/app/views/ponies/index.html.erb +0 -0
- data/test/integration/rails_app/app/views/ponies/new.html.erb +0 -0
- data/test/integration/rails_app/config/database.yml +3 -0
- data/test/integration/rails_app/config/environment.rb +1 -1
- data/test/integration/rails_app/config/initializers/layou2.rb +1 -0
- data/test/test_helper.rb +3 -3
- metadata +79 -53
- data/rails/init.rb +0 -2
- data/test/integration/rails_app/config/initializers/inflections.rb +0 -2
data/.gitignore
ADDED
data/Gemfile
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
source "http://rubygems.org"
|
2
|
+
|
3
|
+
gem 'rake', '0.8.7' # NOTE: 0.9 breaks Rakefile (bug)
|
4
|
+
|
5
|
+
# See: layou2.gemspec
|
6
|
+
gemspec
|
7
|
+
|
8
|
+
group :test do
|
9
|
+
gem 'guard'
|
10
|
+
gem 'guard-bundler'
|
11
|
+
gem 'guard-test'
|
12
|
+
|
13
|
+
gem 'rb-fsevent', :require => false if RUBY_PLATFORM =~ /darwin/i
|
14
|
+
end
|
data/Guardfile
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
|
2
|
+
guard 'bundler' do
|
3
|
+
watch('Gemfile')
|
4
|
+
# Uncomment next line if Gemfile contain `gemspec' command
|
5
|
+
# watch(/^.+\.gemspec/)
|
6
|
+
end
|
7
|
+
|
8
|
+
guard 'test' do
|
9
|
+
watch(%r{lib/(.*)\.rb}) { |m| "test/#{m[1]}_test.rb" }
|
10
|
+
watch(%r{test/integration/rails_app/(.*)\.rb})
|
11
|
+
watch(%r{test/.*_test\.rb})
|
12
|
+
watch('test/test_helper.rb') { "test" }
|
13
|
+
end
|
data/Rakefile
CHANGED
@@ -1,55 +1,15 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
require 'bundler'
|
2
|
+
Bundler::GemHelper.install_tasks
|
3
3
|
require 'rake'
|
4
4
|
require 'rake/testtask'
|
5
5
|
require 'rake/rdoctask'
|
6
|
-
require File.join(File.dirname(__FILE__), 'lib', 'layou2', 'version')
|
7
6
|
|
8
7
|
# Gem managment tasks.
|
9
8
|
#
|
10
|
-
# == Generate gemspec, build & install locally:
|
11
|
-
#
|
12
|
-
# rake gemspec
|
13
|
-
# rake build
|
14
|
-
# sudo rake install
|
15
|
-
#
|
16
9
|
# == Git tag & push to origin/master and push gem to Rubygems.org:
|
17
10
|
#
|
18
|
-
# rake release
|
19
|
-
#
|
20
|
-
# == Release to Rubygems.org:
|
11
|
+
# $ rake release
|
21
12
|
#
|
22
|
-
# rake gemcutter:release
|
23
|
-
#
|
24
|
-
begin
|
25
|
-
gem 'jeweler'
|
26
|
-
require 'jeweler'
|
27
|
-
|
28
|
-
Jeweler::Tasks.new do |spec|
|
29
|
-
spec.name = "layou2"
|
30
|
-
spec.version = ::Layou2::VERSION
|
31
|
-
spec.summary = %{The layout helpers.}
|
32
|
-
spec.description = spec.summary
|
33
|
-
spec.homepage = "http://github.com/grimen/#{spec.name}"
|
34
|
-
spec.authors = ["Jonas Grimfelt"]
|
35
|
-
spec.email = "grimen@gmail.com"
|
36
|
-
|
37
|
-
spec.files = FileList["[A-Z]*", File.join(*%w[{generators,lib,rails} ** *]).to_s]
|
38
|
-
|
39
|
-
spec.add_dependency 'activesupport', '>= 2.3.0'
|
40
|
-
spec.add_dependency 'actionpack', '>= 2.3.0'
|
41
|
-
|
42
|
-
spec.add_development_dependency 'test-unit', '= 1.2.3'
|
43
|
-
spec.add_development_dependency 'mocha', '>= 0.9.8'
|
44
|
-
spec.add_development_dependency 'webrat', '>= 0.7.0'
|
45
|
-
spec.add_development_dependency 'leftright', '>= 0.0.3'
|
46
|
-
end
|
47
|
-
|
48
|
-
Jeweler::GemcutterTasks.new
|
49
|
-
rescue LoadError
|
50
|
-
puts "Jeweler - or one of its dependencies - is not available. " <<
|
51
|
-
"Install it with: sudo gem install jeweler -s http://gemcutter.org"
|
52
|
-
end
|
53
13
|
|
54
14
|
desc 'Default: run unit tests.'
|
55
15
|
task :default => :test
|
@@ -67,6 +27,5 @@ Rake::RDocTask.new(:rdoc) do |rdoc|
|
|
67
27
|
rdoc.title = ''
|
68
28
|
rdoc.options << '--line-numbers' << '--inline-source'
|
69
29
|
rdoc.rdoc_files.include('README')
|
70
|
-
rdoc.rdoc_files.include('rails/init.rb')
|
71
30
|
rdoc.rdoc_files.include('lib/**/*.rb')
|
72
31
|
end
|
data/TODO
CHANGED
@@ -1,9 +1,22 @@
|
|
1
1
|
TODO
|
2
2
|
|
3
|
-
|
3
|
+
== HIGH-PRIO
|
4
4
|
|
5
|
-
*
|
5
|
+
* [COMPATABILITY]: Port generators to Rails 3 (railtie)
|
6
6
|
|
7
|
-
* unit tests please, once and for all
|
8
7
|
|
9
|
-
|
8
|
+
== LOW-PRIO
|
9
|
+
|
10
|
+
* [FEATURE]: String#textilize
|
11
|
+
|
12
|
+
* [REFACTOR]: args.each {} thing in title/description/...
|
13
|
+
|
14
|
+
* [TEST]: unit tests please, once and for all
|
15
|
+
|
16
|
+
* [TEST]: test HTML <head> helpers
|
17
|
+
|
18
|
+
* [FEATURE]: bottom-up I18n lookup pattern, like Link2
|
19
|
+
|
20
|
+
* [REFACTOR]: option-extraction for title/description/keywords
|
21
|
+
|
22
|
+
* [FEATURE]: accept more tag options than :class?
|
@@ -5,7 +5,7 @@ if defined?(::Layou2)
|
|
5
5
|
# Configure how - and in what order - title/description/keywords should be looked up.
|
6
6
|
# config.i18n_scopes = ['{{model}}.links.{{action}}', 'links.{{action}}']
|
7
7
|
#
|
8
|
-
# Enable/Disable
|
8
|
+
# Enable/Disable Layou2 DOM selectors generation.
|
9
9
|
# config.dom_selectors = true
|
10
10
|
end
|
11
11
|
end
|
data/layou2.gemspec
ADDED
@@ -0,0 +1,28 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
$:.push File.expand_path("../lib", __FILE__)
|
3
|
+
require "layou2/version"
|
4
|
+
|
5
|
+
Gem::Specification.new do |s|
|
6
|
+
s.name = "layou2"
|
7
|
+
s.version = Layou2::VERSION
|
8
|
+
s.platform = Gem::Platform::RUBY
|
9
|
+
s.authors = ["Jonas Grimfelt"]
|
10
|
+
s.email = ["grimen@gmail.com"]
|
11
|
+
s.homepage = "http://github.com/grimen/#{s.name}"
|
12
|
+
s.summary = %{The layout helpers.}
|
13
|
+
s.description = s.summary
|
14
|
+
|
15
|
+
s.add_dependency 'activesupport', '>= 2.3.5'
|
16
|
+
s.add_dependency 'actionpack', '>= 2.3.5'
|
17
|
+
|
18
|
+
s.add_development_dependency 'test-unit', '1.2.3'
|
19
|
+
s.add_development_dependency 'mocha'
|
20
|
+
s.add_development_dependency 'webrat'
|
21
|
+
s.add_development_dependency 'rails', '~> 2.3.11'
|
22
|
+
s.add_development_dependency 'sqlite3-ruby'
|
23
|
+
|
24
|
+
s.files = `git ls-files`.split("\n")
|
25
|
+
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
26
|
+
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
27
|
+
s.require_paths = ["lib"]
|
28
|
+
end
|
data/lib/layou2.rb
CHANGED
@@ -1,17 +1,9 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
end
|
8
|
-
|
9
|
-
begin
|
10
|
-
require 'action_view'
|
11
|
-
rescue LoadError
|
12
|
-
gem 'actionpack'
|
13
|
-
require 'action_view'
|
14
|
-
end
|
2
|
+
require 'rubygems'
|
3
|
+
require 'bundler'
|
4
|
+
Bundler.require
|
5
|
+
require 'active_support'
|
6
|
+
require 'action_view'
|
15
7
|
|
16
8
|
module Layou2
|
17
9
|
|
@@ -22,11 +14,19 @@ module Layou2
|
|
22
14
|
NotImplementedYetError = Class.new(::NotImplementedError)
|
23
15
|
|
24
16
|
DEFAULT_DOM_CLASSES = {:title => 'title', :description => 'description'}
|
17
|
+
DEFAULT_TITLE_TAG = :h1
|
18
|
+
DEFAULT_DESCRIPTION_TAG = :p
|
25
19
|
|
26
20
|
# DOM selectors for easier manipulation of Layou2 titles using CSS/JavaScript.
|
27
21
|
mattr_accessor :dom_classes
|
28
22
|
@@dom_classes = DEFAULT_DOM_CLASSES
|
29
23
|
|
24
|
+
mattr_accessor :default_title_tag
|
25
|
+
@@default_title_tag = DEFAULT_TITLE_TAG
|
26
|
+
|
27
|
+
mattr_accessor :default_description_tag
|
28
|
+
@@default_description_tag = DEFAULT_DESCRIPTION_TAG
|
29
|
+
|
30
30
|
class << self
|
31
31
|
|
32
32
|
# Yield self for configuration block:
|
data/lib/layou2/helpers.rb
CHANGED
@@ -6,8 +6,9 @@ module Layou2
|
|
6
6
|
def title(*args, &block)
|
7
7
|
options = args.extract_options!
|
8
8
|
options[:meta] = false if options[:meta].nil?
|
9
|
-
options[:as] ||=
|
9
|
+
options[:as] ||= ::Layou2.default_title_tag
|
10
10
|
|
11
|
+
# TODO: refactor
|
11
12
|
(args ||= []).each do |arg|
|
12
13
|
case arg
|
13
14
|
when String then
|
@@ -16,20 +17,22 @@ module Layou2
|
|
16
17
|
options[arg] = true
|
17
18
|
end
|
18
19
|
end
|
20
|
+
|
19
21
|
title ||= capture_if_given(&block)
|
20
|
-
title = t('.title', options.except(:class, :meta, :as, :strip)) if title.blank? # I18n
|
22
|
+
title = t('.title', options.except(:class, :meta, :as, :strip)) if title.blank? # TODO: bottom-up I18n lookups
|
21
23
|
title = title.textilize(:strip) if options[:textile]
|
22
24
|
# TODO: meta(:title, title) if options.delete(:meta)
|
23
25
|
options[:class] = [::Layou2.dom_classes[:title], options[:class]].compact.join(' ')
|
24
26
|
|
25
|
-
content_tag(options[:as] , title, options.slice(:class))
|
27
|
+
content_tag(options[:as] , title, options.slice(:class)) # TODO: Only :class?
|
26
28
|
end
|
27
29
|
|
28
30
|
def description(*args, &block)
|
29
31
|
options = args.extract_options!
|
30
32
|
options[:meta] = false if options[:meta].nil?
|
31
|
-
options[:as] ||=
|
33
|
+
options[:as] ||= ::Layou2.default_description_tag
|
32
34
|
|
35
|
+
# TODO: refactor
|
33
36
|
(args ||= []).each do |arg|
|
34
37
|
case arg
|
35
38
|
when String then
|
@@ -40,19 +43,20 @@ module Layou2
|
|
40
43
|
end
|
41
44
|
|
42
45
|
description ||= capture_if_given(&block)
|
43
|
-
description = t('.description', options.except(:class, :meta, :as, :strip)) if description.blank? # I18n
|
46
|
+
description = t('.description', options.except(:class, :meta, :as, :strip)) if description.blank? # TODO: bottom-up I18n lookups
|
44
47
|
description += options[:end_with] if options[:end_with] && description[-1,1] != options[:end_with]
|
45
48
|
description = description.textilize(:strip) if options[:textile]
|
46
49
|
# TODO: (:description, description) if options.delete(:meta)
|
47
50
|
options[:class] = [::Layou2.dom_classes[:description], options[:class]].compact.join(' ')
|
48
51
|
|
49
|
-
content_tag(options[:as], description, options.slice(:class))
|
52
|
+
content_tag(options[:as], description, options.slice(:class)) # TODO: Only :class?
|
50
53
|
end
|
51
54
|
|
52
55
|
def keywords(*args, &block)
|
53
56
|
options = args.extract_options!
|
54
57
|
options[:meta] = false if options[:meta].nil?
|
55
58
|
|
59
|
+
# TODO: refactor
|
56
60
|
(args ||= []).each do |arg|
|
57
61
|
case arg
|
58
62
|
when String then
|
@@ -63,10 +67,10 @@ module Layou2
|
|
63
67
|
end
|
64
68
|
|
65
69
|
keywords ||= capture_if_given(&block)
|
66
|
-
keywords = t('.keywords', options.except(:meta)) if keywords.blank? # I18n
|
70
|
+
keywords = t('.keywords', options.except(:meta)) if keywords.blank? # TODO: bottom-up I18n lookups
|
67
71
|
# TODO: meta(:keywords, description) if options.delete(:meta)
|
68
72
|
|
69
|
-
|
73
|
+
nil
|
70
74
|
end
|
71
75
|
|
72
76
|
def meta(*args)
|
@@ -75,7 +79,7 @@ module Layou2
|
|
75
79
|
if args.first.is_a?(Symbol) && args.last.is_a?(String)
|
76
80
|
content_for(args.first, args.last)
|
77
81
|
else
|
78
|
-
|
82
|
+
''.tap do |html|
|
79
83
|
options.slice(:title, :description, :keywords).each do |type|
|
80
84
|
html << content_for(type, options[type])
|
81
85
|
end
|
@@ -92,7 +96,7 @@ module Layou2
|
|
92
96
|
if args.first.is_a?(Symbol) && args.last.is_a?(String)
|
93
97
|
send :"#{args.first}_tag", (args.last if args.last.present?)
|
94
98
|
else
|
95
|
-
|
99
|
+
''.tap do |html|
|
96
100
|
options.slice(:title, :description, :keywords).each do |type|
|
97
101
|
html << send(:"#{type}_tag", (options[type] if options[type].present?))
|
98
102
|
end
|
data/lib/layou2/version.rb
CHANGED
File without changes
|
File without changes
|
@@ -1,7 +1,7 @@
|
|
1
1
|
# Be sure to restart your server when you modify this file
|
2
2
|
|
3
3
|
# Specifies gem version of Rails to use when vendor/rails is not present
|
4
|
-
RAILS_GEM_VERSION = '2.3.
|
4
|
+
RAILS_GEM_VERSION = '2.3.11' unless defined? RAILS_GEM_VERSION
|
5
5
|
TEST_ORM = :active_record unless defined? TEST_ORM
|
6
6
|
|
7
7
|
# Bootstrap the Rails environment, frameworks, and default configuration
|
data/test/test_helper.rb
CHANGED
@@ -1,5 +1,8 @@
|
|
1
1
|
# encoding: utf-8
|
2
2
|
require 'rubygems'
|
3
|
+
require 'bundler'
|
4
|
+
Bundler.require
|
5
|
+
$:.unshift File.dirname(__FILE__)
|
3
6
|
|
4
7
|
ENV['RAILS_ENV'] = 'test'
|
5
8
|
TEST_ORM = (ENV['ORM'] || :active_record).to_sym
|
@@ -7,9 +10,6 @@ TEST_ORM = (ENV['ORM'] || :active_record).to_sym
|
|
7
10
|
# ORM / Schema.
|
8
11
|
require File.join(File.dirname(__FILE__), 'orm', TEST_ORM.to_s)
|
9
12
|
|
10
|
-
gem 'test-unit', '1.2.3'
|
11
|
-
require 'test/unit'
|
12
|
-
|
13
13
|
begin
|
14
14
|
require 'leftright'
|
15
15
|
rescue LoadError
|
metadata
CHANGED
@@ -1,12 +1,8 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: layou2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
prerelease:
|
5
|
-
|
6
|
-
- 0
|
7
|
-
- 1
|
8
|
-
- 0
|
9
|
-
version: 0.1.0
|
4
|
+
prerelease:
|
5
|
+
version: 0.1.1
|
10
6
|
platform: ruby
|
11
7
|
authors:
|
12
8
|
- Jonas Grimfelt
|
@@ -14,140 +10,166 @@ autorequire:
|
|
14
10
|
bindir: bin
|
15
11
|
cert_chain: []
|
16
12
|
|
17
|
-
date:
|
13
|
+
date: 2011-05-24 00:00:00 +02:00
|
18
14
|
default_executable:
|
19
15
|
dependencies:
|
20
16
|
- !ruby/object:Gem::Dependency
|
21
17
|
name: activesupport
|
22
|
-
prerelease: false
|
23
18
|
requirement: &id001 !ruby/object:Gem::Requirement
|
19
|
+
none: false
|
24
20
|
requirements:
|
25
21
|
- - ">="
|
26
22
|
- !ruby/object:Gem::Version
|
27
|
-
|
28
|
-
- 2
|
29
|
-
- 3
|
30
|
-
- 0
|
31
|
-
version: 2.3.0
|
23
|
+
version: 2.3.5
|
32
24
|
type: :runtime
|
25
|
+
prerelease: false
|
33
26
|
version_requirements: *id001
|
34
27
|
- !ruby/object:Gem::Dependency
|
35
28
|
name: actionpack
|
36
|
-
prerelease: false
|
37
29
|
requirement: &id002 !ruby/object:Gem::Requirement
|
30
|
+
none: false
|
38
31
|
requirements:
|
39
32
|
- - ">="
|
40
33
|
- !ruby/object:Gem::Version
|
41
|
-
|
42
|
-
- 2
|
43
|
-
- 3
|
44
|
-
- 0
|
45
|
-
version: 2.3.0
|
34
|
+
version: 2.3.5
|
46
35
|
type: :runtime
|
36
|
+
prerelease: false
|
47
37
|
version_requirements: *id002
|
48
38
|
- !ruby/object:Gem::Dependency
|
49
39
|
name: test-unit
|
50
|
-
prerelease: false
|
51
40
|
requirement: &id003 !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
52
42
|
requirements:
|
53
43
|
- - "="
|
54
44
|
- !ruby/object:Gem::Version
|
55
|
-
segments:
|
56
|
-
- 1
|
57
|
-
- 2
|
58
|
-
- 3
|
59
45
|
version: 1.2.3
|
60
46
|
type: :development
|
47
|
+
prerelease: false
|
61
48
|
version_requirements: *id003
|
62
49
|
- !ruby/object:Gem::Dependency
|
63
50
|
name: mocha
|
64
|
-
prerelease: false
|
65
51
|
requirement: &id004 !ruby/object:Gem::Requirement
|
52
|
+
none: false
|
66
53
|
requirements:
|
67
54
|
- - ">="
|
68
55
|
- !ruby/object:Gem::Version
|
69
|
-
|
70
|
-
- 0
|
71
|
-
- 9
|
72
|
-
- 8
|
73
|
-
version: 0.9.8
|
56
|
+
version: "0"
|
74
57
|
type: :development
|
58
|
+
prerelease: false
|
75
59
|
version_requirements: *id004
|
76
60
|
- !ruby/object:Gem::Dependency
|
77
61
|
name: webrat
|
78
|
-
prerelease: false
|
79
62
|
requirement: &id005 !ruby/object:Gem::Requirement
|
63
|
+
none: false
|
80
64
|
requirements:
|
81
65
|
- - ">="
|
82
66
|
- !ruby/object:Gem::Version
|
83
|
-
|
84
|
-
- 0
|
85
|
-
- 7
|
86
|
-
- 0
|
87
|
-
version: 0.7.0
|
67
|
+
version: "0"
|
88
68
|
type: :development
|
69
|
+
prerelease: false
|
89
70
|
version_requirements: *id005
|
90
71
|
- !ruby/object:Gem::Dependency
|
91
|
-
name:
|
92
|
-
prerelease: false
|
72
|
+
name: rails
|
93
73
|
requirement: &id006 !ruby/object:Gem::Requirement
|
74
|
+
none: false
|
94
75
|
requirements:
|
95
|
-
- -
|
76
|
+
- - ~>
|
96
77
|
- !ruby/object:Gem::Version
|
97
|
-
|
98
|
-
- 0
|
99
|
-
- 0
|
100
|
-
- 3
|
101
|
-
version: 0.0.3
|
78
|
+
version: 2.3.11
|
102
79
|
type: :development
|
80
|
+
prerelease: false
|
103
81
|
version_requirements: *id006
|
82
|
+
- !ruby/object:Gem::Dependency
|
83
|
+
name: sqlite3-ruby
|
84
|
+
requirement: &id007 !ruby/object:Gem::Requirement
|
85
|
+
none: false
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: "0"
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: *id007
|
104
93
|
description: The layout helpers.
|
105
|
-
email:
|
94
|
+
email:
|
95
|
+
- grimen@gmail.com
|
106
96
|
executables: []
|
107
97
|
|
108
98
|
extensions: []
|
109
99
|
|
110
|
-
extra_rdoc_files:
|
111
|
-
|
112
|
-
- TODO
|
100
|
+
extra_rdoc_files: []
|
101
|
+
|
113
102
|
files:
|
103
|
+
- .gitignore
|
104
|
+
- Gemfile
|
105
|
+
- Guardfile
|
114
106
|
- MIT-LICENSE
|
115
107
|
- README.textile
|
116
108
|
- Rakefile
|
117
109
|
- TODO
|
118
110
|
- generators/layou2/layou2_generator.rb
|
119
111
|
- generators/layou2/templates/initializer.rb
|
112
|
+
- layou2.gemspec
|
120
113
|
- lib/layou2.rb
|
121
114
|
- lib/layou2/helpers.rb
|
122
115
|
- lib/layou2/version.rb
|
123
|
-
-
|
116
|
+
- test/helpers_test.rb
|
117
|
+
- test/integration/helpers_integration_test.rb
|
118
|
+
- test/integration/rails_app/app/controllers/application_controller.rb
|
119
|
+
- test/integration/rails_app/app/controllers/home_controller.rb
|
120
|
+
- test/integration/rails_app/app/controllers/ponies_controller.rb
|
121
|
+
- test/integration/rails_app/app/helpers/application_helper.rb
|
122
|
+
- test/integration/rails_app/app/models/active_record/pony.rb
|
123
|
+
- test/integration/rails_app/app/views/home/index.html.erb
|
124
|
+
- test/integration/rails_app/app/views/layouts/application.html.erb
|
125
|
+
- test/integration/rails_app/app/views/ponies/index.html.erb
|
126
|
+
- test/integration/rails_app/app/views/ponies/new.html.erb
|
127
|
+
- test/integration/rails_app/config/boot.rb
|
128
|
+
- test/integration/rails_app/config/database.yml
|
129
|
+
- test/integration/rails_app/config/environment.rb
|
130
|
+
- test/integration/rails_app/config/environments/test.rb
|
131
|
+
- test/integration/rails_app/config/initializers/layou2.rb
|
132
|
+
- test/integration/rails_app/config/initializers/new_rails_defaults.rb
|
133
|
+
- test/integration/rails_app/config/initializers/session_store.rb
|
134
|
+
- test/integration/rails_app/config/routes.rb
|
135
|
+
- test/layou2_test.rb
|
136
|
+
- test/orm/active_record.rb
|
137
|
+
- test/support/assertions_helper.rb
|
138
|
+
- test/support/debug_helper.rb
|
139
|
+
- test/support/substitutions_helper.rb
|
140
|
+
- test/support/webrat.rb
|
141
|
+
- test/test_helper.rb
|
124
142
|
has_rdoc: true
|
125
143
|
homepage: http://github.com/grimen/layou2
|
126
144
|
licenses: []
|
127
145
|
|
128
146
|
post_install_message:
|
129
|
-
rdoc_options:
|
130
|
-
|
147
|
+
rdoc_options: []
|
148
|
+
|
131
149
|
require_paths:
|
132
150
|
- lib
|
133
151
|
required_ruby_version: !ruby/object:Gem::Requirement
|
152
|
+
none: false
|
134
153
|
requirements:
|
135
154
|
- - ">="
|
136
155
|
- !ruby/object:Gem::Version
|
156
|
+
hash: 364403961425950350
|
137
157
|
segments:
|
138
158
|
- 0
|
139
159
|
version: "0"
|
140
160
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
161
|
+
none: false
|
141
162
|
requirements:
|
142
163
|
- - ">="
|
143
164
|
- !ruby/object:Gem::Version
|
165
|
+
hash: 364403961425950350
|
144
166
|
segments:
|
145
167
|
- 0
|
146
168
|
version: "0"
|
147
169
|
requirements: []
|
148
170
|
|
149
171
|
rubyforge_project:
|
150
|
-
rubygems_version: 1.
|
172
|
+
rubygems_version: 1.6.2
|
151
173
|
signing_key:
|
152
174
|
specification_version: 3
|
153
175
|
summary: The layout helpers.
|
@@ -159,10 +181,14 @@ test_files:
|
|
159
181
|
- test/integration/rails_app/app/controllers/ponies_controller.rb
|
160
182
|
- test/integration/rails_app/app/helpers/application_helper.rb
|
161
183
|
- test/integration/rails_app/app/models/active_record/pony.rb
|
184
|
+
- test/integration/rails_app/app/views/home/index.html.erb
|
185
|
+
- test/integration/rails_app/app/views/layouts/application.html.erb
|
186
|
+
- test/integration/rails_app/app/views/ponies/index.html.erb
|
187
|
+
- test/integration/rails_app/app/views/ponies/new.html.erb
|
162
188
|
- test/integration/rails_app/config/boot.rb
|
189
|
+
- test/integration/rails_app/config/database.yml
|
163
190
|
- test/integration/rails_app/config/environment.rb
|
164
191
|
- test/integration/rails_app/config/environments/test.rb
|
165
|
-
- test/integration/rails_app/config/initializers/inflections.rb
|
166
192
|
- test/integration/rails_app/config/initializers/layou2.rb
|
167
193
|
- test/integration/rails_app/config/initializers/new_rails_defaults.rb
|
168
194
|
- test/integration/rails_app/config/initializers/session_store.rb
|
data/rails/init.rb
DELETED