middleman-dotenv 0.0.2 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.document +3 -0
- data/.gitignore +15 -14
- data/.rubocop.yml +24 -0
- data/.travis.yml +20 -8
- data/.yardopts +6 -0
- data/CONTRIBUTING.md +44 -0
- data/Gemfile +7 -11
- data/LICENSE.md +22 -0
- data/README.md +23 -23
- data/Rakefile +17 -9
- data/features/support/env.rb +7 -3
- data/fixtures/env-app/config.rb +1 -1
- data/fixtures/env-app/source/test.html.erb +1 -1
- data/fixtures/envless-app/config.rb +1 -1
- data/fixtures/envless-app/source/test.html.erb +1 -1
- data/lib/middleman-dotenv.rb +1 -1
- data/lib/middleman-dotenv/extension.rb +2 -2
- data/lib/middleman-dotenv/version.rb +1 -1
- data/middleman-dotenv.gemspec +28 -17
- metadata +107 -22
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7e2a8fe8b3608a02e1b269ca0e0b8127ca7b0496
|
4
|
+
data.tar.gz: 0b0b0777f6dc8c8d962b133a567f668f3bc6f3e0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d7dbbfe61052b25727a1cbf1db06efd9d7b6ee670487aa73fb5be23069366fe9498061e3f23935245c1edf55e6698b714f301bb4a2083c39db8a76e5f8bc9258
|
7
|
+
data.tar.gz: 38e79ca4326373e5592e83cb9c284a2b714cdf029483d89c9a034e58aa4b368ab0db5d9bfe6ae9677dd81f754b53e4fd79c40e2d6d91043e9ebcdafc5c996541
|
data/.document
ADDED
data/.gitignore
CHANGED
@@ -1,17 +1,18 @@
|
|
1
|
-
|
1
|
+
*.gem
|
2
|
+
*.rbc
|
3
|
+
.bundle
|
4
|
+
.config
|
5
|
+
.yardoc
|
6
|
+
Gemfile.lock
|
7
|
+
InstalledFiles
|
8
|
+
_yardoc
|
2
9
|
coverage
|
3
|
-
|
10
|
+
doc/
|
11
|
+
lib/bundler/man
|
4
12
|
pkg
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
docs
|
10
|
-
.rbenv-*
|
11
|
-
.*.swp
|
12
|
-
build
|
13
|
-
doc
|
14
|
-
.yardoc
|
13
|
+
rdoc
|
14
|
+
spec/reports
|
15
|
+
test/tmp
|
16
|
+
test/version_tmp
|
15
17
|
tmp
|
16
|
-
|
17
|
-
.mm-pid-*
|
18
|
+
bin
|
data/.rubocop.yml
ADDED
@@ -0,0 +1,24 @@
|
|
1
|
+
AllCops:
|
2
|
+
Includes:
|
3
|
+
- Rakefile
|
4
|
+
- Gemfile
|
5
|
+
Excludes:
|
6
|
+
- script/**
|
7
|
+
- vendor/**
|
8
|
+
- bin/**
|
9
|
+
LineLength:
|
10
|
+
Enabled: false
|
11
|
+
MethodLength:
|
12
|
+
Enabled: false
|
13
|
+
ClassLength:
|
14
|
+
Enabled: false
|
15
|
+
Documentation:
|
16
|
+
Enabled: false
|
17
|
+
Encoding:
|
18
|
+
Enabled: false
|
19
|
+
Blocks:
|
20
|
+
Enabled: false
|
21
|
+
AlignParameters:
|
22
|
+
Enabled: false
|
23
|
+
HashSyntax:
|
24
|
+
EnforcedStyle: ruby19
|
data/.travis.yml
CHANGED
@@ -1,12 +1,24 @@
|
|
1
|
+
language: ruby
|
2
|
+
cache: bundler
|
3
|
+
bundler_args: --without development
|
1
4
|
rvm:
|
2
|
-
-
|
3
|
-
-
|
5
|
+
- ruby-head
|
6
|
+
- ruby
|
7
|
+
- jruby-head
|
8
|
+
- jruby
|
9
|
+
- 2.1.0
|
10
|
+
- 2.0.0
|
4
11
|
- 1.9.3
|
5
|
-
-
|
6
|
-
- jruby-19mode
|
7
|
-
script: "bundle exec rake test"
|
8
|
-
env: TEST=true
|
12
|
+
- rbx-2
|
9
13
|
matrix:
|
14
|
+
fast_finish: true
|
10
15
|
allow_failures:
|
11
|
-
- rvm:
|
12
|
-
- rvm:
|
16
|
+
- rvm: ruby-head
|
17
|
+
- rvm: ruby
|
18
|
+
- rvm: jruby-head
|
19
|
+
- rvm: jruby
|
20
|
+
- rvm: rbx-2
|
21
|
+
notifications:
|
22
|
+
email: false
|
23
|
+
env:
|
24
|
+
- CODECLIMATE_REPO_TOKEN=e5926063262b3a825cb9457b161e408788126431305069ae0d67d8179793e9e9
|
data/.yardopts
ADDED
data/CONTRIBUTING.md
ADDED
@@ -0,0 +1,44 @@
|
|
1
|
+
## Contributing
|
2
|
+
In the spirit of [free software][free-sw], **everyone** is encouraged to help
|
3
|
+
improve this project.
|
4
|
+
|
5
|
+
[free-sw]: http://www.fsf.org/licensing/essays/free-sw.html
|
6
|
+
|
7
|
+
Here are some ways *you* can contribute:
|
8
|
+
|
9
|
+
* by using alpha, beta, and prerelease versions
|
10
|
+
* by reporting bugs
|
11
|
+
* by suggesting new features
|
12
|
+
* by writing or editing documentation
|
13
|
+
* by writing specifications
|
14
|
+
* by writing code (**no patch is too small**: fix typos, add comments, clean up
|
15
|
+
inconsistent whitespace)
|
16
|
+
* by refactoring code
|
17
|
+
* by closing [issues][]
|
18
|
+
* by reviewing patches
|
19
|
+
|
20
|
+
[issues]: https://github.com/karlfreeman/middleman-dotenv/issues
|
21
|
+
|
22
|
+
## Submitting an Issue
|
23
|
+
We use the [GitHub issue tracker][issues] to track bugs and features. Before
|
24
|
+
submitting a bug report or feature request, check to make sure it hasn't
|
25
|
+
already been submitted. When submitting a bug report, please include a [Gist][]
|
26
|
+
that includes a stack trace and any details that may be necessary to reproduce
|
27
|
+
the bug, including your gem version, Ruby version, and operating system.
|
28
|
+
Ideally, a bug report should include a pull request with failing specs.
|
29
|
+
|
30
|
+
[gist]: https://gist.github.com/
|
31
|
+
|
32
|
+
## Submitting a Pull Request
|
33
|
+
1. [Fork the repository.][fork]
|
34
|
+
2. [Create a topic branch.][branch]
|
35
|
+
3. Add specs for your unimplemented feature or bug fix.
|
36
|
+
4. Run `bundle exec rake cucumber`. If your specs pass, return to step 3.
|
37
|
+
5. Implement your feature or bug fix.
|
38
|
+
6. Run `bundle exec rake cucumber`. If your specs fail, return to step 5.
|
39
|
+
7. Add, commit, and push your changes.
|
40
|
+
9. [Submit a pull request.][pr]
|
41
|
+
|
42
|
+
[fork]: http://help.github.com/fork-a-repo/
|
43
|
+
[branch]: http://learn.github.com/p/branching.html
|
44
|
+
[pr]: http://help.github.com/send-pull-requests/
|
data/Gemfile
CHANGED
@@ -1,15 +1,11 @@
|
|
1
1
|
source 'https://rubygems.org'
|
2
2
|
|
3
|
-
git "git://github.com/middleman/middleman.git", :branch => "3.0-stable" do
|
4
|
-
gem "middleman-core"
|
5
|
-
end
|
6
|
-
|
7
3
|
gemspec
|
8
4
|
|
9
|
-
|
10
|
-
gem
|
11
|
-
gem
|
12
|
-
gem
|
13
|
-
gem
|
14
|
-
gem
|
15
|
-
|
5
|
+
group :test do
|
6
|
+
gem 'rake', '~> 10.0'
|
7
|
+
gem 'cucumber', '~> 1.3'
|
8
|
+
gem 'aruba', '~> 0.5'
|
9
|
+
gem 'fivemat'
|
10
|
+
gem 'codeclimate-test-reporter'
|
11
|
+
end
|
data/LICENSE.md
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
Copyright (c) 2013-2014 Karl Freeman
|
2
|
+
|
3
|
+
MIT License
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
6
|
+
a copy of this software and associated documentation files (the
|
7
|
+
"Software"), to deal in the Software without restriction, including
|
8
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
9
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
10
|
+
permit persons to whom the Software is furnished to do so, subject to
|
11
|
+
the following conditions:
|
12
|
+
|
13
|
+
The above copyright notice and this permission notice shall be
|
14
|
+
included in all copies or substantial portions of the Software.
|
15
|
+
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
17
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
18
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
19
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
20
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
21
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
22
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
CHANGED
@@ -1,55 +1,55 @@
|
|
1
1
|
# Middleman Dotenv
|
2
2
|
|
3
|
-
Integrates [Dotenv]
|
4
|
-
|
5
|
-
## Features / Usage Examples
|
3
|
+
Integrates [Dotenv](https://github.com/bkeepers/dotenv) into [Middleman](http://middlemanapp.com)
|
6
4
|
|
7
5
|
## Installation
|
8
6
|
|
9
|
-
|
7
|
+
```ruby
|
8
|
+
gem 'middleman-dotenv', '~> 1.0'
|
9
|
+
```
|
10
|
+
|
11
|
+
Open your `config.rb` and add the following right at the top of the file
|
10
12
|
|
11
13
|
```ruby
|
14
|
+
# Uses .env in the root of the project
|
12
15
|
activate :dotenv
|
13
16
|
```
|
14
17
|
|
18
|
+
## Features / Usage Examples
|
19
|
+
|
15
20
|
```ruby
|
16
|
-
#
|
21
|
+
# Specify environment specific .env files
|
17
22
|
configure :development do
|
18
|
-
activate :dotenv, :
|
23
|
+
activate :dotenv, env: '.env.development'
|
19
24
|
end
|
20
25
|
|
21
26
|
configure :build do
|
22
|
-
activate :dotenv, :
|
27
|
+
activate :dotenv, env: '.env.build'
|
23
28
|
end
|
24
29
|
```
|
25
30
|
|
26
31
|
## Badges
|
27
32
|
|
28
|
-
[![Gem Version](
|
29
|
-
[![Build Status](
|
30
|
-
[![Code Quality](
|
31
|
-
[![Coverage
|
32
|
-
[![Gittip](http://img.shields.io/gittip/karlfreeman.
|
33
|
+
[![Gem Version](http://img.shields.io/gem/v/middleman-dotenv.svg)][gem]
|
34
|
+
[![Build Status](http://img.shields.io/travis/karlfreeman/middleman-dotenv.svg)][travis]
|
35
|
+
[![Code Quality](http://img.shields.io/codeclimate/github/karlfreeman/middleman-dotenv.svg)][codeclimate]
|
36
|
+
[![Code Coverage](http://img.shields.io/codeclimate/coverage/github/karlfreeman/middleman-dotenv.svg)][codeclimate]
|
37
|
+
[![Gittip](http://img.shields.io/gittip/karlfreeman.svg)][gittip]
|
33
38
|
|
34
39
|
## Supported Ruby Versions
|
35
40
|
|
36
41
|
This library aims to support and is [tested against][travis] the following Ruby
|
37
42
|
implementations:
|
38
43
|
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
# Credits
|
44
|
+
- Ruby 2.1.0
|
45
|
+
- Ruby 2.0.0
|
46
|
+
- Ruby 1.9.3
|
47
|
+
- [JRuby][jruby]
|
48
|
+
- [Rubinius][rubinius]
|
45
49
|
|
46
50
|
[gem]: https://rubygems.org/gems/middleman-dotenv
|
47
51
|
[travis]: http://travis-ci.org/karlfreeman/middleman-dotenv
|
48
|
-
[coveralls]: https://coveralls.io/r/karlfreeman/middleman-dotenv
|
49
52
|
[codeclimate]: https://codeclimate.com/github/karlfreeman/middleman-dotenv
|
50
|
-
[gittip]: https://www.gittip.com/karlfreeman
|
53
|
+
[gittip]: https://www.gittip.com/karlfreeman/
|
51
54
|
[jruby]: http://www.jruby.org
|
52
55
|
[rubinius]: http://rubini.us
|
53
|
-
|
54
|
-
[dotenv]: https://github.com/bkeepers/dotenv
|
55
|
-
[middleman]: http://middlemanapp.com
|
data/Rakefile
CHANGED
@@ -1,20 +1,28 @@
|
|
1
1
|
require 'bundler'
|
2
|
+
Bundler.setup
|
2
3
|
Bundler::GemHelper.install_tasks
|
3
4
|
|
4
5
|
require 'cucumber'
|
5
6
|
require 'cucumber/rake/task'
|
6
7
|
Cucumber::Rake::Task.new(:cucumber, 'Run features that should pass') do |t|
|
7
|
-
ENV[
|
8
|
-
exempt_tags =
|
9
|
-
exempt_tags <<
|
8
|
+
ENV['TEST'] = 'true'
|
9
|
+
exempt_tags = ''
|
10
|
+
exempt_tags << '--tags ~@nojava' if RUBY_PLATFORM == 'java'
|
10
11
|
t.cucumber_opts = "--color --tags ~@wip #{exempt_tags} --strict --format #{ENV['CUCUMBER_FORMAT'] || 'pretty'}"
|
11
12
|
end
|
12
13
|
|
13
|
-
|
14
|
-
|
15
|
-
|
14
|
+
begin
|
15
|
+
require 'yard'
|
16
|
+
YARD::Rake::YardocTask.new
|
17
|
+
rescue LoadError
|
18
|
+
end
|
16
19
|
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
+
begin
|
21
|
+
require 'rubocop/rake_task'
|
22
|
+
desc 'Run rubocop'
|
23
|
+
Rubocop::RakeTask.new(:rubocop)
|
24
|
+
rescue LoadError
|
20
25
|
end
|
26
|
+
|
27
|
+
task default: :cucumber
|
28
|
+
task test: :cucumber
|
data/features/support/env.rb
CHANGED
@@ -1,4 +1,8 @@
|
|
1
1
|
PROJECT_ROOT_PATH = File.dirname(File.dirname(File.dirname(__FILE__)))
|
2
|
-
require
|
3
|
-
require
|
4
|
-
|
2
|
+
require 'middleman-core'
|
3
|
+
require 'middleman-core/step_definitions'
|
4
|
+
|
5
|
+
require 'codeclimate-test-reporter'
|
6
|
+
CodeClimate::TestReporter.start
|
7
|
+
|
8
|
+
require File.join(PROJECT_ROOT_PATH, 'lib', 'middleman-dotenv')
|
data/fixtures/env-app/config.rb
CHANGED
@@ -1 +1 @@
|
|
1
|
-
activate :dotenv
|
1
|
+
activate :dotenv
|
@@ -1 +1 @@
|
|
1
|
-
<h1><%= ENV[
|
1
|
+
<h1><%= ENV['FOO'] %></h1>
|
@@ -1 +1 @@
|
|
1
|
-
activate :dotenv
|
1
|
+
activate :dotenv
|
@@ -1 +1 @@
|
|
1
|
-
<h1><%= ENV[
|
1
|
+
<h1><%= ENV['BAR'] %></h1>
|
data/lib/middleman-dotenv.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
module Middleman
|
2
2
|
module Dotenv
|
3
3
|
class << self
|
4
|
-
def registered(app, options_hash={})
|
4
|
+
def registered(app, options_hash = {})
|
5
5
|
env = options_hash[:env] || '.env'
|
6
6
|
require 'dotenv' unless defined?(::Dotenv)
|
7
7
|
::Dotenv.load File.join(Dir.pwd, env)
|
@@ -9,7 +9,7 @@ module Middleman
|
|
9
9
|
::Dotenv.load File.join(self.class.inst.root, env)
|
10
10
|
end
|
11
11
|
end
|
12
|
-
|
12
|
+
alias_method :included, :registered
|
13
13
|
end
|
14
14
|
end
|
15
15
|
end
|
data/middleman-dotenv.gemspec
CHANGED
@@ -1,20 +1,31 @@
|
|
1
|
-
#
|
2
|
-
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'middleman-dotenv/version'
|
3
5
|
|
4
|
-
Gem::Specification.new do |
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = 'middleman-dotenv'
|
8
|
+
spec.version = Middleman::Dotenv::VERSION
|
9
|
+
spec.authors = ['Karl Freeman']
|
10
|
+
spec.email = ['karlfreeman@gmail.com']
|
11
|
+
spec.summary = %q{Dotenv for Middleman}
|
12
|
+
spec.description = %q{Dotenv for Middleman}
|
13
|
+
spec.homepage = 'https://github.com/karlfreeman/middleman-dotenv'
|
14
|
+
spec.license = 'MIT'
|
13
15
|
|
14
|
-
|
15
|
-
|
16
|
-
|
16
|
+
spec.files = `git ls-files -z`.split("\x0")
|
17
|
+
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
18
|
+
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
|
+
spec.require_paths = ['lib']
|
20
|
+
spec.required_ruby_version = '>= 1.9.3'
|
17
21
|
|
18
|
-
|
19
|
-
|
20
|
-
|
22
|
+
spec.add_runtime_dependency 'middleman-core', '>= 3.2'
|
23
|
+
spec.add_runtime_dependency 'dotenv', '~> 0.7'
|
24
|
+
|
25
|
+
spec.add_development_dependency 'bundler', '~> 1.5'
|
26
|
+
spec.add_development_dependency 'rake', '~> 10.0'
|
27
|
+
spec.add_development_dependency 'kramdown', '>= 0.14'
|
28
|
+
spec.add_development_dependency 'rubocop', '~> 0.19'
|
29
|
+
spec.add_development_dependency 'pry'
|
30
|
+
spec.add_development_dependency 'yard'
|
31
|
+
end
|
metadata
CHANGED
@@ -1,43 +1,127 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: middleman-dotenv
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Karl Freeman
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2014-08-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: middleman-core
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '3.
|
19
|
+
version: '3.2'
|
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
|
-
version: '3.
|
26
|
+
version: '3.2'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: dotenv
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - ~>
|
31
|
+
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 0.7
|
33
|
+
version: '0.7'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - ~>
|
38
|
+
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 0.7
|
40
|
+
version: '0.7'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: bundler
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '1.5'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '1.5'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: rake
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '10.0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '10.0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: kramdown
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0.14'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0.14'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: rubocop
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0.19'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0.19'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: pry
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ">="
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ">="
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: yard
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - ">="
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - ">="
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0'
|
41
125
|
description: Dotenv for Middleman
|
42
126
|
email:
|
43
127
|
- karlfreeman@gmail.com
|
@@ -45,10 +129,15 @@ executables: []
|
|
45
129
|
extensions: []
|
46
130
|
extra_rdoc_files: []
|
47
131
|
files:
|
48
|
-
- .
|
49
|
-
- .
|
132
|
+
- ".document"
|
133
|
+
- ".gitignore"
|
134
|
+
- ".rubocop.yml"
|
135
|
+
- ".travis.yml"
|
136
|
+
- ".yardopts"
|
50
137
|
- CHANGELOG.md
|
138
|
+
- CONTRIBUTING.md
|
51
139
|
- Gemfile
|
140
|
+
- LICENSE.md
|
52
141
|
- README.md
|
53
142
|
- Rakefile
|
54
143
|
- features/dotenv.feature
|
@@ -64,7 +153,8 @@ files:
|
|
64
153
|
- lib/middleman_extension.rb
|
65
154
|
- middleman-dotenv.gemspec
|
66
155
|
homepage: https://github.com/karlfreeman/middleman-dotenv
|
67
|
-
licenses:
|
156
|
+
licenses:
|
157
|
+
- MIT
|
68
158
|
metadata: {}
|
69
159
|
post_install_message:
|
70
160
|
rdoc_options: []
|
@@ -72,26 +162,21 @@ require_paths:
|
|
72
162
|
- lib
|
73
163
|
required_ruby_version: !ruby/object:Gem::Requirement
|
74
164
|
requirements:
|
75
|
-
- -
|
165
|
+
- - ">="
|
76
166
|
- !ruby/object:Gem::Version
|
77
|
-
version:
|
167
|
+
version: 1.9.3
|
78
168
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
79
169
|
requirements:
|
80
|
-
- -
|
170
|
+
- - ">="
|
81
171
|
- !ruby/object:Gem::Version
|
82
172
|
version: '0'
|
83
173
|
requirements: []
|
84
174
|
rubyforge_project:
|
85
|
-
rubygems_version: 2.
|
175
|
+
rubygems_version: 2.2.2
|
86
176
|
signing_key:
|
87
177
|
specification_version: 4
|
88
178
|
summary: Dotenv for Middleman
|
89
179
|
test_files:
|
90
180
|
- features/dotenv.feature
|
91
181
|
- features/support/env.rb
|
92
|
-
- fixtures/env-app/.env
|
93
|
-
- fixtures/env-app/config.rb
|
94
|
-
- fixtures/env-app/source/test.html.erb
|
95
|
-
- fixtures/envless-app/config.rb
|
96
|
-
- fixtures/envless-app/source/test.html.erb
|
97
182
|
has_rdoc:
|