lamby 1.0.1 → 1.0.2

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: 42eaa9265259f89cfbcf792a1f1dbbc67e6befc3b3bcd6747c5000936b40f711
4
- data.tar.gz: 44842e88d73023f22850a2642bf81c3b14c67f02c0adb7dd82cca615bdac1b77
3
+ metadata.gz: ca2f5b0087440de0f6a7383ac642061e199428271981d61dcbd7f2800853faec
4
+ data.tar.gz: 1ad5ba4ef2a7c8275d221ec9569424875d19586778f1ac042f62614f770780a9
5
5
  SHA512:
6
- metadata.gz: 51cabbe71d2c26f8e24c00294f4e7f82fae13abcc1df18775968dc3312e80c9d45ec67937ca32ec77c42950e856adfbab505898ab42db185a09956fb5855186a
7
- data.tar.gz: 46cd1ce67df3f2e05825f26642932ff91b90678492a14ed37045c216d4e0768f5e75d03c0f221527ffd5bbfe39e27d977e7db906e4dc30d945ea8a7522a2da48
6
+ metadata.gz: 9cfae4fad3a68553311974a8bb8a93208f9c4f20739cbdaa880d79d3967a65d49ebe01f1080214e2d111016614da399453fb68f30492697dd875ee5d283afe47
7
+ data.tar.gz: 0c7ef072c05009db700629b81ebc6d77e7f5785e63b6d927217eccb2b3b597d7f7e284a9901104c5d71d7ea39524bba557eb1fa53302ac97be8660a6decd747d
@@ -2,6 +2,12 @@
2
2
 
3
3
  See this http://keepachangelog.com link for information on how we want this documented formatted.
4
4
 
5
+ ## v1.0.2
6
+
7
+ #### Changed
8
+
9
+ * Adds an optional 'overwrite' parameter to #to_env.
10
+
5
11
  ## v1.0.1
6
12
 
7
13
  #### Changed
@@ -1,55 +1,68 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- lamby (1.0.0)
4
+ lamby (1.0.2)
5
5
  rack
6
6
  rails
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
- actioncable (5.2.3)
12
- actionpack (= 5.2.3)
11
+ actioncable (6.0.0)
12
+ actionpack (= 6.0.0)
13
13
  nio4r (~> 2.0)
14
14
  websocket-driver (>= 0.6.1)
15
- actionmailer (5.2.3)
16
- actionpack (= 5.2.3)
17
- actionview (= 5.2.3)
18
- activejob (= 5.2.3)
15
+ actionmailbox (6.0.0)
16
+ actionpack (= 6.0.0)
17
+ activejob (= 6.0.0)
18
+ activerecord (= 6.0.0)
19
+ activestorage (= 6.0.0)
20
+ activesupport (= 6.0.0)
21
+ mail (>= 2.7.1)
22
+ actionmailer (6.0.0)
23
+ actionpack (= 6.0.0)
24
+ actionview (= 6.0.0)
25
+ activejob (= 6.0.0)
19
26
  mail (~> 2.5, >= 2.5.4)
20
27
  rails-dom-testing (~> 2.0)
21
- actionpack (5.2.3)
22
- actionview (= 5.2.3)
23
- activesupport (= 5.2.3)
28
+ actionpack (6.0.0)
29
+ actionview (= 6.0.0)
30
+ activesupport (= 6.0.0)
24
31
  rack (~> 2.0)
25
32
  rack-test (>= 0.6.3)
26
33
  rails-dom-testing (~> 2.0)
27
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
28
- actionview (5.2.3)
29
- activesupport (= 5.2.3)
34
+ rails-html-sanitizer (~> 1.0, >= 1.2.0)
35
+ actiontext (6.0.0)
36
+ actionpack (= 6.0.0)
37
+ activerecord (= 6.0.0)
38
+ activestorage (= 6.0.0)
39
+ activesupport (= 6.0.0)
40
+ nokogiri (>= 1.8.5)
41
+ actionview (6.0.0)
42
+ activesupport (= 6.0.0)
30
43
  builder (~> 3.1)
31
44
  erubi (~> 1.4)
32
45
  rails-dom-testing (~> 2.0)
33
- rails-html-sanitizer (~> 1.0, >= 1.0.3)
34
- activejob (5.2.3)
35
- activesupport (= 5.2.3)
46
+ rails-html-sanitizer (~> 1.1, >= 1.2.0)
47
+ activejob (6.0.0)
48
+ activesupport (= 6.0.0)
36
49
  globalid (>= 0.3.6)
37
- activemodel (5.2.3)
38
- activesupport (= 5.2.3)
39
- activerecord (5.2.3)
40
- activemodel (= 5.2.3)
41
- activesupport (= 5.2.3)
42
- arel (>= 9.0)
43
- activestorage (5.2.3)
44
- actionpack (= 5.2.3)
45
- activerecord (= 5.2.3)
50
+ activemodel (6.0.0)
51
+ activesupport (= 6.0.0)
52
+ activerecord (6.0.0)
53
+ activemodel (= 6.0.0)
54
+ activesupport (= 6.0.0)
55
+ activestorage (6.0.0)
56
+ actionpack (= 6.0.0)
57
+ activejob (= 6.0.0)
58
+ activerecord (= 6.0.0)
46
59
  marcel (~> 0.3.1)
47
- activesupport (5.2.3)
60
+ activesupport (6.0.0)
48
61
  concurrent-ruby (~> 1.0, >= 1.0.2)
49
62
  i18n (>= 0.7, < 2)
50
63
  minitest (~> 5.1)
51
64
  tzinfo (~> 1.1)
52
- arel (9.0.0)
65
+ zeitwerk (~> 2.1, >= 2.1.8)
53
66
  aws-eventstream (1.0.2)
54
67
  aws-partitions (1.146.0)
55
68
  aws-sdk-core (3.48.2)
@@ -65,14 +78,14 @@ GEM
65
78
  builder (3.2.3)
66
79
  coderay (1.1.2)
67
80
  concurrent-ruby (1.1.5)
68
- crass (1.0.4)
69
- erubi (1.8.0)
81
+ crass (1.0.5)
82
+ erubi (1.9.0)
70
83
  globalid (0.4.2)
71
84
  activesupport (>= 4.2.0)
72
- i18n (1.6.0)
85
+ i18n (1.7.0)
73
86
  concurrent-ruby (~> 1.0)
74
87
  jmespath (1.4.0)
75
- loofah (2.2.3)
88
+ loofah (2.3.1)
76
89
  crass (~> 1.0.2)
77
90
  nokogiri (>= 1.5.9)
78
91
  mail (2.7.1)
@@ -82,13 +95,13 @@ GEM
82
95
  metaclass (0.0.4)
83
96
  method_source (0.9.2)
84
97
  mimemagic (0.3.3)
85
- mini_mime (1.0.1)
98
+ mini_mime (1.0.2)
86
99
  mini_portile2 (2.4.0)
87
100
  minitest (5.11.3)
88
101
  mocha (1.8.0)
89
102
  metaclass (~> 0.0.1)
90
- nio4r (2.4.0)
91
- nokogiri (1.10.3)
103
+ nio4r (2.5.2)
104
+ nokogiri (1.10.4)
92
105
  mini_portile2 (~> 2.4.0)
93
106
  pry (0.12.2)
94
107
  coderay (~> 1.1.0)
@@ -96,32 +109,34 @@ GEM
96
109
  rack (2.0.7)
97
110
  rack-test (1.1.0)
98
111
  rack (>= 1.0, < 3)
99
- rails (5.2.3)
100
- actioncable (= 5.2.3)
101
- actionmailer (= 5.2.3)
102
- actionpack (= 5.2.3)
103
- actionview (= 5.2.3)
104
- activejob (= 5.2.3)
105
- activemodel (= 5.2.3)
106
- activerecord (= 5.2.3)
107
- activestorage (= 5.2.3)
108
- activesupport (= 5.2.3)
112
+ rails (6.0.0)
113
+ actioncable (= 6.0.0)
114
+ actionmailbox (= 6.0.0)
115
+ actionmailer (= 6.0.0)
116
+ actionpack (= 6.0.0)
117
+ actiontext (= 6.0.0)
118
+ actionview (= 6.0.0)
119
+ activejob (= 6.0.0)
120
+ activemodel (= 6.0.0)
121
+ activerecord (= 6.0.0)
122
+ activestorage (= 6.0.0)
123
+ activesupport (= 6.0.0)
109
124
  bundler (>= 1.3.0)
110
- railties (= 5.2.3)
125
+ railties (= 6.0.0)
111
126
  sprockets-rails (>= 2.0.0)
112
127
  rails-dom-testing (2.0.3)
113
128
  activesupport (>= 4.2.0)
114
129
  nokogiri (>= 1.6)
115
- rails-html-sanitizer (1.0.4)
116
- loofah (~> 2.2, >= 2.2.2)
117
- railties (5.2.3)
118
- actionpack (= 5.2.3)
119
- activesupport (= 5.2.3)
130
+ rails-html-sanitizer (1.3.0)
131
+ loofah (~> 2.3)
132
+ railties (6.0.0)
133
+ actionpack (= 6.0.0)
134
+ activesupport (= 6.0.0)
120
135
  method_source
121
136
  rake (>= 0.8.7)
122
- thor (>= 0.19.0, < 2.0)
137
+ thor (>= 0.20.3, < 2.0)
123
138
  rake (12.3.2)
124
- sprockets (3.7.2)
139
+ sprockets (4.0.0)
125
140
  concurrent-ruby (~> 1.0)
126
141
  rack (> 1, < 3)
127
142
  sprockets-rails (3.2.1)
@@ -136,6 +151,7 @@ GEM
136
151
  websocket-driver (0.7.1)
137
152
  websocket-extensions (>= 0.1.0)
138
153
  websocket-extensions (0.1.4)
154
+ zeitwerk (2.2.0)
139
155
 
140
156
  PLATFORMS
141
157
  ruby
@@ -32,9 +32,9 @@ module Lamby
32
32
  @options = options
33
33
  end
34
34
 
35
- def to_env
35
+ def to_env(overwrite: true)
36
36
  params.each do |param|
37
- ENV[param.env] = param.value
37
+ overwrite ? ENV[param.env] = param.value : ENV[param.env] ||= param.value
38
38
  end
39
39
  end
40
40
 
@@ -1,3 +1,3 @@
1
1
  module Lamby
2
- VERSION = '1.0.1'
2
+ VERSION = '1.0.2'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lamby
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ken Collins
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-09-04 00:00:00.000000000 Z
11
+ date: 2019-10-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rack