poise-application-javascript 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +11 -0
- data/.kitchen.travis.yml +9 -0
- data/.kitchen.yml +9 -0
- data/.travis.yml +20 -0
- data/.yardopts +7 -0
- data/Berksfile +35 -0
- data/CHANGELOG.md +5 -0
- data/Gemfile +37 -0
- data/LICENSE +201 -0
- data/README.md +132 -0
- data/Rakefile +17 -0
- data/SUPPORTERS.md +81 -0
- data/lib/poise_application_javascript.rb +23 -0
- data/lib/poise_application_javascript/app_mixin.rb +67 -0
- data/lib/poise_application_javascript/cheftie.rb +17 -0
- data/lib/poise_application_javascript/error.rb +25 -0
- data/lib/poise_application_javascript/resources.rb +22 -0
- data/lib/poise_application_javascript/resources/javascript.rb +64 -0
- data/lib/poise_application_javascript/resources/javascript_execute.rb +88 -0
- data/lib/poise_application_javascript/resources/javascript_service.rb +59 -0
- data/lib/poise_application_javascript/resources/node_package.rb +63 -0
- data/lib/poise_application_javascript/resources/npm_install.rb +45 -0
- data/lib/poise_application_javascript/resources/npm_start.rb +78 -0
- data/lib/poise_application_javascript/service_mixin.rb +57 -0
- data/lib/poise_application_javascript/version.rb +19 -0
- data/poise-application-javascript.gemspec +45 -0
- data/test/cookbooks/application_javascript_test/attributes/default.rb +17 -0
- data/test/cookbooks/application_javascript_test/metadata.rb +20 -0
- data/test/cookbooks/application_javascript_test/recipes/default.rb +32 -0
- data/test/cookbooks/application_javascript_test/recipes/express.rb +22 -0
- data/test/gemfiles/chef-12.gemfile +19 -0
- data/test/gemfiles/master.gemfile +27 -0
- data/test/integration/default/serverspec/default_spec.rb +34 -0
- data/test/integration/default/serverspec/express_spec.rb +47 -0
- data/test/spec/app_mixin_spec.rb +69 -0
- data/test/spec/resources/javascript_execute_spec.rb +46 -0
- data/test/spec/resources/javascript_service_spec.rb +28 -0
- data/test/spec/resources/javascript_spec.rb +44 -0
- data/test/spec/resources/npm_install_spec.rb +28 -0
- data/test/spec/resources/npm_start_spec.rb +38 -0
- data/test/spec/spec_helper.rb +18 -0
- metadata +204 -0
@@ -0,0 +1,34 @@
|
|
1
|
+
#
|
2
|
+
# Copyright 2015, Noah Kantrowitz
|
3
|
+
#
|
4
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
+
# you may not use this file except in compliance with the License.
|
6
|
+
# You may obtain a copy of the License at
|
7
|
+
#
|
8
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
#
|
10
|
+
# Unless required by applicable law or agreed to in writing, software
|
11
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
+
# See the License for the specific language governing permissions and
|
14
|
+
# limitations under the License.
|
15
|
+
#
|
16
|
+
|
17
|
+
require 'net/http'
|
18
|
+
|
19
|
+
require 'serverspec'
|
20
|
+
set :backend, :exec
|
21
|
+
|
22
|
+
describe 'node1' do
|
23
|
+
describe port(8000) do
|
24
|
+
it { is_expected.to be_listening }
|
25
|
+
end
|
26
|
+
|
27
|
+
let(:http) { Net::HTTP.new('localhost', 8000) }
|
28
|
+
|
29
|
+
describe '/' do
|
30
|
+
subject { http.get('/') }
|
31
|
+
its(:code) { is_expected.to eq '200' }
|
32
|
+
its(:body) { is_expected.to eq "Hello world!\n" }
|
33
|
+
end
|
34
|
+
end
|
@@ -0,0 +1,47 @@
|
|
1
|
+
#
|
2
|
+
# Copyright 2015, Noah Kantrowitz
|
3
|
+
#
|
4
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
+
# you may not use this file except in compliance with the License.
|
6
|
+
# You may obtain a copy of the License at
|
7
|
+
#
|
8
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
#
|
10
|
+
# Unless required by applicable law or agreed to in writing, software
|
11
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
+
# See the License for the specific language governing permissions and
|
14
|
+
# limitations under the License.
|
15
|
+
#
|
16
|
+
|
17
|
+
require 'net/http'
|
18
|
+
|
19
|
+
require 'serverspec'
|
20
|
+
set :backend, :exec
|
21
|
+
|
22
|
+
describe 'express' do
|
23
|
+
describe port(8000) do
|
24
|
+
it { is_expected.to be_listening }
|
25
|
+
end
|
26
|
+
|
27
|
+
let(:http) { Net::HTTP.new('localhost', 3000) }
|
28
|
+
|
29
|
+
describe '/' do
|
30
|
+
subject { http.get('/') }
|
31
|
+
its(:code) { is_expected.to eq '200' }
|
32
|
+
its(:body) { is_expected.to include 'Welcome to Express' }
|
33
|
+
end
|
34
|
+
|
35
|
+
describe '/users' do
|
36
|
+
subject { http.get('/users') }
|
37
|
+
its(:code) { is_expected.to eq '200' }
|
38
|
+
its(:body) { is_expected.to include 'respond with a resource' }
|
39
|
+
end
|
40
|
+
|
41
|
+
describe '/404' do
|
42
|
+
subject { http.get('/404') }
|
43
|
+
its(:code) { is_expected.to eq '404' }
|
44
|
+
its(:body) { is_expected.to include 'Error: Not Found' }
|
45
|
+
end
|
46
|
+
end
|
47
|
+
|
@@ -0,0 +1,69 @@
|
|
1
|
+
#
|
2
|
+
# Copyright 2015, Noah Kantrowitz
|
3
|
+
#
|
4
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
+
# you may not use this file except in compliance with the License.
|
6
|
+
# You may obtain a copy of the License at
|
7
|
+
#
|
8
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
#
|
10
|
+
# Unless required by applicable law or agreed to in writing, software
|
11
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
+
# See the License for the specific language governing permissions and
|
14
|
+
# limitations under the License.
|
15
|
+
#
|
16
|
+
|
17
|
+
require 'spec_helper'
|
18
|
+
require 'poise_application/cheftie'
|
19
|
+
require 'poise_javascript/cheftie'
|
20
|
+
|
21
|
+
describe PoiseApplicationJavascript::AppMixin do
|
22
|
+
describe '#parent_javascript' do
|
23
|
+
resource(:poise_test) do
|
24
|
+
include described_class
|
25
|
+
end
|
26
|
+
provider(:poise_test)
|
27
|
+
|
28
|
+
context 'with an app_state javascript' do
|
29
|
+
recipe do
|
30
|
+
javascript_runtime 'outer'
|
31
|
+
application '/test' do
|
32
|
+
app_state[:javascript] = PoiseJavascript::Resources::JavascriptRuntime::Resource.new('inner', run_context)
|
33
|
+
poise_test
|
34
|
+
end
|
35
|
+
javascript_runtime 'after'
|
36
|
+
poise_test 'after'
|
37
|
+
application '/other'
|
38
|
+
poise_test 'other'
|
39
|
+
end
|
40
|
+
let(:javascript) { chef_run.application('/test').app_state[:javascript] }
|
41
|
+
|
42
|
+
it { is_expected.to run_poise_test('/test').with(parent_javascript: javascript) }
|
43
|
+
it { is_expected.to run_poise_test('after').with(parent_javascript: javascript) }
|
44
|
+
it { is_expected.to run_poise_test('other').with(parent_javascript: chef_run.javascript_runtime('after')) }
|
45
|
+
it { expect(javascript).to be_a Chef::Resource }
|
46
|
+
end # /context with an app_state javascript
|
47
|
+
|
48
|
+
context 'with a global javascript' do
|
49
|
+
recipe do
|
50
|
+
javascript_runtime 'outer'
|
51
|
+
application '/test' do
|
52
|
+
poise_test
|
53
|
+
end
|
54
|
+
end
|
55
|
+
|
56
|
+
it { is_expected.to run_poise_test('/test').with(parent_javascript: chef_run.javascript_runtime('outer')) }
|
57
|
+
end # /context with a global javascript
|
58
|
+
|
59
|
+
context 'with no javascript' do
|
60
|
+
recipe do
|
61
|
+
application '/test' do
|
62
|
+
poise_test
|
63
|
+
end
|
64
|
+
end
|
65
|
+
|
66
|
+
it { is_expected.to run_poise_test('/test').with(parent_javascript: nil) }
|
67
|
+
end # /context with no javascript
|
68
|
+
end # /describe #parent_javascript
|
69
|
+
end
|
@@ -0,0 +1,46 @@
|
|
1
|
+
#
|
2
|
+
# Copyright 2015, Noah Kantrowitz
|
3
|
+
#
|
4
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
+
# you may not use this file except in compliance with the License.
|
6
|
+
# You may obtain a copy of the License at
|
7
|
+
#
|
8
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
#
|
10
|
+
# Unless required by applicable law or agreed to in writing, software
|
11
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
+
# See the License for the specific language governing permissions and
|
14
|
+
# limitations under the License.
|
15
|
+
#
|
16
|
+
|
17
|
+
require 'spec_helper'
|
18
|
+
|
19
|
+
describe PoiseApplicationJavascript::Resources::JavascriptExecute do
|
20
|
+
step_into(:application_javascript_execute)
|
21
|
+
recipe do
|
22
|
+
application '/srv/myapp' do
|
23
|
+
owner 'myuser'
|
24
|
+
group 'mygroup'
|
25
|
+
environment ENVKEY: 'ENVVALUE'
|
26
|
+
|
27
|
+
javascript('') { provider :dummy }
|
28
|
+
javascript_execute 'myapp.js'
|
29
|
+
end
|
30
|
+
end
|
31
|
+
|
32
|
+
it do
|
33
|
+
expect_any_instance_of(described_class::Provider).to receive(:shell_out!).with(
|
34
|
+
'/node myapp.js',
|
35
|
+
user: 'myuser',
|
36
|
+
group: 'mygroup',
|
37
|
+
cwd: '/srv/myapp',
|
38
|
+
timeout: 3600,
|
39
|
+
returns: 0,
|
40
|
+
environment: {'ENVKEY' => 'ENVVALUE'},
|
41
|
+
log_level: :info,
|
42
|
+
log_tag: 'application_javascript_execute[myapp.js]',
|
43
|
+
)
|
44
|
+
is_expected.to run_application_javascript_execute('myapp.js').with(user: 'myuser', group: 'mygroup', cwd: '/srv/myapp')
|
45
|
+
end
|
46
|
+
end
|
@@ -0,0 +1,28 @@
|
|
1
|
+
#
|
2
|
+
# Copyright 2015, Noah Kantrowitz
|
3
|
+
#
|
4
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
+
# you may not use this file except in compliance with the License.
|
6
|
+
# You may obtain a copy of the License at
|
7
|
+
#
|
8
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
#
|
10
|
+
# Unless required by applicable law or agreed to in writing, software
|
11
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
+
# See the License for the specific language governing permissions and
|
14
|
+
# limitations under the License.
|
15
|
+
#
|
16
|
+
|
17
|
+
require 'spec_helper'
|
18
|
+
|
19
|
+
describe PoiseApplicationJavascript::Resources::JavascriptService do
|
20
|
+
recipe do
|
21
|
+
application '/test' do
|
22
|
+
javascript 'ver'
|
23
|
+
javascript_service 'main.js'
|
24
|
+
end
|
25
|
+
end
|
26
|
+
|
27
|
+
it { is_expected.to enable_application_javascript_service('main.js').with(parent_javascript: chef_run.application_javascript('ver'), path: '/test', command: 'main.js') }
|
28
|
+
end
|
@@ -0,0 +1,44 @@
|
|
1
|
+
#
|
2
|
+
# Copyright 2015, Noah Kantrowitz
|
3
|
+
#
|
4
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
+
# you may not use this file except in compliance with the License.
|
6
|
+
# You may obtain a copy of the License at
|
7
|
+
#
|
8
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
#
|
10
|
+
# Unless required by applicable law or agreed to in writing, software
|
11
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
+
# See the License for the specific language governing permissions and
|
14
|
+
# limitations under the License.
|
15
|
+
#
|
16
|
+
|
17
|
+
require 'spec_helper'
|
18
|
+
|
19
|
+
describe PoiseApplicationJavascript::Resources::Javascript do
|
20
|
+
shared_examples 'application_javascript' do
|
21
|
+
it { is_expected.to install_application_javascript('ver') }
|
22
|
+
it { expect(chef_run.application('/test').app_state[:javascript]).to eq chef_run.application_javascript('ver') }
|
23
|
+
end # /shared_examples application_javascript
|
24
|
+
|
25
|
+
context 'with #javascript_runtime' do
|
26
|
+
recipe do
|
27
|
+
application '/test' do
|
28
|
+
javascript_runtime 'ver'
|
29
|
+
end
|
30
|
+
end
|
31
|
+
|
32
|
+
it_behaves_like 'application_javascript'
|
33
|
+
end # /context with #javascript_runtime
|
34
|
+
|
35
|
+
context 'with #javascript' do
|
36
|
+
recipe do
|
37
|
+
application '/test' do
|
38
|
+
javascript 'ver'
|
39
|
+
end
|
40
|
+
end
|
41
|
+
|
42
|
+
it_behaves_like 'application_javascript'
|
43
|
+
end # /context with #javascript
|
44
|
+
end
|
@@ -0,0 +1,28 @@
|
|
1
|
+
#
|
2
|
+
# Copyright 2015, Noah Kantrowitz
|
3
|
+
#
|
4
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
+
# you may not use this file except in compliance with the License.
|
6
|
+
# You may obtain a copy of the License at
|
7
|
+
#
|
8
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
#
|
10
|
+
# Unless required by applicable law or agreed to in writing, software
|
11
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
+
# See the License for the specific language governing permissions and
|
14
|
+
# limitations under the License.
|
15
|
+
#
|
16
|
+
|
17
|
+
require 'spec_helper'
|
18
|
+
|
19
|
+
describe PoiseApplicationJavascript::Resources::NpmInstall do
|
20
|
+
recipe do
|
21
|
+
application '/test' do
|
22
|
+
javascript 'ver'
|
23
|
+
npm_install
|
24
|
+
end
|
25
|
+
end
|
26
|
+
|
27
|
+
it { is_expected.to install_application_npm_install('/test').with(parent_javascript: chef_run.application_javascript('ver')) }
|
28
|
+
end
|
@@ -0,0 +1,38 @@
|
|
1
|
+
#
|
2
|
+
# Copyright 2015, Noah Kantrowitz
|
3
|
+
#
|
4
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
+
# you may not use this file except in compliance with the License.
|
6
|
+
# You may obtain a copy of the License at
|
7
|
+
#
|
8
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
#
|
10
|
+
# Unless required by applicable law or agreed to in writing, software
|
11
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
+
# See the License for the specific language governing permissions and
|
14
|
+
# limitations under the License.
|
15
|
+
#
|
16
|
+
|
17
|
+
require 'spec_helper'
|
18
|
+
|
19
|
+
describe PoiseApplicationJavascript::Resources::NpmStart do
|
20
|
+
recipe do
|
21
|
+
application '/test' do
|
22
|
+
javascript 'ver' do
|
23
|
+
def self.javascript_binary
|
24
|
+
'/node'
|
25
|
+
end
|
26
|
+
def self.npm_binary
|
27
|
+
'/npm'
|
28
|
+
end
|
29
|
+
end
|
30
|
+
npm_start do
|
31
|
+
run_context.resource_collection << provider_for_action(action).send(:service_resource)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
end
|
35
|
+
|
36
|
+
it { is_expected.to enable_application_npm_start('/test').with(parent_javascript: chef_run.application_javascript('ver')) }
|
37
|
+
it { is_expected.to enable_poise_service('/test').with(service_name: 'test', command: '/node /npm start', environment: {'PATH' => "/:#{ENV['PATH']}"}) }
|
38
|
+
end
|
@@ -0,0 +1,18 @@
|
|
1
|
+
#
|
2
|
+
# Copyright 2015, Noah Kantrowitz
|
3
|
+
#
|
4
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
+
# you may not use this file except in compliance with the License.
|
6
|
+
# You may obtain a copy of the License at
|
7
|
+
#
|
8
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
#
|
10
|
+
# Unless required by applicable law or agreed to in writing, software
|
11
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
+
# See the License for the specific language governing permissions and
|
14
|
+
# limitations under the License.
|
15
|
+
#
|
16
|
+
|
17
|
+
require 'poise_boiler/spec_helper'
|
18
|
+
require 'poise_application_javascript'
|
metadata
ADDED
@@ -0,0 +1,204 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: poise-application-javascript
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Noah Kantrowitz
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2015-10-05 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: halite
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: poise
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '2.0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '2.0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: poise-application
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '5.0'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '5.0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: poise-javascript
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '1.0'
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '1.0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: poise-service
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '1.0'
|
76
|
+
type: :runtime
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '1.0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: poise-boiler
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '1.0'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '1.0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: poise-application-git
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - "~>"
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '1.0'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - "~>"
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '1.0'
|
111
|
+
description: A Chef cookbook for deploying server-side JavaScript application code.
|
112
|
+
email:
|
113
|
+
- noah@coderanger.net
|
114
|
+
executables: []
|
115
|
+
extensions: []
|
116
|
+
extra_rdoc_files: []
|
117
|
+
files:
|
118
|
+
- ".gitignore"
|
119
|
+
- ".kitchen.travis.yml"
|
120
|
+
- ".kitchen.yml"
|
121
|
+
- ".travis.yml"
|
122
|
+
- ".yardopts"
|
123
|
+
- Berksfile
|
124
|
+
- CHANGELOG.md
|
125
|
+
- Gemfile
|
126
|
+
- LICENSE
|
127
|
+
- README.md
|
128
|
+
- Rakefile
|
129
|
+
- SUPPORTERS.md
|
130
|
+
- lib/poise_application_javascript.rb
|
131
|
+
- lib/poise_application_javascript/app_mixin.rb
|
132
|
+
- lib/poise_application_javascript/cheftie.rb
|
133
|
+
- lib/poise_application_javascript/error.rb
|
134
|
+
- lib/poise_application_javascript/resources.rb
|
135
|
+
- lib/poise_application_javascript/resources/javascript.rb
|
136
|
+
- lib/poise_application_javascript/resources/javascript_execute.rb
|
137
|
+
- lib/poise_application_javascript/resources/javascript_service.rb
|
138
|
+
- lib/poise_application_javascript/resources/node_package.rb
|
139
|
+
- lib/poise_application_javascript/resources/npm_install.rb
|
140
|
+
- lib/poise_application_javascript/resources/npm_start.rb
|
141
|
+
- lib/poise_application_javascript/service_mixin.rb
|
142
|
+
- lib/poise_application_javascript/version.rb
|
143
|
+
- poise-application-javascript.gemspec
|
144
|
+
- test/cookbooks/application_javascript_test/attributes/default.rb
|
145
|
+
- test/cookbooks/application_javascript_test/metadata.rb
|
146
|
+
- test/cookbooks/application_javascript_test/recipes/default.rb
|
147
|
+
- test/cookbooks/application_javascript_test/recipes/express.rb
|
148
|
+
- test/docker/docker.ca
|
149
|
+
- test/docker/docker.pem
|
150
|
+
- test/gemfiles/chef-12.gemfile
|
151
|
+
- test/gemfiles/master.gemfile
|
152
|
+
- test/integration/default/serverspec/default_spec.rb
|
153
|
+
- test/integration/default/serverspec/express_spec.rb
|
154
|
+
- test/spec/app_mixin_spec.rb
|
155
|
+
- test/spec/resources/javascript_execute_spec.rb
|
156
|
+
- test/spec/resources/javascript_service_spec.rb
|
157
|
+
- test/spec/resources/javascript_spec.rb
|
158
|
+
- test/spec/resources/npm_install_spec.rb
|
159
|
+
- test/spec/resources/npm_start_spec.rb
|
160
|
+
- test/spec/spec_helper.rb
|
161
|
+
homepage: https://github.com/poise/application_javascript
|
162
|
+
licenses:
|
163
|
+
- Apache 2.0
|
164
|
+
metadata:
|
165
|
+
halite_name: application_javascript
|
166
|
+
post_install_message:
|
167
|
+
rdoc_options: []
|
168
|
+
require_paths:
|
169
|
+
- lib
|
170
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
171
|
+
requirements:
|
172
|
+
- - ">="
|
173
|
+
- !ruby/object:Gem::Version
|
174
|
+
version: '0'
|
175
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
176
|
+
requirements:
|
177
|
+
- - ">="
|
178
|
+
- !ruby/object:Gem::Version
|
179
|
+
version: '0'
|
180
|
+
requirements: []
|
181
|
+
rubyforge_project:
|
182
|
+
rubygems_version: 2.4.8
|
183
|
+
signing_key:
|
184
|
+
specification_version: 4
|
185
|
+
summary: A Chef cookbook for deploying server-side JavaScript application code.
|
186
|
+
test_files:
|
187
|
+
- test/cookbooks/application_javascript_test/attributes/default.rb
|
188
|
+
- test/cookbooks/application_javascript_test/metadata.rb
|
189
|
+
- test/cookbooks/application_javascript_test/recipes/default.rb
|
190
|
+
- test/cookbooks/application_javascript_test/recipes/express.rb
|
191
|
+
- test/docker/docker.ca
|
192
|
+
- test/docker/docker.pem
|
193
|
+
- test/gemfiles/chef-12.gemfile
|
194
|
+
- test/gemfiles/master.gemfile
|
195
|
+
- test/integration/default/serverspec/default_spec.rb
|
196
|
+
- test/integration/default/serverspec/express_spec.rb
|
197
|
+
- test/spec/app_mixin_spec.rb
|
198
|
+
- test/spec/resources/javascript_execute_spec.rb
|
199
|
+
- test/spec/resources/javascript_service_spec.rb
|
200
|
+
- test/spec/resources/javascript_spec.rb
|
201
|
+
- test/spec/resources/npm_install_spec.rb
|
202
|
+
- test/spec/resources/npm_start_spec.rb
|
203
|
+
- test/spec/spec_helper.rb
|
204
|
+
has_rdoc:
|