torquebox-rake-support 3.1.2 → 3.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/torquebox/deploy_utils.rb +2 -7
- data/share/rails/template.rb +2 -2
- data/spec/deploy_utils_spec.rb +3 -2
- metadata +33 -33
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7a7837910ac35cb6bb3daaa9f0b740f769f8e15e
|
4
|
+
data.tar.gz: cca9d713083edd31aa997f2c317fb0f2bdfaa25c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eecfb77c1b36d2776fffc16d423e72213dca8e4597f752025a30cb6c5548b162e3c60c4c915e36ba775564cf731a9b8f0f84daf1a0e9a39bfda546d0e031491d
|
7
|
+
data.tar.gz: fb8b4a35865cf4495fa89a820366742e1c3aac517af5eab5bcd8b49d1327f5a889fc206b3b704951bc7bb8eca92735b9a4e42c2400a54ae131fad8bee3346d5d
|
@@ -123,7 +123,7 @@ module TorqueBox
|
|
123
123
|
end
|
124
124
|
|
125
125
|
def set_java_opts(options)
|
126
|
-
ENV['JAVA_OPTS'] ||= "-Xms64m -
|
126
|
+
ENV['JAVA_OPTS'] ||= "-Xms64m -Xmx768m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true"
|
127
127
|
ENV['JAVA_OPTS'] = "#{ENV['JAVA_OPTS']} #{options}"
|
128
128
|
end
|
129
129
|
|
@@ -264,7 +264,7 @@ module TorqueBox
|
|
264
264
|
|
265
265
|
Dir.chdir( app_dir ) do
|
266
266
|
include_files = []
|
267
|
-
Dir[ "**/**", ".bundle/**/**" ].each do |entry|
|
267
|
+
Dir[ "**/**", ".bundle/**/**", "**/.*manifest*" ].each do |entry|
|
268
268
|
unless File.directory?( entry ) || skip_files.any? { |regex| entry.match( regex ) }
|
269
269
|
include_files << '"' + entry.to_s + '"'
|
270
270
|
end
|
@@ -374,11 +374,6 @@ module TorqueBox
|
|
374
374
|
|
375
375
|
def jruby_command(cmd)
|
376
376
|
jruby = File.join( RbConfig::CONFIG['bindir'], RbConfig::CONFIG['ruby_install_name'] )
|
377
|
-
jruby << case RUBY_VERSION
|
378
|
-
when /^1\.8\./ then ' --1.8'
|
379
|
-
when /^1\.9\./ then ' --1.9'
|
380
|
-
when /^2\.0\./ then ' --2.0'
|
381
|
-
end
|
382
377
|
run_command( "#{jruby} #{cmd}" )
|
383
378
|
end
|
384
379
|
|
data/share/rails/template.rb
CHANGED
data/spec/deploy_utils_spec.rb
CHANGED
@@ -380,8 +380,9 @@ describe TorqueBox::DeployUtils do
|
|
380
380
|
"app/a-non-cached.gem"
|
381
381
|
"vendor/vendor.rb"
|
382
382
|
"puppet/puppet.rb"
|
383
|
-
"simpleapp.box"
|
384
|
-
|
383
|
+
"simpleapp.box"
|
384
|
+
"public/assets/.sprockets-manifest-test.json"}
|
385
|
+
|
385
386
|
def mock_run_command(expected_includes)
|
386
387
|
@util.should_receive(:run_command) do |arg|
|
387
388
|
included_files = arg =~ /@(.*)/ ? File.new($1).readlines.map(&:strip) : []
|
metadata
CHANGED
@@ -1,41 +1,41 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: torquebox-rake-support
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- The TorqueBox Team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-09-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
15
|
-
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: 0.8.7
|
20
|
-
|
20
|
+
version_requirements: !ruby/object:Gem::Requirement
|
21
21
|
requirements:
|
22
|
-
- -
|
22
|
+
- - ">="
|
23
23
|
- !ruby/object:Gem::Version
|
24
24
|
version: 0.8.7
|
25
25
|
prerelease: false
|
26
26
|
type: :runtime
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rspec
|
29
|
-
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - '='
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 2.
|
34
|
-
|
33
|
+
version: 2.14.1
|
34
|
+
version_requirements: !ruby/object:Gem::Requirement
|
35
35
|
requirements:
|
36
36
|
- - '='
|
37
37
|
- !ruby/object:Gem::Version
|
38
|
-
version: 2.
|
38
|
+
version: 2.14.1
|
39
39
|
prerelease: false
|
40
40
|
type: :development
|
41
41
|
description: ''
|
@@ -46,36 +46,36 @@ executables:
|
|
46
46
|
extensions: []
|
47
47
|
extra_rdoc_files: []
|
48
48
|
files:
|
49
|
-
- licenses/cc0-1.0.txt
|
50
|
-
- share/rails/template.rb
|
51
49
|
- bin/adjust-rails-template.rb
|
52
|
-
-
|
50
|
+
- generators/USAGE
|
51
|
+
- generators/templates/queue.rb
|
52
|
+
- generators/torquebox_queue_generator.rb
|
53
53
|
- lib/org.torquebox.rake-support.rb
|
54
|
-
- lib/torquebox
|
55
|
-
- lib/torquebox/server.rb
|
54
|
+
- lib/torquebox-rake-support.rb
|
56
55
|
- lib/torquebox/deploy_utils.rb
|
57
|
-
- lib/torquebox/
|
56
|
+
- lib/torquebox/launchd.rb
|
58
57
|
- lib/torquebox/rails.rb
|
59
58
|
- lib/torquebox/rake/tasks.rb
|
60
|
-
- lib/torquebox/rake/tasks/deployment.rb
|
61
59
|
- lib/torquebox/rake/tasks/archive.rb
|
60
|
+
- lib/torquebox/rake/tasks/deployment.rb
|
62
61
|
- lib/torquebox/rake/tasks/server.rb
|
63
|
-
-
|
64
|
-
-
|
65
|
-
-
|
66
|
-
-
|
67
|
-
- spec/server_spec.rb
|
68
|
-
- spec/spec_helper.rb
|
69
|
-
- spec/upstart_spec.rb
|
62
|
+
- lib/torquebox/server.rb
|
63
|
+
- lib/torquebox/upstart.rb
|
64
|
+
- licenses/cc0-1.0.txt
|
65
|
+
- share/rails/template.rb
|
70
66
|
- spec/deploy_utils_spec.rb
|
71
|
-
- spec/fixtures/simpleapp/simpleapp.box
|
72
|
-
- spec/fixtures/simpleapp/config.ru
|
73
|
-
- spec/fixtures/simpleapp/puppet/puppet.rb
|
74
67
|
- spec/fixtures/simpleapp/app/a-non-cached.gem
|
75
|
-
- spec/fixtures/simpleapp/app/puppet-master.rb
|
76
|
-
- spec/fixtures/simpleapp/app/app.rb
|
77
68
|
- spec/fixtures/simpleapp/app/app.box
|
69
|
+
- spec/fixtures/simpleapp/app/app.rb
|
70
|
+
- spec/fixtures/simpleapp/app/puppet-master.rb
|
71
|
+
- spec/fixtures/simpleapp/config.ru
|
72
|
+
- spec/fixtures/simpleapp/puppet/puppet.rb
|
73
|
+
- spec/fixtures/simpleapp/simpleapp.box
|
78
74
|
- spec/fixtures/simpleapp/vendor/vendor.rb
|
75
|
+
- spec/rails_spec.rb
|
76
|
+
- spec/server_spec.rb
|
77
|
+
- spec/spec_helper.rb
|
78
|
+
- spec/upstart_spec.rb
|
79
79
|
homepage: http://torquebox.org/
|
80
80
|
licenses:
|
81
81
|
- Public Domain
|
@@ -86,22 +86,22 @@ require_paths:
|
|
86
86
|
- lib
|
87
87
|
required_ruby_version: !ruby/object:Gem::Requirement
|
88
88
|
requirements:
|
89
|
-
- -
|
89
|
+
- - ">="
|
90
90
|
- !ruby/object:Gem::Version
|
91
91
|
version: '0'
|
92
92
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
|
-
- -
|
94
|
+
- - ">="
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: '0'
|
97
97
|
requirements: []
|
98
98
|
rubyforge_project:
|
99
|
-
rubygems_version: 2.
|
99
|
+
rubygems_version: 2.6.6
|
100
100
|
signing_key:
|
101
101
|
specification_version: 4
|
102
102
|
summary: TorqueBox Rake Support
|
103
103
|
test_files:
|
104
|
-
- spec/rails_spec.rb
|
105
104
|
- spec/server_spec.rb
|
105
|
+
- spec/rails_spec.rb
|
106
106
|
- spec/upstart_spec.rb
|
107
107
|
- spec/deploy_utils_spec.rb
|