github-api-client 0.1 → 0.1.1.rc

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.
Files changed (2) hide show
  1. data/lib/github_api.rb +3 -1
  2. metadata +9 -5
data/lib/github_api.rb CHANGED
@@ -7,7 +7,9 @@ require 'yaml'
7
7
  require 'singleton'
8
8
  require 'active_record'
9
9
 
10
- ActiveRecord::Base.establish_connection :adapter => 'sqlite3', :database => 'ruby.db'
10
+
11
+ Dir.mkdir ENV['HOME'] + "/.github" if !Dir.entries(ENV['HOME']).include? ".github"
12
+ ActiveRecord::Base.establish_connection :adapter => 'sqlite3', :database => "#{ENV['HOME']}/.github/ruby.db"
11
13
 
12
14
  require 'base'
13
15
  require 'user'
metadata CHANGED
@@ -1,11 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: github-api-client
3
3
  version: !ruby/object:Gem::Version
4
- prerelease: false
4
+ prerelease: true
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- version: "0.1"
8
+ - 1
9
+ - rc
10
+ version: 0.1.1.rc
9
11
  platform: ruby
10
12
  authors:
11
13
  - "Jakub Oko\xC5\x84ski"
@@ -50,11 +52,13 @@ required_ruby_version: !ruby/object:Gem::Requirement
50
52
  required_rubygems_version: !ruby/object:Gem::Requirement
51
53
  none: false
52
54
  requirements:
53
- - - ">="
55
+ - - ">"
54
56
  - !ruby/object:Gem::Version
55
57
  segments:
56
- - 0
57
- version: "0"
58
+ - 1
59
+ - 3
60
+ - 1
61
+ version: 1.3.1
58
62
  requirements: []
59
63
 
60
64
  rubyforge_project: