JSONAPI_errors 0.0.3 → 0.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
  SHA1:
3
- metadata.gz: 8d9e70b99af2fb879918a1a48ccb1d8722c759a3
4
- data.tar.gz: 69c22f5ca1962a827cdf4842d647e1b95a4e3cb8
3
+ metadata.gz: 3a74ec6eadfa4179d293f50665da5534fcc11611
4
+ data.tar.gz: b1a822646b98ff149bd738197e87a62b8e4f1d5c
5
5
  SHA512:
6
- metadata.gz: 9d88e9c3791b95c1e89b3dd45a16edf433035ec53cf8763bf99f13d60cbf82ab8b7f8e9d8966f2fc472aef671ce01a5cfb3ebf48155b91b46a406c771c659f62
7
- data.tar.gz: 58b4e149be1cf17abae3ee2f207fb47e842771b24b9deedbfe1dec6e8c105aec676212d32c195ef6d92b297792a47041842be0236f422642439dbad7b516c891
6
+ metadata.gz: 70c14696c166ab08dfde97ab67f239eff5c215e26c9b5a80cf01874073118fd1fad5165725e53ca9a936978ea4a6d8e1ea30428f927578e891ac2460b41906f0
7
+ data.tar.gz: fe6eaeda299c548731cb6d91ff836c4a2ad67513b1e1a9b93d4a723cfedbe4bb0bc14254fe86f2d6f4953bcc8f3c812b73a38513fd982e2b6afedada18937d52
data/.travis.yml ADDED
@@ -0,0 +1,6 @@
1
+ language: ruby
2
+ rvm:
3
+ - 2.0.0
4
+ - 2.1.8
5
+ - 2.2.4
6
+ - 2.3.0
data/README.md CHANGED
@@ -184,6 +184,11 @@ end
184
184
 
185
185
  Put this file in a rails initializer in order to make it work as expected.
186
186
 
187
+
188
+ ## Code Status
189
+
190
+ [![Build Status](https://travis-ci.org/intrip/jsonapi_errors.svg?branch=master)](https://github.com/intrip/jsonapi_errors)
191
+
187
192
  ## Contributing
188
193
 
189
194
  1. Fork it ( https://github.com/intrip/JSONAPI_errors/fork )
data/Rakefile CHANGED
@@ -1,2 +1,7 @@
1
- require "bundler/gem_tasks"
1
+ begin
2
+ require 'rspec/core/rake_task'
3
+ RSpec::Core::RakeTask.new(:spec)
4
+ rescue LoadError
5
+ end
2
6
 
7
+ task default: [:spec]
@@ -1,7 +1,7 @@
1
1
  # coding: utf-8
2
2
  lib = File.expand_path('../lib', __FILE__)
3
3
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
- require 'JSONAPI_errors/version'
4
+ require 'jsonapi_errors/version'
5
5
 
6
6
  Gem::Specification.new do |spec|
7
7
  spec.name = "JSONAPI_errors"
@@ -1,3 +1,3 @@
1
1
  module JSONAPIErrors
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
@@ -2,10 +2,10 @@ require "active_support"
2
2
  require "active_support/concern"
3
3
  require "active_support/core_ext/hash"
4
4
  require "active_support/core_ext/class/attribute"
5
- require "JSONAPI_errors/version"
6
- require "JSONAPI_errors/configuration"
7
- require "JSONAPI_errors/hash_renderer"
8
- require "JSONAPI_errors/rails/controller"
5
+ require "jsonapi_errors/version"
6
+ require "jsonapi_errors/configuration"
7
+ require "jsonapi_errors/hash_renderer"
8
+ require "jsonapi_errors/rails/controller"
9
9
 
10
10
  module JSONAPIErrors
11
11
  module Errors
data/spec/spec_helper.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  $LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)
2
- require 'JSONAPI_errors'
2
+ require 'jsonapi_errors'
3
3
  require 'byebug'
4
4
  Dir[File.dirname(__FILE__) + '/support/**/*.rb'].each { |f| require f }
5
5
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: JSONAPI_errors
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jacopo
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-03-03 00:00:00.000000000 Z
11
+ date: 2016-03-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -116,6 +116,7 @@ extensions: []
116
116
  extra_rdoc_files: []
117
117
  files:
118
118
  - ".gitignore"
119
+ - ".travis.yml"
119
120
  - Gemfile
120
121
  - GuardFile
121
122
  - LICENSE.txt