mountain_view 0.13.0 → 0.14.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/README.md +64 -0
- data/Rakefile +12 -16
- data/app/assets/stylesheets/mountain_view/styleguide.css +1 -0
- data/app/helpers/mountain_view/styleguide_helper.rb +6 -2
- data/app/views/layouts/mountain_view.html.erb +4 -4
- data/app/views/mountain_view/styleguide/_example.html.erb +9 -5
- data/app/views/mountain_view/styleguide/index.html.erb +5 -5
- data/app/views/mountain_view/styleguide/show.html.erb +13 -9
- data/config/locales/en.yml +25 -0
- data/config/routes.rb +2 -1
- data/lib/generators/mountain_view/extra_pages_generator.rb +1 -0
- data/lib/mountain_view.rb +3 -0
- data/lib/mountain_view/component.rb +9 -1
- data/lib/mountain_view/engine.rb +5 -4
- data/lib/mountain_view/presenter.rb +5 -2
- data/lib/mountain_view/stub.rb +29 -0
- data/lib/mountain_view/version.rb +1 -1
- data/test/dummy/app/components/header/header.yml +4 -0
- data/test/dummy/app/components/meta_header/_meta_header.html.erb +6 -0
- data/test/dummy/app/components/meta_header/meta_header.css +32 -0
- data/test/dummy/app/components/meta_header/meta_header.js +0 -0
- data/test/dummy/app/components/meta_header/meta_header.yml +14 -0
- data/test/dummy/log/test.log +1076 -920
- data/test/generators/component_generator_test.rb +3 -3
- data/test/generators/extra_pages_generator_test.rb +1 -1
- data/test/mountain_view/component_test.rb +47 -61
- data/test/mountain_view/stub_test.rb +49 -0
- data/test/mountain_view_test.rb +1 -1
- data/test/test_helper.rb +31 -2
- metadata +60 -50
- data/test/dummy/log/development.log +0 -315
@@ -3,7 +3,7 @@ require "test_helper"
|
|
3
3
|
class ComponentGeneratorTest < Rails::Generators::TestCase
|
4
4
|
tests MountainView::Generators::ComponentGenerator
|
5
5
|
|
6
|
-
destination File.expand_path(
|
6
|
+
destination File.expand_path('../tmp', __dir__)
|
7
7
|
setup :prepare_destination
|
8
8
|
|
9
9
|
test "Assert all files are properly created" do
|
@@ -12,7 +12,7 @@ class ComponentGeneratorTest < Rails::Generators::TestCase
|
|
12
12
|
Rails.application.config.app_generators.stylesheet_engine nil
|
13
13
|
Rails.application.config.app_generators.javascript_engine nil
|
14
14
|
|
15
|
-
run_generator %w(
|
15
|
+
run_generator %w(widget)
|
16
16
|
|
17
17
|
assert_file "app/components/widget/_widget.html.erb"
|
18
18
|
assert_file "app/components/widget/widget.css"
|
@@ -25,7 +25,7 @@ class ComponentGeneratorTest < Rails::Generators::TestCase
|
|
25
25
|
Rails.application.config.app_generators.stylesheet_engine :scss
|
26
26
|
Rails.application.config.app_generators.javascript_engine :coffee
|
27
27
|
|
28
|
-
run_generator %w(
|
28
|
+
run_generator %w(widget)
|
29
29
|
|
30
30
|
assert_file "app/components/widget/_widget.html.haml"
|
31
31
|
assert_file "app/components/widget/widget.scss"
|
@@ -5,7 +5,7 @@ require 'test_helper'
|
|
5
5
|
class ExtraPagesGeneratorTest < Rails::Generators::TestCase
|
6
6
|
tests MountainView::Generators::ExtraPagesGenerator
|
7
7
|
|
8
|
-
destination File.expand_path(
|
8
|
+
destination File.expand_path('../tmp', __dir__)
|
9
9
|
setup :prepare_destination
|
10
10
|
|
11
11
|
test "Assert all views and controller are created" do
|
@@ -1,79 +1,63 @@
|
|
1
|
-
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'test_helper'
|
2
4
|
|
3
5
|
class MountainViewComponentTest < ActiveSupport::TestCase
|
4
6
|
def test_name
|
5
|
-
component = MountainView::Component.new(
|
7
|
+
component = MountainView::Component.new('header')
|
6
8
|
|
7
|
-
assert_equal
|
9
|
+
assert_equal 'header', component.name
|
8
10
|
end
|
9
11
|
|
10
12
|
def test_humanized_title
|
11
|
-
component = MountainView::Component.new(
|
13
|
+
component = MountainView::Component.new('social_media_icons')
|
12
14
|
|
13
|
-
assert_equal
|
15
|
+
assert_equal 'Social media icons', component.title
|
14
16
|
end
|
15
17
|
|
16
18
|
def test_styleguide_stubs
|
17
19
|
component = MountainView::Component.new("header")
|
18
|
-
expected_stub =
|
19
|
-
{
|
20
|
-
meta: "There is this different classes",
|
21
|
-
stubs:
|
22
|
-
[
|
23
|
-
{
|
24
|
-
id: 1,
|
25
|
-
title: "20 Mountains you didn't know they even existed",
|
26
|
-
subtitle: "Buzzfeed title"
|
27
|
-
},
|
28
|
-
{ id: 2,
|
29
|
-
title: "You won't believe what happened to this man at Aspen"
|
30
|
-
}
|
31
|
-
]
|
32
|
-
}
|
20
|
+
expected_stub = header_stub_meta
|
33
21
|
|
34
22
|
assert_instance_of Hash, component.styleguide_stubs
|
35
23
|
assert_equal expected_stub, component.styleguide_stubs
|
36
24
|
end
|
37
25
|
|
38
|
-
def
|
39
|
-
component = MountainView::Component.new(
|
40
|
-
expected_stub =
|
41
|
-
|
42
|
-
|
43
|
-
id: 1,
|
44
|
-
title: "20 Mountains you didn't know they even existed",
|
45
|
-
subtitle: "Buzzfeed title"
|
46
|
-
},
|
47
|
-
{
|
48
|
-
id: 2,
|
49
|
-
title: "You won't believe what happened to this man at Aspen"
|
50
|
-
}
|
51
|
-
]
|
52
|
-
assert_instance_of Array, component.component_stubs
|
53
|
-
assert_equal expected_stub, component.component_stubs
|
26
|
+
def test_raw_stubs
|
27
|
+
component = MountainView::Component.new('header')
|
28
|
+
expected_stub = header_stub_only
|
29
|
+
assert_instance_of Array, component.raw_stubs
|
30
|
+
assert_equal expected_stub, component.raw_stubs
|
54
31
|
end
|
55
32
|
|
56
33
|
def test_component_stubs?
|
57
|
-
component_with_stubs = MountainView::Component.new(
|
58
|
-
component_with_empty_stub_file = MountainView::Component.new(
|
34
|
+
component_with_stubs = MountainView::Component.new('header')
|
35
|
+
component_with_empty_stub_file = MountainView::Component.new('breadcrumbs')
|
59
36
|
component_without_stub_file =
|
60
|
-
MountainView::Component.new(
|
61
|
-
|
62
|
-
MountainView::Component.new(
|
37
|
+
MountainView::Component.new('social_media_icons')
|
38
|
+
component_with_stubs_but_incorrect_format =
|
39
|
+
MountainView::Component.new('card')
|
63
40
|
assert_equal true, component_with_stubs.component_stubs?
|
64
41
|
assert_equal false, component_without_stub_file.component_stubs?
|
65
42
|
assert_equal false, component_with_empty_stub_file.component_stubs?
|
66
|
-
assert_equal true,
|
67
|
-
component_stubs?
|
43
|
+
assert_equal true, component_with_stubs_but_incorrect_format
|
44
|
+
.component_stubs?
|
45
|
+
end
|
46
|
+
|
47
|
+
def test_component_stubs
|
48
|
+
component_with_stubs = MountainView::Component.new('header')
|
49
|
+
|
50
|
+
assert_equal 2, component_with_stubs.component_stubs.length,
|
51
|
+
'Array Length Mismatch in test_component_stubs'
|
68
52
|
end
|
69
53
|
|
70
54
|
def test_stubs_extra_info
|
71
|
-
component_with_extra_info = MountainView::Component.new(
|
55
|
+
component_with_extra_info = MountainView::Component.new('header')
|
72
56
|
component_with_empty_stub_file =
|
73
|
-
MountainView::Component.new(
|
57
|
+
MountainView::Component.new('breadcrumbs')
|
74
58
|
component_without_stub_file =
|
75
|
-
MountainView::Component.new(
|
76
|
-
expected_extra_info_stub =
|
59
|
+
MountainView::Component.new('paragraph')
|
60
|
+
expected_extra_info_stub = 'There is this different classes'
|
77
61
|
|
78
62
|
assert_equal expected_extra_info_stub, component_with_extra_info.
|
79
63
|
stubs_extra_info
|
@@ -82,13 +66,13 @@ class MountainViewComponentTest < ActiveSupport::TestCase
|
|
82
66
|
end
|
83
67
|
|
84
68
|
def test_stubs_extra_info?
|
85
|
-
component_with_stubs = MountainView::Component.new(
|
69
|
+
component_with_stubs = MountainView::Component.new('header')
|
86
70
|
component_with_empty_stub_file =
|
87
|
-
MountainView::Component.new(
|
71
|
+
MountainView::Component.new('breadcrumbs')
|
88
72
|
component_without_stub_file =
|
89
|
-
MountainView::Component.new(
|
73
|
+
MountainView::Component.new('social_media_icons')
|
90
74
|
component_with_stubs_but_no_extra_info =
|
91
|
-
MountainView::Component.new(
|
75
|
+
MountainView::Component.new('card')
|
92
76
|
|
93
77
|
assert_equal true, component_with_stubs.stubs_extra_info?
|
94
78
|
assert_equal false, component_without_stub_file.stubs_extra_info?
|
@@ -98,12 +82,13 @@ class MountainViewComponentTest < ActiveSupport::TestCase
|
|
98
82
|
end
|
99
83
|
|
100
84
|
def test_stubs_correct_format?
|
101
|
-
component_with_correct_stubs = MountainView::Component.new(
|
102
|
-
component_with_empty_stub_file = MountainView::Component
|
85
|
+
component_with_correct_stubs = MountainView::Component.new('header')
|
86
|
+
component_with_empty_stub_file = MountainView::Component
|
87
|
+
.new('breadcrumbs')
|
103
88
|
component_without_stub_file =
|
104
|
-
MountainView::Component.new(
|
89
|
+
MountainView::Component.new('social_media_icons')
|
105
90
|
component_with_stubs_but_old_syntax =
|
106
|
-
MountainView::Component.new(
|
91
|
+
MountainView::Component.new('card')
|
107
92
|
|
108
93
|
assert_equal true, component_with_correct_stubs.stubs_correct_format?
|
109
94
|
assert_equal false, component_without_stub_file.stubs_correct_format?
|
@@ -113,17 +98,18 @@ class MountainViewComponentTest < ActiveSupport::TestCase
|
|
113
98
|
end
|
114
99
|
|
115
100
|
def test_stubs_file
|
116
|
-
component = MountainView::Component.new(
|
101
|
+
component = MountainView::Component.new('header')
|
117
102
|
|
118
|
-
expected_stubs_file = Rails.root.join(
|
103
|
+
expected_stubs_file = Rails.root.join('app/components/header/header.yml')
|
119
104
|
assert_equal expected_stubs_file, component.stubs_file
|
120
105
|
end
|
121
106
|
|
122
107
|
def test_stubs?
|
123
|
-
component_with_stubs = MountainView::Component.new(
|
124
|
-
component_without_stub_file = MountainView::Component
|
125
|
-
|
126
|
-
|
108
|
+
component_with_stubs = MountainView::Component.new('header')
|
109
|
+
component_without_stub_file = MountainView::Component
|
110
|
+
.new('social_media_icons')
|
111
|
+
component_with_empty_stub_file = MountainView::Component
|
112
|
+
.new('breadcrumbs')
|
127
113
|
assert_equal true, component_with_stubs.stubs?
|
128
114
|
assert_equal false, component_without_stub_file.stubs?
|
129
115
|
assert_equal false, component_with_empty_stub_file.stubs?
|
@@ -0,0 +1,49 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'test_helper'
|
4
|
+
class MountainViewStubTest < ActiveSupport::TestCase
|
5
|
+
def test_meta_title
|
6
|
+
test_object = stub_to_test
|
7
|
+
|
8
|
+
assert_equal header_stub_meta[:stubs][0][:mv_stub_meta][:title],
|
9
|
+
test_object[0].meta_title('Header', 0),
|
10
|
+
'Stub Meta Title not found'
|
11
|
+
assert_equal 'Header 2',
|
12
|
+
test_object[1].meta_title('Header', 1),
|
13
|
+
'Stub Meta Title default not set'
|
14
|
+
end
|
15
|
+
|
16
|
+
def test_meta_description
|
17
|
+
test_object = stub_to_test
|
18
|
+
assert_equal header_stub_meta[:stubs][0][:mv_stub_meta][:description],
|
19
|
+
test_object[0].meta_description,
|
20
|
+
'Stub Meta Description not found'
|
21
|
+
assert_nil test_object[1].meta_description,
|
22
|
+
'nil not set for stub meta without description'
|
23
|
+
end
|
24
|
+
|
25
|
+
def test_meta_classes
|
26
|
+
test_object = stub_to_test
|
27
|
+
assert_equal header_stub_meta[:stubs][0][:mv_stub_meta][:classes],
|
28
|
+
test_object[0].meta_classes,
|
29
|
+
'Stub Meta Classes not found'
|
30
|
+
assert_nil test_object[1].meta_classes,
|
31
|
+
'nil not set for stub meta without classes'
|
32
|
+
end
|
33
|
+
|
34
|
+
def test_properties
|
35
|
+
test_object = stub_to_test
|
36
|
+
assert_equal header_stub_meta[:stubs][0].except(:mv_stub_meta),
|
37
|
+
test_object[0].properties,
|
38
|
+
'Properties did not correctly return with stub meta data'
|
39
|
+
assert_equal header_stub_meta[:stubs][1],
|
40
|
+
test_object[1].properties,
|
41
|
+
'Properties did not correctly return without stub meta data'
|
42
|
+
end
|
43
|
+
|
44
|
+
private
|
45
|
+
|
46
|
+
def stub_to_test
|
47
|
+
MountainView::Component.new('header').component_stubs
|
48
|
+
end
|
49
|
+
end
|
data/test/mountain_view_test.rb
CHANGED
data/test/test_helper.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
# Configure Rails Environment
|
2
2
|
ENV["RAILS_ENV"] = "test"
|
3
3
|
|
4
|
-
require File.expand_path("
|
4
|
+
require File.expand_path("dummy/config/environment.rb", __dir__)
|
5
5
|
require "rails/test_help"
|
6
6
|
|
7
7
|
Rails.backtrace_cleaner.remove_silencers!
|
@@ -11,9 +11,38 @@ Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
|
|
11
11
|
|
12
12
|
# Load fixtures from the engine
|
13
13
|
if ActiveSupport::TestCase.method_defined?(:fixture_path=)
|
14
|
-
ActiveSupport::TestCase.fixture_path = File.expand_path("
|
14
|
+
ActiveSupport::TestCase.fixture_path = File.expand_path("fixtures", __dir__)
|
15
15
|
end
|
16
16
|
# for generators
|
17
17
|
require "rails/generators/test_case"
|
18
18
|
require "generators/mountain_view/component_generator"
|
19
19
|
require "generators/mountain_view/extra_pages_generator"
|
20
|
+
def header_stub_meta
|
21
|
+
{
|
22
|
+
meta: "There is this different classes",
|
23
|
+
stubs: [
|
24
|
+
{
|
25
|
+
mv_stub_meta: {
|
26
|
+
title: "Specific Example",
|
27
|
+
description: "Instructions for use case and UX considerations",
|
28
|
+
classes: "black-background"
|
29
|
+
},
|
30
|
+
id: 1,
|
31
|
+
title: "20 Mountains you didn't know they even existed",
|
32
|
+
subtitle: "Buzzfeed title"
|
33
|
+
},
|
34
|
+
{
|
35
|
+
id: 2,
|
36
|
+
title: "You won't believe what happened to this man at Aspen"
|
37
|
+
}
|
38
|
+
]
|
39
|
+
}
|
40
|
+
end
|
41
|
+
|
42
|
+
def header_stub_only
|
43
|
+
header_stub_meta[:stubs]
|
44
|
+
end
|
45
|
+
|
46
|
+
def header_stub_first
|
47
|
+
header_stub_only.first
|
48
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mountain_view
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.14.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ignacio Gutierrez
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2018-
|
12
|
+
date: 2018-12-15 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
@@ -65,6 +65,7 @@ files:
|
|
65
65
|
- app/views/mountain_view/styleguide/_example.html.erb
|
66
66
|
- app/views/mountain_view/styleguide/index.html.erb
|
67
67
|
- app/views/mountain_view/styleguide/show.html.erb
|
68
|
+
- config/locales/en.yml
|
68
69
|
- config/routes.rb
|
69
70
|
- lib/generators/mountain_view/component_generator.rb
|
70
71
|
- lib/generators/mountain_view/extra_pages_generator.rb
|
@@ -74,6 +75,7 @@ files:
|
|
74
75
|
- lib/mountain_view/configuration.rb
|
75
76
|
- lib/mountain_view/engine.rb
|
76
77
|
- lib/mountain_view/presenter.rb
|
78
|
+
- lib/mountain_view/stub.rb
|
77
79
|
- lib/mountain_view/version.rb
|
78
80
|
- lib/tasks/mountain_view_tasks.rake
|
79
81
|
- test/dummy/README.rdoc
|
@@ -94,6 +96,10 @@ files:
|
|
94
96
|
- test/dummy/app/components/header/header.css
|
95
97
|
- test/dummy/app/components/header/header.js
|
96
98
|
- test/dummy/app/components/header/header.yml
|
99
|
+
- test/dummy/app/components/meta_header/_meta_header.html.erb
|
100
|
+
- test/dummy/app/components/meta_header/meta_header.css
|
101
|
+
- test/dummy/app/components/meta_header/meta_header.js
|
102
|
+
- test/dummy/app/components/meta_header/meta_header.yml
|
97
103
|
- test/dummy/app/components/paragraph/_paragraph.html.erb
|
98
104
|
- test/dummy/app/components/yielder/_yielder.html.erb
|
99
105
|
- test/dummy/app/components/yielder/yielder.css
|
@@ -130,7 +136,6 @@ files:
|
|
130
136
|
- test/dummy/config/locales/en.yml
|
131
137
|
- test/dummy/config/routes.rb
|
132
138
|
- test/dummy/config/secrets.yml
|
133
|
-
- test/dummy/log/development.log
|
134
139
|
- test/dummy/log/test.log
|
135
140
|
- test/dummy/public/404.html
|
136
141
|
- test/dummy/public/422.html
|
@@ -145,6 +150,7 @@ files:
|
|
145
150
|
- test/mountain_view/component_test.rb
|
146
151
|
- test/mountain_view/configuration_test.rb
|
147
152
|
- test/mountain_view/presenter_test.rb
|
153
|
+
- test/mountain_view/stub_test.rb
|
148
154
|
- test/mountain_view_test.rb
|
149
155
|
- test/test_helper.rb
|
150
156
|
- test/tmp/app/views/mountain_view/extra_pages/grid.html.erb
|
@@ -169,81 +175,85 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
169
175
|
version: '0'
|
170
176
|
requirements: []
|
171
177
|
rubyforge_project:
|
172
|
-
rubygems_version: 2.
|
178
|
+
rubygems_version: 2.7.8
|
173
179
|
signing_key:
|
174
180
|
specification_version: 4
|
175
181
|
summary: Mountain View helps you create reusable visual components on your Rails Application.
|
176
182
|
test_files:
|
177
|
-
- test/dummy/app/assets/javascripts/application.js
|
178
|
-
- test/dummy/app/assets/stylesheets/application.css
|
179
|
-
- test/dummy/app/assets/stylesheets/global.css
|
180
|
-
- test/dummy/app/components/breadcrumbs/_breadcrumbs.html.erb
|
181
|
-
- test/dummy/app/components/breadcrumbs/breadcrumbs.css
|
182
|
-
- test/dummy/app/components/breadcrumbs/breadcrumbs.js
|
183
|
-
- test/dummy/app/components/breadcrumbs/breadcrumbs.yml
|
184
|
-
- test/dummy/app/components/card/_card.html.erb
|
185
183
|
- test/dummy/app/components/card/card.css
|
186
|
-
- test/dummy/app/components/card/card.js
|
187
|
-
- test/dummy/app/components/card/card.yml
|
188
184
|
- test/dummy/app/components/card/card_component.rb
|
189
|
-
- test/dummy/app/components/
|
190
|
-
- test/dummy/app/components/
|
191
|
-
- test/dummy/app/components/
|
192
|
-
- test/dummy/app/components/header/header.yml
|
185
|
+
- test/dummy/app/components/card/_card.html.erb
|
186
|
+
- test/dummy/app/components/card/card.yml
|
187
|
+
- test/dummy/app/components/card/card.js
|
193
188
|
- test/dummy/app/components/paragraph/_paragraph.html.erb
|
194
|
-
- test/dummy/app/components/yielder/_yielder.html.erb
|
195
|
-
- test/dummy/app/components/yielder/yielder.css
|
196
189
|
- test/dummy/app/components/yielder/yielder.js
|
197
190
|
- test/dummy/app/components/yielder/yielder.yml
|
191
|
+
- test/dummy/app/components/yielder/_yielder.html.erb
|
192
|
+
- test/dummy/app/components/yielder/yielder.css
|
193
|
+
- test/dummy/app/components/breadcrumbs/breadcrumbs.css
|
194
|
+
- test/dummy/app/components/breadcrumbs/breadcrumbs.yml
|
195
|
+
- test/dummy/app/components/breadcrumbs/breadcrumbs.js
|
196
|
+
- test/dummy/app/components/breadcrumbs/_breadcrumbs.html.erb
|
197
|
+
- test/dummy/app/components/header/header.yml
|
198
|
+
- test/dummy/app/components/header/header.js
|
199
|
+
- test/dummy/app/components/header/_header.html.erb
|
200
|
+
- test/dummy/app/components/header/header.css
|
201
|
+
- test/dummy/app/components/meta_header/_meta_header.html.erb
|
202
|
+
- test/dummy/app/components/meta_header/meta_header.css
|
203
|
+
- test/dummy/app/components/meta_header/meta_header.js
|
204
|
+
- test/dummy/app/components/meta_header/meta_header.yml
|
198
205
|
- test/dummy/app/controllers/application_controller.rb
|
199
206
|
- test/dummy/app/controllers/home_controller.rb
|
200
|
-
- test/dummy/app/helpers/application_helper.rb
|
201
207
|
- test/dummy/app/views/home/index.html.erb
|
202
208
|
- test/dummy/app/views/layouts/application.html.erb
|
203
|
-
- test/dummy/app/views/mountain_view/extra_pages/code_style.html.erb
|
204
209
|
- test/dummy/app/views/mountain_view/extra_pages/grid.html.erb
|
210
|
+
- test/dummy/app/views/mountain_view/extra_pages/code_style.html.erb
|
211
|
+
- test/dummy/app/assets/javascripts/application.js
|
212
|
+
- test/dummy/app/assets/stylesheets/application.css
|
213
|
+
- test/dummy/app/assets/stylesheets/global.css
|
214
|
+
- test/dummy/app/helpers/application_helper.rb
|
215
|
+
- test/dummy/bin/rake
|
205
216
|
- test/dummy/bin/bundle
|
206
217
|
- test/dummy/bin/rails
|
207
|
-
- test/dummy/
|
208
|
-
- test/dummy/config/
|
209
|
-
- test/dummy/config/
|
210
|
-
- test/dummy/config/database.yml
|
211
|
-
- test/dummy/config/environment.rb
|
212
|
-
- test/dummy/config/environments/development.rb
|
218
|
+
- test/dummy/config/secrets.yml
|
219
|
+
- test/dummy/config/routes.rb
|
220
|
+
- test/dummy/config/locales/en.yml
|
213
221
|
- test/dummy/config/environments/production.rb
|
222
|
+
- test/dummy/config/environments/development.rb
|
214
223
|
- test/dummy/config/environments/test.rb
|
215
|
-
- test/dummy/config/
|
224
|
+
- test/dummy/config/environment.rb
|
225
|
+
- test/dummy/config/application.rb
|
226
|
+
- test/dummy/config/database.yml
|
227
|
+
- test/dummy/config/boot.rb
|
216
228
|
- test/dummy/config/initializers/backtrace_silencers.rb
|
217
|
-
- test/dummy/config/initializers/cookies_serializer.rb
|
218
|
-
- test/dummy/config/initializers/filter_parameter_logging.rb
|
219
|
-
- test/dummy/config/initializers/inflections.rb
|
220
229
|
- test/dummy/config/initializers/mime_types.rb
|
221
|
-
- test/dummy/config/initializers/
|
222
|
-
- test/dummy/config/initializers/secret_token.rb
|
230
|
+
- test/dummy/config/initializers/filter_parameter_logging.rb
|
223
231
|
- test/dummy/config/initializers/session_store.rb
|
232
|
+
- test/dummy/config/initializers/mountain_view.rb
|
224
233
|
- test/dummy/config/initializers/wrap_parameters.rb
|
225
|
-
- test/dummy/config/
|
226
|
-
- test/dummy/config/
|
227
|
-
- test/dummy/config/
|
234
|
+
- test/dummy/config/initializers/assets.rb
|
235
|
+
- test/dummy/config/initializers/cookies_serializer.rb
|
236
|
+
- test/dummy/config/initializers/secret_token.rb
|
237
|
+
- test/dummy/config/initializers/inflections.rb
|
228
238
|
- test/dummy/config.ru
|
229
|
-
- test/dummy/
|
230
|
-
- test/dummy/
|
231
|
-
- test/dummy/public/404.html
|
239
|
+
- test/dummy/Rakefile
|
240
|
+
- test/dummy/public/favicon.ico
|
232
241
|
- test/dummy/public/422.html
|
233
242
|
- test/dummy/public/500.html
|
234
|
-
- test/dummy/public/
|
235
|
-
- test/dummy/
|
243
|
+
- test/dummy/public/404.html
|
244
|
+
- test/dummy/log/test.log
|
236
245
|
- test/dummy/README.rdoc
|
237
|
-
- test/generators/component_generator_test.rb
|
238
|
-
- test/generators/extra_pages_generator_test.rb
|
239
|
-
- test/helpers/mountain_view/component_helper_test.rb
|
240
|
-
- test/helpers/mountain_view/styleguide_helper_test.rb
|
241
246
|
- test/integration/mounted_engine_test.rb
|
242
247
|
- test/integration/renders_component_in_view_test.rb
|
248
|
+
- test/test_helper.rb
|
249
|
+
- test/generators/component_generator_test.rb
|
250
|
+
- test/generators/extra_pages_generator_test.rb
|
251
|
+
- test/mountain_view_test.rb
|
252
|
+
- test/tmp/app/views/mountain_view/extra_pages/style_status.html.erb
|
253
|
+
- test/tmp/app/views/mountain_view/extra_pages/grid.html.erb
|
243
254
|
- test/mountain_view/component_test.rb
|
255
|
+
- test/mountain_view/stub_test.rb
|
244
256
|
- test/mountain_view/configuration_test.rb
|
245
257
|
- test/mountain_view/presenter_test.rb
|
246
|
-
- test/
|
247
|
-
- test/
|
248
|
-
- test/tmp/app/views/mountain_view/extra_pages/grid.html.erb
|
249
|
-
- test/tmp/app/views/mountain_view/extra_pages/style_status.html.erb
|
258
|
+
- test/helpers/mountain_view/styleguide_helper_test.rb
|
259
|
+
- test/helpers/mountain_view/component_helper_test.rb
|