zipit 0.3.3 → 0.3.4
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/zipit.rb +2 -2
- data/zipit.gemspec +4 -4
- metadata +11 -4
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.3.
|
1
|
+
0.3.4
|
data/lib/zipit.rb
CHANGED
@@ -50,7 +50,7 @@ end
|
|
50
50
|
def zip_cmd_line params
|
51
51
|
zipit = Zipit.new
|
52
52
|
|
53
|
-
archive = params[0].nil? ? "
|
53
|
+
archive = params[0].nil? ? "#{File.basename(Dir.pwd)}.zip" : params[0]
|
54
54
|
dir = params[1].nil? ? "." : params[1]
|
55
55
|
|
56
56
|
zipit.create_zip_file(
|
@@ -61,7 +61,7 @@ end
|
|
61
61
|
def zip params
|
62
62
|
zipit = Zipit.new
|
63
63
|
|
64
|
-
archive = params[:archive].nil? ? "
|
64
|
+
archive = params[:archive].nil? ? "#{File.basename(Dir.pwd)}.zip" : params[:archive]
|
65
65
|
dir = params[:dir].nil? ? "." : params[:dir]
|
66
66
|
|
67
67
|
zipit.create_zip_file(
|
data/zipit.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{zipit}
|
8
|
-
s.version = "0.3.
|
8
|
+
s.version = "0.3.4"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Alexander Shvets"]
|
12
|
-
s.date = %q{2010-
|
12
|
+
s.date = %q{2010-08-19}
|
13
13
|
s.default_executable = %q{zipit}
|
14
14
|
s.description = %q{Rake helper for zipping/unzipping project files.}
|
15
15
|
s.email = %q{alexander.shvets@gmail.com}
|
@@ -31,14 +31,14 @@ Gem::Specification.new do |s|
|
|
31
31
|
s.rdoc_options = ["--charset=UTF-8"]
|
32
32
|
s.require_paths = ["lib"]
|
33
33
|
s.requirements = ["none"]
|
34
|
-
s.rubygems_version = %q{1.3.
|
34
|
+
s.rubygems_version = %q{1.3.7}
|
35
35
|
s.summary = %q{Rake helper for zipping/unzipping project files. (Summary).}
|
36
36
|
|
37
37
|
if s.respond_to? :specification_version then
|
38
38
|
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
39
39
|
s.specification_version = 3
|
40
40
|
|
41
|
-
if Gem::Version.new(Gem::
|
41
|
+
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
42
42
|
s.add_runtime_dependency(%q<rubyzip>, [">= 0.9.4"])
|
43
43
|
else
|
44
44
|
s.add_dependency(%q<rubyzip>, [">= 0.9.4"])
|
metadata
CHANGED
@@ -1,12 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: zipit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
+
hash: 27
|
4
5
|
prerelease: false
|
5
6
|
segments:
|
6
7
|
- 0
|
7
8
|
- 3
|
8
|
-
-
|
9
|
-
version: 0.3.
|
9
|
+
- 4
|
10
|
+
version: 0.3.4
|
10
11
|
platform: ruby
|
11
12
|
authors:
|
12
13
|
- Alexander Shvets
|
@@ -14,16 +15,18 @@ autorequire:
|
|
14
15
|
bindir: bin
|
15
16
|
cert_chain: []
|
16
17
|
|
17
|
-
date: 2010-
|
18
|
+
date: 2010-08-19 00:00:00 -04:00
|
18
19
|
default_executable: zipit
|
19
20
|
dependencies:
|
20
21
|
- !ruby/object:Gem::Dependency
|
21
22
|
name: rubyzip
|
22
23
|
prerelease: false
|
23
24
|
requirement: &id001 !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
24
26
|
requirements:
|
25
27
|
- - ">="
|
26
28
|
- !ruby/object:Gem::Version
|
29
|
+
hash: 51
|
27
30
|
segments:
|
28
31
|
- 0
|
29
32
|
- 9
|
@@ -58,23 +61,27 @@ rdoc_options:
|
|
58
61
|
require_paths:
|
59
62
|
- lib
|
60
63
|
required_ruby_version: !ruby/object:Gem::Requirement
|
64
|
+
none: false
|
61
65
|
requirements:
|
62
66
|
- - ">="
|
63
67
|
- !ruby/object:Gem::Version
|
68
|
+
hash: 3
|
64
69
|
segments:
|
65
70
|
- 0
|
66
71
|
version: "0"
|
67
72
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
68
74
|
requirements:
|
69
75
|
- - ">="
|
70
76
|
- !ruby/object:Gem::Version
|
77
|
+
hash: 3
|
71
78
|
segments:
|
72
79
|
- 0
|
73
80
|
version: "0"
|
74
81
|
requirements:
|
75
82
|
- none
|
76
83
|
rubyforge_project:
|
77
|
-
rubygems_version: 1.3.
|
84
|
+
rubygems_version: 1.3.7
|
78
85
|
signing_key:
|
79
86
|
specification_version: 3
|
80
87
|
summary: Rake helper for zipping/unzipping project files. (Summary).
|