env_lint 0.0.1 → 0.0.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7074acbb267701af05f8e2f5307fb5d8f563a1dc
4
- data.tar.gz: 1f07d11602f9e8230159f83a0719b3cfdb503047
3
+ metadata.gz: d97b9eb15d6f46c00fa255bd0f6d36aae0c9580e
4
+ data.tar.gz: 2aa03c2a3f48fbfc51d746a3d4bcb405bfb4d70d
5
5
  SHA512:
6
- metadata.gz: f1895359dbf17fca012f7ed52ff250ba0ea60b0edfd493691aabbf7b424f4d209d4b8d07c747a9b91e856f6e30f8b478c6fc07462f1592e6ba0a5c720226ae32
7
- data.tar.gz: 564fa51150c32279cfcdc4fc965dd0e6b72c1c90d75b9c8ec33fe516394cb8c26fce7034c39d86446c24830275d624689ca4b6caf9ed4c9253df15b2add49573
6
+ metadata.gz: ce4f1dc800421c254c9c4f6235f6796d220d42693fe36cbe1c1ca538fb4b8c8988bd7ed9f31ef65810dedb5f33f7f7a8b1dd40ea0eb4862e8551863206578c93
7
+ data.tar.gz: 60ac00cbf5e694d2353f0cd8825259b5f2baa2efc885801f95f1b3eeff8acbed20455c42b746e5d1e4fd5fc1d3d9bbe59f74cf248f6fb8eecdf50e7724262396
data/README.md CHANGED
@@ -2,7 +2,8 @@
2
2
 
3
3
  <img src="https://travis-ci.org/tf/env_lint.png" data-bindattr-466="466" title="Build Status Images">
4
4
 
5
- Check environment variables accoring to a `.env.example` file.
5
+ Check configuration of [12 factor apps](http://12factor.net/config)
6
+ according to to a `.env.example` file.
6
7
 
7
8
  * Avoid spelling errors in variable names in your code or on the
8
9
  command line
@@ -71,7 +72,7 @@ Lint variable names before setting them:
71
72
  before 'env:set', 'env:lint_args'
72
73
 
73
74
  $ cap env:set APP_NAME=myapp
74
- => Complains if APP_NAME is defined
75
+ => Complains if APP_NAME is not defined
75
76
 
76
77
  ### Lint at Runtime
77
78
 
@@ -95,6 +96,12 @@ Accessing env variables:
95
96
  # Ensures APP_NAME is non optional in .env.example
96
97
  MyApp.env.fetch(:app_name)
97
98
 
99
+ ## Alternatives
100
+
101
+ * [ENV_BANG](https://github.com/jcamenisch/ENV_BANG) - Only checks used
102
+ environment variables at runtime. Offers type conversion
103
+ features. Ruby DSL based.
104
+
98
105
  ## Contributing
99
106
 
100
107
  1. Fork it
data/env_lint.gemspec CHANGED
@@ -8,8 +8,8 @@ Gem::Specification.new do |spec|
8
8
  spec.version = EnvLint::VERSION
9
9
  spec.authors = ['Tim Fischbach']
10
10
  spec.email = ['mail@timfischbach.de']
11
- spec.summary = 'Lint the environment according by .env.example'
12
- spec.homepage = ''
11
+ spec.summary = 'Lint the environment according to .env.example'
12
+ spec.homepage = 'https://github.com/tf/env_lint'
13
13
  spec.license = 'MIT'
14
14
 
15
15
  spec.files = `git ls-files`.split($/)
@@ -1,3 +1,3 @@
1
1
  module EnvLint
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: env_lint
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tim Fischbach
@@ -112,7 +112,7 @@ files:
112
112
  - spec/env_lint/linted_env_spec.rb
113
113
  - spec/integration_spec.rb
114
114
  - spec/spec_helper.rb
115
- homepage: ''
115
+ homepage: https://github.com/tf/env_lint
116
116
  licenses:
117
117
  - MIT
118
118
  metadata: {}
@@ -135,7 +135,7 @@ rubyforge_project:
135
135
  rubygems_version: 2.2.2
136
136
  signing_key:
137
137
  specification_version: 4
138
- summary: Lint the environment according by .env.example
138
+ summary: Lint the environment according to .env.example
139
139
  test_files:
140
140
  - spec/env_lint/capistrano_spec.rb
141
141
  - spec/env_lint/dot_env_file_spec.rb