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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3beb4d43b0134e1ecb863f8b5c3feebbe36f8a67
4
- data.tar.gz: af9c024a683ce589830f4c91e276413fe3ff69f7
3
+ metadata.gz: c8441af948319eba21de55ceba77423ce5fc6e74
4
+ data.tar.gz: c9d5194af632e69a92b918e55f05a984e6f9850e
5
5
  SHA512:
6
- metadata.gz: 3fedc1407a0c873bc1681926a7941dbf912bce69ac35794e52fea376f2d58ebd7f81fae90011a01517f11231ebde594ccf6cef0178366d4926afd0f7c0eb20a6
7
- data.tar.gz: 5507813504864467d49e1afe610669fe98b97258bc61536892facc08520b76b49beb51605b8a453014e2b60e46425a5547af9f13c4b1db069b98aeff51e5448b
6
+ metadata.gz: e8f38276a74a226fc4dd2b4892afd6a3c80a9758680ba39536ece93421e1a949537da756f67cb1349bf812a0e8e4fdbfc8b385e9467552451f784669cd289254
7
+ data.tar.gz: 62cfa6a37779933d3f7cac7231fc7bebdca257915dad90043f57bcc5eef2bf6002e51fb1c93d73408a6d2aba4993956f6664af1ed89fa988daf8bc2e50ce4263
@@ -6,6 +6,8 @@ require "clienteer/digester"
6
6
  require "kiba"
7
7
  require "mindbody-api"
8
8
 
9
+ require 'clienteer/railtie' if defined?(Rails)
10
+
9
11
  module Clienteer
10
12
 
11
13
  ::MindBody.configure do |config|
@@ -1,3 +1,3 @@
1
1
  module Clienteer
2
- VERSION = "1.3.3"
2
+ VERSION = "1.4.0"
3
3
  end
@@ -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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: clienteer
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.3
4
+ version: 1.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Patrick Metcalfe