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 CHANGED
@@ -3,7 +3,7 @@ $:.push File.expand_path("../lib", __FILE__)
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "consular-osx"
6
- s.version = '1.0.0'
6
+ s.version = '1.0.1'
7
7
  s.authors = ["Arthur Chiu"]
8
8
  s.email = ["mr.arthur.chiu@gmail.com"]
9
9
  s.homepage = ""
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], _contents[:befores]
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: 23
4
+ hash: 21
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
- - 0
10
- version: 1.0.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-10-27 00:00:00 -07:00
18
+ date: 2011-11-01 00:00:00 -07:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency