safety_net_heroku 1.0.0 → 1.0.1

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
  SHA256:
3
- metadata.gz: d5cf28cdda05d06ed894d5974d8e23cca724b2cea09b5f1b1e9745423ee47cf5
4
- data.tar.gz: ed22ed5a57c7978bceb1f62bdda328d308855adc3063dd938f9445db73886cb9
3
+ metadata.gz: 3d980c0aecf55ecccff0fe9699cadb2df3fa403923c68509fea4b0b4294ff847
4
+ data.tar.gz: 17bed72bc17641f432ec2f70e87f4b614674ba734000a51c46b4705472673183
5
5
  SHA512:
6
- metadata.gz: f03026cffcbb6af8d9c27198ff763ea30f428b0a5ea6100a7c862cca797f6da5b954a24e6d49e1e04cc92cc4e9b7b366e9ee7ca45b364ec979d426c7106c7814
7
- data.tar.gz: 287a80dade0285d75d94d2fcbd0d5fb14d71c6ec70063a96dd1532314a08793b0830a6f389167b5790d4ebaec521c2b267d567154d33fe873b13efb1d6e61a21
6
+ metadata.gz: aee358e251a00bfb6372333ca5a71f3687ecb803ca431100b4da5c7636711c04bf214247b9a8a887485b981a6610963fb993e253a5c43c01967f81d3844b5ab1
7
+ data.tar.gz: 47a8567c08419e1f8779c76cae1bd1267052659c42d8511fc1676add7bc0a13843c2e2af06a6aec9c22e1f5f7dfdd11965c67fa50f72c1d4f9174eb69a84b467
data/Gemfile CHANGED
@@ -2,5 +2,5 @@ source "https://rubygems.org"
2
2
 
3
3
  git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
4
4
 
5
- # Specify your gem's dependencies in safety_net.gemspec
5
+ # Specify your gem's dependencies in safety_net_heroku.gemspec
6
6
  gemspec
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
- # SafetyNet
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/safety_net`. To experiment with that code, run `bin/console` for an interactive prompt.
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 'safety_net'
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 safety_net
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]/safety_net.
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,7 +1,7 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
3
  require "bundler/setup"
4
- require "safety_net"
4
+ require "safety_net_heroku"
5
5
 
6
6
  # You can add fixtures and/or initialization code here to make experimenting
7
7
  # with your gem easier. You can also use a different console, if you like.
@@ -1,8 +1,7 @@
1
- require 'safety_net/version'
2
- require 'safety_net/backup_database_worker'
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
@@ -0,0 +1,3 @@
1
+ module SafetyNetHeroku
2
+ VERSION = "1.0.1"
3
+ 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 "safety_net/version"
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 = SafetyNet::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/SafetyNet"
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"] = "https://github.com/daltron/SafetyNet"
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.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-14 00:00:00.000000000 Z
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/safety_net.rb
84
- - lib/safety_net/version.rb
85
- - safety_net.gemspec
86
- homepage: https://github.com/daltron/SafetyNet
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/SafetyNet
91
- source_code_uri: https://github.com/daltron/SafetyNet
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:
@@ -1,3 +0,0 @@
1
- module SafetyNet
2
- VERSION = "1.0.0"
3
- end