nutrition_label_plugin 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +4 -4
- data/lib/nutrition_label_plugin/version.rb +1 -1
- metadata +7 -7
data/README.rdoc
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
= NutritionLabelPlugin
|
2
2
|
|
3
3
|
Nutrition label generation for Rails 3.1 using the asset pipeline.
|
4
|
-
|
4
|
+
---
|
5
5
|
== Installation
|
6
6
|
|
7
7
|
1. If using bundler, add to your Gemfile and run bundle install:
|
@@ -9,7 +9,7 @@ Nutrition label generation for Rails 3.1 using the asset pipeline.
|
|
9
9
|
2. Otherwise run gem install nutrition_label_plugin
|
10
10
|
3. To add the CSS file to your load path, add to your app's application.css file:
|
11
11
|
*= require nutrition_label_plugin
|
12
|
-
|
12
|
+
---
|
13
13
|
== Feature list
|
14
14
|
|
15
15
|
Currently, there is a single method available that accepts a hash of all optional
|
@@ -38,11 +38,11 @@ create_base_label takes a number of optional arguments in the form of a hash:
|
|
38
38
|
* :vitamin_A => float, in IU (international units)
|
39
39
|
* :Iron => float, in milligrams
|
40
40
|
* :calcium => float, in milligrams
|
41
|
-
|
41
|
+
---
|
42
42
|
== Contributing
|
43
43
|
|
44
44
|
If you have any feedback or want to add methods other than the basic nutrition label,
|
45
45
|
feel free to fork and send a pull request.
|
46
46
|
|
47
|
-
|
47
|
+
---
|
48
48
|
This project rocks and uses MIT-LICENSE.
|
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.
|
4
|
+
version: 0.0.5
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -13,7 +13,7 @@ date: 2011-11-14 00:00:00.000000000Z
|
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
16
|
-
requirement: &
|
16
|
+
requirement: &74923370 !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: *
|
24
|
+
version_requirements: *74923370
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: sqlite3
|
27
|
-
requirement: &
|
27
|
+
requirement: &74922950 !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: *
|
35
|
+
version_requirements: *74922950
|
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
|
@@ -94,7 +94,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
94
94
|
version: '0'
|
95
95
|
segments:
|
96
96
|
- 0
|
97
|
-
hash:
|
97
|
+
hash: -467221811
|
98
98
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
99
99
|
none: false
|
100
100
|
requirements:
|
@@ -103,7 +103,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
103
103
|
version: '0'
|
104
104
|
segments:
|
105
105
|
- 0
|
106
|
-
hash:
|
106
|
+
hash: -467221811
|
107
107
|
requirements: []
|
108
108
|
rubyforge_project:
|
109
109
|
rubygems_version: 1.8.10
|