environment 0.1.1 → 0.1.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.
- data/CHANGELOG.rdoc +13 -0
- data/Manifest +1 -0
- data/Rakefile +1 -1
- data/environment.gemspec +3 -3
- data/lib/environment.rb +1 -1
- data/lib/save_environment_variables.sh +1 -1
- metadata +5 -3
data/CHANGELOG.rdoc
ADDED
data/Manifest
CHANGED
data/Rakefile
CHANGED
@@ -2,7 +2,7 @@ require "rubygems"
|
|
2
2
|
require "rake"
|
3
3
|
require "echoe"
|
4
4
|
|
5
|
-
Echoe.new("environment", "0.1.
|
5
|
+
Echoe.new("environment", "0.1.2") do |p|
|
6
6
|
p.description = "Environment variables in are not available to scripts running as crons and/or services. This gem allows ruby scripts running as a cron and/or as a service full access to the system environment variables."
|
7
7
|
p.summary = "Environment variables in are not available to scripts running as crons and/or services. This gem allows ruby scripts running as a cron and/or as a service full access to the system environment variables."
|
8
8
|
p.url = "http://rubygems.org/gems/environment"
|
data/environment.gemspec
CHANGED
@@ -2,15 +2,15 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = %q{environment}
|
5
|
-
s.version = "0.1.
|
5
|
+
s.version = "0.1.2"
|
6
6
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
|
8
8
|
s.authors = ["Nitesh Goel"]
|
9
9
|
s.date = %q{2011-04-21}
|
10
10
|
s.description = %q{Environment variables in are not available to scripts running as crons and/or services. This gem allows ruby scripts running as a cron and/or as a service full access to the system environment variables.}
|
11
11
|
s.email = %q{nitesh@wikinvest.com}
|
12
|
-
s.extra_rdoc_files = ["README.rdoc", "lib/environment.rb", "lib/save_environment_variables.sh"]
|
13
|
-
s.files = ["Manifest", "README.rdoc", "Rakefile", "environment.gemspec", "lib/environment.rb", "lib/save_environment_variables.sh"]
|
12
|
+
s.extra_rdoc_files = ["CHANGELOG.rdoc", "README.rdoc", "lib/environment.rb", "lib/save_environment_variables.sh"]
|
13
|
+
s.files = ["CHANGELOG.rdoc", "Manifest", "README.rdoc", "Rakefile", "environment.gemspec", "lib/environment.rb", "lib/save_environment_variables.sh"]
|
14
14
|
s.homepage = %q{http://rubygems.org/gems/environment}
|
15
15
|
s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Environment", "--main", "README.rdoc"]
|
16
16
|
s.require_paths = ["lib"]
|
data/lib/environment.rb
CHANGED
@@ -21,7 +21,7 @@ Example usage:
|
|
21
21
|
module Environment
|
22
22
|
CURRENT_DIR = File.dirname(__FILE__)
|
23
23
|
SHELL_SCRIPT = "#{CURRENT_DIR}/save_environment_variables.sh"
|
24
|
-
VARIABLE_DUMP = "
|
24
|
+
VARIABLE_DUMP = "/tmp/.environment_variables"
|
25
25
|
ENV = {}
|
26
26
|
|
27
27
|
def self.load
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: environment
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 31
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 2
|
10
|
+
version: 0.1.2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Nitesh Goel
|
@@ -25,10 +25,12 @@ executables: []
|
|
25
25
|
extensions: []
|
26
26
|
|
27
27
|
extra_rdoc_files:
|
28
|
+
- CHANGELOG.rdoc
|
28
29
|
- README.rdoc
|
29
30
|
- lib/environment.rb
|
30
31
|
- lib/save_environment_variables.sh
|
31
32
|
files:
|
33
|
+
- CHANGELOG.rdoc
|
32
34
|
- Manifest
|
33
35
|
- README.rdoc
|
34
36
|
- Rakefile
|