redissify_model 0.0.4 → 0.0.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 048d7ff84a3afc1686d31b248c203bcde7187b90
4
- data.tar.gz: ea0458b1b1cc323b5aca02e1aba0c1072cd12427
3
+ metadata.gz: 2686f5be9dd3f415081c73467efc4ab2eb80e623
4
+ data.tar.gz: 173e8ab0f586b167f96e0b475df816003894b368
5
5
  SHA512:
6
- metadata.gz: 7f37cce654b720566432215c63e3eacd6bc96df0a872de50a90a173c910710a5dec900fec499cb9f6aedda8833c9e6c27468f4455c931cf6b1551e0ae96ee8eb
7
- data.tar.gz: 18a3b950ab7700d0b6049d3999abcbdb8dc5d1eeb64082eb7591fa154f6cffe2d6ca9e979b7d1356ef63f68287f88e7d7de132f71e22a38927e6c95f34688c17
6
+ metadata.gz: 6c186fb249bfac59fc143f2aac13987cf0c24ec4a3f6b7b1f95e64f796948cc18559ce33a665e7bf5400d990eab2266b6257060dc0eb7f27b6eda5367e9815ad
7
+ data.tar.gz: 3b3649263cedac2c90a2111f1fca41979384fe8e40e0ee5628033d79d4fde87a7572aaef81c21f352168bc50b28b4162fac5a90e964a790d80020376d6179d5d
data/.travis.yml CHANGED
@@ -6,3 +6,6 @@ rvm:
6
6
  - 2.1.2
7
7
  script:
8
8
  - bundle exec rspec spec
9
+
10
+ services:
11
+ - redis-server
data/README.md CHANGED
@@ -1,5 +1,24 @@
1
1
  # RedissifyModel
2
2
 
3
+ # TODO: Your gem name
4
+
5
+ [![Gem Version][GV img]][Gem Version]
6
+ [![Build Status][BS img]][Build Status]
7
+ [![Dependency Status][DS img]][Dependency Status]
8
+ [![Code Climate][CC img]][Code Climate]
9
+ [![Coverage Status][CS img]][Coverage Status]
10
+
11
+ ## Description
12
+
13
+ [Gem Version]: https://rubygems.org/gems/redissify_model
14
+ [Build Status]: https://travis-ci.org/chabzlala29/redissify_model
15
+ [travis pull requests]: https://travis-ci.org/chabzlala29/redissify_model/pull_requests
16
+ [Code Climate]: https://codeclimate.com/github/chabzlala29/redissify_model
17
+
18
+ [GV img]: https://badge.fury.io/rb/redissify_model.png
19
+ [BS img]: https://travis-ci.org/chabzlala29/redissify_model.png
20
+ [CC img]: https://codeclimate.com/github/chabzlala29/redissify_model.png
21
+
3
22
  It acts as a cache key value store for Sequel Models.
4
23
 
5
24
  ## Installation
@@ -1,3 +1,3 @@
1
1
  module RedissifyModel
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
@@ -24,4 +24,5 @@ Gem::Specification.new do |spec|
24
24
  spec.add_development_dependency "rspec", "~> 3.0"
25
25
  spec.add_development_dependency "sequel", "~> 4.0"
26
26
  spec.add_development_dependency "sqlite3", "~> 1.3"
27
+ spec.add_development_dependency "simplecov", "~> 0.8"
27
28
  end
data/spec/spec_helper.rb CHANGED
@@ -1,6 +1,12 @@
1
+ require 'simplecov'
1
2
  require "redissify_model"
2
3
  require "sequel"
3
4
 
5
+ SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
6
+ SimpleCov::Formatter::HTMLFormatter
7
+ ]
8
+ SimpleCov.start
9
+
4
10
  Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f| require f}
5
11
 
6
12
  RSpec.configure do |c|
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: redissify_model
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Charles Darwin Pobre
@@ -94,6 +94,20 @@ dependencies:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
96
  version: '1.3'
97
+ - !ruby/object:Gem::Dependency
98
+ name: simplecov
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: '0.8'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: '0.8'
97
111
  description: Cache Model objects as key value store on Redis. It maps through namespaced
98
112
  models
99
113
  email: