torquebox-rake-support 3.0.0 → 3.0.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 +7 -0
- data/lib/torquebox/deploy_utils.rb +8 -2
- data/share/rails/template.rb +2 -2
- metadata +20 -26
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA1:
|
|
3
|
+
metadata.gz: 4b537b8d0dcd72b9a426843ffa54a7a0eb706117
|
|
4
|
+
data.tar.gz: 5893f93c5ee321986e25eead42730c42f919a84e
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: e10a7f139140b0fcbd26dd7671dbaadb8f1d85b985f67bb9b7f768fbf6f35fcf5466e6c39a87065eb9c98cc39a4e15f6d9702694dcee3481379178af5df1f882
|
|
7
|
+
data.tar.gz: 33f3a3f03481c618b37e674233e5f91075abb9fd7bd9389332b4df25fb80765b1efd35ff7e8dd1fa48a85f8c8851c84a1dd3cdf7950229d7fafe0c69d1309eef
|
|
@@ -183,7 +183,7 @@ module TorqueBox
|
|
|
183
183
|
# name: (string) what to call the resulting knob file
|
|
184
184
|
# app_dir: (string) where the application to be packaged is
|
|
185
185
|
# dest_dir: (string) where to put the resulting knob file
|
|
186
|
-
#
|
|
186
|
+
# exclude: (string) string or regex of files to exclude from the archive
|
|
187
187
|
# precompile_assets: (boolean) whether or not to precompile assets. this is rails-specific.
|
|
188
188
|
# package_gems: (boolean) whether or not to install all bundle gems to vendor/bundle (this
|
|
189
189
|
# is rather convenient as it means that you don't have to run bundle
|
|
@@ -383,7 +383,13 @@ module TorqueBox
|
|
|
383
383
|
end
|
|
384
384
|
|
|
385
385
|
def run_command(cmd)
|
|
386
|
-
|
|
386
|
+
old_rubyopt = ENV['RUBYOPT']
|
|
387
|
+
begin
|
|
388
|
+
ENV['RUBYOPT'] = ''
|
|
389
|
+
puts `#{cmd} 2>&1`
|
|
390
|
+
ensure
|
|
391
|
+
ENV['RUBYOPT'] = old_rubyopt
|
|
392
|
+
end
|
|
387
393
|
end
|
|
388
394
|
|
|
389
395
|
# Used when we want to effectively replace this process with the
|
data/share/rails/template.rb
CHANGED
metadata
CHANGED
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: torquebox-rake-support
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
|
|
5
|
-
version: 3.0.0
|
|
4
|
+
version: 3.0.1
|
|
6
5
|
platform: ruby
|
|
7
6
|
authors:
|
|
8
7
|
- The TorqueBox Team
|
|
9
8
|
autorequire:
|
|
10
9
|
bindir: bin
|
|
11
10
|
cert_chain: []
|
|
12
|
-
date: 2013-
|
|
11
|
+
date: 2013-11-22 00:00:00.000000000 Z
|
|
13
12
|
dependencies:
|
|
14
13
|
- !ruby/object:Gem::Dependency
|
|
15
14
|
name: rake
|
|
@@ -18,13 +17,11 @@ dependencies:
|
|
|
18
17
|
- - '>='
|
|
19
18
|
- !ruby/object:Gem::Version
|
|
20
19
|
version: 0.8.7
|
|
21
|
-
none: false
|
|
22
20
|
requirement: !ruby/object:Gem::Requirement
|
|
23
21
|
requirements:
|
|
24
22
|
- - '>='
|
|
25
23
|
- !ruby/object:Gem::Version
|
|
26
24
|
version: 0.8.7
|
|
27
|
-
none: false
|
|
28
25
|
prerelease: false
|
|
29
26
|
type: :runtime
|
|
30
27
|
- !ruby/object:Gem::Dependency
|
|
@@ -34,13 +31,11 @@ dependencies:
|
|
|
34
31
|
- - '='
|
|
35
32
|
- !ruby/object:Gem::Version
|
|
36
33
|
version: 2.7.0
|
|
37
|
-
none: false
|
|
38
34
|
requirement: !ruby/object:Gem::Requirement
|
|
39
35
|
requirements:
|
|
40
36
|
- - '='
|
|
41
37
|
- !ruby/object:Gem::Version
|
|
42
38
|
version: 2.7.0
|
|
43
|
-
none: false
|
|
44
39
|
prerelease: false
|
|
45
40
|
type: :development
|
|
46
41
|
description: ''
|
|
@@ -54,36 +49,37 @@ files:
|
|
|
54
49
|
- licenses/cc0-1.0.txt
|
|
55
50
|
- share/rails/template.rb
|
|
56
51
|
- bin/adjust-rails-template.rb
|
|
57
|
-
- lib/org.torquebox.rake-support.rb
|
|
58
52
|
- lib/torquebox-rake-support.rb
|
|
59
|
-
- lib/torquebox
|
|
60
|
-
- lib/torquebox/upstart.rb
|
|
61
|
-
- lib/torquebox/rails.rb
|
|
53
|
+
- lib/org.torquebox.rake-support.rb
|
|
62
54
|
- lib/torquebox/launchd.rb
|
|
63
55
|
- lib/torquebox/server.rb
|
|
56
|
+
- lib/torquebox/rails.rb
|
|
57
|
+
- lib/torquebox/upstart.rb
|
|
58
|
+
- lib/torquebox/deploy_utils.rb
|
|
64
59
|
- lib/torquebox/rake/tasks.rb
|
|
65
|
-
- lib/torquebox/rake/tasks/deployment.rb
|
|
66
60
|
- lib/torquebox/rake/tasks/archive.rb
|
|
61
|
+
- lib/torquebox/rake/tasks/deployment.rb
|
|
67
62
|
- lib/torquebox/rake/tasks/server.rb
|
|
68
|
-
- generators/torquebox_queue_generator.rb
|
|
69
63
|
- generators/USAGE
|
|
64
|
+
- generators/torquebox_queue_generator.rb
|
|
70
65
|
- generators/templates/queue.rb
|
|
71
|
-
- spec/deploy_utils_spec.rb
|
|
72
|
-
- spec/spec_helper.rb
|
|
73
66
|
- spec/server_spec.rb
|
|
74
|
-
- spec/
|
|
67
|
+
- spec/spec_helper.rb
|
|
75
68
|
- spec/upstart_spec.rb
|
|
76
|
-
- spec/
|
|
69
|
+
- spec/deploy_utils_spec.rb
|
|
70
|
+
- spec/rails_spec.rb
|
|
77
71
|
- spec/fixtures/simpleapp/config.ru
|
|
78
|
-
- spec/fixtures/simpleapp/
|
|
72
|
+
- spec/fixtures/simpleapp/simpleapp.box
|
|
79
73
|
- spec/fixtures/simpleapp/vendor/vendor.rb
|
|
80
|
-
- spec/fixtures/simpleapp/app/app.rb
|
|
81
|
-
- spec/fixtures/simpleapp/app/a-non-cached.gem
|
|
82
74
|
- spec/fixtures/simpleapp/app/app.box
|
|
83
75
|
- spec/fixtures/simpleapp/app/puppet-master.rb
|
|
76
|
+
- spec/fixtures/simpleapp/app/a-non-cached.gem
|
|
77
|
+
- spec/fixtures/simpleapp/app/app.rb
|
|
78
|
+
- spec/fixtures/simpleapp/puppet/puppet.rb
|
|
84
79
|
homepage: http://torquebox.org/
|
|
85
80
|
licenses:
|
|
86
81
|
- Public Domain
|
|
82
|
+
metadata: {}
|
|
87
83
|
post_install_message:
|
|
88
84
|
rdoc_options: []
|
|
89
85
|
require_paths:
|
|
@@ -93,21 +89,19 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
93
89
|
- - '>='
|
|
94
90
|
- !ruby/object:Gem::Version
|
|
95
91
|
version: '0'
|
|
96
|
-
none: false
|
|
97
92
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
98
93
|
requirements:
|
|
99
94
|
- - '>='
|
|
100
95
|
- !ruby/object:Gem::Version
|
|
101
96
|
version: '0'
|
|
102
|
-
none: false
|
|
103
97
|
requirements: []
|
|
104
98
|
rubyforge_project:
|
|
105
|
-
rubygems_version: 1.
|
|
99
|
+
rubygems_version: 2.1.9
|
|
106
100
|
signing_key:
|
|
107
|
-
specification_version:
|
|
101
|
+
specification_version: 4
|
|
108
102
|
summary: TorqueBox Rake Support
|
|
109
103
|
test_files:
|
|
110
|
-
- spec/deploy_utils_spec.rb
|
|
111
104
|
- spec/server_spec.rb
|
|
112
|
-
- spec/rails_spec.rb
|
|
113
105
|
- spec/upstart_spec.rb
|
|
106
|
+
- spec/deploy_utils_spec.rb
|
|
107
|
+
- spec/rails_spec.rb
|