rdiff-simple 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/.coveralls.yml ADDED
@@ -0,0 +1 @@
1
+ service_name: travis-ci
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --color
2
+ --format progress
3
+ --order random
data/.travis.yml ADDED
@@ -0,0 +1,8 @@
1
+ language: ruby
2
+ before_install:
3
+ - gem update --system
4
+ rvm:
5
+ - 1.8.7
6
+ - 1.9.2
7
+ - 1.9.3
8
+ - 2.0.0
data/Gemfile CHANGED
@@ -1 +1,4 @@
1
1
  source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in rdiff-simple.gemspec
4
+ gemspec
data/README.md CHANGED
@@ -1,6 +1,16 @@
1
1
  # rdiff-simple
2
2
 
3
- A simpler way to backup with rdiff-backup
3
+ [![Gem Version](https://badge.fury.io/rb/rdiff-simple.png)](http://badge.fury.io/rb/rdiff-simple)
4
+ [![Build Status](https://travis-ci.org/ketiko/rdiff-simple.png?branch=master)](https://travis-ci.org/ketiko/rdiff-simple)
5
+ [![Dependency Status](https://gemnasium.com/ketiko/rdiff-simple.png)](https://gemnasium.com/ketiko/rdiff-simple)
6
+ [![Code Climate](https://codeclimate.com/github/ketiko/rdiff-simple.png)](https://codeclimate.com/github/ketiko/rdiff-simple)
7
+ [![Coverage Status](https://coveralls.io/repos/ketiko/rdiff-simple/badge.png)](https://coveralls.io/r/ketiko/rdiff-simple)
8
+
9
+ A simple wrapper around rdiff-backup
10
+
11
+ * [Source Code](http://github.com/ketiko/rdiff-simple)
12
+ * [API documentation](http://rubydoc.info/github/ketiko/rdiff-simple/master)
13
+ * [Rubygem](http://rubygems.org/gems/rdiff-simple)
4
14
 
5
15
  ## Installation
6
16
 
@@ -9,3 +19,9 @@ $ gem install rdiff-simple
9
19
  ## Usage
10
20
 
11
21
  $ rdiff-simple
22
+
23
+ ## License
24
+
25
+ Released under the MIT License. See the [LICENSE][] file for further details.
26
+
27
+ [license]: LICENSE.txt
data/Rakefile CHANGED
@@ -1 +1,8 @@
1
- require "bundler/gem_tasks"
1
+ require 'rubygems'
2
+ require 'bundler/setup'
3
+ require 'bundler/gem_tasks'
4
+ require 'rspec/core/rake_task'
5
+
6
+ RSpec::Core::RakeTask.new(:spec)
7
+
8
+ task :default => :spec
@@ -0,0 +1 @@
1
+ require "rdiff_simple/version"
@@ -1,3 +1,3 @@
1
1
  module RdiffSimple
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
data/rdiff-simple.gemspec CHANGED
@@ -1,15 +1,15 @@
1
1
  # coding: utf-8
2
2
  lib = File.expand_path('../lib', __FILE__)
3
3
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
- require 'rdiff-simple/version'
4
+ require 'rdiff_simple/version'
5
5
 
6
6
  Gem::Specification.new do |spec|
7
7
  spec.name = "rdiff-simple"
8
8
  spec.version = RdiffSimple::VERSION
9
9
  spec.authors = ["Ryan Hansen"]
10
10
  spec.email = ["ketiko@gmail.com"]
11
- spec.description = %q{A simplier way to backup with rdiff-backup}
12
- spec.summary = %q{Simplified backups with rdiff-backup}
11
+ spec.description = %q{A wrapper around the rdiff-backup executable}
12
+ spec.summary = %q{A simple wrapper around rdiff-backup}
13
13
  spec.homepage = "http://github.com/ketiko/rdiff-simple"
14
14
  spec.license = "MIT"
15
15
 
@@ -22,5 +22,7 @@ Gem::Specification.new do |spec|
22
22
  spec.rdoc_options = [ "--charset=UTF-8" ]
23
23
 
24
24
  spec.add_development_dependency "bundler", "~> 1.3"
25
+ spec.add_development_dependency "rspec", "~> 2"
25
26
  spec.add_development_dependency "rake"
27
+ spec.add_development_dependency "coveralls"
26
28
  end
@@ -0,0 +1,7 @@
1
+ require 'spec_helper'
2
+
3
+ describe RdiffSimple do
4
+ it "should be defined" do
5
+ defined?(RdiffSimple).should == 'constant'
6
+ end
7
+ end
@@ -0,0 +1,20 @@
1
+ require 'rubygems'
2
+ require 'bundler/setup'
3
+
4
+ if RUBY_VERSION > "1.9"
5
+ if ENV['TRAVIS']
6
+ require 'coveralls'
7
+ Coveralls.wear!
8
+ else
9
+ require 'simplecov'
10
+ SimpleCov.start
11
+ end
12
+ end
13
+
14
+ require 'rdiff_simple'
15
+
16
+ RSpec.configure do |config|
17
+ config.treat_symbols_as_metadata_keys_with_true_values = true
18
+ config.run_all_when_everything_filtered = true
19
+ end
20
+
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rdiff-simple
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-06-21 00:00:00.000000000 Z
12
+ date: 2013-06-25 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
@@ -27,6 +27,22 @@ dependencies:
27
27
  - - ~>
28
28
  - !ruby/object:Gem::Version
29
29
  version: '1.3'
30
+ - !ruby/object:Gem::Dependency
31
+ name: rspec
32
+ requirement: !ruby/object:Gem::Requirement
33
+ none: false
34
+ requirements:
35
+ - - ~>
36
+ - !ruby/object:Gem::Version
37
+ version: '2'
38
+ type: :development
39
+ prerelease: false
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ~>
44
+ - !ruby/object:Gem::Version
45
+ version: '2'
30
46
  - !ruby/object:Gem::Dependency
31
47
  name: rake
32
48
  requirement: !ruby/object:Gem::Requirement
@@ -43,25 +59,44 @@ dependencies:
43
59
  - - ! '>='
44
60
  - !ruby/object:Gem::Version
45
61
  version: '0'
46
- description: A simplier way to backup with rdiff-backup
62
+ - !ruby/object:Gem::Dependency
63
+ name: coveralls
64
+ requirement: !ruby/object:Gem::Requirement
65
+ none: false
66
+ requirements:
67
+ - - ! '>='
68
+ - !ruby/object:Gem::Version
69
+ version: '0'
70
+ type: :development
71
+ prerelease: false
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ! '>='
76
+ - !ruby/object:Gem::Version
77
+ version: '0'
78
+ description: A wrapper around the rdiff-backup executable
47
79
  email:
48
80
  - ketiko@gmail.com
49
- executables:
50
- - rdiff-simple
81
+ executables: []
51
82
  extensions: []
52
83
  extra_rdoc_files:
53
84
  - LICENSE.txt
54
85
  - README.md
55
86
  files:
87
+ - .coveralls.yml
56
88
  - .gitignore
89
+ - .rspec
90
+ - .travis.yml
57
91
  - Gemfile
58
92
  - LICENSE.txt
59
93
  - README.md
60
94
  - Rakefile
61
- - bin/rdiff-simple
62
- - lib/rdiff-simple.rb
63
- - lib/rdiff-simple/version.rb
95
+ - lib/rdiff_simple.rb
96
+ - lib/rdiff_simple/version.rb
64
97
  - rdiff-simple.gemspec
98
+ - spec/rdiff_simple_spec.rb
99
+ - spec/spec_helper.rb
65
100
  homepage: http://github.com/ketiko/rdiff-simple
66
101
  licenses:
67
102
  - MIT
@@ -76,16 +111,24 @@ required_ruby_version: !ruby/object:Gem::Requirement
76
111
  - - ! '>='
77
112
  - !ruby/object:Gem::Version
78
113
  version: '0'
114
+ segments:
115
+ - 0
116
+ hash: 2026952248662311862
79
117
  required_rubygems_version: !ruby/object:Gem::Requirement
80
118
  none: false
81
119
  requirements:
82
120
  - - ! '>='
83
121
  - !ruby/object:Gem::Version
84
122
  version: '0'
123
+ segments:
124
+ - 0
125
+ hash: 2026952248662311862
85
126
  requirements: []
86
127
  rubyforge_project:
87
128
  rubygems_version: 1.8.23
88
129
  signing_key:
89
130
  specification_version: 3
90
- summary: Simplified backups with rdiff-backup
91
- test_files: []
131
+ summary: A simple wrapper around rdiff-backup
132
+ test_files:
133
+ - spec/rdiff_simple_spec.rb
134
+ - spec/spec_helper.rb
data/bin/rdiff-simple DELETED
@@ -1,5 +0,0 @@
1
- #!/usr/bin/env ruby
2
-
3
- require 'rdiff-simple'
4
-
5
- puts "Usage: rdiff-simple"
data/lib/rdiff-simple.rb DELETED
@@ -1,5 +0,0 @@
1
- require "rdiff-simple/version"
2
-
3
- module RdiffSimple
4
-
5
- end