jettywrapper 1.4.0 → 1.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.rspec +1 -0
- data/README.textile +2 -9
- data/lib/jettywrapper.rb +4 -4
- data/lib/jettywrapper/version.rb +1 -1
- data/lib/tasks/jettywrapper.rake +2 -0
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5d5d0b9a04e3888b74d2ff224194e07561b8b585
|
4
|
+
data.tar.gz: 4ac859cff668c516cf5e09cb28901cecd8878c19
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1b3e543901d470e3d5b101e468d23c86ca71eee5476d4bae0095673364fb7eeef886b77fe2ce8ec9ee1da1a1663008c24c0e13175309f15e5f9011699f18684d
|
7
|
+
data.tar.gz: bb2ebeac2b6ee3bbe48d31cc03f12742a0db629d7f0381c4db981266267efbe4dcab1daa6c9551849bbd1a65a2ea40b0a8c14a042b7c5b92b99b9713604b2860
|
data/.rspec
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
--colour
|
data/README.textile
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
h1. jettywrapper
|
2
2
|
|
3
|
+
!https://travis-ci.org/projecthydra/jettywrapper.png?branch=master!:https://travis-ci.org/projecthydra/jettywrapper
|
3
4
|
|
4
5
|
This gem is designed to make it easier to integrate a jetty servlet container into a rails project.
|
5
6
|
Jettywrapper provides rake tasks for starting and stopping jetty, as well as a method (Jettywrapper.wrap) that will start the server before the block and stop the server after the block, which is useful for automated testing.
|
@@ -45,19 +46,11 @@ If you haven't already, clone the git repository
|
|
45
46
|
cd jettywrapper
|
46
47
|
</pre>
|
47
48
|
|
48
|
-
If you're using RVM (recommended), use the .rvmrc
|
49
49
|
|
50
|
-
|
51
|
-
source .rvmrc
|
52
|
-
rvm list gemsets
|
53
|
-
</pre>
|
54
|
-
|
55
|
-
Install the gems and pull the submodules
|
50
|
+
Install the gems
|
56
51
|
|
57
52
|
<pre>
|
58
53
|
bundle install
|
59
|
-
git submodule init
|
60
|
-
git submodule update
|
61
54
|
</pre>
|
62
55
|
|
63
56
|
Run the tests
|
data/lib/jettywrapper.rb
CHANGED
@@ -64,11 +64,11 @@ class Jettywrapper
|
|
64
64
|
'jetty'
|
65
65
|
end
|
66
66
|
|
67
|
-
def download(url =
|
68
|
-
self.url = url
|
69
|
-
logger.info "Downloading jetty..."
|
67
|
+
def download(url = nil)
|
68
|
+
self.url = url if url
|
69
|
+
logger.info "Downloading jetty at #{self.url} ..."
|
70
70
|
FileUtils.mkdir tmp_dir unless File.exists? tmp_dir
|
71
|
-
system "curl -L #{url} -o #{zip_file}"
|
71
|
+
system "curl -L #{self.url} -o #{zip_file}"
|
72
72
|
abort "Unable to download jetty from #{url}" unless $?.success?
|
73
73
|
end
|
74
74
|
|
data/lib/jettywrapper/version.rb
CHANGED
@@ -1 +1 @@
|
|
1
|
-
GEMVERSION = "1.4.
|
1
|
+
GEMVERSION = "1.4.1"
|
data/lib/tasks/jettywrapper.rake
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jettywrapper
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris Beer
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2013-03-
|
13
|
+
date: 2013-03-15 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: logger
|
@@ -148,6 +148,7 @@ extra_rdoc_files: []
|
|
148
148
|
files:
|
149
149
|
- .gitignore
|
150
150
|
- .gitmodules
|
151
|
+
- .rspec
|
151
152
|
- .travis.yml
|
152
153
|
- Gemfile
|
153
154
|
- History.txt
|