caishu_model2 0.0.4 → 0.0.5
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 +4 -4
- data/gc.rb +2 -2
- data/lib/caishu_model2/version.rb +1 -1
- data/lib/caishu_model2.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 10920afca0db1e3f74c9c550f6abb60b8b7d054d
|
4
|
+
data.tar.gz: 2beb25f3e867ece25e8c1fdc8737496fa0bb3b10
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 295ed9500b72cf3639d7defda750061a74329046162bbbf500b74468348ae382e3f55886336db9181f43c9a99dbbad7a072492f375eb3fd610c281c7b35cc794
|
7
|
+
data.tar.gz: 5f898886df0fc0c546bcdf9b59370a808bb18205fa5af196082b8ea7c1914f84de93738d25bf9ee429b705091dd6e78836cdb70c644ed015a11ae40f3a9a0662
|
data/gc.rb
CHANGED
@@ -7,7 +7,7 @@ require 'caishu_model2'
|
|
7
7
|
# puts File.dirname(__FILE__)+'/file2'
|
8
8
|
# puts File.join(File.dirname(__FILE__),'file2')
|
9
9
|
# puts File.expand_path('../lib/caishu_model/user.rb', __FILE__)
|
10
|
-
# require File.expand_path('../lib/
|
10
|
+
# require File.expand_path('../lib/caishu_model2/user.rb', __FILE__)
|
11
11
|
|
12
12
|
|
13
13
|
ActiveRecord::Base.establish_connection(
|
@@ -19,4 +19,4 @@ ActiveRecord::Base.establish_connection(
|
|
19
19
|
)
|
20
20
|
|
21
21
|
# u = User.setTableName("3").first
|
22
|
-
p @user = User.setTableName(16).where(id: 16).
|
22
|
+
p @user = User.setTableName(16).where(id: 16).first
|
data/lib/caishu_model2.rb
CHANGED
@@ -1 +1 @@
|
|
1
|
-
Dir[ File.expand_path('../
|
1
|
+
Dir[ File.expand_path('../ting_model2/*.rb', __FILE__) ].each{|file| require file }
|