dnapi 1.1.74.jruby192.c → 1.1.74.jruby192.d

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,30 @@
1
+ module DNApi
2
+ module Components
3
+ class NodeJS < VersionedComponent.new(:key)
4
+ include Component
5
+
6
+ desc "Evented I/O for V8 JavaScript"
7
+
8
+ key :nodejs
9
+
10
+ belongs_to Environment
11
+
12
+ NAME = 'Node.js'.freeze
13
+ VERSION = '0.6'.freeze
14
+ PATCH_LEVEL = '1'.freeze
15
+
16
+ def self.label
17
+ "#{NAME} - #{version}"
18
+ end
19
+
20
+ def self.version
21
+ "#{VERSION}.#{PATCH_LEVEL}"
22
+ end
23
+
24
+ def self.package
25
+ 'net-libs/nodejs'
26
+ end
27
+ end
28
+
29
+ end
30
+ end
@@ -0,0 +1,28 @@
1
+ module DNApi
2
+ module Components
3
+ class V8 < VersionedComponent.new(:key)
4
+ include Component
5
+
6
+ desc 'Open source javascript engine'
7
+ key :v8
8
+
9
+ belongs_to Environment
10
+
11
+ NAME = 'V8'.freeze
12
+ VERSION = '3.6'.freeze
13
+ PATCH_LEVEL = '6.7'.freeze
14
+
15
+ def self.label
16
+ "#{NAME} - #{version}"
17
+ end
18
+
19
+ def self.version
20
+ "#{VERSION}.#{PATCH_LEVEL}"
21
+ end
22
+
23
+ def self.package
24
+ 'dev-lang/v8'
25
+ end
26
+ end
27
+ end
28
+ end
@@ -0,0 +1,33 @@
1
+ module DNApi
2
+ module Components
3
+ class VersionedComponent < Struct
4
+
5
+ def self.label
6
+ "#{self::NAME} #{self::VERSION}"
7
+ end
8
+
9
+ def app_server_stacks
10
+ DNApi::Stack.all.select do |stack|
11
+ stack.ruby_versions.include?(self.class)
12
+ end
13
+ end
14
+
15
+ def name
16
+ self.class::NAME
17
+ end
18
+
19
+ def label
20
+ self.class.label
21
+ end
22
+
23
+ def version
24
+ self.class::VERSION
25
+ end
26
+
27
+ def patch_level
28
+ self.class::PATCH_LEVEL
29
+ end
30
+
31
+ end
32
+ end
33
+ end
data/lib/dnapi/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module DNApi
2
- VERSION = '1.1.74.jruby192.c'
2
+ VERSION = '1.1.74.jruby192.d'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dnapi
3
3
  version: !ruby/object:Gem::Version
4
- hash: 1239077196
4
+ hash: 1239077197
5
5
  prerelease: 7
6
6
  segments:
7
7
  - 1
@@ -9,8 +9,8 @@ version: !ruby/object:Gem::Version
9
9
  - 74
10
10
  - jruby
11
11
  - 192
12
- - c
13
- version: 1.1.74.jruby192.c
12
+ - d
13
+ version: 1.1.74.jruby192.d
14
14
  platform: ruby
15
15
  authors:
16
16
  - Engine Yard
@@ -83,10 +83,13 @@ files:
83
83
  - lib/dnapi/components/monitor.rb
84
84
  - lib/dnapi/components/nagios.rb
85
85
  - lib/dnapi/components/newrelic.rb
86
+ - lib/dnapi/components/nodejs.rb
86
87
  - lib/dnapi/components/passenger3.rb
87
88
  - lib/dnapi/components/ruby.rb
88
89
  - lib/dnapi/components/ssmtp.rb
89
90
  - lib/dnapi/components/stunneled.rb
91
+ - lib/dnapi/components/v8.rb
92
+ - lib/dnapi/components/versioned_component.rb
90
93
  - lib/dnapi/components/volume.rb
91
94
  - lib/dnapi/cron.rb
92
95
  - lib/dnapi/db_stack.rb