pom-loader 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +1 -1
- data/README.md +9 -3
- data/lib/pom-loader/version.rb +1 -1
- metadata +6 -4
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -14,12 +14,18 @@ maven project)
|
|
14
14
|
- Smile because your java dependencies are loaded onto your classpath
|
15
15
|
when you start your app
|
16
16
|
|
17
|
+
#### Install
|
18
|
+
````ruby
|
19
|
+
gem install pom-loader
|
20
|
+
````
|
21
|
+
|
22
|
+
#### Usage
|
17
23
|
```ruby
|
18
24
|
require 'pom-loader'
|
19
|
-
pom_dir = File.expand_path("../../", __FILE__)
|
20
|
-
mvn = ENV['MVN2_EXE'] || 'mvn'
|
25
|
+
pom_dir = File.expand_path("../../", __FILE__) # The dir that contains your pom.xml file
|
26
|
+
mvn = ENV['MVN2_EXE'] || 'mvn' # Your maven executable
|
21
27
|
PomLoader.load(pom_dir: pom_dir, mvn_exe: mvn)
|
22
|
-
$! = nil
|
28
|
+
$! = nil # unset evil magic bit
|
23
29
|
```
|
24
30
|
|
25
31
|
--
|
data/lib/pom-loader/version.rb
CHANGED
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: pom-loader
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.1.
|
5
|
+
version: 0.1.1
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Matt Kinman
|
@@ -12,7 +12,7 @@ authors:
|
|
12
12
|
autorequire:
|
13
13
|
bindir: bin
|
14
14
|
cert_chain: []
|
15
|
-
date: 2013-08-
|
15
|
+
date: 2013-08-26 00:00:00.000000000 Z
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|
18
18
|
name: nokogiri
|
@@ -79,7 +79,8 @@ dependencies:
|
|
79
79
|
prerelease: false
|
80
80
|
type: :development
|
81
81
|
description: Can interpret a maven pom and pull properties and classes into context.
|
82
|
-
email:
|
82
|
+
email:
|
83
|
+
- mmay@homeaway.com
|
83
84
|
executables: []
|
84
85
|
extensions: []
|
85
86
|
extra_rdoc_files:
|
@@ -101,7 +102,8 @@ files:
|
|
101
102
|
- spec/test-poms/target/build-classpath.txt
|
102
103
|
- spec/test-poms/target/effective-pom.xml
|
103
104
|
homepage: http://github.com/homeaway/pom-loader
|
104
|
-
licenses:
|
105
|
+
licenses:
|
106
|
+
- Apache 2.0
|
105
107
|
post_install_message:
|
106
108
|
rdoc_options:
|
107
109
|
- --charset=UTF-8
|