clienteer 1.5.0 → 1.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/clienteer/railtie.rb +17 -3
- data/lib/clienteer/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: daa8b95913345b64271f3beff774a51e34e638c6
|
4
|
+
data.tar.gz: f5b7e640a5116c9a1774bd84b0ac2ce8da3ce6c6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e3bfca6162dfb2111a911a413892d7043c2b819fa4e58d852eb93305476ce4b5dd372c5ed3bdd27cd0ddfd9b8d4517391109e664b4ac89d68dccde33f5f18c42
|
7
|
+
data.tar.gz: 9669805a568449a4a3bd5f1559eaad69401f5586efc17a00f6a106ed50eeefb72a74988d78c74681a2f08f2f6187092e04c0ac06905e08c09c6bc78f721c2da4
|
data/lib/clienteer/railtie.rb
CHANGED
@@ -2,9 +2,23 @@
|
|
2
2
|
module Clienteer
|
3
3
|
class Railtie < Rails::Railtie
|
4
4
|
rake_tasks do
|
5
|
-
|
6
|
-
|
7
|
-
|
5
|
+
namespace :clienteer do
|
6
|
+
desc "Collect MindBody information to YAML file"
|
7
|
+
task collect: :environment do
|
8
|
+
Clienteer::Ingester::MindBody.to_file
|
9
|
+
end
|
10
|
+
|
11
|
+
namespace :run do
|
12
|
+
desc "Run Clienteer from mindbody.yml"
|
13
|
+
task file: :environment do
|
14
|
+
Clienteer.call ingestor: Clienteer::Ingester::YAMLFile
|
15
|
+
end
|
16
|
+
|
17
|
+
desc "Run Clienteer from new data"
|
18
|
+
task fresh: :collect do
|
19
|
+
Clienteer.call
|
20
|
+
end
|
21
|
+
end
|
8
22
|
end
|
9
23
|
end
|
10
24
|
end
|
data/lib/clienteer/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: clienteer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.5.
|
4
|
+
version: 1.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Patrick Metcalfe
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-07-
|
11
|
+
date: 2015-07-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: kiba
|