divan 0.1.2.pre1 → 0.1.2.pre2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/VERSION +1 -1
  2. data/init.rb +7 -12
  3. data/lib/divan.rb +5 -0
  4. metadata +3 -3
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.2.pre1
1
+ 0.1.2.pre2
data/init.rb CHANGED
@@ -1,14 +1,9 @@
1
- divan_path = File.expand_path('../lib', __FILE__)
2
- $:.unshift(divan_path) if File.directory?(divan_path) && !$:.include?(divan_path)
3
-
4
- require 'restclient'
5
- require 'json'
6
1
  require 'divan.rb'
7
2
 
8
- # Lines below are used for debug purposes only
9
- # Divan.load_database_configuration 'config/divan_config.yml'
10
- #
11
- # class POC < Divan::Models::ProofOfConcept
12
- # view_by :mod
13
- # view_by :value
14
- # end
3
+ #Lines below are used for debug purposes only
4
+ Divan.load_database_configuration 'config/divan_config.yml'
5
+
6
+ class POC < Divan::Models::ProofOfConcept
7
+ view_by :mod
8
+ view_by :value
9
+ end
data/lib/divan.rb CHANGED
@@ -1,3 +1,8 @@
1
+ divan_path = File.expand_path('../lib', __FILE__)
2
+ $:.unshift(divan_path) if File.directory?(divan_path) && !$:.include?(divan_path)
3
+
4
+ require 'restclient'
5
+ require 'json'
1
6
  require 'divan/models/base'
2
7
  require 'divan/base'
3
8
  require 'divan/database'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: divan
3
3
  version: !ruby/object:Gem::Version
4
- hash: -1876988192
4
+ hash: -1876988191
5
5
  prerelease: true
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
9
  - 2
10
- - pre1
11
- version: 0.1.2.pre1
10
+ - pre2
11
+ version: 0.1.2.pre2
12
12
  platform: ruby
13
13
  authors:
14
14
  - Dalton Pinto