soulheart 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +14 -3
- data/lib/soulheart/config.rb +1 -0
- data/lib/soulheart/version.rb +1 -1
- metadata +51 -15
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fa6ff567d686c5f140070353f43c781d3f107d03
|
4
|
+
data.tar.gz: f7deec1aad57f8c6b3bc6aff48148a5a00e0650d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a63c0a2f5ff9ca50c49b8fd1566f16a035b0b84c11648a54f7e59313c34fd158614b2cdad8c887ab12061732a96732b7ded6882235bea38037dc57d79b463b3a
|
7
|
+
data.tar.gz: 12cc9ff62e26a1dd31115863a88dcfcfd525b5942b207f66c8c02ffcf4faf27ae9244718c67d10848fd07f323b9a6643376981d90c8327b74851de615aa47fe5
|
data/README.md
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
Soulheart is a ready-to-use remote data source for autocomplete. The goal is to provide a solid, flexible tool that's downright easy to set up and use.
|
4
4
|
|
5
5
|
- [Demos](https://sethherr.github.io/soulheart/)
|
6
|
-
- [Usage documentation](https://sethherr.github.io/soulheart/commands/)
|
6
|
+
- [Usage documentation (commands)](https://sethherr.github.io/soulheart/commands/)
|
7
7
|
- [Example data sources](https://github.com/sethherr/soulheart/tree/master/examples)
|
8
8
|
- [Getting started](#getting-started)
|
9
9
|
- [Deployment](#deployment)
|
@@ -56,8 +56,19 @@ And then put this in your routes.rb
|
|
56
56
|
|
57
57
|
You can then access the server when your rails app is running. You can run the [Soulheart commands](https://sethherr.github.io/soulheart/commands/) from that directory.
|
58
58
|
|
59
|
-
*note: On Heroku Soulheart uses `rackup` to start the server. Because of this, there's a `config.ru` and a `
|
59
|
+
*note: On Heroku Soulheart uses `rackup` to start the server. Because of this, there's a `config.ru`, a `Gemfile.lock` and a `app.json`—to make it (and any forks of it) directly deployable. These files aren't in the Gem.*
|
60
60
|
|
61
|
+
##### Setting redis url
|
62
|
+
|
63
|
+
You can also set the redis url.
|
64
|
+
|
65
|
+
```ruby
|
66
|
+
# config/initializers/soulheart.rb
|
67
|
+
|
68
|
+
Soulheart.redis = 'redis://127.0.0.1:6379/0'
|
69
|
+
# or you can asign an existing instance of Redis, Redis::Namespace, etc.
|
70
|
+
# Soulheart.redis = $redis
|
71
|
+
```
|
61
72
|
## Testing
|
62
73
|
|
63
74
|
Tested with rspec. Check out test information at [Code Climate](https://codeclimate.com/github/sethherr/soulheart).
|
@@ -73,6 +84,6 @@ It requires Redis >= 3.0
|
|
73
84
|
|
74
85
|
## Additional info
|
75
86
|
|
76
|
-
This
|
87
|
+
This initially started as a fork of [Soulmate](https://github.com/seatgeek/soulmate) to support the features listed, provide demos and make it instantly deployable to Heroku.
|
77
88
|
|
78
89
|
It's MIT licensed.
|
data/lib/soulheart/config.rb
CHANGED
data/lib/soulheart/version.rb
CHANGED
metadata
CHANGED
@@ -1,20 +1,23 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: soulheart
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Seth Herr
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-09-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: hiredis
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0.4'
|
20
|
+
- - ">="
|
18
21
|
- !ruby/object:Gem::Version
|
19
22
|
version: 0.4.5
|
20
23
|
type: :runtime
|
@@ -22,26 +25,38 @@ dependencies:
|
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
27
|
- - "~>"
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0.4'
|
30
|
+
- - ">="
|
25
31
|
- !ruby/object:Gem::Version
|
26
32
|
version: 0.4.5
|
27
33
|
- !ruby/object:Gem::Dependency
|
28
34
|
name: redis
|
29
35
|
requirement: !ruby/object:Gem::Requirement
|
30
36
|
requirements:
|
37
|
+
- - "~>"
|
38
|
+
- !ruby/object:Gem::Version
|
39
|
+
version: '3.0'
|
31
40
|
- - ">="
|
32
41
|
- !ruby/object:Gem::Version
|
33
|
-
version: 3.0.
|
42
|
+
version: 3.0.5
|
34
43
|
type: :runtime
|
35
44
|
prerelease: false
|
36
45
|
version_requirements: !ruby/object:Gem::Requirement
|
37
46
|
requirements:
|
47
|
+
- - "~>"
|
48
|
+
- !ruby/object:Gem::Version
|
49
|
+
version: '3.0'
|
38
50
|
- - ">="
|
39
51
|
- !ruby/object:Gem::Version
|
40
|
-
version: 3.0.
|
52
|
+
version: 3.0.5
|
41
53
|
- !ruby/object:Gem::Dependency
|
42
54
|
name: vegas
|
43
55
|
requirement: !ruby/object:Gem::Requirement
|
44
56
|
requirements:
|
57
|
+
- - "~>"
|
58
|
+
- !ruby/object:Gem::Version
|
59
|
+
version: '0.1'
|
45
60
|
- - ">="
|
46
61
|
- !ruby/object:Gem::Version
|
47
62
|
version: 0.1.0
|
@@ -49,65 +64,86 @@ dependencies:
|
|
49
64
|
prerelease: false
|
50
65
|
version_requirements: !ruby/object:Gem::Requirement
|
51
66
|
requirements:
|
67
|
+
- - "~>"
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '0.1'
|
52
70
|
- - ">="
|
53
71
|
- !ruby/object:Gem::Version
|
54
72
|
version: 0.1.0
|
55
73
|
- !ruby/object:Gem::Dependency
|
56
|
-
name:
|
74
|
+
name: multi_json
|
57
75
|
requirement: !ruby/object:Gem::Requirement
|
58
76
|
requirements:
|
77
|
+
- - "~>"
|
78
|
+
- !ruby/object:Gem::Version
|
79
|
+
version: '1.11'
|
59
80
|
- - ">="
|
60
81
|
- !ruby/object:Gem::Version
|
61
|
-
version:
|
82
|
+
version: 1.11.2
|
62
83
|
type: :runtime
|
63
84
|
prerelease: false
|
64
85
|
version_requirements: !ruby/object:Gem::Requirement
|
65
86
|
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '1.11'
|
66
90
|
- - ">="
|
67
91
|
- !ruby/object:Gem::Version
|
68
|
-
version:
|
92
|
+
version: 1.11.2
|
69
93
|
- !ruby/object:Gem::Dependency
|
70
94
|
name: sinatra
|
71
95
|
requirement: !ruby/object:Gem::Requirement
|
72
96
|
requirements:
|
97
|
+
- - "~>"
|
98
|
+
- !ruby/object:Gem::Version
|
99
|
+
version: '1.4'
|
73
100
|
- - ">="
|
74
101
|
- !ruby/object:Gem::Version
|
75
|
-
version:
|
102
|
+
version: 1.4.4
|
76
103
|
type: :runtime
|
77
104
|
prerelease: false
|
78
105
|
version_requirements: !ruby/object:Gem::Requirement
|
79
106
|
requirements:
|
107
|
+
- - "~>"
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: '1.4'
|
80
110
|
- - ">="
|
81
111
|
- !ruby/object:Gem::Version
|
82
|
-
version:
|
112
|
+
version: 1.4.4
|
83
113
|
- !ruby/object:Gem::Dependency
|
84
114
|
name: rake
|
85
115
|
requirement: !ruby/object:Gem::Requirement
|
86
116
|
requirements:
|
87
|
-
- - "
|
117
|
+
- - "~>"
|
88
118
|
- !ruby/object:Gem::Version
|
89
|
-
version: '
|
119
|
+
version: '10.4'
|
90
120
|
type: :development
|
91
121
|
prerelease: false
|
92
122
|
version_requirements: !ruby/object:Gem::Requirement
|
93
123
|
requirements:
|
94
|
-
- - "
|
124
|
+
- - "~>"
|
95
125
|
- !ruby/object:Gem::Version
|
96
|
-
version: '
|
126
|
+
version: '10.4'
|
97
127
|
- !ruby/object:Gem::Dependency
|
98
128
|
name: rspec
|
99
129
|
requirement: !ruby/object:Gem::Requirement
|
100
130
|
requirements:
|
101
131
|
- - ">="
|
102
132
|
- !ruby/object:Gem::Version
|
103
|
-
version: '
|
133
|
+
version: '2.14'
|
134
|
+
- - "<"
|
135
|
+
- !ruby/object:Gem::Version
|
136
|
+
version: '4.0'
|
104
137
|
type: :development
|
105
138
|
prerelease: false
|
106
139
|
version_requirements: !ruby/object:Gem::Requirement
|
107
140
|
requirements:
|
108
141
|
- - ">="
|
109
142
|
- !ruby/object:Gem::Version
|
110
|
-
version: '
|
143
|
+
version: '2.14'
|
144
|
+
- - "<"
|
145
|
+
- !ruby/object:Gem::Version
|
146
|
+
version: '4.0'
|
111
147
|
description: Simple, fast autocomplete server for Ruby and Rails
|
112
148
|
email:
|
113
149
|
- seth.william.herr@gmail.com
|