ironment 0.0.3 → 0.0.4

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: cc254aacbfe4d2411b4c30629dac7770dbf59173
4
- data.tar.gz: 6c2dcf22af8f1b0f23177234097d229457dd44c6
3
+ metadata.gz: 5dac68a95a13d3a4b6bd5b7374ea73fedad5e60d
4
+ data.tar.gz: 94c783c5aade35b7a0167b3f7fddcc281eee1faf
5
5
  SHA512:
6
- metadata.gz: d0bc96529255775d6f2d4efb3d5cc9d6b955592397f552ec3891985710d5868807ea4085f30610e5295526b9d7bfe267bdcd0b9f9d130f9f1a3bf4f75ffe1260
7
- data.tar.gz: 85cdf56a2e82fe5e908b69f9c9271d061b7fac432e644a9e3c543f87c787b7b79b451d4b5ce06365f4bf16258104eeb5c9eabf5baecf57a38c8cd63459e1e170
6
+ metadata.gz: 74ffdf0ddf2ddb209f02ae2a88ed0a641760b43d05eedf5fdbcd8857e6dc64bfe1a827d2f16107b5bd8419e90f0b83dd8404f2a26997e5997c2bceb95081da39
7
+ data.tar.gz: 70f6a7f0dcebb804d9d0c83af9971b296a511a86bc996490341996afa3e5f6a1eea83138e4286fbcc09df6362145704a58c6b983a5ab27c2607fc42ea9208481
data/README.md CHANGED
@@ -21,8 +21,36 @@ $ iron env
21
21
  FOO=bar
22
22
  ```
23
23
 
24
+ ## Installation
25
+
26
+ The utility can be installed using `gem`.
27
+
28
+ ```
29
+ $ gem install ironment
30
+ ```
31
+
32
+ It can be installed system-wide using the following options.
33
+
34
+ ```
35
+ $ gem install --no-user-install -i "$(ruby -e'puts Gem.default_dir')" -n /usr/local/bin ironment
36
+ ```
37
+
38
+ It is also packaged for Arch Linux.
39
+
40
+ ```
41
+ $ yaourt -S ruby-ironment
42
+ ```
43
+
24
44
  ## Changelog
25
45
 
46
+ ### 0.0.4
47
+
48
+ * Correcting a bug under ruby-1.9.3.
49
+
50
+ ### 0.0.3
51
+
52
+ * Correcting an error in the gemspec.
53
+
26
54
  ### 0.0.2
27
55
 
28
56
  * Adding a concept of trust. A file that has never been seen will no longer
@@ -1,3 +1,3 @@
1
1
  class Ironment
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
data/test/runcom_test.rb CHANGED
@@ -64,7 +64,7 @@ describe Ironment::Runcom do
64
64
 
65
65
  enum = Ironment::Runcom.new(".envrc").each_pair
66
66
 
67
- assert_equal 0, enum.size
67
+ assert_equal 0, enum.count
68
68
  end
69
69
  end
70
70
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ironment
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonas Amundsen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-06-04 00:00:00.000000000 Z
11
+ date: 2015-06-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: commander
@@ -88,14 +88,9 @@ executables:
88
88
  extensions: []
89
89
  extra_rdoc_files: []
90
90
  files:
91
- - ".travis.yml"
92
- - Gemfile
93
- - Gemfile.lock
94
91
  - LICENSE
95
92
  - README.md
96
- - Rakefile
97
93
  - bin/iron
98
- - ironment.gemspec
99
94
  - lib/ironment.rb
100
95
  - lib/ironment/cl.rb
101
96
  - lib/ironment/cl/prompter.rb
@@ -138,4 +133,12 @@ rubygems_version: 2.4.5
138
133
  signing_key:
139
134
  specification_version: 4
140
135
  summary: Environment populator & command wrapper utility.
141
- test_files: []
136
+ test_files:
137
+ - test/truster_test.rb
138
+ - test/runcom_test.rb
139
+ - test/cl_test.rb
140
+ - test/finder_test.rb
141
+ - test/populator_test.rb
142
+ - test/ironment_test.rb
143
+ - test/config_test.rb
144
+ - test/test_helper.rb
data/.travis.yml DELETED
@@ -1,13 +0,0 @@
1
- language: ruby
2
- rvm:
3
- - 1.9.3
4
- - 2.0.0
5
- - 2.1.0
6
- - 2.1.1
7
- - 2.1.2
8
- - 2.1.3
9
- - 2.1.4
10
- - 2.1.5
11
- - 2.2.0
12
- script:
13
- - bundle exec rake test
data/Gemfile DELETED
@@ -1,3 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- gemspec
data/Gemfile.lock DELETED
@@ -1,34 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- ironment (0.0.3)
5
- commander (= 4.3.4)
6
-
7
- GEM
8
- remote: https://rubygems.org/
9
- specs:
10
- codeclimate-test-reporter (0.4.7)
11
- simplecov (>= 0.7.1, < 1.0.0)
12
- commander (4.3.4)
13
- highline (~> 1.7.2)
14
- docile (1.1.5)
15
- fakefs (0.6.7)
16
- highline (1.7.2)
17
- json (1.8.2)
18
- minitest (5.5.1)
19
- rake (10.4.2)
20
- simplecov (0.10.0)
21
- docile (~> 1.1.0)
22
- json (~> 1.8)
23
- simplecov-html (~> 0.10.0)
24
- simplecov-html (0.10.0)
25
-
26
- PLATFORMS
27
- ruby
28
-
29
- DEPENDENCIES
30
- codeclimate-test-reporter (= 0.4.7)
31
- fakefs (= 0.6.7)
32
- ironment!
33
- minitest (= 5.5.1)
34
- rake (= 10.4.2)
data/Rakefile DELETED
@@ -1,7 +0,0 @@
1
- require "rake/testtask"
2
-
3
- Rake::TestTask.new do |t|
4
- t.libs.push "test"
5
- t.test_files = FileList["test/*_test.rb"]
6
- t.verbose = true
7
- end
data/ironment.gemspec DELETED
@@ -1,53 +0,0 @@
1
- require File.join(File.dirname(__FILE__), "lib", "ironment", "version")
2
-
3
- Gem::Specification.new do |s|
4
- s.name = "ironment"
5
- s.version = Ironment::VERSION
6
- s.license = "MIT"
7
- s.date = "2015-06-04"
8
-
9
- s.summary = "Environment populator & command wrapper utility."
10
- s.description = "Ironment populates environment variables with runcoms and executes commands."
11
-
12
- s.authors = ["Jonas Amundsen"]
13
- s.email = ["jonasba+gem@gmail.com"]
14
- s.homepage = "https://github.com/badeball/ironment"
15
-
16
- s.executables = "iron"
17
-
18
- s.files = %w[
19
- .travis.yml
20
- Gemfile
21
- Gemfile.lock
22
- LICENSE
23
- README.md
24
- Rakefile
25
- bin/iron
26
- ironment.gemspec
27
- lib/ironment.rb
28
- lib/ironment/cl.rb
29
- lib/ironment/cl/prompter.rb
30
- lib/ironment/config.rb
31
- lib/ironment/executor.rb
32
- lib/ironment/finder.rb
33
- lib/ironment/populator.rb
34
- lib/ironment/runcom.rb
35
- lib/ironment/truster.rb
36
- lib/ironment/version.rb
37
- test/cl_test.rb
38
- test/config_test.rb
39
- test/finder_test.rb
40
- test/ironment_test.rb
41
- test/populator_test.rb
42
- test/runcom_test.rb
43
- test/test_helper.rb
44
- test/truster_test.rb
45
- ]
46
-
47
- s.add_dependency("commander", "4.3.4")
48
-
49
- s.add_development_dependency("codeclimate-test-reporter", "0.4.7")
50
- s.add_development_dependency("fakefs", "0.6.7")
51
- s.add_development_dependency("minitest", "5.5.1")
52
- s.add_development_dependency("rake", "10.4.2")
53
- end