jar_wrapper 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- data/.idea/workspace.xml +61 -23
- data/CHANGES +1 -1
- data/lib/jar_wrapper.rb +1 -5
- data/lib/jar_wrapper/runner.rb +8 -0
- data/lib/jar_wrapper/version.rb +1 -1
- metadata +1 -1
data/.idea/workspace.xml
CHANGED
@@ -2,7 +2,11 @@
|
|
2
2
|
<project version="4">
|
3
3
|
<component name="ChangeListManager">
|
4
4
|
<list default="true" id="f2d45c82-3b69-4bf8-9eb4-252420ccdf4d" name="Default" comment="">
|
5
|
-
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/
|
5
|
+
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/CHANGES" afterPath="$PROJECT_DIR$/CHANGES" />
|
6
|
+
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/lib/jar_wrapper.rb" afterPath="$PROJECT_DIR$/lib/jar_wrapper.rb" />
|
7
|
+
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/lib/jar_wrapper/runner.rb" afterPath="$PROJECT_DIR$/lib/jar_wrapper/runner.rb" />
|
8
|
+
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/lib/jar_wrapper/version.rb" afterPath="$PROJECT_DIR$/lib/jar_wrapper/version.rb" />
|
9
|
+
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/workspace.xml" afterPath="$PROJECT_DIR$/.idea/workspace.xml" />
|
6
10
|
</list>
|
7
11
|
<ignored path="jar_wrapper.iws" />
|
8
12
|
<ignored path=".idea/workspace.xml" />
|
@@ -11,11 +15,17 @@
|
|
11
15
|
<file path="/CHANGES" changelist="f2d45c82-3b69-4bf8-9eb4-252420ccdf4d" time="1360707516699" ignored="false" />
|
12
16
|
<file path="/jar_wrapper.gemspec.erb" changelist="f2d45c82-3b69-4bf8-9eb4-252420ccdf4d" time="1360708129179" ignored="false" />
|
13
17
|
<file path="/Rakefile" changelist="f2d45c82-3b69-4bf8-9eb4-252420ccdf4d" time="1360707647776" ignored="false" />
|
14
|
-
<file path="/jar_wrapper.rb" changelist="f2d45c82-3b69-4bf8-9eb4-252420ccdf4d" time="
|
18
|
+
<file path="/jar_wrapper.rb" changelist="f2d45c82-3b69-4bf8-9eb4-252420ccdf4d" time="1360708702916" ignored="false" />
|
15
19
|
<file path="/README.md" changelist="f2d45c82-3b69-4bf8-9eb4-252420ccdf4d" time="1360707855647" ignored="false" />
|
16
|
-
<file path="/Gemfile" changelist="f2d45c82-3b69-4bf8-9eb4-252420ccdf4d" time="
|
20
|
+
<file path="/Gemfile" changelist="f2d45c82-3b69-4bf8-9eb4-252420ccdf4d" time="1360708618323" ignored="false" />
|
17
21
|
<file path="/a.dummy" changelist="f2d45c82-3b69-4bf8-9eb4-252420ccdf4d" time="1360708108504" ignored="false" />
|
18
22
|
<file path="/jar_wrapper.gemspec" changelist="f2d45c82-3b69-4bf8-9eb4-252420ccdf4d" time="1360708115815" ignored="false" />
|
23
|
+
<file path="$PROJECT_DIR$/../selenium/Gemfile" changelist="f2d45c82-3b69-4bf8-9eb4-252420ccdf4d" time="1360708637301" ignored="false" />
|
24
|
+
<file path="$PROJECT_DIR$/../selenium/Gemfile.lock" changelist="f2d45c82-3b69-4bf8-9eb4-252420ccdf4d" time="1360708642523" ignored="false" />
|
25
|
+
<file path="$PROJECT_DIR$/../selenium/bin/selenium" changelist="f2d45c82-3b69-4bf8-9eb4-252420ccdf4d" time="1360708658751" ignored="false" />
|
26
|
+
<file path="$PROJECT_DIR$/../selenium/lib/selenium/starter.rb" changelist="f2d45c82-3b69-4bf8-9eb4-252420ccdf4d" time="1360708758156" ignored="false" />
|
27
|
+
<file path="/starter.rb" changelist="f2d45c82-3b69-4bf8-9eb4-252420ccdf4d" time="1360708757006" ignored="false" />
|
28
|
+
<file path="$PROJECT_DIR$/../selenium/selenium.gemspec" changelist="f2d45c82-3b69-4bf8-9eb4-252420ccdf4d" time="1360708813635" ignored="false" />
|
19
29
|
<option name="TRACKING_ENABLED" value="true" />
|
20
30
|
<option name="SHOW_DIALOG" value="false" />
|
21
31
|
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
@@ -32,10 +42,28 @@
|
|
32
42
|
<component name="ExecutionTargetManager" SELECTED_TARGET="default_target" />
|
33
43
|
<component name="FileEditorManager">
|
34
44
|
<leaf>
|
35
|
-
<file leaf-file-name="Gemfile" pinned="false" current="
|
45
|
+
<file leaf-file-name="Gemfile" pinned="false" current="false" current-in-tab="false">
|
36
46
|
<entry file="file://$PROJECT_DIR$/Gemfile">
|
37
47
|
<provider selected="true" editor-type-id="text-editor">
|
38
|
-
<state line="
|
48
|
+
<state line="2" column="0" selection-start="18" selection-end="113" vertical-scroll-proportion="0.0">
|
49
|
+
<folding />
|
50
|
+
</state>
|
51
|
+
</provider>
|
52
|
+
</entry>
|
53
|
+
</file>
|
54
|
+
<file leaf-file-name="jar_wrapper.rb" pinned="false" current="false" current-in-tab="false">
|
55
|
+
<entry file="file://$PROJECT_DIR$/lib/jar_wrapper.rb">
|
56
|
+
<provider selected="true" editor-type-id="text-editor">
|
57
|
+
<state line="9" column="0" selection-start="262" selection-end="262" vertical-scroll-proportion="0.0">
|
58
|
+
<folding />
|
59
|
+
</state>
|
60
|
+
</provider>
|
61
|
+
</entry>
|
62
|
+
</file>
|
63
|
+
<file leaf-file-name="runner.rb" pinned="false" current="false" current-in-tab="false">
|
64
|
+
<entry file="file://$PROJECT_DIR$/lib/jar_wrapper/runner.rb">
|
65
|
+
<provider selected="true" editor-type-id="text-editor">
|
66
|
+
<state line="9" column="0" selection-start="180" selection-end="180" vertical-scroll-proportion="0.0">
|
39
67
|
<folding />
|
40
68
|
</state>
|
41
69
|
</provider>
|
@@ -44,7 +72,16 @@
|
|
44
72
|
<file leaf-file-name="version.rb" pinned="false" current="false" current-in-tab="false">
|
45
73
|
<entry file="file://$PROJECT_DIR$/lib/jar_wrapper/version.rb">
|
46
74
|
<provider selected="true" editor-type-id="text-editor">
|
47
|
-
<state line="
|
75
|
+
<state line="1" column="18" selection-start="36" selection-end="36" vertical-scroll-proportion="0.0">
|
76
|
+
<folding />
|
77
|
+
</state>
|
78
|
+
</provider>
|
79
|
+
</entry>
|
80
|
+
</file>
|
81
|
+
<file leaf-file-name="CHANGES" pinned="false" current="true" current-in-tab="true">
|
82
|
+
<entry file="file://$PROJECT_DIR$/CHANGES">
|
83
|
+
<provider selected="true" editor-type-id="text-editor">
|
84
|
+
<state line="13" column="0" selection-start="123" selection-end="155" vertical-scroll-proportion="0.303207">
|
48
85
|
<folding />
|
49
86
|
</state>
|
50
87
|
</provider>
|
@@ -68,15 +105,16 @@
|
|
68
105
|
<component name="IdeDocumentHistory">
|
69
106
|
<option name="changedFiles">
|
70
107
|
<list>
|
71
|
-
<option value="$PROJECT_DIR$/lib/jar_wrapper.rb" />
|
72
|
-
<option value="$PROJECT_DIR$/CHANGES" />
|
73
108
|
<option value="$PROJECT_DIR$/Rakefile" />
|
74
109
|
<option value="$PROJECT_DIR$/README.md" />
|
75
110
|
<option value="$PROJECT_DIR$/lib/jar_wrapper/jar_wrapper.rb" />
|
76
111
|
<option value="$PROJECT_DIR$/jar_wrapper.gemspec" />
|
77
112
|
<option value="$PROJECT_DIR$/jar_wrapper.gemspec.erb" />
|
78
|
-
<option value="$PROJECT_DIR$/lib/jar_wrapper/version.rb" />
|
79
113
|
<option value="$PROJECT_DIR$/Gemfile" />
|
114
|
+
<option value="$PROJECT_DIR$/lib/jar_wrapper.rb" />
|
115
|
+
<option value="$PROJECT_DIR$/lib/jar_wrapper/runner.rb" />
|
116
|
+
<option value="$PROJECT_DIR$/lib/jar_wrapper/version.rb" />
|
117
|
+
<option value="$PROJECT_DIR$/CHANGES" />
|
80
118
|
</list>
|
81
119
|
</option>
|
82
120
|
</component>
|
@@ -368,51 +406,51 @@
|
|
368
406
|
</state>
|
369
407
|
</provider>
|
370
408
|
</entry>
|
371
|
-
<entry file="file://$PROJECT_DIR$/
|
409
|
+
<entry file="file://$PROJECT_DIR$/README.md">
|
372
410
|
<provider selected="true" editor-type-id="text-editor">
|
373
|
-
<state line="
|
411
|
+
<state line="10" column="22" selection-start="175" selection-end="175" vertical-scroll-proportion="0.23323615">
|
374
412
|
<folding />
|
375
413
|
</state>
|
376
414
|
</provider>
|
377
415
|
</entry>
|
378
|
-
<entry file="file://$
|
416
|
+
<entry file="file://$USER_HOME$/.rvm/rubies/ruby-1.9.3-p385/lib/ruby/1.9.1/x86_64-darwin12.2.0/rbconfig.rb">
|
379
417
|
<provider selected="true" editor-type-id="text-editor">
|
380
|
-
<state line="
|
418
|
+
<state line="4" column="7" selection-start="144" selection-end="144" vertical-scroll-proportion="0.09509658">
|
381
419
|
<folding />
|
382
420
|
</state>
|
383
421
|
</provider>
|
384
422
|
</entry>
|
385
|
-
<entry file="file://$PROJECT_DIR$/
|
423
|
+
<entry file="file://$PROJECT_DIR$/Gemfile">
|
386
424
|
<provider selected="true" editor-type-id="text-editor">
|
387
|
-
<state line="
|
425
|
+
<state line="2" column="0" selection-start="18" selection-end="113" vertical-scroll-proportion="0.0">
|
388
426
|
<folding />
|
389
427
|
</state>
|
390
428
|
</provider>
|
391
429
|
</entry>
|
392
|
-
<entry file="file://$PROJECT_DIR$/
|
430
|
+
<entry file="file://$PROJECT_DIR$/lib/jar_wrapper.rb">
|
393
431
|
<provider selected="true" editor-type-id="text-editor">
|
394
|
-
<state line="
|
432
|
+
<state line="9" column="0" selection-start="262" selection-end="262" vertical-scroll-proportion="0.0">
|
395
433
|
<folding />
|
396
434
|
</state>
|
397
435
|
</provider>
|
398
436
|
</entry>
|
399
|
-
<entry file="file://$PROJECT_DIR$/lib/jar_wrapper/
|
437
|
+
<entry file="file://$PROJECT_DIR$/lib/jar_wrapper/runner.rb">
|
400
438
|
<provider selected="true" editor-type-id="text-editor">
|
401
|
-
<state line="
|
439
|
+
<state line="9" column="0" selection-start="180" selection-end="180" vertical-scroll-proportion="0.0">
|
402
440
|
<folding />
|
403
441
|
</state>
|
404
442
|
</provider>
|
405
443
|
</entry>
|
406
|
-
<entry file="file://$
|
444
|
+
<entry file="file://$PROJECT_DIR$/lib/jar_wrapper/version.rb">
|
407
445
|
<provider selected="true" editor-type-id="text-editor">
|
408
|
-
<state line="
|
446
|
+
<state line="1" column="18" selection-start="36" selection-end="36" vertical-scroll-proportion="0.0">
|
409
447
|
<folding />
|
410
448
|
</state>
|
411
449
|
</provider>
|
412
450
|
</entry>
|
413
|
-
<entry file="file://$PROJECT_DIR$/
|
451
|
+
<entry file="file://$PROJECT_DIR$/CHANGES">
|
414
452
|
<provider selected="true" editor-type-id="text-editor">
|
415
|
-
<state line="
|
453
|
+
<state line="13" column="0" selection-start="123" selection-end="155" vertical-scroll-proportion="0.303207">
|
416
454
|
<folding />
|
417
455
|
</state>
|
418
456
|
</provider>
|
data/CHANGES
CHANGED
data/lib/jar_wrapper.rb
CHANGED
@@ -6,9 +6,5 @@ $:.unshift(File.dirname(__FILE__)) unless
|
|
6
6
|
require 'fileutils'
|
7
7
|
require 'net/http'
|
8
8
|
|
9
|
-
require 'jar_wrapper/
|
9
|
+
require 'jar_wrapper/runner'
|
10
10
|
|
11
|
-
require 'rbconfig'
|
12
|
-
WINDOZE = Config::CONFIG['host_os'] =~ /mswin|mingw|windows/
|
13
|
-
|
14
|
-
WINDOZE ? (require "zip/zipfilesystem") : (require 'zip/zip')
|
data/lib/jar_wrapper/runner.rb
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
require 'open-uri'
|
2
2
|
|
3
|
+
require 'rbconfig'
|
4
|
+
|
5
|
+
def windows?
|
6
|
+
!!(RbConfig::CONFIG['host_os'] =~ /mswin|mingw|windows/)
|
7
|
+
end
|
8
|
+
|
9
|
+
windows? ? (require "zip/zipfilesystem") : (require 'zip/zip')
|
10
|
+
|
3
11
|
# some code is extracted from redcar project (https://github.com/redcar/redcar) which is in turn extracted
|
4
12
|
# from ruby-processing gem (https://github.com/jashkenas/ruby-processing).
|
5
13
|
|
data/lib/jar_wrapper/version.rb
CHANGED