divide 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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5648e796a633692926cfdb787be68b3a612148c2
4
- data.tar.gz: df79e3c168dee2e603b1baabb1d58268d00f2a9d
3
+ metadata.gz: 678c35e63c08b2bdc34ce6555ba2229ba92a155a
4
+ data.tar.gz: 3c585343af64d9c2cf868e61c00a6bc902ce6d60
5
5
  SHA512:
6
- metadata.gz: aeac7296ac6470431893201a25a06c29accd0cc2eb0b480445f7f451e68670b13307cc6c47421ac7c5256e98c1ce1ff3a379e41c87e4420021c1465ec7ba1504
7
- data.tar.gz: 80606869301d4ca42ea9500248951794a6126181a1d2f8471f400dc0eb64068ba790623e6b5289f447115f1f9dc2f7d8cab5309e6837c272badb3e5b9d5f027f
6
+ metadata.gz: fa3c9bf15bf71dc747e29f1628e348d77694485f79f27a126de4a5676e14d368eb77ec650beed49edcb57b76b7d7bfb5f7425c94e62dde83793522494b4a4ea6
7
+ data.tar.gz: 42d1b2f90d05c3adcb16684bce08b4546c12807f2719b12b678714dd2ad08becf93aa5176d974d124082e142c75203a6d99fa1b842382adb15ca4217c71c07d1
data/README.md CHANGED
@@ -1,4 +1,6 @@
1
1
  # Divide
2
+ [![Gem Version](https://badge.fury.io/rb/divide.png)](http://badge.fury.io/rb/divide)
3
+
2
4
  Start `Procfile` processes in different Terminal/iTerm tabs.
3
5
 
4
6
  I’m well aware of [foreman][], but it starts all processes in the same tab which can be inconvenient.<br>
@@ -55,6 +57,9 @@ $ divide
55
57
  ```
56
58
 
57
59
  ## Changelog
60
+ ### 0.1.2
61
+ - Ignore `.env` file comments
62
+
58
63
  ### 0.1.1
59
64
  - Always open an empty tab after all processes are executed
60
65
 
@@ -46,6 +46,7 @@ module Divide
46
46
  @env_variables ||= begin
47
47
  env_content.split(/\n/).inject({}) do |memo, line|
48
48
  variable, value = line.split(/=/)
49
+ next {} if variable == nil || variable.chars.first == '#'
49
50
  memo.merge variable => value
50
51
  end
51
52
  end
@@ -1,3 +1,3 @@
1
1
  module Divide
2
- VERSION = '0.1.1'
2
+ VERSION = '0.1.2'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: divide
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Etienne Lemay
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-10-28 00:00:00.000000000 Z
11
+ date: 2013-11-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake