mvn-plugin-config 0.0.1 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -3,22 +3,31 @@ require 'rake/testtask'
3
3
  require 'rake/rdoctask'
4
4
 
5
5
  begin
6
- require 'jeweler'
7
- Jeweler::Tasks.new do |gemspec|
8
- gemspec.name = "mvn-plugin-config"
9
- gemspec.summary = "Opens list of maven plugins in browser's window."
10
- gemspec.description = "Opens list of maven plugins in browser's window with the ability to see configuration for each of plugins."
11
- gemspec.email = "alexander.shvets@gmail.com"
12
- gemspec.homepage = "http://github.com/shvets/mvn-plugin-config"
13
- gemspec.authors = ["Alexander Shvets"]
14
- gemspec.files = FileList["CHANGES", "mvn-plugin-config.gemspec", "Rakefile", "README", "VERSION", "lib/**/*", "bin/**", "public/**", "views/**"]
6
+ require 'bundler'
7
+
8
+ begin
9
+ require 'jeweler'
10
+ Jeweler::Tasks.new do |gemspec|
11
+ gemspec.name = "mvn-plugin-config"
12
+ gemspec.summary = "Opens list of maven plugins in browser's window."
13
+ gemspec.description = "Opens list of maven plugins in browser's window with the ability to see configuration for each of plugins."
14
+ gemspec.email = "alexander.shvets@gmail.com"
15
+ gemspec.homepage = "http://github.com/shvets/mvn-plugin-config"
16
+ gemspec.authors = ["Alexander Shvets"]
17
+ gemspec.files = FileList["CHANGES", "mvn-plugin-config.gemspec", "Rakefile", "README", "VERSION",
18
+ "lib/**/*", "bin/**", "public/**", "views/**"]
15
19
 
16
- gemspec.executables = ['mvn-plugin-config']
17
- gemspec.requirements = ["none"]
18
- gemspec.bindir = "bin"
20
+ gemspec.executables = ['mvn-plugin-config']
21
+ gemspec.requirements = ["none"]
22
+ gemspec.bindir = "bin"
23
+
24
+ gemspec.add_bundler_dependencies
25
+ end
26
+ rescue LoadError
27
+ puts "Jeweler not available. Install it s with: [sudo] gem install jeweler"
19
28
  end
20
29
  rescue LoadError
21
- puts "Jeweler not available. Install it for jeweler-related tasks with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
30
+ puts "Bundler not available. Install it s with: [sudo] gem install bundler"
22
31
  end
23
32
 
24
33
  Rake::TestTask.new do |t|
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.1
1
+ 0.0.4
@@ -13,5 +13,5 @@ require 'vegas'
13
13
 
14
14
  trap('INT') { puts "Program was interrupted..."; exit }
15
15
 
16
- Vegas::Runner.new(MvnPluginConfig::App, 'mvn_plugin_config')
16
+ Vegas::Runner.new(MvnPluginConfig::App, 'mvn-plugin-config')
17
17
 
@@ -18,7 +18,9 @@ class App < Sinatra::Base
18
18
  MAVEN_REPOSITORY = "#{ENV['HOME']}/.m2/repository"
19
19
 
20
20
  set :haml, {:format => :html5, :attr_wrapper => '"'}
21
-
21
+ set :views, "#{File.expand_path(File.dirname(__FILE__))}/../../views"
22
+ set :public, "#{File.expand_path(File.dirname(__FILE__))}/../../public"
23
+
22
24
  # get '/javascripts/*' do
23
25
  # open("#{File.dirname(__FILE__)}/../public/javascripts/#{params[:splat]}")
24
26
  # end
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{mvn-plugin-config}
8
- s.version = "0.0.1"
8
+ s.version = "0.0.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-05-28}
12
+ s.date = %q{2010-09-03}
13
13
  s.default_executable = %q{mvn-plugin-config}
14
14
  s.description = %q{Opens list of maven plugins in browser's window with the ability to see configuration for each of plugins.}
15
15
  s.email = %q{alexander.shvets@gmail.com}
@@ -47,9 +47,33 @@ Gem::Specification.new do |s|
47
47
  s.specification_version = 3
48
48
 
49
49
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
50
+ s.add_runtime_dependency(%q<jeweler>, [">= 0"])
51
+ s.add_runtime_dependency(%q<gemcutter>, [">= 0"])
52
+ s.add_runtime_dependency(%q<jeweler>, [">= 0"])
53
+ s.add_runtime_dependency(%q<sinatra>, [">= 0"])
54
+ s.add_runtime_dependency(%q<launchy>, [">= 0"])
55
+ s.add_runtime_dependency(%q<vegas>, [">= 0"])
56
+ s.add_runtime_dependency(%q<nokogiri>, [">= 0"])
57
+ s.add_runtime_dependency(%q<rubyzip>, [">= 0"])
50
58
  else
59
+ s.add_dependency(%q<jeweler>, [">= 0"])
60
+ s.add_dependency(%q<gemcutter>, [">= 0"])
61
+ s.add_dependency(%q<jeweler>, [">= 0"])
62
+ s.add_dependency(%q<sinatra>, [">= 0"])
63
+ s.add_dependency(%q<launchy>, [">= 0"])
64
+ s.add_dependency(%q<vegas>, [">= 0"])
65
+ s.add_dependency(%q<nokogiri>, [">= 0"])
66
+ s.add_dependency(%q<rubyzip>, [">= 0"])
51
67
  end
52
68
  else
69
+ s.add_dependency(%q<jeweler>, [">= 0"])
70
+ s.add_dependency(%q<gemcutter>, [">= 0"])
71
+ s.add_dependency(%q<jeweler>, [">= 0"])
72
+ s.add_dependency(%q<sinatra>, [">= 0"])
73
+ s.add_dependency(%q<launchy>, [">= 0"])
74
+ s.add_dependency(%q<vegas>, [">= 0"])
75
+ s.add_dependency(%q<nokogiri>, [">= 0"])
76
+ s.add_dependency(%q<rubyzip>, [">= 0"])
53
77
  end
54
78
  end
55
79
 
@@ -9,13 +9,14 @@
9
9
  %tr
10
10
  %td
11
11
  %table{:border => "1"}
12
+ %tr
13
+ %td="Name"
14
+ %td="Type"
15
+ %td="Required"
16
+ %td="Editable"
17
+ %td="Description"
18
+
12
19
  - mojo_info.parameters.each do |param|
13
- %tr
14
- %td="Name"
15
- %td="Type"
16
- %td="Required"
17
- %td="Editable"
18
- %td="Description"
19
20
  %tr
20
21
  %td=param[:name]
21
22
  %td=param[:type]
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mvn-plugin-config
3
3
  version: !ruby/object:Gem::Version
4
- hash: 29
4
+ hash: 23
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 1
10
- version: 0.0.1
9
+ - 4
10
+ version: 0.0.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - Alexander Shvets
@@ -15,10 +15,121 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-05-28 00:00:00 -04:00
18
+ date: 2010-09-03 00:00:00 -04:00
19
19
  default_executable: mvn-plugin-config
20
- dependencies: []
21
-
20
+ dependencies:
21
+ - !ruby/object:Gem::Dependency
22
+ type: :runtime
23
+ prerelease: false
24
+ name: jeweler
25
+ version_requirements: &id001 !ruby/object:Gem::Requirement
26
+ none: false
27
+ requirements:
28
+ - - ">="
29
+ - !ruby/object:Gem::Version
30
+ hash: 3
31
+ segments:
32
+ - 0
33
+ version: "0"
34
+ requirement: *id001
35
+ - !ruby/object:Gem::Dependency
36
+ type: :runtime
37
+ prerelease: false
38
+ name: gemcutter
39
+ version_requirements: &id002 !ruby/object:Gem::Requirement
40
+ none: false
41
+ requirements:
42
+ - - ">="
43
+ - !ruby/object:Gem::Version
44
+ hash: 3
45
+ segments:
46
+ - 0
47
+ version: "0"
48
+ requirement: *id002
49
+ - !ruby/object:Gem::Dependency
50
+ type: :runtime
51
+ prerelease: false
52
+ name: jeweler
53
+ version_requirements: &id003 !ruby/object:Gem::Requirement
54
+ none: false
55
+ requirements:
56
+ - - ">="
57
+ - !ruby/object:Gem::Version
58
+ hash: 3
59
+ segments:
60
+ - 0
61
+ version: "0"
62
+ requirement: *id003
63
+ - !ruby/object:Gem::Dependency
64
+ type: :runtime
65
+ prerelease: false
66
+ name: sinatra
67
+ version_requirements: &id004 !ruby/object:Gem::Requirement
68
+ none: false
69
+ requirements:
70
+ - - ">="
71
+ - !ruby/object:Gem::Version
72
+ hash: 3
73
+ segments:
74
+ - 0
75
+ version: "0"
76
+ requirement: *id004
77
+ - !ruby/object:Gem::Dependency
78
+ type: :runtime
79
+ prerelease: false
80
+ name: launchy
81
+ version_requirements: &id005 !ruby/object:Gem::Requirement
82
+ none: false
83
+ requirements:
84
+ - - ">="
85
+ - !ruby/object:Gem::Version
86
+ hash: 3
87
+ segments:
88
+ - 0
89
+ version: "0"
90
+ requirement: *id005
91
+ - !ruby/object:Gem::Dependency
92
+ type: :runtime
93
+ prerelease: false
94
+ name: vegas
95
+ version_requirements: &id006 !ruby/object:Gem::Requirement
96
+ none: false
97
+ requirements:
98
+ - - ">="
99
+ - !ruby/object:Gem::Version
100
+ hash: 3
101
+ segments:
102
+ - 0
103
+ version: "0"
104
+ requirement: *id006
105
+ - !ruby/object:Gem::Dependency
106
+ type: :runtime
107
+ prerelease: false
108
+ name: nokogiri
109
+ version_requirements: &id007 !ruby/object:Gem::Requirement
110
+ none: false
111
+ requirements:
112
+ - - ">="
113
+ - !ruby/object:Gem::Version
114
+ hash: 3
115
+ segments:
116
+ - 0
117
+ version: "0"
118
+ requirement: *id007
119
+ - !ruby/object:Gem::Dependency
120
+ type: :runtime
121
+ prerelease: false
122
+ name: rubyzip
123
+ version_requirements: &id008 !ruby/object:Gem::Requirement
124
+ none: false
125
+ requirements:
126
+ - - ">="
127
+ - !ruby/object:Gem::Version
128
+ hash: 3
129
+ segments:
130
+ - 0
131
+ version: "0"
132
+ requirement: *id008
22
133
  description: Opens list of maven plugins in browser's window with the ability to see configuration for each of plugins.
23
134
  email: alexander.shvets@gmail.com
24
135
  executables: