ssc 0.4.1 → 0.4.2
Sign up to get free protection for your applications and to get access to all the features.
- data/MIT-LICENSE +19 -0
- data/VERSION +1 -1
- data/lib/directory_manager.rb +7 -5
- data/ssc.gemspec +3 -2
- metadata +4 -3
data/MIT-LICENSE
ADDED
@@ -0,0 +1,19 @@
|
|
1
|
+
Copyright (C) 2011 by SUSE Studio
|
2
|
+
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
4
|
+
of this software and associated documentation files (the "Software"), to deal
|
5
|
+
in the Software without restriction, including without limitation the rights
|
6
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
7
|
+
copies of the Software, and to permit persons to whom the Software is
|
8
|
+
furnished to do so, subject to the following conditions:
|
9
|
+
|
10
|
+
The above copyright notice and this permission notice shall be included in
|
11
|
+
all copies or substantial portions of the Software.
|
12
|
+
|
13
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
14
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
15
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
16
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
17
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
18
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
19
|
+
THE SOFTWARE.
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.4.
|
1
|
+
0.4.2
|
data/lib/directory_manager.rb
CHANGED
@@ -77,11 +77,13 @@ module SSC
|
|
77
77
|
|
78
78
|
def pop(section)
|
79
79
|
file_hash= super(section)
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
:
|
84
|
-
|
80
|
+
if file_hash
|
81
|
+
file_name= file_hash.keys[0]
|
82
|
+
file_hash= file_hash[file_name]
|
83
|
+
{ :name => file_name,
|
84
|
+
:full_path => File.join(file_hash["path"]),
|
85
|
+
:params => file_hash.slice("owner", "group", "permissions")}
|
86
|
+
end
|
85
87
|
end
|
86
88
|
|
87
89
|
def initiate_file(path, options)
|
data/ssc.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{ssc}
|
8
|
-
s.version = "0.4.
|
8
|
+
s.version = "0.4.2"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Ratan Sebastian"]
|
12
|
-
s.date = %q{2011-09-
|
12
|
+
s.date = %q{2011-09-06}
|
13
13
|
s.default_executable = %q{ssc}
|
14
14
|
s.description = %q{Command-line client for Suse Studio}
|
15
15
|
s.email = %q{rjsvaljean@gmail.com}
|
@@ -20,6 +20,7 @@ Gem::Specification.new do |s|
|
|
20
20
|
s.files = [
|
21
21
|
"Gemfile",
|
22
22
|
"Gemfile.lock",
|
23
|
+
"MIT-LICENSE",
|
23
24
|
"README.rdoc",
|
24
25
|
"Rakefile",
|
25
26
|
"VERSION",
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 4
|
8
|
-
-
|
9
|
-
version: 0.4.
|
8
|
+
- 2
|
9
|
+
version: 0.4.2
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Ratan Sebastian
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2011-09-
|
17
|
+
date: 2011-09-06 00:00:00 +02:00
|
18
18
|
default_executable: ssc
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
@@ -127,6 +127,7 @@ extra_rdoc_files:
|
|
127
127
|
files:
|
128
128
|
- Gemfile
|
129
129
|
- Gemfile.lock
|
130
|
+
- MIT-LICENSE
|
130
131
|
- README.rdoc
|
131
132
|
- Rakefile
|
132
133
|
- VERSION
|