grape-cache_control 0.0.2 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e3c5374719822fa86ef17ba1955e41a1dad98f10
4
- data.tar.gz: 2c1b05aff04cff14acc2770b41457d175ae5c89e
3
+ metadata.gz: 16e68a4e78f8eaa8c8f3694a9daa224b67e5cbee
4
+ data.tar.gz: c9272e37b6ccfa43a78d174cf32a0b685a0d793d
5
5
  SHA512:
6
- metadata.gz: c5d1240da98c05aff50f2370d7c192376e1dcf3a1bc54e75f53c93efb5754beded52e6437506b3949a9781561508b01d8370ffe6bf1d224e4fca82fd2f129d5a
7
- data.tar.gz: adb644c6c090cd6726d0c10f5989f05980e823c53782e4df305b08e31f8f8a6157fbe8671bc168130f6f1ef463753564e17eaabffe1d8b1bed175ce50adda715
6
+ metadata.gz: 70e5099b638f22ce51779efe785ab8d18c71c7ed4c60d43e73db7aa96a4e118025127e4fa25ece5463ae91327574ecebe8bad5e210aa81773664bcf784045303
7
+ data.tar.gz: 2c8456850b8fb00712070d8abce3e973002380bdd487753e561babc464bb78898997daea39cee89477a8bbd13145d1c046bbdcab10f9896cf4dff110fa23fc04
@@ -19,4 +19,6 @@ matrix:
19
19
  - rvm: jruby
20
20
  - rvm: rbx-2
21
21
  notifications:
22
- email: false
22
+ email: false
23
+ env:
24
+ - CODECLIMATE_REPO_TOKEN=d1d234d73d5d9aa513cb00c58183548bd845400fa6d2660466ac380999eb8c3d
data/Gemfile CHANGED
@@ -7,4 +7,5 @@ group :test do
7
7
  gem 'rspec'
8
8
  gem 'rack-test'
9
9
  gem 'timecop'
10
+ gem 'codeclimate-test-reporter'
10
11
  end
data/README.md CHANGED
@@ -119,6 +119,7 @@ end
119
119
  [![Gem Version](http://img.shields.io/gem/v/grape-cache_control.svg)][gem]
120
120
  [![Build Status](http://img.shields.io/travis/karlfreeman/grape-cache_control.svg)][travis]
121
121
  [![Code Quality](http://img.shields.io/codeclimate/github/karlfreeman/grape-cache_control.svg)][codeclimate]
122
+ [![Code Coverage](http://img.shields.io/codeclimate/coverage/github/karlfreeman/grape-cache_control.svg)][codeclimate]
122
123
  [![Gittip](http://img.shields.io/gittip/karlfreeman.svg)][gittip]
123
124
 
124
125
  ## Supported Ruby Versions
@@ -1,5 +1,5 @@
1
1
  module Grape
2
2
  module CacheControl
3
- VERSION = '0.0.2' unless defined?(Grape::CacheControl::VERSION)
3
+ VERSION = '1.0.0' unless defined?(Grape::CacheControl::VERSION)
4
4
  end
5
5
  end
@@ -0,0 +1,2 @@
1
+ require 'codeclimate-test-reporter'
2
+ CodeClimate::TestReporter.start
@@ -1,3 +1,6 @@
1
1
  if defined?(RUBY_ENGINE) && RUBY_ENGINE == 'ruby'
2
- require 'pry' unless ENV['CI']
2
+ begin
3
+ require 'pry' unless ENV['CI']
4
+ rescue LoadError
5
+ end
3
6
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: grape-cache_control
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Karl Freeman
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-03-31 00:00:00.000000000 Z
11
+ date: 2014-08-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: grape
@@ -132,6 +132,7 @@ files:
132
132
  - lib/grape/cache_control/helpers.rb
133
133
  - lib/grape/cache_control/version.rb
134
134
  - spec/spec_helper.rb
135
+ - spec/support/codeclimate.rb
135
136
  - spec/support/pry.rb
136
137
  - spec/support/rack-test.rb
137
138
  - spec/support/timecop.rb
@@ -156,12 +157,13 @@ required_rubygems_version: !ruby/object:Gem::Requirement
156
157
  version: '0'
157
158
  requirements: []
158
159
  rubyforge_project:
159
- rubygems_version: 2.2.0
160
+ rubygems_version: 2.2.2
160
161
  signing_key:
161
162
  specification_version: 4
162
163
  summary: Cache-Control and Expires helpers for Grape
163
164
  test_files:
164
165
  - spec/spec_helper.rb
166
+ - spec/support/codeclimate.rb
165
167
  - spec/support/pry.rb
166
168
  - spec/support/rack-test.rb
167
169
  - spec/support/timecop.rb