dir2svn 0.1.0 → 0.1.1

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: d4f2af29be30d12a177d853d184732cfe8df5385
4
- data.tar.gz: 35c4acf1f766e13b014ba63ce4af761c57a4444d
3
+ metadata.gz: fac7b44e5cafbf87dd47edd31dafa82819e82191
4
+ data.tar.gz: 69db4c22ffb457c2d9aaea16a2ff64611667904a
5
5
  SHA512:
6
- metadata.gz: b2ff9603bb48f1c22efa6d3a28ff388b62e166605641d9d0a9881546b46f6c810309bc00aafe5c2f9341e3f1c7380b5cd0ceb680b57004b33bf998c455317706
7
- data.tar.gz: d10adf0fc19a1070968b430c0e3b0a1981e4cace2f19ade59dc87e955fc5dea21b0140e05275ad091c9f0ef0dc5b6f560521dd779c611a6536f4620915aed9b0
6
+ metadata.gz: f77653088804fb15587adc5b1458a6ccadb8030c406e77aab6f7358e077e995e952840b359532d6951f64a4f60491b1531f84c022e77afdc323bfdeab1d75411
7
+ data.tar.gz: 3a5a4c99c55745f1f0e0935c7734df38d7f560ad07193b53547b8c1fd00eec46163d37c35d3bb4b129e312fc721f0ddf68b7099aaee0dd14653847e0a046c6a3
data/README.md ADDED
@@ -0,0 +1,45 @@
1
+ # Dir2svn
2
+
3
+ Sync a folder to a Subversion working copy. This gem will make the working copy folder equal to
4
+ source folder. It will update, add, remove files and folders using Subversion commands untill
5
+ the working copy folder is equal to the source folder.
6
+
7
+ ## Installation
8
+
9
+ Add this line to your application's Gemfile:
10
+
11
+ gem 'dir2svn'
12
+
13
+ And then execute:
14
+
15
+ $ bundle install
16
+
17
+ Or install it yourself as:
18
+
19
+ $ gem install dir2svn
20
+
21
+ ## Test
22
+
23
+ rspec spec/*
24
+
25
+ ## Build
26
+
27
+ Build and install
28
+
29
+ gem build dir2svn.gemspec
30
+ gem install dir2svn-0.1.0.gem
31
+ gem inabox dir2svn-0.1.0.gem # if using geminabox
32
+ gem push dir2svn-0.1.0.gem # publish to rubygems.org
33
+
34
+ ## Usage
35
+
36
+ require 'dir2svn'
37
+ dir2svn = Dir2svn::Sync.new('tmp/source','tmp/wc/folder1/folder2/folder4')
38
+ dir2svn.run
39
+
40
+ Or using the executable
41
+
42
+ dir2svn tmp/source tmp/wc/folder1/folder2/folder4 --silent
43
+
44
+
45
+
data/dir2svn.gemspec CHANGED
@@ -15,7 +15,7 @@ Gem::Specification.new do |spec|
15
15
  spec.license = "MIT"
16
16
 
17
17
  #spec.files = `svn ls -R`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
18
- spec.files = ['exe/dir2svn','lib/dir2svn.rb','lib/dir2svn/version.rb','dir2svn.gemspec','Gemfile','Rakefile']
18
+ spec.files = ['exe/dir2svn','lib/dir2svn.rb','lib/dir2svn/version.rb','dir2svn.gemspec','Gemfile','Rakefile', 'README.md']
19
19
  spec.bindir = "exe"
20
20
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
21
21
  spec.require_paths = ["lib"]
@@ -1,3 +1,3 @@
1
1
  module Dir2svn
2
- VERSION = "0.1.0"
2
+ VERSION = '0.1.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dir2svn
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Onno
@@ -104,6 +104,7 @@ extensions: []
104
104
  extra_rdoc_files: []
105
105
  files:
106
106
  - Gemfile
107
+ - README.md
107
108
  - Rakefile
108
109
  - dir2svn.gemspec
109
110
  - exe/dir2svn