consular-osx 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/consular-osx.gemspec +1 -1
- data/lib/consular/osx.rb +2 -2
- metadata +4 -4
data/consular-osx.gemspec
CHANGED
data/lib/consular/osx.rb
CHANGED
@@ -105,7 +105,7 @@ module Consular
|
|
105
105
|
end
|
106
106
|
|
107
107
|
_first_run = false
|
108
|
-
commands = prepend_befores _content[:commands],
|
108
|
+
commands = prepend_befores _content[:commands], content[:before]
|
109
109
|
commands = set_title _name, commands
|
110
110
|
commands.each { |cmd| execute_command cmd, :in => _tab }
|
111
111
|
end
|
@@ -139,7 +139,7 @@ module Consular
|
|
139
139
|
# @api public
|
140
140
|
def prepend_befores(commands, befores = nil)
|
141
141
|
unless befores.nil? || befores.empty?
|
142
|
-
commands.insert(0, befores).flatten!
|
142
|
+
commands.insert(0, befores).flatten!
|
143
143
|
else
|
144
144
|
commands
|
145
145
|
end
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: consular-osx
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 21
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 1.0.
|
9
|
+
- 1
|
10
|
+
version: 1.0.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Arthur Chiu
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-
|
18
|
+
date: 2011-11-01 00:00:00 -07:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|