rsyncbackup 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,7 @@
1
1
  ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- Mzk3NmFhYzYyMTBjNTczMjlmNDA3YjZmYjA4YmJhZjhkY2RmM2Y3Zg==
5
- data.tar.gz: !binary |-
6
- MjQxNzIxZTE0NTZmZDNmM2RiZDExNTdhOTQ5OGE1Y2E2NTI4MzA4Nw==
7
- !binary "U0hBNTEy":
8
- metadata.gz: !binary |-
9
- NjMzOTRiMGY0MWFmOTU0ZTFhNGQ0MDgzNTM1ZTkzZjY0OTBlMDcxM2UzYjJh
10
- NzIxZTI5MDIzM2QzMjUxMzMyZTJhZTRiZjQ0ZmI2OTVhZjVjNDUyNDZkZDMy
11
- ZTkxOTM0ZWJmODc1MmI1YjljMjBhNDJiMTkyNzY1M2M1N2EyN2Q=
12
- data.tar.gz: !binary |-
13
- MWQ2ZTUzYmY3YThjNDNjMmU4YTBiNDc1ZWUyZWM5ZjNmY2RlMmM0NGM3MDM5
14
- ODE1Y2UyNDhhN2QwODIyMzM4OGE2ODliNDZiZmMwMDcxMjBkODdlZDJlNDE2
15
- Mzk3NTUyMjkxYzViMzM3ODc3ODcxYWFjYzJhOGZkYmQ4ZWU3NDk=
2
+ SHA1:
3
+ metadata.gz: 0f1c4c7af03358f1499ebef373e6a9c5af6072bd
4
+ data.tar.gz: 3a54c37da4b5b410863386ef36cad4b05bb36e1f
5
+ SHA512:
6
+ metadata.gz: 333ee341e30f1473da74257b7649f133629468157f69b6367659b6bbf8401ff2bf82cdb213b58053b475e7ff224f33e3a313200a3ca7c18242ffc9fcea5c75c9
7
+ data.tar.gz: 834d0dde48b97916d665275f52055744364f58e8ca9a2522242f3025d5996a403816bd15583917dbd65bdd4f5dc1d8bbb1163ddff0326ed98b29a2e8ac0731a9
data/.gitignore CHANGED
@@ -6,3 +6,4 @@ features/test_files/target/*
6
6
  !features/test_files/target/.gitkeep
7
7
  *.gem
8
8
  tmp/
9
+ Gemfile.lock
@@ -31,7 +31,7 @@ class Rsyncbackup
31
31
  cmd << "'#{options[:source]}'"
32
32
  cmd << "'#{temp_target_path}'"
33
33
 
34
- cmd.join(' ').tap{|t| debug "Command: #{t}" }
34
+ cmd.join(' ').tap{|t| debug "#{caller[0]} Command: #{t}" }
35
35
 
36
36
  end
37
37
 
@@ -1,4 +1,4 @@
1
1
  class Rsyncbackup
2
- VERSION = "1.0.1"
2
+ VERSION = "1.0.2"
3
3
  DEFAULT_EXCLUSIONS = File.expand_path('.rsyncbackup.exclusions', ENV['HOME'])
4
4
  end
data/lib/rsyncbackup.rb CHANGED
@@ -30,7 +30,7 @@ class Rsyncbackup
30
30
  logger.level=Logger::INFO
31
31
  end
32
32
 
33
- debug "options: #{options.inspect}"
33
+ debug "#{caller[0]}options: #{options.inspect}"
34
34
 
35
35
  end
36
36
 
metadata CHANGED
@@ -1,41 +1,41 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rsyncbackup
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tamara Temple
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-02-28 00:00:00.000000000 Z
11
+ date: 2013-08-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rdoc
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ! '>='
17
+ - - '>='
18
18
  - !ruby/object:Gem::Version
19
19
  version: '0'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ! '>='
24
+ - - '>='
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: aruba
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ! '>='
31
+ - - '>='
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ! '>='
38
+ - - '>='
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  - !ruby/object:Gem::Dependency
@@ -56,14 +56,14 @@ dependencies:
56
56
  name: rspec
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ! '>='
59
+ - - '>='
60
60
  - !ruby/object:Gem::Version
61
61
  version: '0'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - ! '>='
66
+ - - '>='
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
69
  - !ruby/object:Gem::Dependency
@@ -90,9 +90,7 @@ extra_rdoc_files: []
90
90
  files:
91
91
  - .gitignore
92
92
  - .rspec
93
- - .rvmrc
94
93
  - Gemfile
95
- - Gemfile.lock
96
94
  - LICENSE.txt
97
95
  - README.md
98
96
  - README.rdoc
@@ -127,17 +125,17 @@ require_paths:
127
125
  - lib
128
126
  required_ruby_version: !ruby/object:Gem::Requirement
129
127
  requirements:
130
- - - ! '>='
128
+ - - '>='
131
129
  - !ruby/object:Gem::Version
132
130
  version: '0'
133
131
  required_rubygems_version: !ruby/object:Gem::Requirement
134
132
  requirements:
135
- - - ! '>='
133
+ - - '>='
136
134
  - !ruby/object:Gem::Version
137
135
  version: '0'
138
136
  requirements: []
139
137
  rubyforge_project:
140
- rubygems_version: 2.0.0
138
+ rubygems_version: 2.0.3
141
139
  signing_key:
142
140
  specification_version: 4
143
141
  summary: Yet another rsyncbackup script, this time in ruby
data/.rvmrc DELETED
@@ -1,48 +0,0 @@
1
- #!/usr/bin/env bash
2
-
3
- # This is an RVM Project .rvmrc file, used to automatically load the ruby
4
- # development environment upon cd'ing into the directory
5
-
6
- # First we specify our desired <ruby>[@<gemset>], the @gemset name is optional,
7
- # Only full ruby name is supported here, for short names use:
8
- # echo "rvm use 1.9.3" > .rvmrc
9
- environment_id="ruby-1.9.3-p392@rsyncbackup"
10
-
11
- # Uncomment the following lines if you want to verify rvm version per project
12
- # rvmrc_rvm_version="1.18.15 (stable)" # 1.10.1 seams as a safe start
13
- # eval "$(echo ${rvm_version}.${rvmrc_rvm_version} | awk -F. '{print "[[ "$1*65536+$2*256+$3" -ge "$4*65536+$5*256+$6" ]]"}' )" || {
14
- # echo "This .rvmrc file requires at least RVM ${rvmrc_rvm_version}, aborting loading."
15
- # return 1
16
- # }
17
-
18
- # First we attempt to load the desired environment directly from the environment
19
- # file. This is very fast and efficient compared to running through the entire
20
- # CLI and selector. If you want feedback on which environment was used then
21
- # insert the word 'use' after --create as this triggers verbose mode.
22
- if [[ -d "${rvm_path:-$HOME/.rvm}/environments"
23
- && -s "${rvm_path:-$HOME/.rvm}/environments/$environment_id" ]]
24
- then
25
- \. "${rvm_path:-$HOME/.rvm}/environments/$environment_id"
26
- [[ -s "${rvm_path:-$HOME/.rvm}/hooks/after_use" ]] &&
27
- \. "${rvm_path:-$HOME/.rvm}/hooks/after_use" || true
28
- else
29
- # If the environment file has not yet been created, use the RVM CLI to select.
30
- rvm --create "$environment_id" || {
31
- echo "Failed to create RVM environment '${environment_id}'."
32
- return 1
33
- }
34
- fi
35
-
36
- # If you use bundler, this might be useful to you:
37
- # if [[ -s Gemfile ]] && {
38
- # ! builtin command -v bundle >/dev/null ||
39
- # builtin command -v bundle | GREP_OPTIONS= \grep $rvm_path/bin/bundle >/dev/null
40
- # }
41
- # then
42
- # printf "%b" "The rubygem 'bundler' is not installed. Installing it now.\n"
43
- # gem install bundler
44
- # fi
45
- # if [[ -s Gemfile ]] && builtin command -v bundle >/dev/null
46
- # then
47
- # bundle install | GREP_OPTIONS= \grep -vE '^Using|Your bundle is complete'
48
- # fi
data/Gemfile.lock DELETED
@@ -1,49 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- rsyncbackup (1.0.1)
5
- methadone (~> 1.2.4)
6
-
7
- GEM
8
- remote: https://rubygems.org/
9
- specs:
10
- aruba (0.5.1)
11
- childprocess (~> 0.3.6)
12
- cucumber (>= 1.1.1)
13
- rspec-expectations (>= 2.7.0)
14
- builder (3.1.4)
15
- childprocess (0.3.7)
16
- ffi (~> 1.0, >= 1.0.6)
17
- cucumber (1.2.1)
18
- builder (>= 2.1.2)
19
- diff-lcs (>= 1.1.3)
20
- gherkin (~> 2.11.0)
21
- json (>= 1.4.6)
22
- diff-lcs (1.1.3)
23
- ffi (1.3.1)
24
- gherkin (2.11.6)
25
- json (>= 1.7.6)
26
- json (1.7.6)
27
- methadone (1.2.4)
28
- bundler
29
- rake (0.9.6)
30
- rdoc (3.12.1)
31
- json (~> 1.4)
32
- rspec (2.12.0)
33
- rspec-core (~> 2.12.0)
34
- rspec-expectations (~> 2.12.0)
35
- rspec-mocks (~> 2.12.0)
36
- rspec-core (2.12.2)
37
- rspec-expectations (2.12.1)
38
- diff-lcs (~> 1.1.3)
39
- rspec-mocks (2.12.2)
40
-
41
- PLATFORMS
42
- ruby
43
-
44
- DEPENDENCIES
45
- aruba
46
- rake (~> 0.9.2)
47
- rdoc
48
- rspec
49
- rsyncbackup!