cloudwatch-metrics 0.1.6 → 0.1.7
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8fb68586c8d6e7fd44f5db65b31ee64d1ba6d1d8d002020c8970d3b07566c77a
|
4
|
+
data.tar.gz: 99bd2846d53be024ad53a55e169db488ba2866025685eaf60b86024aa1cf7abd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3682d76828e310595720c636455b7b1257a0a0132db341d88b82455394fb5c26b30e61d133c7afeb22725d236da9544d98b63136082a96edca811fe0a6d20ea8
|
7
|
+
data.tar.gz: 8072681bc2ac5bd7fcdea34f7fc8f0e8212e35330227b52c7c04f604b136c503f69805db133cb8f184983a1da2fa96ef077db972de14fdb11d17b1fc672445b6
|
@@ -1,9 +1,13 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
|
4
|
-
|
3
|
+
module CloudwatchMetrics
|
4
|
+
module Generators
|
5
|
+
class InitializerGenerator < Rails::Generators::Base
|
6
|
+
source_root File.expand_path('templates', __dir__)
|
5
7
|
|
6
|
-
|
7
|
-
|
8
|
+
def copy_initializer_file
|
9
|
+
copy_file "cloudwatch_metrics.rb", "config/initializers/cloudwatch_metrics.rb"
|
10
|
+
end
|
11
|
+
end
|
8
12
|
end
|
9
13
|
end
|