elastix 0.0.6 → 0.0.7

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.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- NTNhYzM3ZjU4YjQ3NTY3YTU0ZTViMWMzOTgwM2IyNGIxYmE4NWUwMw==
4
+ YTk2YjI5OThmN2RjZTg5MTM1ZTE3OWM3Y2JlNWQwN2U3OWE2ZTIwNw==
5
5
  data.tar.gz: !binary |-
6
- YmUyZmM2OTcyODFjZDc3ZGI2NWE3YmFlYWUxNzY1NzllNWZjMWUyYg==
6
+ OWQzZDIzY2UwOTRmMjFlOTQ3MWMzMDkyZmM4NTk4YjNmNWE1MzJkOA==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- ZTY4YWU0MzBhNzEwNmIyYTkzZThjNjFmNmQxOTI1NTc0MzRhZGZiZDExNzU0
10
- ZjJhOGQ2YTkyYzJjMzYwNmRmZTc0MDdiZTlkMjM2MjQxN2Y1Y2JjM2I4ZmMy
11
- MzIzZWE1NzJjZTRjZWY3NDg0NDMxNWEzMDU5ODhkMTQ1MmM0Yzk=
9
+ Y2ZhNjI1MDNhNTAwYWY5MGY0MmU5MDE3NjY0YTVmZTkzNzRmM2VhMjY4Y2Jh
10
+ ODZhNGMwYTYzNjQwNmI4OTY5ZGY0OTRkOTNhZGE5YzZmZTlhOTUxNjljOTJk
11
+ NjJkYzY3M2VmZDJhODg1NzA4YzQ4YTA4YTA5YWY0N2MzZDcyZDQ=
12
12
  data.tar.gz: !binary |-
13
- NjA1ZWYyOGI2MTVhMWVmNDkyZTllYzQyNWEwNjdhZTg4MGEzYjJhZTBmNGIz
14
- MGU2MWMxMzBiYzE4NmQ4NzFkMTRhMThmYjc2ZWIxZjAwMmM2OTg5ZjNhNmFl
15
- YjcwMTJmMWM3OTUxZDQ0ODIwMmJkNTMwOWYwNTQyZDRmNWUzMWY=
13
+ YjVhY2Q2OTAzNjE1OTFiMGUxMDg0MWRlN2Y5OGUxOTkyODkwM2Y1YTk1NDc1
14
+ M2Q0YTM4YjQ1NTdjY2FiYTE5MTY0ZDVhYTU4MmVhNGM5OTBlMDgzYTExOGQ1
15
+ YTFkODkyNzg5MzU3MGQ3ZDkzZDM2NmMwMTZiM2U4ZjhhZjc1YjU=
@@ -28,10 +28,6 @@ module Elastix
28
28
  ActiveRecord::Base.connection.close
29
29
  end
30
30
 
31
- def self.use_existing_db_connection connection
32
- ActiveRecord::Base.establish_connection connection
33
- end
34
-
35
31
  def self.close_db_connection
36
32
  @@base_address = nil
37
33
  @@elastix = nil
@@ -3,5 +3,9 @@ require 'active_record'
3
3
  module Elastix
4
4
  class Sip < ActiveRecord::Base
5
5
  self.table_name = "sip"
6
+
7
+ def self.use_existing_db_connection connection
8
+ establish_connection connection
9
+ end
6
10
  end
7
11
  end
@@ -1,4 +1,7 @@
1
1
  module Elastix
2
2
  class User < ActiveRecord::Base
3
+ def self.use_existing_db_connection connection
4
+ establish_connection connection
5
+ end
3
6
  end
4
7
  end
@@ -1,3 +1,3 @@
1
1
  module Elastix
2
- VERSION = "0.0.6"
2
+ VERSION = "0.0.7"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: elastix
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Hahn