lookup 1.0.0.beta8 → 1.0.0.beta9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/README.md +1 -1
  2. data/lib/lookup.rb +1 -1
  3. data/postinstall.rb +5 -0
  4. metadata +4 -3
data/README.md CHANGED
@@ -24,7 +24,7 @@ And for those of you who are Ruby inclined:
24
24
 
25
25
  Or if you want to to look up for your current version of Ruby, simply:
26
26
 
27
- * `lookup Array#join (Returns a single method from either Ruby 1.8 or Ruby 1.9. Other implementations not yet supported.)
27
+ * `lookup Array#join` (Returns a single method from either Ruby 1.8 or Ruby 1.9. Other implementations not yet supported.)
28
28
 
29
29
  ## Options
30
30
 
data/lib/lookup.rb CHANGED
@@ -19,7 +19,7 @@ class Hash
19
19
  end
20
20
 
21
21
  module Lookup
22
- VERSION = "1.0.0.beta8"
22
+ VERSION = "1.0.0.beta9"
23
23
  APIS = []
24
24
 
25
25
  class APINotFound < StandardError; end
data/postinstall.rb ADDED
@@ -0,0 +1,5 @@
1
+ require 'fileutils'
2
+ require 'pathname'
3
+ lookup = Pathname.new(ENV["HOME"]) + ".lookup"
4
+ FileUtils.mkdir_p(lookup)
5
+ FileUtils.cp(File.dirname(__FILE__) + "/config/lookup", lookup + "config")
metadata CHANGED
@@ -6,8 +6,8 @@ version: !ruby/object:Gem::Version
6
6
  - 1
7
7
  - 0
8
8
  - 0
9
- - beta8
10
- version: 1.0.0.beta8
9
+ - beta9
10
+ version: 1.0.0.beta9
11
11
  platform: ruby
12
12
  authors:
13
13
  - Ryan Bigg
@@ -112,6 +112,7 @@ files:
112
112
  - lib/lookup.sqlite3
113
113
  - lib/models.rb
114
114
  - lookup.gemspec
115
+ - postinstall.rb
115
116
  - spec/.lookup/config
116
117
  - spec/.lookup/lookup.sqlite3
117
118
  - spec/apis/1.8/classes.html
@@ -142,7 +143,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
142
143
  requirements:
143
144
  - - ">="
144
145
  - !ruby/object:Gem::Version
145
- hash: -3416915888773412004
146
+ hash: -3083635627698471139
146
147
  segments:
147
148
  - 0
148
149
  version: "0"