caishu_model 0.0.5 → 0.0.8

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,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d56821589900e54a7b56914bdfb4425375952da7
4
- data.tar.gz: 4352b3ea4b9e62544e3b3ffe91ded461e9fc3fea
3
+ metadata.gz: 3dac9f6465869e8f5a0119c7d418b1b4ce4a3551
4
+ data.tar.gz: 7926e656b5569c39946e45bc85a45d3aa8743529
5
5
  SHA512:
6
- metadata.gz: 4b17fb502f256e18c60cfe98253d1f61a99861cede5644819e9fff4b48a417ca7875688726fc31bf8cfec7071cda0edb08381744912037b3fba1e536b75f5203
7
- data.tar.gz: 4f267c18beda5491a25197220de65711258e57ba8df5c1b72610fc4b8ea0c4dcaa6d7cf56d2281012fec81ec570cb78be91ce3dde2d88a0e47ffb79be37579a7
6
+ metadata.gz: 32d7ba7c999ddf86c733012d8e6be058df61fc075a897d091eac09b76ff21e00e16013043e9d764e3f6db2e861c147745b5e187b0ff757a07950e8817e2a2ad3
7
+ data.tar.gz: 6e4ecfbd38c8aa1bba44277344d81e9c51e0160de69ceeab16ae82a34876e1bf26f6c97768992c46822fa9f6eb5fc86e35e02ec7a57a6a2ad4928818f5a2fd42
data/caishu_model.gemspec CHANGED
@@ -1,20 +1,19 @@
1
1
  # coding: utf-8
2
2
  lib = File.expand_path('../lib', __FILE__)
3
3
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
- require 'caishu_model/version'
4
+ # require 'caishu_model/version'
5
5
 
6
6
  Gem::Specification.new do |spec|
7
7
  spec.name = "caishu_model"
8
- spec.version = CaishuModel::VERSION
8
+ spec.version = '0.0.8'
9
9
  spec.authors = ["menghuanwd"]
10
10
  spec.email = ["651019063@qq.com"]
11
- spec.summary = %q{2222222222222}
12
- spec.description = %q{33333333333}
11
+ spec.summary = %q{asd}
12
+ spec.description = %q{wqw}
13
13
  spec.homepage = ""
14
14
  spec.license = "MIT"
15
15
 
16
16
  spec.files = `git ls-files -z`.split("\x0")
17
- # spec.files = %w[lib/user lib/version gc]
18
17
  spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
19
18
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
20
19
  spec.require_paths = ["lib"]
@@ -0,0 +1,2 @@
1
+ class Category < ActiveRecord::Base
2
+ end
@@ -0,0 +1,2 @@
1
+ class English < ActiveRecord::Base
2
+ end
@@ -0,0 +1,4 @@
1
+ class Goodfriend < ActiveRecord::Base
2
+ # attr_protected :qq, :weixin, :age, :gender, :name, :photos, :telephone, :file_key, :file_name, :file_size, :file_type
3
+ end
4
+
@@ -0,0 +1,2 @@
1
+ class Joke < ActiveRecord::Base
2
+ end
@@ -0,0 +1,2 @@
1
+ class Mood < ActiveRecord::Base
2
+ end
@@ -0,0 +1,2 @@
1
+ class Note < ActiveRecord::Base
2
+ end
@@ -0,0 +1,2 @@
1
+ class NoteCategory < ActiveRecord::Base
2
+ end
@@ -0,0 +1,2 @@
1
+ class Philosophy < ActiveRecord::Base
2
+ end
@@ -0,0 +1,3 @@
1
+ class Photo < ActiveRecord::Base
2
+ has_one :photo_detail
3
+ end
@@ -0,0 +1,2 @@
1
+ class PhotoCategory < ActiveRecord::Base
2
+ end
@@ -0,0 +1,3 @@
1
+ class PhotoDetail < ActiveRecord::Base
2
+ belongs_to :photo
3
+ end
@@ -0,0 +1,2 @@
1
+ class Picture < ActiveRecord::Base
2
+ end
@@ -0,0 +1,5 @@
1
+ require 'settingslogic'
2
+
3
+ class Settings < Settingslogic
4
+ source File.join(CORE_ROOT,'config/application.yml')
5
+ end
@@ -0,0 +1,2 @@
1
+ class Touch < ActiveRecord::Base
2
+ end
@@ -0,0 +1,2 @@
1
+ class User < ActiveRecord::Base
2
+ end
@@ -1,3 +1,3 @@
1
1
  module CaishuModel
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.1"
3
3
  end
@@ -0,0 +1,2 @@
1
+ class Weixin < ActiveRecord::Base
2
+ end
@@ -0,0 +1,2 @@
1
+ class WeixinMessage < ActiveRecord::Base
2
+ end
data/lib/caishu_model.rb CHANGED
@@ -1,8 +1,5 @@
1
+ # require "caishu_model/version"
2
+ Dir[ File.expand_path('../caishu_model/*.rb', __FILE__) ].each{|file| require file }
1
3
  module CaishuModel
2
4
  # Your code goes here...
3
5
  end
4
-
5
- # require "caishu_model/version"
6
- # require "caishu_model/bag"
7
-
8
- Dir[ File.expand_path('../caishu_model/*.rb', __FILE__) ].each{|file| require file }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: caishu_model
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - menghuanwd
@@ -38,7 +38,7 @@ dependencies:
38
38
  - - '>='
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
- description: '33333333333'
41
+ description: wqw
42
42
  email:
43
43
  - 651019063@qq.com
44
44
  executables: []
@@ -52,7 +52,24 @@ files:
52
52
  - Rakefile
53
53
  - caishu_model.gemspec
54
54
  - lib/caishu_model.rb
55
+ - lib/caishu_model/category.rb
56
+ - lib/caishu_model/english.rb
57
+ - lib/caishu_model/goodfriend.rb
58
+ - lib/caishu_model/joke.rb
59
+ - lib/caishu_model/mood.rb
60
+ - lib/caishu_model/note.rb
61
+ - lib/caishu_model/note_category.rb
62
+ - lib/caishu_model/philosophy.rb
63
+ - lib/caishu_model/photo.rb
64
+ - lib/caishu_model/photo_category.rb
65
+ - lib/caishu_model/photo_detail.rb
66
+ - lib/caishu_model/picture.rb
67
+ - lib/caishu_model/settings.rb
68
+ - lib/caishu_model/touch.rb
69
+ - lib/caishu_model/user.rb
55
70
  - lib/caishu_model/version.rb
71
+ - lib/caishu_model/weixin.rb
72
+ - lib/caishu_model/weixin_message.rb
56
73
  homepage: ''
57
74
  licenses:
58
75
  - MIT
@@ -76,5 +93,5 @@ rubyforge_project:
76
93
  rubygems_version: 2.1.11
77
94
  signing_key:
78
95
  specification_version: 4
79
- summary: '2222222222222'
96
+ summary: asd
80
97
  test_files: []