pedit 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. data/VERSION +1 -1
  2. data/bin/pedit +7 -0
  3. data/lib/pedit.rb +3 -2
  4. data/pedit.gemspec +70 -0
  5. metadata +8 -6
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.0
1
+ 0.1.1
@@ -0,0 +1,7 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require File.dirname(__FILE__) + '/../lib/pedit'
4
+
5
+ begin
6
+ execute ARGV.dup
7
+ end
@@ -45,7 +45,8 @@ def savePom( pom )
45
45
  file.close
46
46
  end
47
47
 
48
- savePom add_dependency( parse ARGV[0] )
49
-
48
+ def execute( args )
49
+ savePom add_dependency( parse args[0] )
50
+ end
50
51
 
51
52
 
@@ -0,0 +1,70 @@
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
+ # -*- encoding: utf-8 -*-
5
+
6
+ Gem::Specification.new do |s|
7
+ s.name = %q{pedit}
8
+ s.version = "0.1.1"
9
+
10
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
+ s.authors = ["Andre Ribeiro Goncalves"]
12
+ s.date = %q{2010-12-19}
13
+ s.default_executable = %q{pedit}
14
+ s.email = %q{andre.rigon@gmail.com}
15
+ s.executables = ["pedit"]
16
+ s.extra_rdoc_files = [
17
+ "LICENSE.txt",
18
+ "README.rdoc"
19
+ ]
20
+ s.files = [
21
+ ".document",
22
+ "Gemfile",
23
+ "Gemfile.lock",
24
+ "LICENSE.txt",
25
+ "README.rdoc",
26
+ "Rakefile",
27
+ "VERSION",
28
+ "bin/pedit",
29
+ "lib/pedit.rb",
30
+ "pedit.gemspec",
31
+ "test/helper.rb",
32
+ "test/test_pedit.rb"
33
+ ]
34
+ s.homepage = %q{http://github.com/andrerigon/pedit}
35
+ s.licenses = ["MIT"]
36
+ s.post_install_message = %q{Thank you for installing pedit. Please go to http://github.com/andrerigon/pedit for more information.}
37
+ s.require_paths = ["lib"]
38
+ s.rubygems_version = %q{1.3.7}
39
+ s.summary = %q{Help to add configurations to a pom.xml without open the file and edit by hand}
40
+ s.test_files = [
41
+ "test/helper.rb",
42
+ "test/test_pedit.rb"
43
+ ]
44
+
45
+ if s.respond_to? :specification_version then
46
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
47
+ s.specification_version = 3
48
+
49
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
50
+ s.add_development_dependency(%q<shoulda>, [">= 0"])
51
+ s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
52
+ s.add_development_dependency(%q<jeweler>, ["~> 1.5.1"])
53
+ s.add_development_dependency(%q<rcov>, [">= 0"])
54
+ s.add_runtime_dependency(%q<nokogiri>, [">= 0"])
55
+ else
56
+ s.add_dependency(%q<shoulda>, [">= 0"])
57
+ s.add_dependency(%q<bundler>, ["~> 1.0.0"])
58
+ s.add_dependency(%q<jeweler>, ["~> 1.5.1"])
59
+ s.add_dependency(%q<rcov>, [">= 0"])
60
+ s.add_dependency(%q<nokogiri>, [">= 0"])
61
+ end
62
+ else
63
+ s.add_dependency(%q<shoulda>, [">= 0"])
64
+ s.add_dependency(%q<bundler>, ["~> 1.0.0"])
65
+ s.add_dependency(%q<jeweler>, ["~> 1.5.1"])
66
+ s.add_dependency(%q<rcov>, [">= 0"])
67
+ s.add_dependency(%q<nokogiri>, [">= 0"])
68
+ end
69
+ end
70
+
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 0
9
- version: 0.1.0
8
+ - 1
9
+ version: 0.1.1
10
10
  platform: ruby
11
11
  authors:
12
12
  - Andre Ribeiro Goncalves
@@ -15,7 +15,7 @@ bindir: bin
15
15
  cert_chain: []
16
16
 
17
17
  date: 2010-12-19 00:00:00 -02:00
18
- default_executable:
18
+ default_executable: pedit
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: shoulda
@@ -88,8 +88,8 @@ dependencies:
88
88
  version_requirements: *id005
89
89
  description:
90
90
  email: andre.rigon@gmail.com
91
- executables: []
92
-
91
+ executables:
92
+ - pedit
93
93
  extensions: []
94
94
 
95
95
  extra_rdoc_files:
@@ -103,7 +103,9 @@ files:
103
103
  - README.rdoc
104
104
  - Rakefile
105
105
  - VERSION
106
+ - bin/pedit
106
107
  - lib/pedit.rb
108
+ - pedit.gemspec
107
109
  - test/helper.rb
108
110
  - test/test_pedit.rb
109
111
  has_rdoc: true
@@ -120,7 +122,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
120
122
  requirements:
121
123
  - - ">="
122
124
  - !ruby/object:Gem::Version
123
- hash: 3639603130303502738
125
+ hash: 4411105802655610881
124
126
  segments:
125
127
  - 0
126
128
  version: "0"