rlimiter 1.0.3 → 1.0.4

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
  SHA256:
3
- metadata.gz: 4aa40b5348d1b14d3f593091349886b8e3afa9e7ff0e5dcd20acdd9c78a71490
4
- data.tar.gz: f77541b45e1e67d89bdd1acadb8bcee1b3b71fe3dbd32bb4422b0fadfcf2c8a3
3
+ metadata.gz: 528b2e9c5b67936908454361b5d3bbdce2649ef4de738afd9d14097b274f28b3
4
+ data.tar.gz: 5a72ff348d385e692cd5fd967c13e9c8543481ffb61f22288f1a66f3a3a6f46b
5
5
  SHA512:
6
- metadata.gz: ec2174ca32cda24c62da3e0c297a232bdc90f498a9e02a62e6ab48f8f2317b91b8adcf6d51b6bcb5f61e36f5643d810cc776b13947a355a8d9870ede11b10590
7
- data.tar.gz: b83756b0bbeb5ee418d7a40bcda73dcff3f68844dcff3bf2852dce8afe2fe20d8fb5dfbf0e097b9afcbce88e7a6094fac547a51fe9fea6393b4caf01011c7776
6
+ metadata.gz: 3766e84a11dcb16f8c333355bc26d27fe9407a851558e189892acf9bc1a572aeec4d59693e437e692fde4d37a92d3cdf9ef3a0dbdb1827e7df6d700354df2c31
7
+ data.tar.gz: 2767cd4c071defd0b2c31087edb81e29216b755319e401159b991355a7b61d6328efbe456fde725ca791e40ff6592e2b66b8ffc7e9567b9f0ffc82fec93907fa
data/.coveralls.yml ADDED
@@ -0,0 +1 @@
1
+ repo_token: LhuzAphV1s78Ypdbn9PRsKMDlCpcxMLGk
data/.travis.yml CHANGED
@@ -5,3 +5,14 @@ cache: bundler
5
5
  rvm:
6
6
  - 2.3.3
7
7
  before_install: gem install bundler -v 1.16.4
8
+ env:
9
+ global:
10
+ - CC_TEST_REPORTER_ID=42769facf6def4b6d345dbb94ca758522b183000544106a5ef973663bd919aea
11
+ before_script:
12
+ - curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
13
+ - chmod +x ./cc-test-reporter
14
+ - ./cc-test-reporter before-build
15
+ script:
16
+ - bundle exec rspec
17
+ after_script:
18
+ - ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
data/Gemfile CHANGED
@@ -6,4 +6,5 @@ gemspec
6
6
 
7
7
  gem 'redis'
8
8
  gem 'simplecov', require: false, group: :test
9
- gem 'timecop', require: false, group: :test
9
+ gem 'timecop', require: false, group: :test
10
+ gem 'coveralls', require: false
data/Gemfile.lock CHANGED
@@ -1,12 +1,18 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rlimiter (1.0.3)
4
+ rlimiter (1.0.4)
5
5
  redis (~> 4.0, >= 4.0.2)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
+ coveralls (0.8.22)
11
+ json (>= 1.8, < 3)
12
+ simplecov (~> 0.16.1)
13
+ term-ansicolor (~> 1.3)
14
+ thor (~> 0.19.4)
15
+ tins (~> 1.6)
10
16
  diff-lcs (1.3)
11
17
  docile (1.3.1)
12
18
  json (2.1.0)
@@ -30,13 +36,18 @@ GEM
30
36
  json (>= 1.8, < 3)
31
37
  simplecov-html (~> 0.10.0)
32
38
  simplecov-html (0.10.2)
39
+ term-ansicolor (1.6.0)
40
+ tins (~> 1.0)
41
+ thor (0.19.4)
33
42
  timecop (0.9.1)
43
+ tins (1.16.3)
34
44
 
35
45
  PLATFORMS
36
46
  ruby
37
47
 
38
48
  DEPENDENCIES
39
49
  bundler (~> 1.16)
50
+ coveralls
40
51
  rake (~> 10.0)
41
52
  redis
42
53
  rlimiter!
data/README.md CHANGED
@@ -1,3 +1,9 @@
1
+ ![Gem Version](https://badge.fury.io/rb/rlimiter.svg)
2
+ ![Build Status](https://travis-ci.org/sdpatro/rlimiter.svg?branch=master)
3
+ [![Maintainability](https://api.codeclimate.com/v1/badges/874030f97b114be832d3/maintainability)](https://codeclimate.com/github/sdpatro/rlimiter/maintainability)
4
+ [![Coverage Status](https://coveralls.io/repos/github/sdpatro/rlimiter/badge.svg)](https://coveralls.io/github/sdpatro/rlimiter)
5
+ ![Total downloads](https://ruby-gem-downloads-badge.herokuapp.com/rlimiter?type=total)
6
+
1
7
  # Rlimiter
2
8
 
3
9
  Rlimiter is a simple rate limiting client for Ruby (not limited to RoR!).
@@ -106,9 +112,7 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
106
112
 
107
113
  ### TODOs:
108
114
 
109
- 1. Write specs for 100% code coverage.
110
- 2. Add benchmarks.
111
- 3. Integrate Travis.
115
+ 1. Add benchmarks.
112
116
 
113
117
  ## Contributing
114
118
 
@@ -1,5 +1,5 @@
1
1
  module Rlimiter
2
2
  #:nocov:
3
- VERSION = '1.0.3'.freeze
3
+ VERSION = '1.0.4'.freeze
4
4
  #:nocov:
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rlimiter
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sidharth Patro
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-09-30 00:00:00.000000000 Z
11
+ date: 2018-10-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -79,6 +79,7 @@ executables: []
79
79
  extensions: []
80
80
  extra_rdoc_files: []
81
81
  files:
82
+ - ".coveralls.yml"
82
83
  - ".gitignore"
83
84
  - ".rspec"
84
85
  - ".travis.yml"