clienteer 1.3.3 → 1.4.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.
- checksums.yaml +4 -4
- data/lib/clienteer.rb +2 -0
- data/lib/clienteer/version.rb +1 -1
- data/rakelib/ideal_protein.rake +2 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c8441af948319eba21de55ceba77423ce5fc6e74
|
|
4
|
+
data.tar.gz: c9d5194af632e69a92b918e55f05a984e6f9850e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e8f38276a74a226fc4dd2b4892afd6a3c80a9758680ba39536ece93421e1a949537da756f67cb1349bf812a0e8e4fdbfc8b385e9467552451f784669cd289254
|
|
7
|
+
data.tar.gz: 62cfa6a37779933d3f7cac7231fc7bebdca257915dad90043f57bcc5eef2bf6002e51fb1c93d73408a6d2aba4993956f6664af1ed89fa988daf8bc2e50ce4263
|
data/lib/clienteer.rb
CHANGED
data/lib/clienteer/version.rb
CHANGED
data/rakelib/ideal_protein.rake
CHANGED
|
@@ -63,6 +63,7 @@ namespace "ideal_protein" do
|
|
|
63
63
|
desc "Cleans Ideal Protein client information"
|
|
64
64
|
task :clean do
|
|
65
65
|
json = IdealProtein::Clean.cleaned_data
|
|
66
|
+
Dir.mkdir "data" unless Dir.exists? "data"
|
|
66
67
|
File.open("data/ideal_protein.clean.json", "w+") do |f|
|
|
67
68
|
f.write(JSON.pretty_generate(json))
|
|
68
69
|
end
|
|
@@ -71,6 +72,7 @@ namespace "ideal_protein" do
|
|
|
71
72
|
desc "Updates Ideal Protein client information"
|
|
72
73
|
task :update do
|
|
73
74
|
json = IdealProtein::Update.get_clients
|
|
75
|
+
Dir.mkdir "data" unless Dir.exists? "data"
|
|
74
76
|
File.open("data/ideal_protein.json", "w+") do |f|
|
|
75
77
|
f.write(JSON.pretty_generate(json))
|
|
76
78
|
end
|