env_lint 0.0.6 → 1.0.0

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.
Files changed (5) hide show
  1. checksums.yaml +5 -13
  2. data/CHANGELOG.md +15 -0
  3. data/README.md +8 -7
  4. data/lib/env_lint/version.rb +1 -1
  5. metadata +16 -15
checksums.yaml CHANGED
@@ -1,15 +1,7 @@
1
1
  ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- YWZiOTZiNDZkMDJlOTVlOTE5NTA4Y2ZiNTFkNjU0NTAwOTRmYTViMQ==
5
- data.tar.gz: !binary |-
6
- ZjE0YTZmZTk0OTc1MGFmNmEzMDE4MTg1MmY3YTI0OTQ0YTE3OTI4Zg==
2
+ SHA1:
3
+ metadata.gz: c5f3603c17197eef9162d8b575091404415801f0
4
+ data.tar.gz: d33e26ee2973cd78044869bdd165478b299fb4ed
7
5
  SHA512:
8
- metadata.gz: !binary |-
9
- OGZmMzI0ODBkM2VhNTAwOTRiYjY3N2IwOTUyODE4NTQ3MjdlYjE4N2VkMjZl
10
- MTkwOGRkOWE5MDllYzFmMDljYWMyMzJmOTU1ZTg2ZDIyZjAxNjNhOWEzOTll
11
- ZTJiYzU2NzAzMjIyOTJmMjc0MmQxZjA1NGJiNjJjZWVmYjU0MmU=
12
- data.tar.gz: !binary |-
13
- OGE0YmQ4Y2VlNjU4NTEwMjY5MDAzNzc0ZDVlYWUxNzc2M2ZmYzE2ZTJiZGNi
14
- NWQyY2RlMjFhNzI1MmNhNTVmOGRkYTE5MGMyYzQyNGY5ZjkwZjEzYmMyNmU5
15
- ZTIwMzQ3M2ExYzQ1YjcxY2E0OTIxMjkwNDljY2Y0YzAwY2YxNjQ=
6
+ metadata.gz: c1ab2e8bd9420d185652acf017c07e8897f412a30e187dbb064eeec2d8f73d832c02957a557c4ce7926746852cc290ac9083c24afc56a006c49b20e8a15d0f3e
7
+ data.tar.gz: 750bf6e5c803184971ef8ff6f734c8a3185cc33a816b3cd725f09e48a8466cd2299c29fb92108986a9ed1784b67781de6e962d4a97287c1c1c7ad2342826d1b0
@@ -0,0 +1,15 @@
1
+ # CHANGELOG
2
+
3
+ ## Changes on `master`
4
+
5
+ [Compare changes](https://github.com/tf/pr_log/compare/v1.0.0...master)
6
+
7
+ None so far.
8
+
9
+ ## Version 1.0.0
10
+
11
+ 2017-03-03
12
+
13
+ [Compare changes](https://github.com/tf/pr_log/compare/v0.0.6...v1.0.0)
14
+
15
+ * Bump version to follow semantic versioning from now on.
data/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # Env Lint
2
2
 
3
3
  [![Gem Version](https://badge.fury.io/rb/env_lint.png)](http://badge.fury.io/rb/env_lint)
4
- <img src="https://travis-ci.org/tf/env_lint.png" data-bindattr-466="466" title="Build Status Images">
4
+ [![Build Status](https://travis-ci.org/tf/env_lint.svg?branch=master)](https://travis-ci.org/tf/env_lint)
5
5
 
6
6
  Check configuration of [12 factor apps](http://12factor.net/config)
7
7
  according to to a `.env.example` file.
@@ -21,8 +21,9 @@ explaining why we got started with env_lint.
21
21
 
22
22
  ## Status
23
23
 
24
- Still young, but used in production. Only tested with
25
- [recap](https://github.com/tomafro/recap) capistrano tasks.
24
+ Used in production. Following semantic versioning Capistrano tasks
25
+ only tested with [recap](https://github.com/tomafro/recap) capistrano
26
+ tasks.
26
27
 
27
28
  ## Installation
28
29
 
@@ -36,11 +37,11 @@ Define a `.env.example` file:
36
37
 
37
38
  # Explain each variable in comments like this one
38
39
  APP_NAME=my_app
39
-
40
+
40
41
  # Comments are also recognized if they span multiple
41
42
  # lines
42
43
  FEATURE=true
43
-
44
+
44
45
  # Optional variables
45
46
  # OPTIONAL_VAR="set me if you like"
46
47
 
@@ -92,7 +93,7 @@ user. The probe command can be configured:
92
93
  Lint variable names before setting them:
93
94
 
94
95
  before 'env:set', 'env:lint_args'
95
-
96
+
96
97
  $ cap env:set APP_NAME=myapp
97
98
  => Complains if APP_NAME is not defined
98
99
 
@@ -104,7 +105,7 @@ Access ENV through a `LintedEnv`:
104
105
 
105
106
  class MyApp
106
107
  LINTED_ENV = EnvLint::LintedEnv.from_file('.env.example')
107
-
108
+
108
109
  def self.env
109
110
  LINTED_ENV
110
111
  end
@@ -1,3 +1,3 @@
1
1
  module EnvLint
2
- VERSION = "0.0.6"
2
+ VERSION = "1.0.0"
3
3
  end
metadata CHANGED
@@ -1,41 +1,41 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: env_lint
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tim Fischbach
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-04-22 00:00:00.000000000 Z
11
+ date: 2017-03-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: formatador
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ! '>='
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: '0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ! '>='
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: capistrano
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ~>
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
33
  version: '2.9'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ~>
38
+ - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: '2.9'
41
41
  - !ruby/object:Gem::Dependency
@@ -56,28 +56,28 @@ dependencies:
56
56
  name: bundler
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ~>
59
+ - - "~>"
60
60
  - !ruby/object:Gem::Version
61
61
  version: '1.3'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - ~>
66
+ - - "~>"
67
67
  - !ruby/object:Gem::Version
68
68
  version: '1.3'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: rake
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - ! '>='
73
+ - - ">="
74
74
  - !ruby/object:Gem::Version
75
75
  version: '0'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - ! '>='
80
+ - - ">="
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
83
  description:
@@ -87,8 +87,9 @@ executables: []
87
87
  extensions: []
88
88
  extra_rdoc_files: []
89
89
  files:
90
- - .gitignore
91
- - .travis.yml
90
+ - ".gitignore"
91
+ - ".travis.yml"
92
+ - CHANGELOG.md
92
93
  - Gemfile
93
94
  - LICENSE.txt
94
95
  - README.md
@@ -122,17 +123,17 @@ require_paths:
122
123
  - lib
123
124
  required_ruby_version: !ruby/object:Gem::Requirement
124
125
  requirements:
125
- - - ! '>='
126
+ - - ">="
126
127
  - !ruby/object:Gem::Version
127
128
  version: '0'
128
129
  required_rubygems_version: !ruby/object:Gem::Requirement
129
130
  requirements:
130
- - - ! '>='
131
+ - - ">="
131
132
  - !ruby/object:Gem::Version
132
133
  version: '0'
133
134
  requirements: []
134
135
  rubyforge_project:
135
- rubygems_version: 2.2.2
136
+ rubygems_version: 2.6.8
136
137
  signing_key:
137
138
  specification_version: 4
138
139
  summary: Lint the environment according to .env.example