rubycfn 0.4.8 → 0.4.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -1
- data/Gemfile.lock +25 -31
- data/README.md +9 -1
- data/lib/monkeypatch.rb +6 -6
- data/lib/rubycfn/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4baa8d4b318086135900e1c01162558c055d4234653228d8b8bf9c5588a1de6e
|
|
4
|
+
data.tar.gz: 7ee9a9714b2d2f592be1e24d5ec201a59ba6e4212e71fa179c597cb1e788f03b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9df42d090e8aeb17a67b92ae87c2c5100be44702794fd531394f16adc40e1fa39992b7a2fca3469bb723eaabbeb29af7ad205b44d3d0d8e86554726354929324
|
|
7
|
+
data.tar.gz: a1019d43a5c9510afef197b4308f631d06527d6dde50d32a5f7c79d09046dd6ead56bb3d2563774daa7274b9c2f41ac61dbc64d245e1b0184ba0e40f271bed79
|
data/CHANGELOG.md
CHANGED
|
@@ -2,7 +2,12 @@
|
|
|
2
2
|
All notable changes to Rubycfn will be documented in this file.
|
|
3
3
|
This project uses [Semantic Versioning](http://semver.org/).
|
|
4
4
|
|
|
5
|
-
## 0.4.
|
|
5
|
+
## 0.4.10 (Next Release)
|
|
6
|
+
|
|
7
|
+
## 0.4.9
|
|
8
|
+
|
|
9
|
+
* Added fnbase64 to Hash monkeypatch -- [@dennisvink][@dennisvink]
|
|
10
|
+
* Updated README.md
|
|
6
11
|
|
|
7
12
|
## 0.4.8
|
|
8
13
|
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
rubycfn (0.4.
|
|
4
|
+
rubycfn (0.4.9)
|
|
5
5
|
activesupport (~> 5.1.5)
|
|
6
6
|
dotenv (~> 2.4.0)
|
|
7
7
|
json (~> 2.1.0)
|
|
@@ -25,11 +25,11 @@ GEM
|
|
|
25
25
|
docile (1.3.2)
|
|
26
26
|
dotenv (2.4.0)
|
|
27
27
|
equatable (0.6.1)
|
|
28
|
-
ffi (1.
|
|
28
|
+
ffi (1.12.2)
|
|
29
29
|
formatador (0.2.5)
|
|
30
30
|
given_core (3.8.0)
|
|
31
31
|
sorcerer (>= 0.3.7)
|
|
32
|
-
guard (2.
|
|
32
|
+
guard (2.16.1)
|
|
33
33
|
formatador (>= 0.2.4)
|
|
34
34
|
listen (>= 2.7, < 4.0)
|
|
35
35
|
lumberjack (>= 1.0.12, < 2.0)
|
|
@@ -48,11 +48,10 @@ GEM
|
|
|
48
48
|
json (2.1.0)
|
|
49
49
|
launchy (2.4.3)
|
|
50
50
|
addressable (~> 2.3)
|
|
51
|
-
listen (3.1
|
|
52
|
-
rb-fsevent (~> 0.
|
|
53
|
-
rb-inotify (~> 0.9, >= 0.9.
|
|
54
|
-
|
|
55
|
-
lumberjack (1.0.13)
|
|
51
|
+
listen (3.2.1)
|
|
52
|
+
rb-fsevent (~> 0.10, >= 0.10.3)
|
|
53
|
+
rb-inotify (~> 0.9, >= 0.9.10)
|
|
54
|
+
lumberjack (1.2.4)
|
|
56
55
|
method_source (0.9.2)
|
|
57
56
|
minitest (5.14.0)
|
|
58
57
|
neatjson (0.8.4)
|
|
@@ -67,41 +66,39 @@ GEM
|
|
|
67
66
|
pry (0.12.2)
|
|
68
67
|
coderay (~> 1.1.0)
|
|
69
68
|
method_source (~> 0.9.0)
|
|
70
|
-
public_suffix (4.0.
|
|
69
|
+
public_suffix (4.0.3)
|
|
71
70
|
rake (10.5.0)
|
|
72
71
|
rb-fsevent (0.10.3)
|
|
73
|
-
rb-inotify (0.10.
|
|
72
|
+
rb-inotify (0.10.1)
|
|
74
73
|
ffi (~> 1.0)
|
|
75
|
-
rspec (3.
|
|
76
|
-
rspec-core (~> 3.
|
|
77
|
-
rspec-expectations (~> 3.
|
|
78
|
-
rspec-mocks (~> 3.
|
|
79
|
-
rspec-core (3.
|
|
80
|
-
rspec-support (~> 3.
|
|
81
|
-
rspec-expectations (3.
|
|
74
|
+
rspec (3.9.0)
|
|
75
|
+
rspec-core (~> 3.9.0)
|
|
76
|
+
rspec-expectations (~> 3.9.0)
|
|
77
|
+
rspec-mocks (~> 3.9.0)
|
|
78
|
+
rspec-core (3.9.1)
|
|
79
|
+
rspec-support (~> 3.9.1)
|
|
80
|
+
rspec-expectations (3.9.0)
|
|
82
81
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
83
|
-
rspec-support (~> 3.
|
|
82
|
+
rspec-support (~> 3.9.0)
|
|
84
83
|
rspec-given (3.8.0)
|
|
85
84
|
given_core (= 3.8.0)
|
|
86
85
|
rspec (>= 2.14.0)
|
|
87
86
|
rspec-its (1.3.0)
|
|
88
87
|
rspec-core (>= 3.0.0)
|
|
89
88
|
rspec-expectations (>= 3.0.0)
|
|
90
|
-
rspec-mocks (3.
|
|
89
|
+
rspec-mocks (3.9.1)
|
|
91
90
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
92
|
-
rspec-support (~> 3.
|
|
93
|
-
rspec-support (3.
|
|
91
|
+
rspec-support (~> 3.9.0)
|
|
92
|
+
rspec-support (3.9.2)
|
|
94
93
|
rspec_junit_formatter (0.4.1)
|
|
95
94
|
rspec-core (>= 2, < 4, != 2.12.0)
|
|
96
|
-
ruby_dep (1.5.0)
|
|
97
95
|
shellany (0.0.1)
|
|
98
|
-
simplecov (0.
|
|
96
|
+
simplecov (0.18.3)
|
|
99
97
|
docile (~> 1.1)
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
thor (0.20.3)
|
|
98
|
+
simplecov-html (~> 0.11)
|
|
99
|
+
simplecov-html (0.12.1)
|
|
100
|
+
sorcerer (2.0.1)
|
|
101
|
+
thor (1.0.1)
|
|
105
102
|
thread_safe (0.3.6)
|
|
106
103
|
timers (4.3.0)
|
|
107
104
|
tty-color (0.5.1)
|
|
@@ -138,6 +135,3 @@ DEPENDENCIES
|
|
|
138
135
|
rspec_junit_formatter (~> 0.2)
|
|
139
136
|
rubycfn!
|
|
140
137
|
simplecov (~> 0.9)
|
|
141
|
-
|
|
142
|
-
BUNDLED WITH
|
|
143
|
-
1.15.4
|
data/README.md
CHANGED
|
@@ -61,7 +61,7 @@ __________ ____ __________________.___._________ _____________________
|
|
|
61
61
|
| _/ | /| | _// | |/ \ \/ | __) | | _/
|
|
62
62
|
| | \ | / | | \\____ |\ \____| \ | | \
|
|
63
63
|
|____|_ /______/ |______ // ______| \______ /\___ / |______ /
|
|
64
|
-
\/ \/ \/ \/ \/ \/ [v0.4.
|
|
64
|
+
\/ \/ \/ \/ \/ \/ [v0.4.9]
|
|
65
65
|
Project name? example
|
|
66
66
|
Account ID? 1234567890
|
|
67
67
|
Select region EU (Frankfurt)
|
|
@@ -434,12 +434,20 @@ https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cfn-resource-spec
|
|
|
434
434
|
You can also place the `CloudFormationResourceSpecification.json` file in the
|
|
435
435
|
root of your project. It will override the one supplied by Rubycfn.
|
|
436
436
|
|
|
437
|
+
## Authors
|
|
438
|
+
|
|
439
|
+
Dennis Vink
|
|
440
|
+
|
|
441
|
+
Contributors:
|
|
442
|
+
* Leon Rodenburg
|
|
443
|
+
|
|
437
444
|
## License
|
|
438
445
|
|
|
439
446
|
MIT License
|
|
440
447
|
|
|
441
448
|
Copyright (c) 2019 Dennis Vink
|
|
442
449
|
|
|
450
|
+
|
|
443
451
|
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
444
452
|
this software and associated documentation files (the "Software"), to deal in
|
|
445
453
|
the Software without restriction, including without limitation the rights to
|
data/lib/monkeypatch.rb
CHANGED
|
@@ -103,12 +103,6 @@ class String
|
|
|
103
103
|
}
|
|
104
104
|
end
|
|
105
105
|
|
|
106
|
-
def fnbase64
|
|
107
|
-
{
|
|
108
|
-
"Fn::Base64": self
|
|
109
|
-
}
|
|
110
|
-
end
|
|
111
|
-
|
|
112
106
|
def fngetazs
|
|
113
107
|
{
|
|
114
108
|
"Fn::GetAZs": self
|
|
@@ -243,6 +237,12 @@ class ::Hash
|
|
|
243
237
|
}
|
|
244
238
|
end
|
|
245
239
|
|
|
240
|
+
def fnbase64
|
|
241
|
+
{
|
|
242
|
+
"Fn::Base64": self
|
|
243
|
+
}
|
|
244
|
+
end
|
|
245
|
+
|
|
246
246
|
def fnjoin(separator = "")
|
|
247
247
|
{
|
|
248
248
|
"Fn::Join": [
|
data/lib/rubycfn/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rubycfn
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.4.
|
|
4
|
+
version: 0.4.9
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Dennis Vink
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2020-02-
|
|
11
|
+
date: 2020-02-24 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: neatjson
|