pallan-gem_import_export 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.2
1
+ 0.0.3
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{gem_import_export}
5
- s.version = "0.0.2"
5
+ s.version = "0.0.3"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Peer Allan"]
@@ -30,7 +30,7 @@ Gem::Specification.new do |s|
30
30
  s.rdoc_options = ["--charset=UTF-8"]
31
31
  s.require_paths = ["lib"]
32
32
  s.rubygems_version = %q{1.3.3}
33
- s.summary = %q{TODO}
33
+ s.summary = %q{Adds the commands to RubyGems for importing and exporting repositories using a command plugin}
34
34
  s.test_files = [
35
35
  "spec/gem_import_export_spec.rb",
36
36
  "spec/spec_helper.rb"
@@ -45,7 +45,10 @@ class Gem::Commands::ExportCommand < Gem::Command
45
45
  end
46
46
 
47
47
  output = {'sources' => Gem.sources, 'gems' => gems}
48
- say output.to_yaml
48
+
49
+ File.open(export_file, 'w') do |f|
50
+ f.write output.to_yaml
51
+ end
49
52
  end
50
53
 
51
54
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pallan-gem_import_export
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peer Allan
@@ -60,7 +60,7 @@ rubyforge_project:
60
60
  rubygems_version: 1.2.0
61
61
  signing_key:
62
62
  specification_version: 3
63
- summary: TODO
63
+ summary: Adds the commands to RubyGems for importing and exporting repositories using a command plugin
64
64
  test_files:
65
65
  - spec/gem_import_export_spec.rb
66
66
  - spec/spec_helper.rb