safety_net_heroku 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/README.md +5 -5
- data/bin/console +1 -1
- data/lib/{safety_net.rb → safety_net_heroku.rb} +3 -5
- data/lib/safety_net_heroku/version.rb +3 -0
- data/{safety_net.gemspec → safety_net_heroku.gemspec} +4 -4
- metadata +8 -8
- data/lib/safety_net/version.rb +0 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3d980c0aecf55ecccff0fe9699cadb2df3fa403923c68509fea4b0b4294ff847
|
4
|
+
data.tar.gz: 17bed72bc17641f432ec2f70e87f4b614674ba734000a51c46b4705472673183
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aee358e251a00bfb6372333ca5a71f3687ecb803ca431100b4da5c7636711c04bf214247b9a8a887485b981a6610963fb993e253a5c43c01967f81d3844b5ab1
|
7
|
+
data.tar.gz: 47a8567c08419e1f8779c76cae1bd1267052659c42d8511fc1676add7bc0a13843c2e2af06a6aec9c22e1f5f7dfdd11965c67fa50f72c1d4f9174eb69a84b467
|
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
#
|
1
|
+
# SafetyNetHeroku
|
2
2
|
|
3
|
-
Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/
|
3
|
+
Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/safety_net_heroku`. To experiment with that code, run `bin/console` for an interactive prompt.
|
4
4
|
|
5
5
|
TODO: Delete this and the text above, and describe your gem
|
6
6
|
|
@@ -9,7 +9,7 @@ TODO: Delete this and the text above, and describe your gem
|
|
9
9
|
Add this line to your application's Gemfile:
|
10
10
|
|
11
11
|
```ruby
|
12
|
-
gem '
|
12
|
+
gem 'safety_net_heroku'
|
13
13
|
```
|
14
14
|
|
15
15
|
And then execute:
|
@@ -18,7 +18,7 @@ And then execute:
|
|
18
18
|
|
19
19
|
Or install it yourself as:
|
20
20
|
|
21
|
-
$ gem install
|
21
|
+
$ gem install safety_net_heroku
|
22
22
|
|
23
23
|
## Usage
|
24
24
|
|
@@ -32,7 +32,7 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
|
|
32
32
|
|
33
33
|
## Contributing
|
34
34
|
|
35
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/
|
35
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/safety_net_heroku.
|
36
36
|
|
37
37
|
## License
|
38
38
|
|
data/bin/console
CHANGED
@@ -1,8 +1,7 @@
|
|
1
|
-
require
|
2
|
-
require
|
3
|
-
|
4
|
-
module SafetyNet
|
1
|
+
require "safety_net_heroku/version"
|
2
|
+
#require "safety_net_heroku/backup_database_worker"
|
5
3
|
|
4
|
+
module SafetyNetHeroku
|
6
5
|
def self.config
|
7
6
|
@config ||= {
|
8
7
|
:database_name => nil,
|
@@ -11,5 +10,4 @@ module SafetyNet
|
|
11
10
|
:aws_backups_directory => nil
|
12
11
|
}
|
13
12
|
end
|
14
|
-
|
15
13
|
end
|
@@ -1,23 +1,23 @@
|
|
1
1
|
|
2
2
|
lib = File.expand_path("../lib", __FILE__)
|
3
3
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
-
require "
|
4
|
+
require "safety_net_heroku/version"
|
5
5
|
|
6
6
|
Gem::Specification.new do |spec|
|
7
7
|
spec.name = "safety_net_heroku"
|
8
|
-
spec.version =
|
8
|
+
spec.version = SafetyNetHeroku::VERSION
|
9
9
|
spec.authors = ["daltron"]
|
10
10
|
spec.email = ["daltonhint4@gmail.com"]
|
11
11
|
|
12
12
|
spec.summary = "A simple gem for backing up a MongoDB database to AWS when hosted on Heroku using a Sidekiq worker."
|
13
|
-
spec.homepage = "https://github.com/daltron/
|
13
|
+
spec.homepage = "https://github.com/daltron/safety_net_heroku"
|
14
14
|
spec.license = "MIT"
|
15
15
|
|
16
16
|
# Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
|
17
17
|
# to allow pushing to a single host or delete this section to allow pushing to any host.
|
18
18
|
if spec.respond_to?(:metadata)
|
19
19
|
spec.metadata["homepage_uri"] = spec.homepage
|
20
|
-
spec.metadata["source_code_uri"] =
|
20
|
+
spec.metadata["source_code_uri"] = spec.homepage
|
21
21
|
else
|
22
22
|
raise "RubyGems 2.0 or newer is required to protect against " \
|
23
23
|
"public gem pushes."
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: safety_net_heroku
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- daltron
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-03-
|
11
|
+
date: 2021-03-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -80,15 +80,15 @@ files:
|
|
80
80
|
- Rakefile
|
81
81
|
- bin/console
|
82
82
|
- bin/setup
|
83
|
-
- lib/
|
84
|
-
- lib/
|
85
|
-
-
|
86
|
-
homepage: https://github.com/daltron/
|
83
|
+
- lib/safety_net_heroku.rb
|
84
|
+
- lib/safety_net_heroku/version.rb
|
85
|
+
- safety_net_heroku.gemspec
|
86
|
+
homepage: https://github.com/daltron/safety_net_heroku
|
87
87
|
licenses:
|
88
88
|
- MIT
|
89
89
|
metadata:
|
90
|
-
homepage_uri: https://github.com/daltron/
|
91
|
-
source_code_uri: https://github.com/daltron/
|
90
|
+
homepage_uri: https://github.com/daltron/safety_net_heroku
|
91
|
+
source_code_uri: https://github.com/daltron/safety_net_heroku
|
92
92
|
post_install_message:
|
93
93
|
rdoc_options: []
|
94
94
|
require_paths:
|
data/lib/safety_net/version.rb
DELETED