cloudwatch-metrics 0.1.6 → 0.1.8
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: 93a69ab5c230e1d20a5e27d6bec7aef7d2ac1dfc77565ef488a00a7c5b58cd1d
|
4
|
+
data.tar.gz: 1ef2071a486021492269cd66229bf5244027e9ed653674462cafc2693df42bb9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 997371f4ba7bf239ce91ef238625a3bedd84be61a9f7c1ed9c8df68bd2b09928b485d22d572e12d1079ac6f8addcc23af63c6aacd55d6302bc7110d8286a3275
|
7
|
+
data.tar.gz: '019efd24444ef901e4b5212085012bbee3f81757b7fd2bf81e7ced58a8db273b09dc872741eec4f9baacd566f18fe6fd5ea48d54b8c1c9248c44d242062828de'
|
data/Gemfile.lock
CHANGED
data/lib/cloudwatch_metrics.rb
CHANGED
@@ -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
|