openstax_rescue_from 1.1.1 → 1.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- NWM2OGFjZThlZWMzNzQyOGEwNjllYmFlYzViYmY0OTcyZjI1NGNjMg==
4
+ ZmYzYTBkNmE2YWI2MzU1ODAzMjU0ZGYwNWEyMzE5OWMxZTVhMTBmZg==
5
5
  data.tar.gz: !binary |-
6
- YmIzN2NlNzBjNTkyNWU4NmM3NDEwMTA0NDA5MDAyNTQ4YWY5MGM5MA==
6
+ MDMxMWIyMTk2ZWQyOTI3YzM2M2M5YjFkNjI1ZDBjZTgxODQzNTI2Ng==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- ZDBhMzI5ZjdjMGQ2MWQwMzc5ZWM3OWM5Y2MxOTRlOTM3ZmMxZDBiNmRlMDlk
10
- Mzk5NjUyZDNmNWJlNDMyNTE2ODljN2Y0MTZmZjBmYmVjMTg5OWE5Yjc0ZWVk
11
- ZWVjZjhhMGM5MzY3MGYzMjlhYzU2NjdmYjYyNWQ1YjliZTEzYTA=
9
+ NzMwMzhkZDJhMDFmMmM4ZDQ4NzlkODlmYTlmZGFkZDE2OTZmMzE5ZGRlY2Qx
10
+ NWM0MjA1YzIyNDdkYTI0MjA4ODI1NWYwMjE1M2Q0ZDliMTc2YTExOTc5NDVk
11
+ ZTEzNGQ0NWRmNDNmODI4OGUwNmI2NTY0NzI2ZGYxNjdiYmUyMDU=
12
12
  data.tar.gz: !binary |-
13
- ZThkYWE3N2M4MWMwZTQ3ZDBhMDUzZmJhMjg5ZGJlODc3ZDAwY2UxZWRmNTE4
14
- ZGMwYzViZDBkOGQ1MWRhYjBmOThmNmZlYmJiY2U0MDBlM2E5MDBhNGRjMDAx
15
- YWM2ZGI2OGI3NDE2YzVmZWM5NTQwYTc1ZjM1YmIxZmIzN2FkMjQ=
13
+ Y2YzNGFiNTRjZTJiYmM4NzA2NDI3ZjI3ZjBmZThiZjRiOTE4Mzk4NmFmZTk3
14
+ MGQ5NzIwN2NlMWI2NzI3Y2Y1MGFlYzExZGZmYjg2Yjc5ZDc2MTJkOWVhMDMz
15
+ YjQxMWRmYzE1NzY5MmQwMjY3NTQ4ODZmYWRmZmU4OWVmODU5Mzc=
data/.gitignore CHANGED
@@ -10,6 +10,4 @@ tmp/
10
10
  *.log
11
11
  .DS_Store
12
12
  *~
13
-
14
-
15
-
13
+ spec/dummy/db/*.sqlite3
data/README.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # RescueFrom
2
2
 
3
+ [![Gem Version](https://badge.fury.io/rb/openstax_rescue_from.svg)](http://badge.fury.io/rb/openstax_rescue_from)
4
+ [![Build Status](https://travis-ci.org/openstax/rescue-from.svg?branch=master)](https://travis-ci.org/openstax/rescue_from)
5
+ [![Code Climate](https://codeclimate.com/github/openstax/rescue_from/badges/gpa.svg)](https://codeclimate.com/github/openstax/rescue_from)
6
+
3
7
  This is the gem that brings together disparate systems within OpenStax and abstracts consistent exception rescuing with html and json responses, and email notifying
4
8
 
5
9
  ## Installation
@@ -7,7 +11,7 @@ This is the gem that brings together disparate systems within OpenStax and abstr
7
11
  Add this line to your application's Gemfile:
8
12
 
9
13
  ```ruby
10
- gem 'rescue_from', '~> 1.1.0'
14
+ gem 'rescue_from'
11
15
  ```
12
16
 
13
17
  And then execute:
data/Rakefile CHANGED
@@ -1,10 +1,20 @@
1
- require "bundler/gem_tasks"
2
- require "rspec/core/rake_task"
1
+ #!/usr/bin/env rake
3
2
 
4
- RSpec::Core::RakeTask.new(:spec)
3
+ begin
4
+ require 'bundler/setup'
5
+ rescue LoadError
6
+ puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
7
+ end
5
8
 
6
- task :default => :spec
9
+ APP_RAKEFILE = File.expand_path('../spec/dummy/Rakefile', __FILE__)
10
+ load 'rails/tasks/engine.rake'
7
11
 
8
12
  Bundler::GemHelper.install_tasks
9
- APP_RAKEFILE = File.expand_path("../spec/dummy/Rakefile", __FILE__)
10
- load 'rails/tasks/engine.rake'
13
+
14
+ require 'rspec/core'
15
+ require 'rspec/core/rake_task'
16
+
17
+ desc "Run all specs in spec directory (excluding plugin specs)"
18
+ RSpec::Core::RakeTask.new(:spec)
19
+
20
+ task :default => :spec
@@ -1,5 +1,5 @@
1
1
  module OpenStax
2
2
  module RescueFrom
3
- VERSION = "1.1.1"
3
+ VERSION = "1.1.2"
4
4
  end
5
5
  end
@@ -21,7 +21,7 @@ Gem::Specification.new do |spec|
21
21
  spec.add_dependency "rails", '>= 3.1', '< 5.0'
22
22
  spec.add_dependency "exception_notification", '>= 4.1', '< 5.0'
23
23
 
24
- spec.add_development_dependency "pg", '~> 0.18.3'
24
+ spec.add_development_dependency "sqlite3", '~> 1.3.10'
25
25
  spec.add_development_dependency "bundler", "~> 1.10"
26
26
  spec.add_development_dependency "rake", "~> 10.0"
27
27
  spec.add_development_dependency "rspec-rails", '~> 3.3.3'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: openstax_rescue_from
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - JP Slavinsky
@@ -52,19 +52,19 @@ dependencies:
52
52
  - !ruby/object:Gem::Version
53
53
  version: '5.0'
54
54
  - !ruby/object:Gem::Dependency
55
- name: pg
55
+ name: sqlite3
56
56
  requirement: !ruby/object:Gem::Requirement
57
57
  requirements:
58
58
  - - ~>
59
59
  - !ruby/object:Gem::Version
60
- version: 0.18.3
60
+ version: 1.3.10
61
61
  type: :development
62
62
  prerelease: false
63
63
  version_requirements: !ruby/object:Gem::Requirement
64
64
  requirements:
65
65
  - - ~>
66
66
  - !ruby/object:Gem::Version
67
- version: 0.18.3
67
+ version: 1.3.10
68
68
  - !ruby/object:Gem::Dependency
69
69
  name: bundler
70
70
  requirement: !ruby/object:Gem::Requirement