stylin 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/MIT-LICENSE +20 -0
- data/Rakefile +21 -0
- data/app/assets/javascripts/stylin/application.js +4 -0
- data/app/assets/javascripts/stylin/highlight.pack.js +1 -0
- data/app/assets/javascripts/stylin/kss.js +54 -0
- data/app/assets/javascripts/stylin/styleguides.js +2 -0
- data/app/assets/stylesheets/stylin/_header.scss +12 -0
- data/app/assets/stylesheets/stylin/_navigation.css.scss +12 -0
- data/app/assets/stylesheets/stylin/application.css.scss +5 -0
- data/app/assets/stylesheets/stylin/highlight/arta.css +160 -0
- data/app/assets/stylesheets/stylin/highlight/ascetic.css +50 -0
- data/app/assets/stylesheets/stylin/highlight/brown_paper.css +105 -0
- data/app/assets/stylesheets/stylin/highlight/dark.css +105 -0
- data/app/assets/stylesheets/stylin/highlight/default.css +153 -0
- data/app/assets/stylesheets/stylin/highlight/docco.css +132 -0
- data/app/assets/stylesheets/stylin/highlight/far.css +113 -0
- data/app/assets/stylesheets/stylin/highlight/foundation.css +133 -0
- data/app/assets/stylesheets/stylin/highlight/github.css +125 -0
- data/app/assets/stylesheets/stylin/highlight/googlecode.css +147 -0
- data/app/assets/stylesheets/stylin/highlight/idea.css +122 -0
- data/app/assets/stylesheets/stylin/highlight/ir_black.css +105 -0
- data/app/assets/stylesheets/stylin/highlight/magula.css +123 -0
- data/app/assets/stylesheets/stylin/highlight/mono-blue.css +62 -0
- data/app/assets/stylesheets/stylin/highlight/monokai.css +127 -0
- data/app/assets/stylesheets/stylin/highlight/monokai_sublime.css +149 -0
- data/app/assets/stylesheets/stylin/highlight/obsidian.css +154 -0
- data/app/assets/stylesheets/stylin/highlight/pojoaque.css +106 -0
- data/app/assets/stylesheets/stylin/highlight/railscasts.css +182 -0
- data/app/assets/stylesheets/stylin/highlight/rainbow.css +112 -0
- data/app/assets/stylesheets/stylin/highlight/school_book.css +113 -0
- data/app/assets/stylesheets/stylin/highlight/solarized_dark.css +107 -0
- data/app/assets/stylesheets/stylin/highlight/solarized_light.css +107 -0
- data/app/assets/stylesheets/stylin/highlight/sunburst.css +160 -0
- data/app/assets/stylesheets/stylin/highlight/tomorrow-night-blue.css +93 -0
- data/app/assets/stylesheets/stylin/highlight/tomorrow-night-bright.css +92 -0
- data/app/assets/stylesheets/stylin/highlight/tomorrow-night-eighties.css +92 -0
- data/app/assets/stylesheets/stylin/highlight/tomorrow-night.css +93 -0
- data/app/assets/stylesheets/stylin/highlight/tomorrow.css +90 -0
- data/app/assets/stylesheets/stylin/highlight/vs.css +89 -0
- data/app/assets/stylesheets/stylin/highlight/xcode.css +158 -0
- data/app/assets/stylesheets/stylin/highlight/zenburn.css +117 -0
- data/app/assets/stylesheets/stylin/styleguides.css.scss +106 -0
- data/app/controllers/stylin/application_controller.rb +11 -0
- data/app/controllers/stylin/styleguides_controller.rb +13 -0
- data/app/helpers/stylin/application_helper.rb +4 -0
- data/app/helpers/stylin/navigation_helper.rb +50 -0
- data/app/helpers/stylin/styleguides_helper.rb +29 -0
- data/app/models/styleguide.rb +69 -0
- data/app/views/layouts/stylin/_navigation.html.erb +3 -0
- data/app/views/layouts/stylin/application.html.erb +26 -0
- data/app/views/stylin/styleguides/_section.html.erb +31 -0
- data/app/views/stylin/styleguides/index.html.erb +5 -0
- data/app/views/stylin/styleguides/show.html.erb +3 -0
- data/config/routes.rb +5 -0
- data/lib/generators/stylin/install_generator.rb +12 -0
- data/lib/generators/stylin/views_generator.rb +10 -0
- data/lib/generators/templates/stylin.yml +7 -0
- data/lib/generators/templates/views/layouts/stylin/_navigation.html.erb +3 -0
- data/lib/generators/templates/views/layouts/stylin/application.html.erb +23 -0
- data/lib/generators/templates/views/stylin/styleguides/_section.html.erb +30 -0
- data/lib/generators/templates/views/stylin/styleguides/index.html.erb +5 -0
- data/lib/generators/templates/views/stylin/styleguides/show.html.erb +3 -0
- data/lib/stylin.rb +8 -0
- data/lib/stylin/engine.rb +37 -0
- data/lib/stylin/version.rb +3 -0
- data/lib/tasks/stylin_tasks.rake +12 -0
- data/spec/dummy/README.rdoc +28 -0
- data/spec/dummy/Rakefile +6 -0
- data/spec/dummy/app/assets/javascripts/application.js +13 -0
- data/spec/dummy/app/assets/stylesheets/application.css.scss +1 -0
- data/spec/dummy/app/assets/stylesheets/buttons.css +51 -0
- data/spec/dummy/app/assets/stylesheets/forms.css +51 -0
- data/spec/dummy/app/controllers/application_controller.rb +5 -0
- data/spec/dummy/app/helpers/application_helper.rb +2 -0
- data/spec/dummy/app/styleguides/buttons.html +1 -0
- data/spec/dummy/app/views/layouts/application.html.erb +14 -0
- data/spec/dummy/bin/bundle +3 -0
- data/spec/dummy/bin/rails +4 -0
- data/spec/dummy/bin/rake +4 -0
- data/spec/dummy/config.ru +4 -0
- data/spec/dummy/config/application.rb +23 -0
- data/spec/dummy/config/boot.rb +5 -0
- data/spec/dummy/config/database.yml +25 -0
- data/spec/dummy/config/environment.rb +5 -0
- data/spec/dummy/config/environments/development.rb +29 -0
- data/spec/dummy/config/environments/production.rb +80 -0
- data/spec/dummy/config/environments/test.rb +36 -0
- data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/spec/dummy/config/initializers/inflections.rb +16 -0
- data/spec/dummy/config/initializers/mime_types.rb +5 -0
- data/spec/dummy/config/initializers/secret_token.rb +12 -0
- data/spec/dummy/config/initializers/session_store.rb +3 -0
- data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/spec/dummy/config/locales/en.yml +23 -0
- data/spec/dummy/config/routes.rb +3 -0
- data/spec/dummy/config/stylin.yml +3 -0
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/production.sqlite3 +0 -0
- data/spec/dummy/db/schema.rb +16 -0
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/development.log +4143 -0
- data/spec/dummy/log/production.log +4 -0
- data/spec/dummy/log/test.log +380 -0
- data/spec/dummy/public/404.html +58 -0
- data/spec/dummy/public/422.html +58 -0
- data/spec/dummy/public/500.html +57 -0
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/models/styleguide_spec.rb +55 -0
- data/spec/spec_helper.rb +22 -0
- metadata +327 -0
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html>
|
|
3
|
+
<head>
|
|
4
|
+
<title>We're sorry, but something went wrong (500)</title>
|
|
5
|
+
<style>
|
|
6
|
+
body {
|
|
7
|
+
background-color: #EFEFEF;
|
|
8
|
+
color: #2E2F30;
|
|
9
|
+
text-align: center;
|
|
10
|
+
font-family: arial, sans-serif;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
div.dialog {
|
|
14
|
+
width: 25em;
|
|
15
|
+
margin: 4em auto 0 auto;
|
|
16
|
+
border: 1px solid #CCC;
|
|
17
|
+
border-right-color: #999;
|
|
18
|
+
border-left-color: #999;
|
|
19
|
+
border-bottom-color: #BBB;
|
|
20
|
+
border-top: #B00100 solid 4px;
|
|
21
|
+
border-top-left-radius: 9px;
|
|
22
|
+
border-top-right-radius: 9px;
|
|
23
|
+
background-color: white;
|
|
24
|
+
padding: 7px 4em 0 4em;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
h1 {
|
|
28
|
+
font-size: 100%;
|
|
29
|
+
color: #730E15;
|
|
30
|
+
line-height: 1.5em;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
body > p {
|
|
34
|
+
width: 33em;
|
|
35
|
+
margin: 0 auto 1em;
|
|
36
|
+
padding: 1em 0;
|
|
37
|
+
background-color: #F7F7F7;
|
|
38
|
+
border: 1px solid #CCC;
|
|
39
|
+
border-right-color: #999;
|
|
40
|
+
border-bottom-color: #999;
|
|
41
|
+
border-bottom-left-radius: 4px;
|
|
42
|
+
border-bottom-right-radius: 4px;
|
|
43
|
+
border-top-color: #DADADA;
|
|
44
|
+
color: #666;
|
|
45
|
+
box-shadow:0 3px 8px rgba(50, 50, 50, 0.17);
|
|
46
|
+
}
|
|
47
|
+
</style>
|
|
48
|
+
</head>
|
|
49
|
+
|
|
50
|
+
<body>
|
|
51
|
+
<!-- This file lives in public/500.html -->
|
|
52
|
+
<div class="dialog">
|
|
53
|
+
<h1>We're sorry, but something went wrong.</h1>
|
|
54
|
+
</div>
|
|
55
|
+
<p>If you are the application owner check the logs for more information.</p>
|
|
56
|
+
</body>
|
|
57
|
+
</html>
|
|
File without changes
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
require 'spec_helper'
|
|
2
|
+
|
|
3
|
+
describe Styleguide do
|
|
4
|
+
let(:styleguide) { Styleguide.new }
|
|
5
|
+
|
|
6
|
+
describe ".sluggify" do
|
|
7
|
+
it "converts a section into a slug" do
|
|
8
|
+
slug = "1-1-Buttons-and-Links"
|
|
9
|
+
section = "1.1 Buttons and Links"
|
|
10
|
+
|
|
11
|
+
expect( Styleguide.sluggify(section) ).to eq(slug)
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
|
|
15
|
+
describe ".desluggify" do
|
|
16
|
+
it "converts a slug into a section" do
|
|
17
|
+
slug = "1-1-Buttons"
|
|
18
|
+
section = "1.1 Buttons"
|
|
19
|
+
|
|
20
|
+
expect( Styleguide.desluggify(slug) ).to eq(section)
|
|
21
|
+
end
|
|
22
|
+
end
|
|
23
|
+
|
|
24
|
+
describe "#section_names" do
|
|
25
|
+
it "returns sections in proper order" do
|
|
26
|
+
section_order = ['1.1 Buttons', '1.2 Forms']
|
|
27
|
+
expect( styleguide.section_names ).to eq( section_order )
|
|
28
|
+
end
|
|
29
|
+
end
|
|
30
|
+
|
|
31
|
+
describe "#find" do
|
|
32
|
+
let(:section_name) { '1.1 Buttons' }
|
|
33
|
+
|
|
34
|
+
describe "section conditions" do
|
|
35
|
+
it "returns a kss:section when a section is searched for" do
|
|
36
|
+
expect( styleguide.find(section: section_name) ).to be_kind_of(Kss::Section)
|
|
37
|
+
end
|
|
38
|
+
|
|
39
|
+
it "returns the proper section" do
|
|
40
|
+
expect( styleguide.find(section: section_name).section ).to eq(section_name)
|
|
41
|
+
end
|
|
42
|
+
end
|
|
43
|
+
|
|
44
|
+
describe "section_group conditions" do
|
|
45
|
+
it "returns an array of sub sections for the section group searched for" do
|
|
46
|
+
section_group_1 = [styleguide.find(section: '1.1 Buttons'), styleguide.find(section: '1.2 Forms')]
|
|
47
|
+
|
|
48
|
+
expect( styleguide.find(section_group: 1) ).to eq(section_group_1)
|
|
49
|
+
end
|
|
50
|
+
end
|
|
51
|
+
end
|
|
52
|
+
|
|
53
|
+
describe "#build_hierarchy" do
|
|
54
|
+
end
|
|
55
|
+
end
|
data/spec/spec_helper.rb
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
ENV["RAILS_ENV"] ||= 'test'
|
|
2
|
+
|
|
3
|
+
require File.expand_path("../dummy/config/environment.rb", __FILE__)
|
|
4
|
+
|
|
5
|
+
require 'rspec/rails'
|
|
6
|
+
require 'rspec/autorun'
|
|
7
|
+
require 'pry'
|
|
8
|
+
|
|
9
|
+
Rails.backtrace_cleaner.remove_silencers!
|
|
10
|
+
|
|
11
|
+
# Requires supporting ruby files with custom matchers and macros, etc,
|
|
12
|
+
# in spec/support/ and its subdirectories.
|
|
13
|
+
Dir[Rails.root.join("spec/support/**/*.rb")].each { |f| require f }
|
|
14
|
+
|
|
15
|
+
RSpec.configure do |config|
|
|
16
|
+
config.mock_with :rspec
|
|
17
|
+
|
|
18
|
+
config.use_transactional_fixtures = true
|
|
19
|
+
config.infer_base_class_for_anonymous_controllers = false
|
|
20
|
+
|
|
21
|
+
config.order = "random"
|
|
22
|
+
end
|
metadata
ADDED
|
@@ -0,0 +1,327 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: stylin
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.1.0
|
|
5
|
+
prerelease:
|
|
6
|
+
platform: ruby
|
|
7
|
+
authors:
|
|
8
|
+
- Bob Burbach
|
|
9
|
+
autorequire:
|
|
10
|
+
bindir: bin
|
|
11
|
+
cert_chain: []
|
|
12
|
+
date: 2014-01-28 00:00:00.000000000 Z
|
|
13
|
+
dependencies:
|
|
14
|
+
- !ruby/object:Gem::Dependency
|
|
15
|
+
name: rails
|
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
|
17
|
+
none: false
|
|
18
|
+
requirements:
|
|
19
|
+
- - ! '>='
|
|
20
|
+
- !ruby/object:Gem::Version
|
|
21
|
+
version: 3.2.0
|
|
22
|
+
type: :runtime
|
|
23
|
+
prerelease: false
|
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
25
|
+
none: false
|
|
26
|
+
requirements:
|
|
27
|
+
- - ! '>='
|
|
28
|
+
- !ruby/object:Gem::Version
|
|
29
|
+
version: 3.2.0
|
|
30
|
+
- !ruby/object:Gem::Dependency
|
|
31
|
+
name: sass-rails
|
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
|
33
|
+
none: false
|
|
34
|
+
requirements:
|
|
35
|
+
- - ~>
|
|
36
|
+
- !ruby/object:Gem::Version
|
|
37
|
+
version: 3.2.6
|
|
38
|
+
type: :runtime
|
|
39
|
+
prerelease: false
|
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
41
|
+
none: false
|
|
42
|
+
requirements:
|
|
43
|
+
- - ~>
|
|
44
|
+
- !ruby/object:Gem::Version
|
|
45
|
+
version: 3.2.6
|
|
46
|
+
- !ruby/object:Gem::Dependency
|
|
47
|
+
name: bootstrap-sass
|
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
|
49
|
+
none: false
|
|
50
|
+
requirements:
|
|
51
|
+
- - ~>
|
|
52
|
+
- !ruby/object:Gem::Version
|
|
53
|
+
version: 3.0.3.0
|
|
54
|
+
type: :runtime
|
|
55
|
+
prerelease: false
|
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
57
|
+
none: false
|
|
58
|
+
requirements:
|
|
59
|
+
- - ~>
|
|
60
|
+
- !ruby/object:Gem::Version
|
|
61
|
+
version: 3.0.3.0
|
|
62
|
+
- !ruby/object:Gem::Dependency
|
|
63
|
+
name: jquery-rails
|
|
64
|
+
requirement: !ruby/object:Gem::Requirement
|
|
65
|
+
none: false
|
|
66
|
+
requirements:
|
|
67
|
+
- - ~>
|
|
68
|
+
- !ruby/object:Gem::Version
|
|
69
|
+
version: 3.0.0
|
|
70
|
+
type: :runtime
|
|
71
|
+
prerelease: false
|
|
72
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
73
|
+
none: false
|
|
74
|
+
requirements:
|
|
75
|
+
- - ~>
|
|
76
|
+
- !ruby/object:Gem::Version
|
|
77
|
+
version: 3.0.0
|
|
78
|
+
- !ruby/object:Gem::Dependency
|
|
79
|
+
name: kss
|
|
80
|
+
requirement: !ruby/object:Gem::Requirement
|
|
81
|
+
none: false
|
|
82
|
+
requirements:
|
|
83
|
+
- - ~>
|
|
84
|
+
- !ruby/object:Gem::Version
|
|
85
|
+
version: 0.5.0
|
|
86
|
+
type: :runtime
|
|
87
|
+
prerelease: false
|
|
88
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
89
|
+
none: false
|
|
90
|
+
requirements:
|
|
91
|
+
- - ~>
|
|
92
|
+
- !ruby/object:Gem::Version
|
|
93
|
+
version: 0.5.0
|
|
94
|
+
- !ruby/object:Gem::Dependency
|
|
95
|
+
name: sqlite3
|
|
96
|
+
requirement: !ruby/object:Gem::Requirement
|
|
97
|
+
none: false
|
|
98
|
+
requirements:
|
|
99
|
+
- - ! '>='
|
|
100
|
+
- !ruby/object:Gem::Version
|
|
101
|
+
version: '0'
|
|
102
|
+
type: :development
|
|
103
|
+
prerelease: false
|
|
104
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
105
|
+
none: false
|
|
106
|
+
requirements:
|
|
107
|
+
- - ! '>='
|
|
108
|
+
- !ruby/object:Gem::Version
|
|
109
|
+
version: '0'
|
|
110
|
+
- !ruby/object:Gem::Dependency
|
|
111
|
+
name: rspec-rails
|
|
112
|
+
requirement: !ruby/object:Gem::Requirement
|
|
113
|
+
none: false
|
|
114
|
+
requirements:
|
|
115
|
+
- - ! '>='
|
|
116
|
+
- !ruby/object:Gem::Version
|
|
117
|
+
version: '0'
|
|
118
|
+
type: :development
|
|
119
|
+
prerelease: false
|
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
121
|
+
none: false
|
|
122
|
+
requirements:
|
|
123
|
+
- - ! '>='
|
|
124
|
+
- !ruby/object:Gem::Version
|
|
125
|
+
version: '0'
|
|
126
|
+
- !ruby/object:Gem::Dependency
|
|
127
|
+
name: pry
|
|
128
|
+
requirement: !ruby/object:Gem::Requirement
|
|
129
|
+
none: false
|
|
130
|
+
requirements:
|
|
131
|
+
- - ! '>='
|
|
132
|
+
- !ruby/object:Gem::Version
|
|
133
|
+
version: '0'
|
|
134
|
+
type: :development
|
|
135
|
+
prerelease: false
|
|
136
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
137
|
+
none: false
|
|
138
|
+
requirements:
|
|
139
|
+
- - ! '>='
|
|
140
|
+
- !ruby/object:Gem::Version
|
|
141
|
+
version: '0'
|
|
142
|
+
description: Rails engine for a living style guide.
|
|
143
|
+
email:
|
|
144
|
+
- bob@criticaljuncture.org
|
|
145
|
+
executables: []
|
|
146
|
+
extensions: []
|
|
147
|
+
extra_rdoc_files: []
|
|
148
|
+
files:
|
|
149
|
+
- app/assets/javascripts/stylin/application.js
|
|
150
|
+
- app/assets/javascripts/stylin/highlight.pack.js
|
|
151
|
+
- app/assets/javascripts/stylin/kss.js
|
|
152
|
+
- app/assets/javascripts/stylin/styleguides.js
|
|
153
|
+
- app/assets/stylesheets/stylin/_header.scss
|
|
154
|
+
- app/assets/stylesheets/stylin/_navigation.css.scss
|
|
155
|
+
- app/assets/stylesheets/stylin/application.css.scss
|
|
156
|
+
- app/assets/stylesheets/stylin/highlight/arta.css
|
|
157
|
+
- app/assets/stylesheets/stylin/highlight/ascetic.css
|
|
158
|
+
- app/assets/stylesheets/stylin/highlight/brown_paper.css
|
|
159
|
+
- app/assets/stylesheets/stylin/highlight/dark.css
|
|
160
|
+
- app/assets/stylesheets/stylin/highlight/default.css
|
|
161
|
+
- app/assets/stylesheets/stylin/highlight/docco.css
|
|
162
|
+
- app/assets/stylesheets/stylin/highlight/far.css
|
|
163
|
+
- app/assets/stylesheets/stylin/highlight/foundation.css
|
|
164
|
+
- app/assets/stylesheets/stylin/highlight/github.css
|
|
165
|
+
- app/assets/stylesheets/stylin/highlight/googlecode.css
|
|
166
|
+
- app/assets/stylesheets/stylin/highlight/idea.css
|
|
167
|
+
- app/assets/stylesheets/stylin/highlight/ir_black.css
|
|
168
|
+
- app/assets/stylesheets/stylin/highlight/magula.css
|
|
169
|
+
- app/assets/stylesheets/stylin/highlight/mono-blue.css
|
|
170
|
+
- app/assets/stylesheets/stylin/highlight/monokai.css
|
|
171
|
+
- app/assets/stylesheets/stylin/highlight/monokai_sublime.css
|
|
172
|
+
- app/assets/stylesheets/stylin/highlight/obsidian.css
|
|
173
|
+
- app/assets/stylesheets/stylin/highlight/pojoaque.css
|
|
174
|
+
- app/assets/stylesheets/stylin/highlight/railscasts.css
|
|
175
|
+
- app/assets/stylesheets/stylin/highlight/rainbow.css
|
|
176
|
+
- app/assets/stylesheets/stylin/highlight/school_book.css
|
|
177
|
+
- app/assets/stylesheets/stylin/highlight/solarized_dark.css
|
|
178
|
+
- app/assets/stylesheets/stylin/highlight/solarized_light.css
|
|
179
|
+
- app/assets/stylesheets/stylin/highlight/sunburst.css
|
|
180
|
+
- app/assets/stylesheets/stylin/highlight/tomorrow-night-blue.css
|
|
181
|
+
- app/assets/stylesheets/stylin/highlight/tomorrow-night-bright.css
|
|
182
|
+
- app/assets/stylesheets/stylin/highlight/tomorrow-night-eighties.css
|
|
183
|
+
- app/assets/stylesheets/stylin/highlight/tomorrow-night.css
|
|
184
|
+
- app/assets/stylesheets/stylin/highlight/tomorrow.css
|
|
185
|
+
- app/assets/stylesheets/stylin/highlight/vs.css
|
|
186
|
+
- app/assets/stylesheets/stylin/highlight/xcode.css
|
|
187
|
+
- app/assets/stylesheets/stylin/highlight/zenburn.css
|
|
188
|
+
- app/assets/stylesheets/stylin/styleguides.css.scss
|
|
189
|
+
- app/controllers/stylin/application_controller.rb
|
|
190
|
+
- app/controllers/stylin/styleguides_controller.rb
|
|
191
|
+
- app/helpers/stylin/application_helper.rb
|
|
192
|
+
- app/helpers/stylin/navigation_helper.rb
|
|
193
|
+
- app/helpers/stylin/styleguides_helper.rb
|
|
194
|
+
- app/models/styleguide.rb
|
|
195
|
+
- app/views/layouts/stylin/_navigation.html.erb
|
|
196
|
+
- app/views/layouts/stylin/application.html.erb
|
|
197
|
+
- app/views/stylin/styleguides/_section.html.erb
|
|
198
|
+
- app/views/stylin/styleguides/index.html.erb
|
|
199
|
+
- app/views/stylin/styleguides/show.html.erb
|
|
200
|
+
- config/routes.rb
|
|
201
|
+
- lib/generators/stylin/install_generator.rb
|
|
202
|
+
- lib/generators/stylin/views_generator.rb
|
|
203
|
+
- lib/generators/templates/stylin.yml
|
|
204
|
+
- lib/generators/templates/views/layouts/stylin/_navigation.html.erb
|
|
205
|
+
- lib/generators/templates/views/layouts/stylin/application.html.erb
|
|
206
|
+
- lib/generators/templates/views/stylin/styleguides/_section.html.erb
|
|
207
|
+
- lib/generators/templates/views/stylin/styleguides/index.html.erb
|
|
208
|
+
- lib/generators/templates/views/stylin/styleguides/show.html.erb
|
|
209
|
+
- lib/stylin/engine.rb
|
|
210
|
+
- lib/stylin/version.rb
|
|
211
|
+
- lib/stylin.rb
|
|
212
|
+
- lib/tasks/stylin_tasks.rake
|
|
213
|
+
- MIT-LICENSE
|
|
214
|
+
- Rakefile
|
|
215
|
+
- spec/dummy/app/assets/javascripts/application.js
|
|
216
|
+
- spec/dummy/app/assets/stylesheets/application.css.scss
|
|
217
|
+
- spec/dummy/app/assets/stylesheets/buttons.css
|
|
218
|
+
- spec/dummy/app/assets/stylesheets/forms.css
|
|
219
|
+
- spec/dummy/app/controllers/application_controller.rb
|
|
220
|
+
- spec/dummy/app/helpers/application_helper.rb
|
|
221
|
+
- spec/dummy/app/styleguides/buttons.html
|
|
222
|
+
- spec/dummy/app/views/layouts/application.html.erb
|
|
223
|
+
- spec/dummy/bin/bundle
|
|
224
|
+
- spec/dummy/bin/rails
|
|
225
|
+
- spec/dummy/bin/rake
|
|
226
|
+
- spec/dummy/config/application.rb
|
|
227
|
+
- spec/dummy/config/boot.rb
|
|
228
|
+
- spec/dummy/config/database.yml
|
|
229
|
+
- spec/dummy/config/environment.rb
|
|
230
|
+
- spec/dummy/config/environments/development.rb
|
|
231
|
+
- spec/dummy/config/environments/production.rb
|
|
232
|
+
- spec/dummy/config/environments/test.rb
|
|
233
|
+
- spec/dummy/config/initializers/backtrace_silencers.rb
|
|
234
|
+
- spec/dummy/config/initializers/filter_parameter_logging.rb
|
|
235
|
+
- spec/dummy/config/initializers/inflections.rb
|
|
236
|
+
- spec/dummy/config/initializers/mime_types.rb
|
|
237
|
+
- spec/dummy/config/initializers/secret_token.rb
|
|
238
|
+
- spec/dummy/config/initializers/session_store.rb
|
|
239
|
+
- spec/dummy/config/initializers/wrap_parameters.rb
|
|
240
|
+
- spec/dummy/config/locales/en.yml
|
|
241
|
+
- spec/dummy/config/routes.rb
|
|
242
|
+
- spec/dummy/config/stylin.yml
|
|
243
|
+
- spec/dummy/config.ru
|
|
244
|
+
- spec/dummy/db/development.sqlite3
|
|
245
|
+
- spec/dummy/db/production.sqlite3
|
|
246
|
+
- spec/dummy/db/schema.rb
|
|
247
|
+
- spec/dummy/db/test.sqlite3
|
|
248
|
+
- spec/dummy/log/development.log
|
|
249
|
+
- spec/dummy/log/production.log
|
|
250
|
+
- spec/dummy/log/test.log
|
|
251
|
+
- spec/dummy/public/404.html
|
|
252
|
+
- spec/dummy/public/422.html
|
|
253
|
+
- spec/dummy/public/500.html
|
|
254
|
+
- spec/dummy/public/favicon.ico
|
|
255
|
+
- spec/dummy/Rakefile
|
|
256
|
+
- spec/dummy/README.rdoc
|
|
257
|
+
- spec/models/styleguide_spec.rb
|
|
258
|
+
- spec/spec_helper.rb
|
|
259
|
+
homepage: https://github.com/criticaljuncture/stylin
|
|
260
|
+
licenses: []
|
|
261
|
+
post_install_message:
|
|
262
|
+
rdoc_options: []
|
|
263
|
+
require_paths:
|
|
264
|
+
- lib
|
|
265
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
266
|
+
none: false
|
|
267
|
+
requirements:
|
|
268
|
+
- - ! '>='
|
|
269
|
+
- !ruby/object:Gem::Version
|
|
270
|
+
version: '0'
|
|
271
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
272
|
+
none: false
|
|
273
|
+
requirements:
|
|
274
|
+
- - ! '>='
|
|
275
|
+
- !ruby/object:Gem::Version
|
|
276
|
+
version: '0'
|
|
277
|
+
requirements: []
|
|
278
|
+
rubyforge_project:
|
|
279
|
+
rubygems_version: 1.8.25
|
|
280
|
+
signing_key:
|
|
281
|
+
specification_version: 3
|
|
282
|
+
summary: Rails engine for a living style guide.
|
|
283
|
+
test_files:
|
|
284
|
+
- spec/dummy/app/assets/javascripts/application.js
|
|
285
|
+
- spec/dummy/app/assets/stylesheets/application.css.scss
|
|
286
|
+
- spec/dummy/app/assets/stylesheets/buttons.css
|
|
287
|
+
- spec/dummy/app/assets/stylesheets/forms.css
|
|
288
|
+
- spec/dummy/app/controllers/application_controller.rb
|
|
289
|
+
- spec/dummy/app/helpers/application_helper.rb
|
|
290
|
+
- spec/dummy/app/styleguides/buttons.html
|
|
291
|
+
- spec/dummy/app/views/layouts/application.html.erb
|
|
292
|
+
- spec/dummy/bin/bundle
|
|
293
|
+
- spec/dummy/bin/rails
|
|
294
|
+
- spec/dummy/bin/rake
|
|
295
|
+
- spec/dummy/config/application.rb
|
|
296
|
+
- spec/dummy/config/boot.rb
|
|
297
|
+
- spec/dummy/config/database.yml
|
|
298
|
+
- spec/dummy/config/environment.rb
|
|
299
|
+
- spec/dummy/config/environments/development.rb
|
|
300
|
+
- spec/dummy/config/environments/production.rb
|
|
301
|
+
- spec/dummy/config/environments/test.rb
|
|
302
|
+
- spec/dummy/config/initializers/backtrace_silencers.rb
|
|
303
|
+
- spec/dummy/config/initializers/filter_parameter_logging.rb
|
|
304
|
+
- spec/dummy/config/initializers/inflections.rb
|
|
305
|
+
- spec/dummy/config/initializers/mime_types.rb
|
|
306
|
+
- spec/dummy/config/initializers/secret_token.rb
|
|
307
|
+
- spec/dummy/config/initializers/session_store.rb
|
|
308
|
+
- spec/dummy/config/initializers/wrap_parameters.rb
|
|
309
|
+
- spec/dummy/config/locales/en.yml
|
|
310
|
+
- spec/dummy/config/routes.rb
|
|
311
|
+
- spec/dummy/config/stylin.yml
|
|
312
|
+
- spec/dummy/config.ru
|
|
313
|
+
- spec/dummy/db/development.sqlite3
|
|
314
|
+
- spec/dummy/db/production.sqlite3
|
|
315
|
+
- spec/dummy/db/schema.rb
|
|
316
|
+
- spec/dummy/db/test.sqlite3
|
|
317
|
+
- spec/dummy/log/development.log
|
|
318
|
+
- spec/dummy/log/production.log
|
|
319
|
+
- spec/dummy/log/test.log
|
|
320
|
+
- spec/dummy/public/404.html
|
|
321
|
+
- spec/dummy/public/422.html
|
|
322
|
+
- spec/dummy/public/500.html
|
|
323
|
+
- spec/dummy/public/favicon.ico
|
|
324
|
+
- spec/dummy/Rakefile
|
|
325
|
+
- spec/dummy/README.rdoc
|
|
326
|
+
- spec/models/styleguide_spec.rb
|
|
327
|
+
- spec/spec_helper.rb
|