openstax_rescue_from 1.1.1 → 1.1.2
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 +8 -8
- data/.gitignore +1 -3
- data/README.md +5 -1
- data/Rakefile +16 -6
- data/lib/openstax/rescue_from/version.rb +1 -1
- data/openstax_rescue_from.gemspec +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ZmYzYTBkNmE2YWI2MzU1ODAzMjU0ZGYwNWEyMzE5OWMxZTVhMTBmZg==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MDMxMWIyMTk2ZWQyOTI3YzM2M2M5YjFkNjI1ZDBjZTgxODQzNTI2Ng==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
NzMwMzhkZDJhMDFmMmM4ZDQ4NzlkODlmYTlmZGFkZDE2OTZmMzE5ZGRlY2Qx
|
10
|
+
NWM0MjA1YzIyNDdkYTI0MjA4ODI1NWYwMjE1M2Q0ZDliMTc2YTExOTc5NDVk
|
11
|
+
ZTEzNGQ0NWRmNDNmODI4OGUwNmI2NTY0NzI2ZGYxNjdiYmUyMDU=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
Y2YzNGFiNTRjZTJiYmM4NzA2NDI3ZjI3ZjBmZThiZjRiOTE4Mzk4NmFmZTk3
|
14
|
+
MGQ5NzIwN2NlMWI2NzI3Y2Y1MGFlYzExZGZmYjg2Yjc5ZDc2MTJkOWVhMDMz
|
15
|
+
YjQxMWRmYzE1NzY5MmQwMjY3NTQ4ODZmYWRmZmU4OWVmODU5Mzc=
|
data/.gitignore
CHANGED
data/README.md
CHANGED
@@ -1,5 +1,9 @@
|
|
1
1
|
# RescueFrom
|
2
2
|
|
3
|
+
[](http://badge.fury.io/rb/openstax_rescue_from)
|
4
|
+
[](https://travis-ci.org/openstax/rescue_from)
|
5
|
+
[](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'
|
14
|
+
gem 'rescue_from'
|
11
15
|
```
|
12
16
|
|
13
17
|
And then execute:
|
data/Rakefile
CHANGED
@@ -1,10 +1,20 @@
|
|
1
|
-
|
2
|
-
require "rspec/core/rake_task"
|
1
|
+
#!/usr/bin/env rake
|
3
2
|
|
4
|
-
|
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
|
-
|
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
|
-
|
10
|
-
|
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
|
@@ -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 "
|
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.
|
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:
|
55
|
+
name: sqlite3
|
56
56
|
requirement: !ruby/object:Gem::Requirement
|
57
57
|
requirements:
|
58
58
|
- - ~>
|
59
59
|
- !ruby/object:Gem::Version
|
60
|
-
version:
|
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:
|
67
|
+
version: 1.3.10
|
68
68
|
- !ruby/object:Gem::Dependency
|
69
69
|
name: bundler
|
70
70
|
requirement: !ruby/object:Gem::Requirement
|