spree_prediction_io 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +16 -0
- data/Gemfile +14 -1
- data/README.md +10 -1
- data/Rakefile +4 -0
- data/lib/spree_prediction_io/version.rb +1 -1
- data/spree_prediction_io.gemspec +2 -0
- data/tasks/minitest.rake +6 -0
- data/test/minitest_helper.rb +7 -0
- data/test/models/example_test.rb +9 -0
- metadata +10 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: de75de2ef676c605c78bc7fe13f514f9f53c4b66
|
4
|
+
data.tar.gz: 2bba4457d58cf413b968ff2974b32a7424435388
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4f825d90d8ef2dc068e0507978a61298f728130fb1522b7dcb1d3b8cbe79ca63e260920a03f82613764fad48fd07d8cd6e2cb59f4535cee4a940d076437f88d5
|
7
|
+
data.tar.gz: eddd0d85c9600ceefa69d705fd339604d245b0e450860e32bf90335040b4bac646747493ed2269858a4c30b9d925fd2ba4acce85a46814c92b1992f097f0dfef
|
data/.travis.yml
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
language: ruby
|
2
|
+
cache: bundler
|
3
|
+
bundler_args: --without development production staging
|
4
|
+
env:
|
5
|
+
- DB=postgresql
|
6
|
+
rvm:
|
7
|
+
- 1.8.7
|
8
|
+
- 1.9.3
|
9
|
+
- 2.1
|
10
|
+
script:
|
11
|
+
- RAILS_ENV=test bundle exec rake
|
12
|
+
notifications:
|
13
|
+
slack: resolvedigital:PjPY3KPAjmyPsjyfEkdcjMEf
|
14
|
+
addons:
|
15
|
+
code_climate:
|
16
|
+
repo_token: 30bf36f05514365034ed0bac270d155ffe1e15b0e6f0f1109bc44c0da18cccff
|
data/Gemfile
CHANGED
@@ -1,4 +1,17 @@
|
|
1
|
-
source
|
1
|
+
source "https://rubygems.org"
|
2
2
|
|
3
3
|
# Specify your gem's dependencies in spree_prediction_io.gemspec
|
4
4
|
gemspec
|
5
|
+
|
6
|
+
gem 'predictionio'
|
7
|
+
gem 'resque'
|
8
|
+
|
9
|
+
group :test do
|
10
|
+
gem "rake"
|
11
|
+
gem "minitest"
|
12
|
+
gem "codeclimate-test-reporter", :require => nil
|
13
|
+
end
|
14
|
+
|
15
|
+
group :development do
|
16
|
+
require "pry"
|
17
|
+
end
|
data/README.md
CHANGED
@@ -1,6 +1,15 @@
|
|
1
1
|
# SpreePredictionIo
|
2
2
|
|
3
|
-
|
3
|
+
Sync Spree and Prediction.IO
|
4
|
+
|
5
|
+
Run redis
|
6
|
+
redis-server /usr/local/etc/redis.conf
|
7
|
+
|
8
|
+
Make jobs work
|
9
|
+
QUEUE=* RESQUE_WORKER=true rake resque:work
|
10
|
+
|
11
|
+
View jobs running on browser
|
12
|
+
resque-web
|
4
13
|
|
5
14
|
## Installation
|
6
15
|
|
data/Rakefile
CHANGED
data/spree_prediction_io.gemspec
CHANGED
@@ -18,6 +18,8 @@ Gem::Specification.new do |spec|
|
|
18
18
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
19
|
spec.require_paths = ["lib"]
|
20
20
|
|
21
|
+
spec.required_ruby_version = ">= 1.9.3"
|
22
|
+
|
21
23
|
spec.add_development_dependency "bundler", "~> 1.5"
|
22
24
|
spec.add_development_dependency "rake"
|
23
25
|
end
|
data/tasks/minitest.rake
ADDED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spree_prediction_io
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Jones
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-04-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -46,6 +46,7 @@ extensions: []
|
|
46
46
|
extra_rdoc_files: []
|
47
47
|
files:
|
48
48
|
- .gitignore
|
49
|
+
- .travis.yml
|
49
50
|
- Gemfile
|
50
51
|
- LICENSE.txt
|
51
52
|
- README.md
|
@@ -53,6 +54,9 @@ files:
|
|
53
54
|
- lib/spree_prediction_io.rb
|
54
55
|
- lib/spree_prediction_io/version.rb
|
55
56
|
- spree_prediction_io.gemspec
|
57
|
+
- tasks/minitest.rake
|
58
|
+
- test/minitest_helper.rb
|
59
|
+
- test/models/example_test.rb
|
56
60
|
homepage: http://www.resolvedigital.com
|
57
61
|
licenses:
|
58
62
|
- MIT
|
@@ -65,7 +69,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
65
69
|
requirements:
|
66
70
|
- - '>='
|
67
71
|
- !ruby/object:Gem::Version
|
68
|
-
version:
|
72
|
+
version: 1.9.3
|
69
73
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
70
74
|
requirements:
|
71
75
|
- - '>='
|
@@ -77,4 +81,6 @@ rubygems_version: 2.1.10
|
|
77
81
|
signing_key:
|
78
82
|
specification_version: 4
|
79
83
|
summary: Prediction.IO recommendations for Spree
|
80
|
-
test_files:
|
84
|
+
test_files:
|
85
|
+
- test/minitest_helper.rb
|
86
|
+
- test/models/example_test.rb
|