dice_bag 1.0.0 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/dice_bag/templates/gems_checker.rb +1 -5
- data/lib/dice_bag/version.rb +1 -1
- metadata +2 -3
- data/lib/dice_bag/templates/newrelic.yml.dice +0 -37
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 61fb169aff4d9ffb2b9dc6b64d4f322ccd9af026
|
4
|
+
data.tar.gz: 3f403d6f137a8159d87433ccda774f8115755808
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 582ec0840dcb36f7d1867555929d14c9397d2e5a27dc58b188023017a2a8130d49bd5019289326309a786c63f65a84c75aa5e711f53cbc520731b5b53d6fb4ab
|
7
|
+
data.tar.gz: 8a988b897ad6f7c553eec84b645c98ccc1d861f57f59a3221de019f21bcbd53f744172b7d9f75b54a843f7bbf5ef85c8290d68ab8595bee87cb920981db54871
|
@@ -27,17 +27,13 @@ module DiceBag
|
|
27
27
|
add_template('google_analytics.yml.dice')
|
28
28
|
end
|
29
29
|
|
30
|
-
if defined?(NewRelic)
|
31
|
-
add_template('newrelic.yml.dice')
|
32
|
-
end
|
33
|
-
|
34
30
|
@needed_templates
|
35
31
|
end
|
36
32
|
|
37
33
|
def add_template(file)
|
38
34
|
pwd = File.dirname(__FILE__)
|
39
35
|
@needed_templates.push(File.join(pwd, file))
|
40
|
-
end
|
36
|
+
end
|
41
37
|
|
42
38
|
end
|
43
39
|
|
data/lib/dice_bag/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dice_bag
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Smith
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2016-02-29 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rake
|
@@ -122,7 +122,6 @@ files:
|
|
122
122
|
- lib/dice_bag/templates/database.yml.dice
|
123
123
|
- lib/dice_bag/templates/gems_checker.rb
|
124
124
|
- lib/dice_bag/templates/google_analytics.yml.dice
|
125
|
-
- lib/dice_bag/templates/newrelic.yml.dice
|
126
125
|
- lib/dice_bag/version.rb
|
127
126
|
- lib/dice_bag/warning.rb
|
128
127
|
- spec/command_spec.rb
|
@@ -1,37 +0,0 @@
|
|
1
|
-
<%= warning.as_yaml_comment %>
|
2
|
-
|
3
|
-
common: &default_settings
|
4
|
-
license_key: <%= configured.newrelic_key || "12345" %>
|
5
|
-
app_name: <%= configured.domain || 'PROJECT_NAME' %>
|
6
|
-
enabled: <%= configured.enable_newrelic || false %>
|
7
|
-
log_level: <%= configured.new_relic_debug == 'true' ? 'debug' : 'info' %>
|
8
|
-
ssl: true
|
9
|
-
apdex_t: 0.5
|
10
|
-
capture_params: false
|
11
|
-
transaction_tracer:
|
12
|
-
enabled: true
|
13
|
-
transaction_threshold: apdex_f
|
14
|
-
record_sql: obfuscated
|
15
|
-
stack_trace_threshold: <%= configured.new_relic_debug == 'true' ? '0.1' : '0.5' %>
|
16
|
-
error_collector:
|
17
|
-
enabled: true
|
18
|
-
capture_source: true
|
19
|
-
ignore_errors: ActionController::RoutingError
|
20
|
-
background:
|
21
|
-
monitor_mode: true
|
22
|
-
app_name: <%= configured.domain || 'PROJECT_NAME' %>
|
23
|
-
|
24
|
-
development:
|
25
|
-
<<: *default_settings
|
26
|
-
enabled: false
|
27
|
-
developer: true
|
28
|
-
|
29
|
-
test:
|
30
|
-
<<: *default_settings
|
31
|
-
enabled: false
|
32
|
-
developer: false
|
33
|
-
|
34
|
-
production:
|
35
|
-
<<: *default_settings
|
36
|
-
enabled: true
|
37
|
-
developer: false
|