capistrano-env-config 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 5837c18e28a8e40de3dcc843d7212a0cd909f972
4
+ data.tar.gz: 7b4a4c89ba48548b15c17abb51e252c759626775
5
+ SHA512:
6
+ metadata.gz: 8316e656c0b4d7cefa0f763f932c210bde4e5c4c2ddbe0edf346c128633228c21be59ca81cf9ecbec53495f4a68a6fc111762a705e12d1c3fa407456e469c7b1
7
+ data.tar.gz: 240a6d2e87e49ea96bfb61d5073c119e05b400fbdd5b901a7fc1416cf7515fac42704ac5657f82971aafbcdea76ececae6407b7b39b8dcd80df960f88277845b
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Capistrano::env-config
2
2
 
3
- Loads a `.env` file in the same directory as your Capfile. Entries are automatially loaded as environment variables and can be accessed in Capistrano as ENV['VAR'] e.g.
3
+ Loads a `.env` file in the same directory as your Capfile. Entries are automatically loaded as environment variables and can be accessed in Capistrano as `ENV['VAR']` e.g.
4
4
 
5
5
  ```ruby
6
6
  # .env
@@ -33,7 +33,7 @@ And then execute:
33
33
  ## Usage
34
34
 
35
35
  # Capfile
36
- require 'capistrano-env-config
36
+ require 'capistrano/env-config
37
37
 
38
38
  ## Contributing
39
39
 
@@ -1,22 +1,21 @@
1
1
  # -*- encoding: utf-8 -*-
2
2
  lib = File.expand_path('../lib', __FILE__)
3
3
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
- require 'capistrano-env-config/version'
5
4
 
6
- Gem::Specification.new do |gem|
7
- gem.name = 'capistrano-env-config'
8
- gem.version = CapistranoEnvConfig::VERSION
9
- gem.authors = ['Robert Coleman']
10
- gem.email = ['github@robert.net.nz']
11
- gem.description = %q{Dotenv configuration loading for Capistrano stages}
12
- gem.summary = %q{Dotenv configuration loading for Capistrano stages}
13
- gem.homepage = 'https://github.com/rjocoleman/capistrano-env-config'
14
- gem.license = 'MIT'
5
+ Gem::Specification.new do |spec|
6
+ spec.name = 'capistrano-env-config'
7
+ spec.version = '0.2.0'
8
+ spec.authors = 'Robert Coleman'
9
+ spec.email = 'github@robert.net.nz'
10
+ spec.description = %q{Dotenv configuration loading for Capistrano stages}
11
+ spec.summary = %q{Dotenv configuration loading for Capistrano stages}
12
+ spec.homepage = 'https://github.com/rjocoleman/capistrano-env-config'
13
+ spec.license = 'MIT'
15
14
 
16
- gem.files = `git ls-files`.split($/)
17
- gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
18
- gem.require_paths = ['lib']
15
+ spec.files = `git ls-files`.split($/)
16
+ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
17
+ spec.require_paths = ['lib']
19
18
 
20
- gem.add_dependency 'capistrano', '~> 3.0'
21
- gem.add_dependency 'dotenv', '~> 0.9'
19
+ spec.add_dependency 'capistrano', '~> 3.0'
20
+ spec.add_dependency 'dotenv', '~> 0.9'
22
21
  end
@@ -1,6 +0,0 @@
1
- # Ensure deploy tasks are loaded before we run
2
- require 'capistrano/deploy'
3
-
4
- require 'dotenv'
5
-
6
- load File.expand_path('../capistrano-env-config/tasks/env_config.rake', __FILE__)
@@ -0,0 +1,3 @@
1
+ require 'dotenv'
2
+
3
+ load File.expand_path('../tasks/env-config.rake', __FILE__)
metadata CHANGED
@@ -1,86 +1,79 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-env-config
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
5
- prerelease:
4
+ version: 0.2.0
6
5
  platform: ruby
7
6
  authors:
8
7
  - Robert Coleman
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2014-02-04 00:00:00.000000000 Z
11
+ date: 2014-05-24 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: capistrano
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ~>
17
+ - - "~>"
20
18
  - !ruby/object:Gem::Version
21
19
  version: '3.0'
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ~>
24
+ - - "~>"
28
25
  - !ruby/object:Gem::Version
29
26
  version: '3.0'
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: dotenv
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
- - - ~>
31
+ - - "~>"
36
32
  - !ruby/object:Gem::Version
37
33
  version: '0.9'
38
34
  type: :runtime
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
- - - ~>
38
+ - - "~>"
44
39
  - !ruby/object:Gem::Version
45
40
  version: '0.9'
46
41
  description: Dotenv configuration loading for Capistrano stages
47
- email:
48
- - github@robert.net.nz
42
+ email: github@robert.net.nz
49
43
  executables: []
50
44
  extensions: []
51
45
  extra_rdoc_files: []
52
46
  files:
53
- - .gitignore
47
+ - ".gitignore"
54
48
  - Gemfile
55
49
  - README.md
56
50
  - Rakefile
57
51
  - capistrano-env-config.gemspec
58
52
  - lib/capistrano-env-config.rb
59
- - lib/capistrano-env-config/tasks/env_config.rake
60
- - lib/capistrano-env-config/version.rb
53
+ - lib/capistrano/env-config.rb
54
+ - lib/capistrano/tasks/env-config.rake
61
55
  homepage: https://github.com/rjocoleman/capistrano-env-config
62
56
  licenses:
63
57
  - MIT
58
+ metadata: {}
64
59
  post_install_message:
65
60
  rdoc_options: []
66
61
  require_paths:
67
62
  - lib
68
63
  required_ruby_version: !ruby/object:Gem::Requirement
69
- none: false
70
64
  requirements:
71
- - - ! '>='
65
+ - - ">="
72
66
  - !ruby/object:Gem::Version
73
67
  version: '0'
74
68
  required_rubygems_version: !ruby/object:Gem::Requirement
75
- none: false
76
69
  requirements:
77
- - - ! '>='
70
+ - - ">="
78
71
  - !ruby/object:Gem::Version
79
72
  version: '0'
80
73
  requirements: []
81
74
  rubyforge_project:
82
- rubygems_version: 1.8.23
75
+ rubygems_version: 2.2.2
83
76
  signing_key:
84
- specification_version: 3
77
+ specification_version: 4
85
78
  summary: Dotenv configuration loading for Capistrano stages
86
79
  test_files: []
@@ -1,3 +0,0 @@
1
- module CapistranoEnvConfig
2
- VERSION = '0.1.0'
3
- end