sfpagent 0.0.1 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of sfpagent might be problematic. Click here for more details.

Files changed (4) hide show
  1. data/LICENSE +28 -0
  2. data/lib/sfpagent/agent.rb +1 -1
  3. data/sfpagent.gemspec +3 -2
  4. metadata +5 -3
data/LICENSE ADDED
@@ -0,0 +1,28 @@
1
+ BSD LICENSE
2
+
3
+ Copyright (c) 2013, Herry
4
+ All rights reserved.
5
+
6
+ Redistribution and use in source and binary forms, with or without
7
+ modification, are permitted provided that the following conditions are met:
8
+
9
+ 1. Redistributions of source code must retain the above copyright notice, this
10
+ list of conditions and the following disclaimer.
11
+ 2. Redistributions in binary form must reproduce the above copyright notice,
12
+ this list of conditions and the following disclaimer in the documentation
13
+ and/or other materials provided with the distribution.
14
+
15
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
16
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
17
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
18
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
19
+ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
20
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
21
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
22
+ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
24
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25
+
26
+ The views and conclusions contained in the software and documentation are those
27
+ of the authors and should not be interpreted as representing official policies,
28
+ either expressed or implied, of the FreeBSD Project.
@@ -318,7 +318,7 @@ module Sfp
318
318
  Dir.entries(module_dir).each { |name|
319
319
  next if name == '.' or name == '..'
320
320
  if File.directory? "#{module_dir}/#{name}"
321
- system("cd #{module_dir}/#{name}; mv * ..; cd ..; rm -rf #{name}")
321
+ system("cd #{module_dir}/#{name}; mv * ..; mv .* .. 2>/dev/null; cd ..; rm -rf #{name}")
322
322
  end
323
323
  system("cd #{module_dir}; rm data.tgz")
324
324
  }
@@ -1,9 +1,9 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'sfpagent'
3
- s.version = '0.0.1'
3
+ s.version = '0.1.0'
4
4
  s.date = '2013-07-03'
5
5
  s.summary = 'SFP Agent'
6
- s.description = 'A Ruby gem that provides a script of an SFP Agent.'
6
+ s.description = 'A Ruby implementation of SFP agent.'
7
7
  s.authors = ['Herry']
8
8
  s.email = 'herry13@gmail.com'
9
9
 
@@ -11,6 +11,7 @@ Gem::Specification.new do |s|
11
11
  s.files = `git ls-files`.split("\n").select { |n| !(n =~ /^(modules|test)\/.*/) }
12
12
 
13
13
  s.require_paths = ['lib']
14
+ s.license = 'BSD'
14
15
 
15
16
  s.homepage = 'https://github.com/herry13/sfpagent'
16
17
  s.rubyforge_project = 'sfpagent'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sfpagent
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.1.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -27,7 +27,7 @@ dependencies:
27
27
  - - ~>
28
28
  - !ruby/object:Gem::Version
29
29
  version: 0.3.0
30
- description: A Ruby gem that provides a script of an SFP Agent.
30
+ description: A Ruby implementation of SFP agent.
31
31
  email: herry13@gmail.com
32
32
  executables:
33
33
  - sfpagent
@@ -35,6 +35,7 @@ extensions: []
35
35
  extra_rdoc_files: []
36
36
  files:
37
37
  - .gitignore
38
+ - LICENSE
38
39
  - README.md
39
40
  - bin/cert.rb
40
41
  - bin/sfpagent
@@ -45,7 +46,8 @@ files:
45
46
  - lib/sfpagent/runtime.rb
46
47
  - sfpagent.gemspec
47
48
  homepage: https://github.com/herry13/sfpagent
48
- licenses: []
49
+ licenses:
50
+ - BSD
49
51
  post_install_message:
50
52
  rdoc_options: []
51
53
  require_paths: