nutrition_label_plugin 0.0.1.4 → 0.0.2

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.
@@ -1,3 +1,3 @@
1
1
  module NutritionLabelPlugin
2
- VERSION = "0.0.1.4"
2
+ VERSION = "0.0.2"
3
3
  end
@@ -0,0 +1,132 @@
1
+ #nutritionfactstable {
2
+ border: 1px solid black;
3
+ padding: 3px;
4
+ color: black;
5
+ background-color: white;
6
+ width: 207px;
7
+ line-height: 12px;
8
+ }
9
+
10
+ #a {
11
+ text-decoration: none;
12
+ outline: none;
13
+ color: black;
14
+ background-color: white;
15
+ }
16
+
17
+ th {
18
+ text-align: left;
19
+ }
20
+
21
+ .tdingredient {
22
+ font-size: 11px;
23
+ }
24
+
25
+ #servingsize {
26
+ font-family: Helvetica Regular, Helvetica, Arial, sans-serif;
27
+ font-size: 8pt;
28
+ padding-top: 1px;
29
+ }
30
+
31
+ #thickseparator {
32
+ padding-top: 1px;
33
+ border-bottom: 7px solid black;
34
+ }
35
+
36
+ #hairlineseparator {
37
+ padding-top: 1px;
38
+ border-bottom: 1px solid black;
39
+ }
40
+
41
+ #hairlineseparatornopadding {
42
+ padding-top: 0px;
43
+ border-bottom: 1px solid black;
44
+ }
45
+
46
+ #separator {
47
+ padding-top: 1px;
48
+ border-bottom: 3px solid black;
49
+ }
50
+
51
+ #subhairlineseparator {
52
+ padding-top: 1px;
53
+ margin-left: 10px;
54
+ padding-left: 10px;
55
+ border-bottom: 1px solid black;
56
+ }
57
+
58
+ #nutrient {
59
+ font-family: Helvetica Black, Arial Black, Helvetica, Arial, sans-serif;
60
+ font-size: 8pt;
61
+ padding-top: 2px;
62
+ }
63
+
64
+ #nutrientsubgroup {
65
+ font-family: Helvetica Regular, Helvetica, Arial, sans-serif;
66
+ font-size: 8pt;
67
+ padding-left: 10px;
68
+ padding-top: 2px;
69
+ }
70
+
71
+ #nutrientcontent {
72
+ font-family: Helvetica Regular, Helvetica, Arial, sans-serif;
73
+ font-size: 8pt;
74
+ }
75
+
76
+ #vitamin {
77
+ font-family: Helvetica Regular, Helvetica, Arial, sans-serif;
78
+ font-size: 8pt;
79
+ padding-top: 4px;
80
+ }
81
+
82
+ #vitaminright {
83
+ position: absolute;
84
+ padding-top: 0;
85
+ width: 207px;
86
+ text-align: right;
87
+ }
88
+
89
+ #vitaminbullet {
90
+ font-family: Helvetica Regular, Helvetica, Arial, sans-serif;
91
+ font-size: 10pt;
92
+ text-align: center;
93
+ width: 207px;
94
+ position: absolute;
95
+ margin-top: 0px;
96
+ line-height: 1em;
97
+ overflow: hidden;
98
+ }
99
+
100
+ #asterisksection {
101
+ font-family: Helvetica Regular, Helvetica, Arial, sans-serif;
102
+ font-size: 7pt;
103
+ padding-top: 1px;
104
+ }
105
+
106
+ #right {
107
+ position: absolute;
108
+ padding-top: 1px;
109
+ width: 207px;
110
+ text-align: right;
111
+ }
112
+
113
+ #subright {
114
+ font-family: Helvetica Black, Arial Black, Helvetica, Arial, sans-serif;
115
+ position: absolute;
116
+ margin-top: 0px;
117
+ width: 197px;
118
+ text-align: right;
119
+ line-height: 1em;
120
+ overflow: hidden;
121
+ }
122
+
123
+ #label {
124
+ font-family: Helvetica Black, Arial Black, Helvetica, Arial, sans-serif;
125
+ font-size: 7pt;
126
+ }
127
+
128
+ #blank {
129
+ font-family: Helvetica Black, Arial Black, Helvetica, Arial, sans-serif;
130
+ font-size: 7pt;
131
+ color: white;
132
+ }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nutrition_label_plugin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1.4
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-11-12 00:00:00.000000000Z
12
+ date: 2011-11-14 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
16
- requirement: &74317290 !ruby/object:Gem::Requirement
16
+ requirement: &70564900 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 3.1.1
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *74317290
24
+ version_requirements: *70564900
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: sqlite3
27
- requirement: &74311290 !ruby/object:Gem::Requirement
27
+ requirement: &70558980 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,7 +32,7 @@ dependencies:
32
32
  version: '0'
33
33
  type: :development
34
34
  prerelease: false
35
- version_requirements: *74311290
35
+ version_requirements: *70558980
36
36
  description: Gem includes CSS and template for basic nutrition fact label, as well
37
37
  as a method that takes in a hash of optional macronutrients
38
38
  email: lev.berlin@gmail.com
@@ -46,6 +46,8 @@ files:
46
46
  - lib/nutrition_label_plugin/engine.rb
47
47
  - lib/nutrition_label_plugin/version.rb
48
48
  - lib/nutrition_label_plugin/view_helpers.rb
49
+ - vendor/assets/stylesheets/nutrition_label_plugin.css
50
+ - vendor/assets/images/nutritionFactslogo.jpg
49
51
  - MIT-LICENSE
50
52
  - Rakefile
51
53
  - README.rdoc
@@ -92,7 +94,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
92
94
  version: '0'
93
95
  segments:
94
96
  - 0
95
- hash: 668479279
97
+ hash: -89554307
96
98
  required_rubygems_version: !ruby/object:Gem::Requirement
97
99
  none: false
98
100
  requirements:
@@ -101,7 +103,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
101
103
  version: '0'
102
104
  segments:
103
105
  - 0
104
- hash: 668479279
106
+ hash: -89554307
105
107
  requirements: []
106
108
  rubyforge_project:
107
109
  rubygems_version: 1.8.10