formulate 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
data/formulate.gemspec CHANGED
@@ -9,11 +9,11 @@ Gem::Specification.new do |gem|
9
9
 
10
10
  gem.required_ruby_version = '>= 1.9'
11
11
 
12
- gem.add_dependency 'actionpack', '>= 3.0'
13
- gem.add_dependency 'activesupport', '>= 3.0'
12
+ gem.add_dependency 'actionpack', '~> 3.0'
13
+ gem.add_dependency 'activesupport', '~> 3.0'
14
14
  gem.add_dependency 'carmen', '~> 0.2.0'
15
- gem.add_dependency 'haml', '>= 3.0'
16
- gem.add_dependency 'sass-rails', '>= 3.0'
15
+ gem.add_dependency 'haml', '~> 3.0'
16
+ gem.add_dependency 'sass-rails', '~> 3.0'
17
17
 
18
18
  gem.files = `git ls-files`.split($\)
19
19
  gem.executables = gem.files.grep(%r{^bin/}).map { |f| File.basename(f) }
@@ -1,3 +1,3 @@
1
1
  module Formulate
2
- VERSION = '0.0.4'
2
+ VERSION = '0.0.5'
3
3
  end
@@ -0,0 +1,25 @@
1
+ form.formulate
2
+ a,
3
+ div,
4
+ fieldset,
5
+ form,
6
+ label,
7
+ legend,
8
+ ol,
9
+ p,
10
+ span,
11
+ ul
12
+ border: 0
13
+ font-family: inherit
14
+ font-size: 100%
15
+ font-style: inherit
16
+ font-weight: inherit
17
+ line-height: 1
18
+ margin: 0
19
+ padding: 0
20
+ vertical-align: baseline
21
+
22
+ ol,
23
+ ul
24
+ list-style: none
25
+
@@ -5,6 +5,7 @@ $border-width: 0.125em !default
5
5
  $fieldset-border-color: #EEE !default
6
6
  $fieldset-legend-color: #999 !default
7
7
 
8
+ $input-font-family: 'Helvetica', sans-serif !default
8
9
  $input-background-color: #FFF !default
9
10
  $input-border-color: #CCC !default
10
11
  $input-disabled-border-color: #EEE !default
@@ -1,38 +1,20 @@
1
1
  @import formulate/defaults
2
+ @import formulate/reset
2
3
 
3
4
  form.formulate
4
5
  margin: $spacer-size 0
5
6
 
6
- a,
7
- div,
8
- fieldset,
9
- form,
10
- label,
11
- legend,
12
- ol,
13
- p,
14
- span,
15
- ul
16
- border: 0
17
- font-family: inherit
18
- font-size: 100%
19
- font-style: inherit
20
- font-weight: inherit
21
- line-height: 1
22
- margin: 0
23
- padding: 0
24
- vertical-align: baseline
25
-
26
- ol,
27
- ul
28
- list-style: none
7
+ label
8
+ color: $label-color
9
+ display: block
10
+ line-height: $line-height
29
11
 
30
12
  input,
31
13
  select,
32
14
  textarea
33
15
  background: $input-background-color
34
16
  border: $border-width solid $input-border-color
35
- font-family: 'Helvetica', sans-serif
17
+ font-family: $input-font-family
36
18
  font-size: 1em
37
19
  margin: 0
38
20
  padding: 0.25em
@@ -75,11 +57,6 @@ form.formulate
75
57
  .field
76
58
  margin-bottom: $spacer-size
77
59
 
78
- label
79
- color: $label-color
80
- display: block
81
- line-height: $line-height
82
-
83
60
  &.required label
84
61
  font-weight: bold
85
62
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: formulate
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,14 +9,14 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-05-01 00:00:00.000000000 Z
12
+ date: 2012-05-10 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: actionpack
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
- - - ! '>='
19
+ - - ~>
20
20
  - !ruby/object:Gem::Version
21
21
  version: '3.0'
22
22
  type: :runtime
@@ -24,7 +24,7 @@ dependencies:
24
24
  version_requirements: !ruby/object:Gem::Requirement
25
25
  none: false
26
26
  requirements:
27
- - - ! '>='
27
+ - - ~>
28
28
  - !ruby/object:Gem::Version
29
29
  version: '3.0'
30
30
  - !ruby/object:Gem::Dependency
@@ -32,7 +32,7 @@ dependencies:
32
32
  requirement: !ruby/object:Gem::Requirement
33
33
  none: false
34
34
  requirements:
35
- - - ! '>='
35
+ - - ~>
36
36
  - !ruby/object:Gem::Version
37
37
  version: '3.0'
38
38
  type: :runtime
@@ -40,7 +40,7 @@ dependencies:
40
40
  version_requirements: !ruby/object:Gem::Requirement
41
41
  none: false
42
42
  requirements:
43
- - - ! '>='
43
+ - - ~>
44
44
  - !ruby/object:Gem::Version
45
45
  version: '3.0'
46
46
  - !ruby/object:Gem::Dependency
@@ -64,7 +64,7 @@ dependencies:
64
64
  requirement: !ruby/object:Gem::Requirement
65
65
  none: false
66
66
  requirements:
67
- - - ! '>='
67
+ - - ~>
68
68
  - !ruby/object:Gem::Version
69
69
  version: '3.0'
70
70
  type: :runtime
@@ -72,7 +72,7 @@ dependencies:
72
72
  version_requirements: !ruby/object:Gem::Requirement
73
73
  none: false
74
74
  requirements:
75
- - - ! '>='
75
+ - - ~>
76
76
  - !ruby/object:Gem::Version
77
77
  version: '3.0'
78
78
  - !ruby/object:Gem::Dependency
@@ -80,7 +80,7 @@ dependencies:
80
80
  requirement: !ruby/object:Gem::Requirement
81
81
  none: false
82
82
  requirements:
83
- - - ! '>='
83
+ - - ~>
84
84
  - !ruby/object:Gem::Version
85
85
  version: '3.0'
86
86
  type: :runtime
@@ -88,7 +88,7 @@ dependencies:
88
88
  version_requirements: !ruby/object:Gem::Requirement
89
89
  none: false
90
90
  requirements:
91
- - - ! '>='
91
+ - - ~>
92
92
  - !ruby/object:Gem::Version
93
93
  version: '3.0'
94
94
  description:
@@ -109,6 +109,7 @@ files:
109
109
  - lib/formulate/form_helper.rb
110
110
  - lib/formulate/version.rb
111
111
  - vendor/assets/stylesheets/formulate.css.sass
112
+ - vendor/assets/stylesheets/formulate/_reset.css.sass
112
113
  - vendor/assets/stylesheets/formulate/defaults.css.sass
113
114
  homepage: http://github.com/tylerhunt/formulate
114
115
  licenses: []