stockpot 0.1.4 → 0.1.5
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/README.md +5 -3
- data/Rakefile +7 -1
- data/lib/stockpot/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9f99cbff6bf496c481e5c953d2c6842bd73bf4d859e41a23c3da37fbf3dcbe74
|
|
4
|
+
data.tar.gz: 134a8041667006fb8622f29ff75fc8d3619991d24be0ce5130facd48346b4823
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c0a8f2b347834f587ae34014f53a218ae22c4503039e98796384e5063f11671f8552671f0e3c14e45ee3054fac4b090d7b5219e377cb3a00c6a27dad27749465
|
|
7
|
+
data.tar.gz: 6f888da96c42de41bde18134dc1496e253d313cef53f4cd1a46198116cdb2f595c32cca72526b3d21a37715dd2486ecbcfe90720c12593f961d57e3ee5c35faf
|
data/README.md
CHANGED
|
@@ -55,7 +55,7 @@ gem install stockpot
|
|
|
55
55
|
Add the `Stockpot` engine to your `/config/routes.rb` file, changing the base path if you'd like to:
|
|
56
56
|
|
|
57
57
|
```ruby
|
|
58
|
-
mount Stockpot::Engine, at: "/stockpot"
|
|
58
|
+
mount Stockpot::Engine, at: "/stockpot"
|
|
59
59
|
```
|
|
60
60
|
|
|
61
61
|
This will give you the following [routes](/config/routes.rb) (assuming the default "/stockpot" path):
|
|
@@ -178,9 +178,9 @@ cy.getRecords([{ model: "user", id: user.id }])
|
|
|
178
178
|
|
|
179
179
|
## Development
|
|
180
180
|
|
|
181
|
-
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests.
|
|
181
|
+
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. To install this gem onto your local machine, run `bundle exec rake install`.
|
|
182
182
|
|
|
183
|
-
|
|
183
|
+
See the next section on contributing for more info.
|
|
184
184
|
|
|
185
185
|
## Contributing
|
|
186
186
|
|
|
@@ -192,6 +192,8 @@ Come join us in our New York City, Phoenix, or Minsk offices and write some awes
|
|
|
192
192
|
|
|
193
193
|
Community support is always appreciated! Bug reports and pull requests are welcome on [GitHub](https://github.com/Freshly/stockpot).
|
|
194
194
|
|
|
195
|
+
Please read our [CONTRIBUTING](CONTRIBUTING.md) doc for more information!
|
|
196
|
+
|
|
195
197
|
## License
|
|
196
198
|
|
|
197
199
|
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
data/Rakefile
CHANGED
|
@@ -10,7 +10,6 @@ APP_RAKEFILE = File.expand_path("spec/dummy/Rakefile", __dir__)
|
|
|
10
10
|
|
|
11
11
|
require File.expand_path("../spec/dummy/config/application", __FILE__)
|
|
12
12
|
require "bundler/gem_tasks"
|
|
13
|
-
require "rspec/core/rake_task"
|
|
14
13
|
|
|
15
14
|
load "rails/tasks/engine.rake"
|
|
16
15
|
|
|
@@ -19,3 +18,10 @@ Bundler::GemHelper.install_tasks
|
|
|
19
18
|
task :release do
|
|
20
19
|
sh "bundle exec rake release"
|
|
21
20
|
end
|
|
21
|
+
|
|
22
|
+
begin
|
|
23
|
+
require 'rspec/core/rake_task'
|
|
24
|
+
RSpec::Core::RakeTask.new(:spec)
|
|
25
|
+
rescue LoadError
|
|
26
|
+
puts "Please run `bundle install` to install rspec and other dependencies and try again!"
|
|
27
|
+
end
|
data/lib/stockpot/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: stockpot
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Jayson Smith
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-10-
|
|
11
|
+
date: 2019-10-07 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|
|
@@ -30,14 +30,14 @@ dependencies:
|
|
|
30
30
|
requirements:
|
|
31
31
|
- - "~>"
|
|
32
32
|
- !ruby/object:Gem::Version
|
|
33
|
-
version:
|
|
33
|
+
version: 5.1.0
|
|
34
34
|
type: :runtime
|
|
35
35
|
prerelease: false
|
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
|
37
37
|
requirements:
|
|
38
38
|
- - "~>"
|
|
39
39
|
- !ruby/object:Gem::Version
|
|
40
|
-
version:
|
|
40
|
+
version: 5.1.0
|
|
41
41
|
- !ruby/object:Gem::Dependency
|
|
42
42
|
name: database_cleaner
|
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|