backup-rails 1.0.3 → 1.0.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3650c9daea20c5c0fd1ee72d26c378f4c998fc64
4
- data.tar.gz: 48fca01f56c14a0a46ffb9af6d222a0c0f1f8c9b
3
+ metadata.gz: f8cd2e4d9e64049a721765d72e290e764049e39d
4
+ data.tar.gz: 3f6d172c14532cf5f3087713deeb8f8afd7fc597
5
5
  SHA512:
6
- metadata.gz: cdc4b4ff19ceede076f31970807c11a8b4543036f41f14b94a447fabd4cc5797d1799622ae28473dbb282a2e4377c4427ec015b87a5d6628bd28f64ba9bda53b
7
- data.tar.gz: 9221971dab63fb7bb5bdf141eb76b5d4475ff771f7da740641d8a435837cb4a8c34efe7a5fd93d1c28affee031bf276f50f72aa9ff8035727e0039e1c93cbe0e
6
+ metadata.gz: f20d4af065b31de09866b4805cb75cc6064a24e51384d095e98c15fbcc3cf0a43bb855c3ea556cd71fd03767562faa5c3ce35999f6e1076fddfa28c614fa62f4
7
+ data.tar.gz: c5ed381c6fac0c32ad900ada7718e3c6a72100afde4192b6f388451f8fa018c7f1ba5a5ac232f15798ea5a871b532d512beb9cd90be3d917cf5fdfc540fb296a
data/.gitignore CHANGED
@@ -3,7 +3,7 @@
3
3
  .bundle
4
4
  .config
5
5
  .yardoc
6
- .env
6
+ /.env
7
7
  Gemfile.lock
8
8
  InstalledFiles
9
9
  _yardoc
data/Gemfile CHANGED
@@ -18,10 +18,6 @@ group :development, :test do
18
18
  gem 'bson_ext'
19
19
  end
20
20
 
21
- gem 'backup'
22
- gem 'whenever'
23
- gem 'dotenv-rails'
24
-
25
21
  # Specify your gem's dependencies in backup-rails.gemspec
26
22
  gemspec
27
23
 
data/backup-rails.gemspec CHANGED
@@ -18,11 +18,11 @@ Gem::Specification.new do |gem|
18
18
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
19
19
  gem.require_paths = ["lib"]
20
20
 
21
- #gem.add_runtime_dependency 'backup', '>= 3.10.0'
22
- #gem.add_runtime_dependency 'whenever'
23
- #gem.add_runtime_dependency 'dotenv-rails'
24
- #gem.add_runtime_dependency 'fog', '~> 1.9'
25
- #gem.add_runtime_dependency 'net-ssh', '>= 2.3.0', '<= 2.5.2'
26
- #gem.add_runtime_dependency 'excon', '~> 0.17.0'
21
+ gem.add_runtime_dependency 'backup', '= 3.4.0'
22
+ gem.add_runtime_dependency 'whenever'
23
+ gem.add_runtime_dependency 'dotenv-rails'
24
+ gem.add_runtime_dependency 'fog', '~> 1.9.0'
25
+ gem.add_runtime_dependency 'net-ssh', '>= 2.3.0', '<= 2.5.2'
26
+ gem.add_runtime_dependency 'excon', '~> 0.17.0'
27
27
  end
28
28
 
@@ -1,5 +1,5 @@
1
1
  module Backup
2
2
  module Rails
3
- VERSION = "1.0.3"
3
+ VERSION = "1.0.4"
4
4
  end
5
5
  end
@@ -0,0 +1,37 @@
1
+ ###
2
+ # if set SSL_PASSWORD
3
+ # archive will crypt with SSL and password
4
+ #
5
+ # Example:
6
+ # SSL_PASSWORD="fajsdfhIUHDLK"
7
+
8
+ ###
9
+ # if set LOCAL_PATH
10
+ # archive will copy in the local path
11
+ #
12
+ # Example:
13
+ # LOCAL_PATH="$HOME/backups"
14
+
15
+ ###
16
+ # if set S3_ACCESS_KEY_ID, S3_SECRET_ACCESS_KEY, S3_BUCKET
17
+ # archive will send to AMAZON S3 service
18
+ #
19
+ # Example:
20
+ # S3_ACCESS_KEY_ID="AKJHFKDHKDJZ76JHKJ4Q"
21
+ # S3_SECRET_ACCESS_KEY="lMz1zjhjKHJhfdjhFJtnv+o,mnnbMBNmASSVbwgm"
22
+ # S3_REGION="us-east-1"
23
+ # S3_BUCKET="backups"
24
+
25
+ ###
26
+ # if set NOTIFY_MAIL_USER_NAME
27
+ # you will receive notification about backup process by mail
28
+ #
29
+ # Example:
30
+ # NOTIFY_MAIL_FROM="sender@email.com"
31
+ # NOTIFY_MAIL_TO="receiver@email.com"
32
+ # NOTIFY_MAIL_ADDRESS="smtp.gmail.com"
33
+ # NOTIFY_MAIL_PORT=587
34
+ # NOTIFY_MAIL_DOMAIN="your.host.name"
35
+ # NOTIFY_MAIL_USER_NAME="sender@email.com"
36
+ # NOTIFY_MAIL_PASSWORD="my_password"
37
+ # NOTIFY_MAIL_AUTHENTICATION="plain"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: backup-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Oleg Bavaev
@@ -9,7 +9,97 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
  date: 2014-01-11 00:00:00.000000000 Z
12
- dependencies: []
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: backup
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - '='
18
+ - !ruby/object:Gem::Version
19
+ version: 3.4.0
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - '='
25
+ - !ruby/object:Gem::Version
26
+ version: 3.4.0
27
+ - !ruby/object:Gem::Dependency
28
+ name: whenever
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: dotenv-rails
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: fog
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: 1.9.0
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: 1.9.0
69
+ - !ruby/object:Gem::Dependency
70
+ name: net-ssh
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: 2.3.0
76
+ - - "<="
77
+ - !ruby/object:Gem::Version
78
+ version: 2.5.2
79
+ type: :runtime
80
+ prerelease: false
81
+ version_requirements: !ruby/object:Gem::Requirement
82
+ requirements:
83
+ - - ">="
84
+ - !ruby/object:Gem::Version
85
+ version: 2.3.0
86
+ - - "<="
87
+ - !ruby/object:Gem::Version
88
+ version: 2.5.2
89
+ - !ruby/object:Gem::Dependency
90
+ name: excon
91
+ requirement: !ruby/object:Gem::Requirement
92
+ requirements:
93
+ - - "~>"
94
+ - !ruby/object:Gem::Version
95
+ version: 0.17.0
96
+ type: :runtime
97
+ prerelease: false
98
+ version_requirements: !ruby/object:Gem::Requirement
99
+ requirements:
100
+ - - "~>"
101
+ - !ruby/object:Gem::Version
102
+ version: 0.17.0
13
103
  description: Backup rails project with backup & whenever gems
14
104
  email:
15
105
  - jesoba7@gmail.com
@@ -30,6 +120,7 @@ files:
30
120
  - lib/backup-rails.rb
31
121
  - lib/backup-rails/version.rb
32
122
  - lib/generators/backup/rails/install_generator.rb
123
+ - lib/generators/backup/rails/templates/.env
33
124
  - lib/generators/backup/rails/templates/general.rb
34
125
  - lib/generators/backup/rails/templates/schedule.rb
35
126
  - lib/tasks/backup.rake