pwnstyles_rails 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +2 -2
- data/Gemfile.lock +54 -55
- data/VERSION +1 -1
- data/lib/pwnstyles_rails/generators/layouts/application.html.erb +2 -2
- data/pwnstyles_rails.gemspec +10 -9
- data/stylesheets/_pwnstyles.css.scss +1 -0
- data/stylesheets/generic/_controls.css.scss +0 -62
- data/stylesheets/generic/_forms.css.scss +60 -0
- metadata +34 -36
data/Gemfile
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
source 'http://rubygems.org'
|
2
2
|
# Add dependencies required to use your gem here.
|
3
3
|
# Example:
|
4
|
-
gem 'rails', '>= 3.1.0
|
5
|
-
gem 'sass-rails', '>= 3.1.0
|
4
|
+
gem 'rails', '>= 3.1.0'
|
5
|
+
gem 'sass-rails', '>= 3.1.0'
|
6
6
|
|
7
7
|
# Add dependencies to develop your gem here.
|
8
8
|
# Include everything needed to run rake, tests, features, etc.
|
data/Gemfile.lock
CHANGED
@@ -1,44 +1,43 @@
|
|
1
1
|
GEM
|
2
2
|
remote: http://rubygems.org/
|
3
3
|
specs:
|
4
|
-
actionmailer (3.1.0
|
5
|
-
actionpack (= 3.1.0
|
4
|
+
actionmailer (3.1.0)
|
5
|
+
actionpack (= 3.1.0)
|
6
6
|
mail (~> 2.3.0)
|
7
|
-
actionpack (3.1.0
|
8
|
-
activemodel (= 3.1.0
|
9
|
-
activesupport (= 3.1.0
|
7
|
+
actionpack (3.1.0)
|
8
|
+
activemodel (= 3.1.0)
|
9
|
+
activesupport (= 3.1.0)
|
10
10
|
builder (~> 3.0.0)
|
11
11
|
erubis (~> 2.7.0)
|
12
12
|
i18n (~> 0.6)
|
13
|
-
rack (~> 1.3.
|
14
|
-
rack-cache (~> 1.0.
|
15
|
-
rack-mount (~> 0.8.
|
16
|
-
rack-test (~> 0.6.
|
17
|
-
sprockets (~> 2.0.0
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
bcrypt-ruby (~> 2.1.4)
|
13
|
+
rack (~> 1.3.2)
|
14
|
+
rack-cache (~> 1.0.3)
|
15
|
+
rack-mount (~> 0.8.2)
|
16
|
+
rack-test (~> 0.6.1)
|
17
|
+
sprockets (~> 2.0.0)
|
18
|
+
activemodel (3.1.0)
|
19
|
+
activesupport (= 3.1.0)
|
20
|
+
bcrypt-ruby (~> 3.0.0)
|
22
21
|
builder (~> 3.0.0)
|
23
22
|
i18n (~> 0.6)
|
24
|
-
activerecord (3.1.0
|
25
|
-
activemodel (= 3.1.0
|
26
|
-
activesupport (= 3.1.0
|
27
|
-
arel (~> 2.
|
28
|
-
tzinfo (~> 0.3.
|
29
|
-
activeresource (3.1.0
|
30
|
-
activemodel (= 3.1.0
|
31
|
-
activesupport (= 3.1.0
|
32
|
-
activesupport (3.1.0
|
23
|
+
activerecord (3.1.0)
|
24
|
+
activemodel (= 3.1.0)
|
25
|
+
activesupport (= 3.1.0)
|
26
|
+
arel (~> 2.2.1)
|
27
|
+
tzinfo (~> 0.3.29)
|
28
|
+
activeresource (3.1.0)
|
29
|
+
activemodel (= 3.1.0)
|
30
|
+
activesupport (= 3.1.0)
|
31
|
+
activesupport (3.1.0)
|
33
32
|
multi_json (~> 1.0)
|
34
|
-
arel (2.1
|
35
|
-
bcrypt-ruby (
|
33
|
+
arel (2.2.1)
|
34
|
+
bcrypt-ruby (3.0.0)
|
36
35
|
builder (3.0.0)
|
37
36
|
erubis (2.7.0)
|
38
37
|
git (1.2.5)
|
39
|
-
hike (1.1
|
38
|
+
hike (1.2.1)
|
40
39
|
i18n (0.6.0)
|
41
|
-
jeweler (1.6.
|
40
|
+
jeweler (1.6.4)
|
42
41
|
bundler (~> 1.0)
|
43
42
|
git (>= 1.2.5)
|
44
43
|
rake
|
@@ -48,48 +47,48 @@ GEM
|
|
48
47
|
treetop (~> 1.4.8)
|
49
48
|
mime-types (1.16)
|
50
49
|
multi_json (1.0.3)
|
51
|
-
polyglot (0.3.
|
52
|
-
rack (1.3.
|
53
|
-
rack-cache (1.0.
|
50
|
+
polyglot (0.3.2)
|
51
|
+
rack (1.3.2)
|
52
|
+
rack-cache (1.0.3)
|
54
53
|
rack (>= 0.4)
|
55
|
-
rack-mount (0.8.
|
54
|
+
rack-mount (0.8.3)
|
56
55
|
rack (>= 1.0.0)
|
57
56
|
rack-ssl (1.3.2)
|
58
57
|
rack
|
59
|
-
rack-test (0.6.
|
58
|
+
rack-test (0.6.1)
|
60
59
|
rack (>= 1.0)
|
61
|
-
rails (3.1.0
|
62
|
-
actionmailer (= 3.1.0
|
63
|
-
actionpack (= 3.1.0
|
64
|
-
activerecord (= 3.1.0
|
65
|
-
activeresource (= 3.1.0
|
66
|
-
activesupport (= 3.1.0
|
60
|
+
rails (3.1.0)
|
61
|
+
actionmailer (= 3.1.0)
|
62
|
+
actionpack (= 3.1.0)
|
63
|
+
activerecord (= 3.1.0)
|
64
|
+
activeresource (= 3.1.0)
|
65
|
+
activesupport (= 3.1.0)
|
67
66
|
bundler (~> 1.0)
|
68
|
-
railties (= 3.1.0
|
69
|
-
railties (3.1.0
|
70
|
-
actionpack (= 3.1.0
|
71
|
-
activesupport (= 3.1.0
|
67
|
+
railties (= 3.1.0)
|
68
|
+
railties (3.1.0)
|
69
|
+
actionpack (= 3.1.0)
|
70
|
+
activesupport (= 3.1.0)
|
72
71
|
rack-ssl (~> 1.3.2)
|
73
72
|
rake (>= 0.8.7)
|
74
73
|
rdoc (~> 3.4)
|
75
74
|
thor (~> 0.14.6)
|
76
75
|
rake (0.9.2)
|
77
|
-
rcov (0.9.
|
78
|
-
rdoc (3.
|
79
|
-
sass (3.1.
|
80
|
-
sass-rails (3.1.0
|
81
|
-
actionpack (~> 3.1.0
|
82
|
-
railties (~> 3.1.0
|
76
|
+
rcov (0.9.10)
|
77
|
+
rdoc (3.9.4)
|
78
|
+
sass (3.1.7)
|
79
|
+
sass-rails (3.1.0)
|
80
|
+
actionpack (~> 3.1.0)
|
81
|
+
railties (~> 3.1.0)
|
83
82
|
sass (>= 3.1.4)
|
84
|
-
sprockets (>= 2.0.0.beta.9)
|
85
83
|
shoulda (2.11.3)
|
86
|
-
sprockets (2.0.0
|
87
|
-
hike (~> 1.
|
84
|
+
sprockets (2.0.0)
|
85
|
+
hike (~> 1.2)
|
88
86
|
rack (~> 1.0)
|
89
87
|
tilt (!= 1.3.0, ~> 1.1)
|
90
88
|
thor (0.14.6)
|
91
|
-
tilt (1.3.
|
92
|
-
treetop (1.4.
|
89
|
+
tilt (1.3.3)
|
90
|
+
treetop (1.4.10)
|
91
|
+
polyglot
|
93
92
|
polyglot (>= 0.3.1)
|
94
93
|
tzinfo (0.3.29)
|
95
94
|
|
@@ -99,7 +98,7 @@ PLATFORMS
|
|
99
98
|
DEPENDENCIES
|
100
99
|
bundler (~> 1.0.0)
|
101
100
|
jeweler (~> 1.6.0)
|
102
|
-
rails (>= 3.1.0
|
101
|
+
rails (>= 3.1.0)
|
103
102
|
rcov
|
104
|
-
sass-rails (>= 3.1.0
|
103
|
+
sass-rails (>= 3.1.0)
|
105
104
|
shoulda
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.1
|
@@ -4,8 +4,8 @@
|
|
4
4
|
<title>App Name</title>
|
5
5
|
<%= csrf_meta_tag %>
|
6
6
|
<%= favicon_link_tag %>
|
7
|
-
<%= stylesheet_link_tag
|
8
|
-
<%= javascript_include_tag
|
7
|
+
<%= stylesheet_link_tag 'application' %>
|
8
|
+
<%= javascript_include_tag 'application' %>
|
9
9
|
</head>
|
10
10
|
<body>
|
11
11
|
<header>
|
data/pwnstyles_rails.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{pwnstyles_rails}
|
8
|
-
s.version = "0.1.
|
8
|
+
s.version = "0.1.1"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = [%q{Victor Costan}]
|
12
|
-
s.date = %q{2011-
|
12
|
+
s.date = %q{2011-09-12}
|
13
13
|
s.description = %q{Included CSS was designed for reuse across pwnb.us apps.}
|
14
14
|
s.email = %q{victor@costan.us}
|
15
15
|
s.extra_rdoc_files = [
|
@@ -40,6 +40,7 @@ Gem::Specification.new do |s|
|
|
40
40
|
"pwnstyles_rails.gemspec",
|
41
41
|
"stylesheets/_pwnstyles.css.scss",
|
42
42
|
"stylesheets/generic/_controls.css.scss",
|
43
|
+
"stylesheets/generic/_forms.css.scss",
|
43
44
|
"stylesheets/generic/_images.css.scss",
|
44
45
|
"stylesheets/generic/_links.css.scss",
|
45
46
|
"stylesheets/generic/_menu.css.scss",
|
@@ -60,30 +61,30 @@ Gem::Specification.new do |s|
|
|
60
61
|
s.homepage = %q{http://github.com/pwnall/pwnstyles_rails}
|
61
62
|
s.licenses = [%q{MIT}]
|
62
63
|
s.require_paths = [%q{lib}]
|
63
|
-
s.rubygems_version = %q{1.8.
|
64
|
+
s.rubygems_version = %q{1.8.8}
|
64
65
|
s.summary = %q{Rails 3 SCSS integration and non-trivial default style.}
|
65
66
|
|
66
67
|
if s.respond_to? :specification_version then
|
67
68
|
s.specification_version = 3
|
68
69
|
|
69
70
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
70
|
-
s.add_runtime_dependency(%q<rails>, [">= 3.1.0
|
71
|
-
s.add_runtime_dependency(%q<sass-rails>, [">= 3.1.0
|
71
|
+
s.add_runtime_dependency(%q<rails>, [">= 3.1.0"])
|
72
|
+
s.add_runtime_dependency(%q<sass-rails>, [">= 3.1.0"])
|
72
73
|
s.add_development_dependency(%q<shoulda>, [">= 0"])
|
73
74
|
s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
|
74
75
|
s.add_development_dependency(%q<jeweler>, ["~> 1.6.0"])
|
75
76
|
s.add_development_dependency(%q<rcov>, [">= 0"])
|
76
77
|
else
|
77
|
-
s.add_dependency(%q<rails>, [">= 3.1.0
|
78
|
-
s.add_dependency(%q<sass-rails>, [">= 3.1.0
|
78
|
+
s.add_dependency(%q<rails>, [">= 3.1.0"])
|
79
|
+
s.add_dependency(%q<sass-rails>, [">= 3.1.0"])
|
79
80
|
s.add_dependency(%q<shoulda>, [">= 0"])
|
80
81
|
s.add_dependency(%q<bundler>, ["~> 1.0.0"])
|
81
82
|
s.add_dependency(%q<jeweler>, ["~> 1.6.0"])
|
82
83
|
s.add_dependency(%q<rcov>, [">= 0"])
|
83
84
|
end
|
84
85
|
else
|
85
|
-
s.add_dependency(%q<rails>, [">= 3.1.0
|
86
|
-
s.add_dependency(%q<sass-rails>, [">= 3.1.0
|
86
|
+
s.add_dependency(%q<rails>, [">= 3.1.0"])
|
87
|
+
s.add_dependency(%q<sass-rails>, [">= 3.1.0"])
|
87
88
|
s.add_dependency(%q<shoulda>, [">= 0"])
|
88
89
|
s.add_dependency(%q<bundler>, ["~> 1.0.0"])
|
89
90
|
s.add_dependency(%q<jeweler>, ["~> 1.6.0"])
|
@@ -79,65 +79,3 @@ input[type=radio], input[type=checkbox] {
|
|
79
79
|
background-color: #FFEEEE;
|
80
80
|
}
|
81
81
|
}
|
82
|
-
|
83
|
-
|
84
|
-
// Forms.
|
85
|
-
form {
|
86
|
-
.fields {
|
87
|
-
display: table;
|
88
|
-
border-collapse: collapse;
|
89
|
-
width: 100%;
|
90
|
-
|
91
|
-
&.hidden {
|
92
|
-
display: none;
|
93
|
-
}
|
94
|
-
|
95
|
-
.field {
|
96
|
-
display: table-row;
|
97
|
-
margin: 0;
|
98
|
-
padding: 0 0 0.2em 0;
|
99
|
-
&.hidden {
|
100
|
-
display: none;
|
101
|
-
}
|
102
|
-
|
103
|
-
> * {
|
104
|
-
display: table-cell;
|
105
|
-
vertical-align: baseline;
|
106
|
-
margin: 0;
|
107
|
-
}
|
108
|
-
> label {
|
109
|
-
padding: 0 0.5em 0 0;
|
110
|
-
}
|
111
|
-
> .value {
|
112
|
-
padding: 0 0 0.25em 0;
|
113
|
-
> .field_with_errors {
|
114
|
-
display: block;
|
115
|
-
}
|
116
|
-
}
|
117
|
-
> .comment {
|
118
|
-
padding: 0 0 0 0.5em;
|
119
|
-
}
|
120
|
-
|
121
|
-
input, textarea {
|
122
|
-
font-size: inherit;
|
123
|
-
width: 100%;
|
124
|
-
-webkit-box-sizing: border-box;
|
125
|
-
-moz-box-sizing: border-box;
|
126
|
-
box-sizing: border-box;
|
127
|
-
}
|
128
|
-
input[type=radio], input[type=checkbox] {
|
129
|
-
width: auto;
|
130
|
-
}
|
131
|
-
}
|
132
|
-
}
|
133
|
-
|
134
|
-
.action {
|
135
|
-
margin: 0;
|
136
|
-
padding: 0;
|
137
|
-
text-align: center;
|
138
|
-
|
139
|
-
input[type=submit], input[type=button], button {
|
140
|
-
min-width: 7em;
|
141
|
-
}
|
142
|
-
}
|
143
|
-
}
|
@@ -0,0 +1,60 @@
|
|
1
|
+
form {
|
2
|
+
.fields {
|
3
|
+
display: table;
|
4
|
+
border-collapse: collapse;
|
5
|
+
width: 100%;
|
6
|
+
|
7
|
+
&.hidden {
|
8
|
+
display: none;
|
9
|
+
}
|
10
|
+
|
11
|
+
.field {
|
12
|
+
display: table-row;
|
13
|
+
margin: 0;
|
14
|
+
padding: 0 0 0.2em 0;
|
15
|
+
&.hidden {
|
16
|
+
display: none;
|
17
|
+
}
|
18
|
+
|
19
|
+
> * {
|
20
|
+
display: table-cell;
|
21
|
+
vertical-align: baseline;
|
22
|
+
margin: 0;
|
23
|
+
}
|
24
|
+
> label {
|
25
|
+
padding: 0 0.4em 0 0;
|
26
|
+
text-align: right;
|
27
|
+
}
|
28
|
+
> .value {
|
29
|
+
padding: 0 0 0.25em 0;
|
30
|
+
> .field_with_errors {
|
31
|
+
display: block;
|
32
|
+
}
|
33
|
+
}
|
34
|
+
> .comment {
|
35
|
+
padding: 0 0 0 0.5em;
|
36
|
+
}
|
37
|
+
|
38
|
+
input, textarea {
|
39
|
+
font-size: inherit;
|
40
|
+
width: 100%;
|
41
|
+
-webkit-box-sizing: border-box;
|
42
|
+
-moz-box-sizing: border-box;
|
43
|
+
box-sizing: border-box;
|
44
|
+
}
|
45
|
+
input[type=radio], input[type=checkbox] {
|
46
|
+
width: auto;
|
47
|
+
}
|
48
|
+
}
|
49
|
+
}
|
50
|
+
|
51
|
+
.action {
|
52
|
+
margin: 0;
|
53
|
+
padding: 0;
|
54
|
+
text-align: center;
|
55
|
+
|
56
|
+
input[type=submit], input[type=button], button {
|
57
|
+
min-width: 7em;
|
58
|
+
}
|
59
|
+
}
|
60
|
+
}
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pwnstyles_rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 25
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 1
|
10
|
+
version: 0.1.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Victor Costan
|
@@ -15,45 +15,42 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-
|
18
|
+
date: 2011-09-12 00:00:00 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
|
-
|
21
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
22
22
|
none: false
|
23
23
|
requirements:
|
24
24
|
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
hash:
|
26
|
+
hash: 3
|
27
27
|
segments:
|
28
28
|
- 3
|
29
29
|
- 1
|
30
30
|
- 0
|
31
|
-
|
32
|
-
|
33
|
-
version: 3.1.0.rc4
|
34
|
-
type: :runtime
|
35
|
-
requirement: *id001
|
36
|
-
prerelease: false
|
31
|
+
version: 3.1.0
|
32
|
+
version_requirements: *id001
|
37
33
|
name: rails
|
34
|
+
prerelease: false
|
35
|
+
type: :runtime
|
38
36
|
- !ruby/object:Gem::Dependency
|
39
|
-
|
37
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
40
38
|
none: false
|
41
39
|
requirements:
|
42
40
|
- - ">="
|
43
41
|
- !ruby/object:Gem::Version
|
44
|
-
hash:
|
42
|
+
hash: 3
|
45
43
|
segments:
|
46
44
|
- 3
|
47
45
|
- 1
|
48
46
|
- 0
|
49
|
-
|
50
|
-
|
51
|
-
type: :runtime
|
52
|
-
requirement: *id002
|
53
|
-
prerelease: false
|
47
|
+
version: 3.1.0
|
48
|
+
version_requirements: *id002
|
54
49
|
name: sass-rails
|
50
|
+
prerelease: false
|
51
|
+
type: :runtime
|
55
52
|
- !ruby/object:Gem::Dependency
|
56
|
-
|
53
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
57
54
|
none: false
|
58
55
|
requirements:
|
59
56
|
- - ">="
|
@@ -62,12 +59,12 @@ dependencies:
|
|
62
59
|
segments:
|
63
60
|
- 0
|
64
61
|
version: "0"
|
65
|
-
|
66
|
-
requirement: *id003
|
67
|
-
prerelease: false
|
62
|
+
version_requirements: *id003
|
68
63
|
name: shoulda
|
64
|
+
prerelease: false
|
65
|
+
type: :development
|
69
66
|
- !ruby/object:Gem::Dependency
|
70
|
-
|
67
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
71
68
|
none: false
|
72
69
|
requirements:
|
73
70
|
- - ~>
|
@@ -78,12 +75,12 @@ dependencies:
|
|
78
75
|
- 0
|
79
76
|
- 0
|
80
77
|
version: 1.0.0
|
81
|
-
|
82
|
-
requirement: *id004
|
83
|
-
prerelease: false
|
78
|
+
version_requirements: *id004
|
84
79
|
name: bundler
|
80
|
+
prerelease: false
|
81
|
+
type: :development
|
85
82
|
- !ruby/object:Gem::Dependency
|
86
|
-
|
83
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
87
84
|
none: false
|
88
85
|
requirements:
|
89
86
|
- - ~>
|
@@ -94,12 +91,12 @@ dependencies:
|
|
94
91
|
- 6
|
95
92
|
- 0
|
96
93
|
version: 1.6.0
|
97
|
-
|
98
|
-
requirement: *id005
|
99
|
-
prerelease: false
|
94
|
+
version_requirements: *id005
|
100
95
|
name: jeweler
|
96
|
+
prerelease: false
|
97
|
+
type: :development
|
101
98
|
- !ruby/object:Gem::Dependency
|
102
|
-
|
99
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
103
100
|
none: false
|
104
101
|
requirements:
|
105
102
|
- - ">="
|
@@ -108,10 +105,10 @@ dependencies:
|
|
108
105
|
segments:
|
109
106
|
- 0
|
110
107
|
version: "0"
|
111
|
-
|
112
|
-
requirement: *id006
|
113
|
-
prerelease: false
|
108
|
+
version_requirements: *id006
|
114
109
|
name: rcov
|
110
|
+
prerelease: false
|
111
|
+
type: :development
|
115
112
|
description: Included CSS was designed for reuse across pwnb.us apps.
|
116
113
|
email: victor@costan.us
|
117
114
|
executables: []
|
@@ -145,6 +142,7 @@ files:
|
|
145
142
|
- pwnstyles_rails.gemspec
|
146
143
|
- stylesheets/_pwnstyles.css.scss
|
147
144
|
- stylesheets/generic/_controls.css.scss
|
145
|
+
- stylesheets/generic/_forms.css.scss
|
148
146
|
- stylesheets/generic/_images.css.scss
|
149
147
|
- stylesheets/generic/_links.css.scss
|
150
148
|
- stylesheets/generic/_menu.css.scss
|
@@ -190,7 +188,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
190
188
|
requirements: []
|
191
189
|
|
192
190
|
rubyforge_project:
|
193
|
-
rubygems_version: 1.8.
|
191
|
+
rubygems_version: 1.8.8
|
194
192
|
signing_key:
|
195
193
|
specification_version: 3
|
196
194
|
summary: Rails 3 SCSS integration and non-trivial default style.
|