loyal_core 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (139) hide show
  1. data/MIT-LICENSE +20 -0
  2. data/README.md +3 -0
  3. data/Rakefile +27 -0
  4. data/app/assets/images/loyal_core/down_rating.gif +0 -0
  5. data/app/assets/images/loyal_core/fallbacks/loyal_core/skin/recipe/avatar/ico_missing.gif +0 -0
  6. data/app/assets/images/loyal_core/fallbacks/loyal_core/skin/recipe/avatar/medium_missing.gif +0 -0
  7. data/app/assets/images/loyal_core/fallbacks/loyal_core/skin/recipe/avatar/mini_missing.gif +0 -0
  8. data/app/assets/images/loyal_core/fallbacks/loyal_core/skin/recipe/avatar/missing.gif +0 -0
  9. data/app/assets/images/loyal_core/fallbacks/loyal_core/skin/recipe/avatar/small_missing.gif +0 -0
  10. data/app/assets/images/loyal_core/fallbacks/loyal_core/skin/recipe/avatar/thumb_missing.gif +0 -0
  11. data/app/assets/images/loyal_core/fallbacks/loyal_core/skin/recipe/avatar/tiny_missing.gif +0 -0
  12. data/app/assets/images/loyal_core/fallbacks/user/avatar/ico_missing.gif +0 -0
  13. data/app/assets/images/loyal_core/fallbacks/user/avatar/medium_missing.gif +0 -0
  14. data/app/assets/images/loyal_core/fallbacks/user/avatar/mini_missing.gif +0 -0
  15. data/app/assets/images/loyal_core/fallbacks/user/avatar/missing.gif +0 -0
  16. data/app/assets/images/loyal_core/fallbacks/user/avatar/small_missing.gif +0 -0
  17. data/app/assets/images/loyal_core/fallbacks/user/avatar/thumb_missing.gif +0 -0
  18. data/app/assets/images/loyal_core/fallbacks/user/avatar/tiny_missing.gif +0 -0
  19. data/app/assets/images/loyal_core/liked.gif +0 -0
  20. data/app/assets/images/loyal_core/unlike.gif +0 -0
  21. data/app/assets/images/loyal_core/up_rating.gif +0 -0
  22. data/app/assets/javascripts/jquery.cookie.js +95 -0
  23. data/app/assets/javascripts/loyal_core/admin/skin/folders.js +2 -0
  24. data/app/assets/javascripts/loyal_core/admin/skin/recipes.js +2 -0
  25. data/app/assets/javascripts/loyal_core/ajax/captchas.js +2 -0
  26. data/app/assets/javascripts/loyal_core/ajax/like_tracks.js +2 -0
  27. data/app/assets/javascripts/loyal_core/ajax/rating_tracks.js +3 -0
  28. data/app/assets/javascripts/loyal_core/ajax/users/sessions.js +2 -0
  29. data/app/assets/javascripts/loyal_core/ajax.js +124 -0
  30. data/app/assets/javascripts/loyal_core/application.js +6 -0
  31. data/app/assets/javascripts/loyal_core/jumps.js +2 -0
  32. data/app/assets/javascripts/loyal_core/tools/append_params_return_to.js +21 -0
  33. data/app/assets/javascripts/loyal_core/tools/editor_content_mode_selector.js +8 -0
  34. data/app/assets/javascripts/loyal_core/tools/font_selector.js +83 -0
  35. data/app/assets/stylesheets/loyal_core/admin/skin/folders.css +4 -0
  36. data/app/assets/stylesheets/loyal_core/admin/skin/recipes.css +4 -0
  37. data/app/assets/stylesheets/loyal_core/ajax/captchas.css +4 -0
  38. data/app/assets/stylesheets/loyal_core/ajax/like_tracks.css +4 -0
  39. data/app/assets/stylesheets/loyal_core/ajax/rating_tracks.css +4 -0
  40. data/app/assets/stylesheets/loyal_core/ajax/users/sessions.css +4 -0
  41. data/app/assets/stylesheets/loyal_core/application.css.scss +18 -0
  42. data/app/assets/stylesheets/loyal_core/jumps.css +4 -0
  43. data/app/controllers/loyal_core/admin/skin/folders_controller.rb +54 -0
  44. data/app/controllers/loyal_core/admin/skin/recipes_controller.rb +52 -0
  45. data/app/controllers/loyal_core/ajax/captchas_controller.rb +26 -0
  46. data/app/controllers/loyal_core/ajax/like_tracks_controller.rb +33 -0
  47. data/app/controllers/loyal_core/ajax/rating_tracks_controller.rb +41 -0
  48. data/app/controllers/loyal_core/ajax/users/sessions_controller.rb +8 -0
  49. data/app/controllers/loyal_core/ajax_controller.rb +14 -0
  50. data/app/controllers/loyal_core/application_controller.rb +6 -0
  51. data/app/controllers/loyal_core/jumps_controller.rb +10 -0
  52. data/app/helpers/loyal_core/admin/skin/folders_helper.rb +5 -0
  53. data/app/helpers/loyal_core/admin/skin/recipes_helper.rb +5 -0
  54. data/app/helpers/loyal_core/ajax/captchas_helper.rb +6 -0
  55. data/app/helpers/loyal_core/ajax/like_tracks_helper.rb +6 -0
  56. data/app/helpers/loyal_core/ajax/rating_tracks_helper.rb +6 -0
  57. data/app/helpers/loyal_core/ajax/users/sessions_helper.rb +5 -0
  58. data/app/helpers/loyal_core/application_helper.rb +6 -0
  59. data/app/helpers/loyal_core/jumps_helper.rb +5 -0
  60. data/app/models/kindeditor/asset.rb +14 -0
  61. data/app/models/kindeditor/file.rb +4 -0
  62. data/app/models/kindeditor/flash.rb +4 -0
  63. data/app/models/kindeditor/image.rb +4 -0
  64. data/app/models/kindeditor/media.rb +4 -0
  65. data/app/models/loyal_core/like_track.rb +15 -0
  66. data/app/models/loyal_core/rating_track.rb +32 -0
  67. data/app/models/loyal_core/skin/dish.rb +10 -0
  68. data/app/models/loyal_core/skin/folder.rb +26 -0
  69. data/app/models/loyal_core/skin/recipe.rb +31 -0
  70. data/app/models/loyal_core/skin.rb +8 -0
  71. data/app/uploaders/loyal_core/asset_uploader.rb +128 -0
  72. data/app/uploaders/loyal_core/avatar_uploader.rb +37 -0
  73. data/app/views/layouts/loyal_core/application.html.erb +14 -0
  74. data/app/views/loyal_core/admin/skin/folders/_form.html.erb +9 -0
  75. data/app/views/loyal_core/admin/skin/folders/edit.html.erb +11 -0
  76. data/app/views/loyal_core/admin/skin/folders/index.html.erb +25 -0
  77. data/app/views/loyal_core/admin/skin/folders/new.html.erb +11 -0
  78. data/app/views/loyal_core/admin/skin/folders/show.html.erb +32 -0
  79. data/app/views/loyal_core/admin/skin/recipes/_form.html.erb +25 -0
  80. data/app/views/loyal_core/admin/skin/recipes/edit.html.erb +11 -0
  81. data/app/views/loyal_core/admin/skin/recipes/index.html.erb +37 -0
  82. data/app/views/loyal_core/admin/skin/recipes/new.html.erb +11 -0
  83. data/app/views/loyal_core/admin/skin/recipes/show.html.erb +16 -0
  84. data/app/views/loyal_core/ajax/captchas/_new.html.erb +1 -0
  85. data/app/views/loyal_core/ajax/captchas/new.html.erb +1 -0
  86. data/app/views/loyal_core/jumps/show.html.erb +12 -0
  87. data/app/views/simple_captcha/_simple_captcha.erb +16 -0
  88. data/config/locales/en/default.en.yml +139 -0
  89. data/config/locales/en/loyal_simple_captcha.en.yml +8 -0
  90. data/config/locales/zh-CN/action_view.zh-CN.yml +8 -0
  91. data/config/locales/zh-CN/default.zh-CN.yml +199 -0
  92. data/config/locales/zh-CN/loyal_simple_captcha.zh-CN.yml +8 -0
  93. data/config/locales/zh-CN/paginate.zh-CN.yml +8 -0
  94. data/config/routes.rb +24 -0
  95. data/db/migrate/20130331104216_create_loyal_core_rating_tracks.rb +19 -0
  96. data/db/migrate/20130331104822_create_loyal_core_like_tracks.rb +19 -0
  97. data/db/migrate/20130413061851_create_kindeditor_assets.rb +17 -0
  98. data/db/migrate/20130610091558_create_loyal_core_skin_folders.rb +48 -0
  99. data/db/migrate/20130610095635_create_loyal_core_skin_recipes.rb +28 -0
  100. data/db/migrate/20130610095938_create_loyal_core_skin_dishes.rb +13 -0
  101. data/lib/loyal_core/action_controller/request_init.rb +33 -0
  102. data/lib/loyal_core/action_controller/seo_methods.rb +47 -0
  103. data/lib/loyal_core/action_controller.rb +4 -0
  104. data/lib/loyal_core/action_helper/ajax/like_tracks_helper.rb +26 -0
  105. data/lib/loyal_core/action_helper/ajax/rating_tracks_helper.rb +35 -0
  106. data/lib/loyal_core/action_helper/font_selector_helper.rb +25 -0
  107. data/lib/loyal_core/action_helper.rb +27 -0
  108. data/lib/loyal_core/action_view/labeled_builder.rb +127 -0
  109. data/lib/loyal_core/action_view.rb +7 -0
  110. data/lib/loyal_core/active_model/fix_counter_cache.rb +39 -0
  111. data/lib/loyal_core/active_model/human_display_able.rb +26 -0
  112. data/lib/loyal_core/active_model/strip_whitespace.rb +27 -0
  113. data/lib/loyal_core/active_model.rb +16 -0
  114. data/lib/loyal_core/acts/bit_able.rb +139 -0
  115. data/lib/loyal_core/acts/content_depart_able.rb +102 -0
  116. data/lib/loyal_core/acts/content_mode_able.rb +88 -0
  117. data/lib/loyal_core/acts/has_avatar.rb +31 -0
  118. data/lib/loyal_core/acts/has_permalink.rb +43 -0
  119. data/lib/loyal_core/acts/like_track_able.rb +90 -0
  120. data/lib/loyal_core/acts/named_filter_able.rb +40 -0
  121. data/lib/loyal_core/acts/rating_track_able.rb +76 -0
  122. data/lib/loyal_core/acts/skin_dish_able.rb +56 -0
  123. data/lib/loyal_core/acts/tree.rb +104 -0
  124. data/lib/loyal_core/acts/uuid_ful.rb +39 -0
  125. data/lib/loyal_core/acts/views_count_able.rb +33 -0
  126. data/lib/loyal_core/acts.rb +35 -0
  127. data/lib/loyal_core/config.rb +116 -0
  128. data/lib/loyal_core/core_ext/singleton_class.rb +9 -0
  129. data/lib/loyal_core/engine.rb +11 -0
  130. data/lib/loyal_core/memoist.rb +204 -0
  131. data/lib/loyal_core/utils/array_util.rb +16 -0
  132. data/lib/loyal_core/utils/config_util.rb +186 -0
  133. data/lib/loyal_core/utils/data_util.rb +181 -0
  134. data/lib/loyal_core/utils/text_util.rb +49 -0
  135. data/lib/loyal_core/utils.rb +8 -0
  136. data/lib/loyal_core/version.rb +4 -0
  137. data/lib/loyal_core.rb +17 -0
  138. data/lib/tasks/loyal_core_tasks.rake +11 -0
  139. metadata +231 -0
@@ -0,0 +1,181 @@
1
+ # -*- encoding : utf-8 -*-
2
+ module LoyalCore
3
+ class DataUtil < ::Hash
4
+ def initialize(options={})
5
+ self.merge! options
6
+ end
7
+
8
+ def []=(name, value)
9
+ super(name.to_sym, value)
10
+ end
11
+
12
+ def to_ary
13
+ end
14
+
15
+ def [](name)
16
+ super(name.to_sym)
17
+ end
18
+
19
+ def deep_merge(other_hash)
20
+ self.deep_dup.deep_merge!(other_hash)
21
+ end
22
+
23
+ # 深层的合并
24
+ def deep_merge!(other_hash)
25
+ other_hash = self.class.new(other_hash) unless other_hash.is_a?(self.class)
26
+
27
+ other_hash.each_pair do |k,v|
28
+ tv = self[k]
29
+
30
+ unless v.is_a?(self.class)
31
+ v = self.class.new(v) if v.is_a?(Hash)
32
+ end
33
+
34
+ self[k] = tv.is_a?(self.class) && v.is_a?(self.class) ? tv.deep_merge(v) : v
35
+ end
36
+
37
+ self
38
+ end
39
+
40
+ def deep_dup
41
+ impl_deep_dup self
42
+ end
43
+
44
+ def method_missing method_name, *args, &block
45
+ # 如果方法是赋值, 则直接赋值
46
+ if method_name.to_s.end_with?('=')
47
+ self[method_name.to_s.chop!] = args.first
48
+ else
49
+ result = self[method_name.to_sym]
50
+
51
+ if result.is_a?(Hash) && !(result.is_a?(self.class))
52
+ self[method_name] = self.class.new(result)
53
+ elsif result.nil?
54
+ self[method_name] = self.class.new
55
+ else
56
+ result
57
+ end
58
+ end
59
+ end
60
+
61
+ def stringify_keys!
62
+ impl_stringify_keys! self
63
+ end
64
+
65
+ def symbolize_keys!
66
+ impl_symbolize_keys! self
67
+ end
68
+
69
+ #
70
+ # origin_hash_symbolize
71
+ # origin_hash_stringify
72
+ # origin_hash_symbolize! key全是 symbol的
73
+ # origin_hash_stringify! key全市 string 的
74
+ #
75
+ [:symbolize, :stringify].each do |method_name|
76
+ define_method "origin_hash_#{method_name}".to_sym do
77
+ self.deep_dup.send "origin_hash_#{method_name}!".to_sym
78
+ end
79
+
80
+ define_method "origin_hash_#{method_name}!".to_sym do
81
+ self.send "impl_origin_hash_#{method_name}".to_sym, self
82
+ end
83
+ end
84
+
85
+ #
86
+ # deep_stringify_keys
87
+ # deep_stringify_keys!
88
+ #
89
+ [:stringify, :symbolize].each do |method_name|
90
+ method_name_impl = "impl_#{method_name}_keys".to_sym
91
+ method_name_new_soft = "deep_#{method_name}_keys".to_sym
92
+ method_name_new = "deep_#{method_name}_keys!".to_sym
93
+
94
+ define_method method_name_new_soft do
95
+ self.deep_dup.send method_name_new
96
+ end
97
+
98
+ define_method method_name_new do
99
+ tmp = self.send method_name_impl, self
100
+
101
+ tmp.keys.each do |key|
102
+ tmp[key] = self.send method_name_impl, tmp[key]
103
+ end
104
+
105
+ tmp
106
+ end
107
+ end
108
+
109
+ private
110
+
111
+ def impl_deep_dup v
112
+ if v.is_a?(::Hash)
113
+ tv = v.dup
114
+
115
+ v.each do |key, value|
116
+ tv[key] = impl_deep_dup value
117
+ end
118
+
119
+ tv
120
+ elsif v.is_a?(::Array)
121
+ v.map do |_v|
122
+ impl_deep_dup _v
123
+ end
124
+ else
125
+ v
126
+ end
127
+ end
128
+
129
+ [:stringify, :symbolize].each do |method_name|
130
+ typify_method = {:symbolize => :to_sym, :stringify => :to_s}[method_name]
131
+ method_name_new = "impl_origin_hash_#{method_name}".to_sym
132
+ define_method method_name_new do |v|
133
+ if v.is_a?(::Hash)
134
+ tv = Hash.new
135
+
136
+ v.keys.each do |key|
137
+ tv[key.send(typify_method)] = self.send(method_name_new, v[key])
138
+ end
139
+
140
+ tv
141
+ elsif v.is_a?(::Array)
142
+ v.map do |_v|
143
+ self.send(method_name_new, _v)
144
+ end
145
+ else
146
+ v
147
+ end
148
+ end
149
+ end
150
+
151
+ [:stringify, :symbolize].each do |method_name|
152
+ typify_clazz = {:stringify => ::String, :symbolize => ::Hash}[method_name]
153
+ method_name_new = "impl_#{method_name}_keys".to_sym
154
+ typify_method = {:symbolize => :to_sym, :stringify => :to_s}[method_name]
155
+
156
+ define_method method_name_new do |v|
157
+ if v.is_a?(Hash)
158
+ v.keys.each do |key|
159
+ kv = v.delete key
160
+
161
+ unless key.is_a?(typify_clazz)
162
+ if(kv.is_a?(::Hash) && !(kv.is_a?(self.class)))
163
+ kv = self.class.new(kv)
164
+ end
165
+ end
166
+
167
+ v[key.send(typify_method)] = self.send method_name_new, kv
168
+ end
169
+ elsif v.is_a?(Array)
170
+ v = v.map do |_v|
171
+ self.send method_name_new, _v
172
+ end
173
+ end
174
+
175
+ v
176
+ end
177
+ end
178
+
179
+ end
180
+ end
181
+
@@ -0,0 +1,49 @@
1
+ # -*- encoding : utf-8 -*-
2
+ module LoyalCore
3
+ class TextUtil
4
+ class << self
5
+ def markdown(text)
6
+ # options = [:hard_wrap, :filter_html, :autolink, :no_intraemphasis, :fenced_code, :gh_blockcode]
7
+
8
+ options = [:hard_wrap, :autolink, :no_intraemphasis, :fenced_code, :gh_blockcode]
9
+ self.syntax_highlighter(::RedcarpetCompat.new(text, *options).to_html).html_safe
10
+ end
11
+
12
+ def syntax_highlighter(html)
13
+ doc = ::Nokogiri::HTML(html)
14
+
15
+ doc.search("//pre").each do |pre|
16
+ lang = pre.attr('lang')
17
+
18
+ if lang.blank?
19
+ _lang_class = pre.attr('class').to_s.split(' ').select {|_itm| _itm.include?('lang-') }.first
20
+
21
+ if _lang_class
22
+ lang = _lang_class.gsub('lang-', '')
23
+ end
24
+ end
25
+
26
+ # debugger
27
+ if (pre_code=pre.css('code')).any?
28
+ lang = pre_code.attr('class').to_s
29
+ end
30
+
31
+ if lang.blank?
32
+ lang = :text
33
+ end
34
+
35
+ text = pre.text.rstrip
36
+
37
+ begin
38
+ pre.replace ::CodeRay.scan(text, lang).div.to_s
39
+ rescue Exception => error
40
+ Rails.logger.debug "#{__FILE__} syntax_highlighter error: \ntext => #{text} \nlang => #{lang}\n origin error:#{error}"
41
+ end
42
+ end
43
+
44
+ doc.css('body').try(:inner_html).to_s
45
+ end
46
+ end
47
+ end
48
+ end
49
+
@@ -0,0 +1,8 @@
1
+ # -*- encoding : utf-8 -*-
2
+ module LoyalCore
3
+ autoload :ArrayUtil, "#{File.dirname(__FILE__)}/utils/array_util"
4
+ autoload :DataUtil, "#{File.dirname(__FILE__)}/utils/data_util"
5
+ autoload :ConfigUtil, "#{File.dirname(__FILE__)}/utils/config_util"
6
+ autoload :TextUtil, "#{File.dirname(__FILE__)}/utils/text_util"
7
+ end
8
+
@@ -0,0 +1,4 @@
1
+ # -*- encoding : utf-8 -*-
2
+ module LoyalCore
3
+ VERSION = "0.0.1"
4
+ end
data/lib/loyal_core.rb ADDED
@@ -0,0 +1,17 @@
1
+ # -*- encoding : utf-8 -*-
2
+ require "loyal_core/engine"
3
+ require "loyal_core/memoist"
4
+ require "loyal_core/utils"
5
+ require "loyal_core/config"
6
+ require "loyal_core/acts"
7
+ require "loyal_core/action_helper"
8
+ require "loyal_core/action_controller"
9
+ require "loyal_core/action_view"
10
+ require "loyal_core/active_model"
11
+
12
+ module LoyalCore
13
+
14
+ end
15
+
16
+ I18n.load_path += Dir[Pathname.new(__FILE__).join('..', '..', 'config', 'locales', '**', '*.{rb,yml}').to_s]
17
+
@@ -0,0 +1,11 @@
1
+ # -*- encoding : utf-8 -*-
2
+ #
3
+ # desc "Explaining what the task does"
4
+ # task :loyal_core do
5
+ # # Task goes here
6
+ # end
7
+ #
8
+
9
+ # namespace :loyal_core do
10
+ #
11
+ # end
metadata ADDED
@@ -0,0 +1,231 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: loyal_core
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - happy
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2013-07-30 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: rails
16
+ requirement: !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ">="
20
+ - !ruby/object:Gem::Version
21
+ version: '0'
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ version: '0'
30
+ - !ruby/object:Gem::Dependency
31
+ name: loyal_rails_kindeditor
32
+ requirement: !ruby/object:Gem::Requirement
33
+ none: false
34
+ requirements:
35
+ - - ">="
36
+ - !ruby/object:Gem::Version
37
+ version: '0'
38
+ type: :runtime
39
+ prerelease: false
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ">="
44
+ - !ruby/object:Gem::Version
45
+ version: '0'
46
+ - !ruby/object:Gem::Dependency
47
+ name: sqlite3
48
+ requirement: !ruby/object:Gem::Requirement
49
+ none: false
50
+ requirements:
51
+ - - ">="
52
+ - !ruby/object:Gem::Version
53
+ version: '0'
54
+ type: :development
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ description: Description of LoyalCore.
63
+ email:
64
+ - andywang7259@gmail.com
65
+ executables: []
66
+ extensions: []
67
+ extra_rdoc_files: []
68
+ files:
69
+ - app/uploaders/loyal_core/avatar_uploader.rb
70
+ - app/uploaders/loyal_core/asset_uploader.rb
71
+ - app/controllers/loyal_core/jumps_controller.rb
72
+ - app/controllers/loyal_core/ajax_controller.rb
73
+ - app/controllers/loyal_core/application_controller.rb
74
+ - app/controllers/loyal_core/admin/skin/recipes_controller.rb
75
+ - app/controllers/loyal_core/admin/skin/folders_controller.rb
76
+ - app/controllers/loyal_core/ajax/rating_tracks_controller.rb
77
+ - app/controllers/loyal_core/ajax/users/sessions_controller.rb
78
+ - app/controllers/loyal_core/ajax/captchas_controller.rb
79
+ - app/controllers/loyal_core/ajax/like_tracks_controller.rb
80
+ - app/helpers/loyal_core/application_helper.rb
81
+ - app/helpers/loyal_core/admin/skin/folders_helper.rb
82
+ - app/helpers/loyal_core/admin/skin/recipes_helper.rb
83
+ - app/helpers/loyal_core/jumps_helper.rb
84
+ - app/helpers/loyal_core/ajax/like_tracks_helper.rb
85
+ - app/helpers/loyal_core/ajax/users/sessions_helper.rb
86
+ - app/helpers/loyal_core/ajax/rating_tracks_helper.rb
87
+ - app/helpers/loyal_core/ajax/captchas_helper.rb
88
+ - app/models/loyal_core/like_track.rb
89
+ - app/models/loyal_core/rating_track.rb
90
+ - app/models/loyal_core/skin/dish.rb
91
+ - app/models/loyal_core/skin/recipe.rb
92
+ - app/models/loyal_core/skin/folder.rb
93
+ - app/models/loyal_core/skin.rb
94
+ - app/models/kindeditor/media.rb
95
+ - app/models/kindeditor/file.rb
96
+ - app/models/kindeditor/asset.rb
97
+ - app/models/kindeditor/image.rb
98
+ - app/models/kindeditor/flash.rb
99
+ - app/views/layouts/loyal_core/application.html.erb
100
+ - app/views/loyal_core/admin/skin/recipes/new.html.erb
101
+ - app/views/loyal_core/admin/skin/recipes/_form.html.erb
102
+ - app/views/loyal_core/admin/skin/recipes/index.html.erb
103
+ - app/views/loyal_core/admin/skin/recipes/edit.html.erb
104
+ - app/views/loyal_core/admin/skin/recipes/show.html.erb
105
+ - app/views/loyal_core/admin/skin/folders/new.html.erb
106
+ - app/views/loyal_core/admin/skin/folders/_form.html.erb
107
+ - app/views/loyal_core/admin/skin/folders/index.html.erb
108
+ - app/views/loyal_core/admin/skin/folders/edit.html.erb
109
+ - app/views/loyal_core/admin/skin/folders/show.html.erb
110
+ - app/views/loyal_core/jumps/show.html.erb
111
+ - app/views/loyal_core/ajax/captchas/new.html.erb
112
+ - app/views/loyal_core/ajax/captchas/_new.html.erb
113
+ - app/views/simple_captcha/_simple_captcha.erb
114
+ - app/assets/images/loyal_core/fallbacks/loyal_core/skin/recipe/avatar/small_missing.gif
115
+ - app/assets/images/loyal_core/fallbacks/loyal_core/skin/recipe/avatar/ico_missing.gif
116
+ - app/assets/images/loyal_core/fallbacks/loyal_core/skin/recipe/avatar/medium_missing.gif
117
+ - app/assets/images/loyal_core/fallbacks/loyal_core/skin/recipe/avatar/tiny_missing.gif
118
+ - app/assets/images/loyal_core/fallbacks/loyal_core/skin/recipe/avatar/mini_missing.gif
119
+ - app/assets/images/loyal_core/fallbacks/loyal_core/skin/recipe/avatar/thumb_missing.gif
120
+ - app/assets/images/loyal_core/fallbacks/loyal_core/skin/recipe/avatar/missing.gif
121
+ - app/assets/images/loyal_core/fallbacks/user/avatar/small_missing.gif
122
+ - app/assets/images/loyal_core/fallbacks/user/avatar/ico_missing.gif
123
+ - app/assets/images/loyal_core/fallbacks/user/avatar/medium_missing.gif
124
+ - app/assets/images/loyal_core/fallbacks/user/avatar/tiny_missing.gif
125
+ - app/assets/images/loyal_core/fallbacks/user/avatar/mini_missing.gif
126
+ - app/assets/images/loyal_core/fallbacks/user/avatar/thumb_missing.gif
127
+ - app/assets/images/loyal_core/fallbacks/user/avatar/missing.gif
128
+ - app/assets/images/loyal_core/unlike.gif
129
+ - app/assets/images/loyal_core/liked.gif
130
+ - app/assets/images/loyal_core/down_rating.gif
131
+ - app/assets/images/loyal_core/up_rating.gif
132
+ - app/assets/stylesheets/loyal_core/jumps.css
133
+ - app/assets/stylesheets/loyal_core/admin/skin/recipes.css
134
+ - app/assets/stylesheets/loyal_core/admin/skin/folders.css
135
+ - app/assets/stylesheets/loyal_core/application.css.scss
136
+ - app/assets/stylesheets/loyal_core/ajax/captchas.css
137
+ - app/assets/stylesheets/loyal_core/ajax/rating_tracks.css
138
+ - app/assets/stylesheets/loyal_core/ajax/like_tracks.css
139
+ - app/assets/stylesheets/loyal_core/ajax/users/sessions.css
140
+ - app/assets/javascripts/jquery.cookie.js
141
+ - app/assets/javascripts/loyal_core/application.js
142
+ - app/assets/javascripts/loyal_core/ajax.js
143
+ - app/assets/javascripts/loyal_core/tools/editor_content_mode_selector.js
144
+ - app/assets/javascripts/loyal_core/tools/font_selector.js
145
+ - app/assets/javascripts/loyal_core/tools/append_params_return_to.js
146
+ - app/assets/javascripts/loyal_core/admin/skin/folders.js
147
+ - app/assets/javascripts/loyal_core/admin/skin/recipes.js
148
+ - app/assets/javascripts/loyal_core/jumps.js
149
+ - app/assets/javascripts/loyal_core/ajax/captchas.js
150
+ - app/assets/javascripts/loyal_core/ajax/users/sessions.js
151
+ - app/assets/javascripts/loyal_core/ajax/like_tracks.js
152
+ - app/assets/javascripts/loyal_core/ajax/rating_tracks.js
153
+ - config/routes.rb
154
+ - config/locales/en/loyal_simple_captcha.en.yml
155
+ - config/locales/en/default.en.yml
156
+ - config/locales/zh-CN/action_view.zh-CN.yml
157
+ - config/locales/zh-CN/loyal_simple_captcha.zh-CN.yml
158
+ - config/locales/zh-CN/default.zh-CN.yml
159
+ - config/locales/zh-CN/paginate.zh-CN.yml
160
+ - db/migrate/20130331104822_create_loyal_core_like_tracks.rb
161
+ - db/migrate/20130610091558_create_loyal_core_skin_folders.rb
162
+ - db/migrate/20130413061851_create_kindeditor_assets.rb
163
+ - db/migrate/20130610095635_create_loyal_core_skin_recipes.rb
164
+ - db/migrate/20130610095938_create_loyal_core_skin_dishes.rb
165
+ - db/migrate/20130331104216_create_loyal_core_rating_tracks.rb
166
+ - lib/loyal_core/active_model/strip_whitespace.rb
167
+ - lib/loyal_core/active_model/fix_counter_cache.rb
168
+ - lib/loyal_core/active_model/human_display_able.rb
169
+ - lib/loyal_core/action_helper/font_selector_helper.rb
170
+ - lib/loyal_core/action_helper/ajax/like_tracks_helper.rb
171
+ - lib/loyal_core/action_helper/ajax/rating_tracks_helper.rb
172
+ - lib/loyal_core/action_controller/request_init.rb
173
+ - lib/loyal_core/action_controller/seo_methods.rb
174
+ - lib/loyal_core/action_view/labeled_builder.rb
175
+ - lib/loyal_core/memoist.rb
176
+ - lib/loyal_core/action_view.rb
177
+ - lib/loyal_core/utils/config_util.rb
178
+ - lib/loyal_core/utils/data_util.rb
179
+ - lib/loyal_core/utils/array_util.rb
180
+ - lib/loyal_core/utils/text_util.rb
181
+ - lib/loyal_core/action_controller.rb
182
+ - lib/loyal_core/config.rb
183
+ - lib/loyal_core/utils.rb
184
+ - lib/loyal_core/acts/content_mode_able.rb
185
+ - lib/loyal_core/acts/content_depart_able.rb
186
+ - lib/loyal_core/acts/bit_able.rb
187
+ - lib/loyal_core/acts/uuid_ful.rb
188
+ - lib/loyal_core/acts/skin_dish_able.rb
189
+ - lib/loyal_core/acts/like_track_able.rb
190
+ - lib/loyal_core/acts/tree.rb
191
+ - lib/loyal_core/acts/rating_track_able.rb
192
+ - lib/loyal_core/acts/has_avatar.rb
193
+ - lib/loyal_core/acts/named_filter_able.rb
194
+ - lib/loyal_core/acts/has_permalink.rb
195
+ - lib/loyal_core/acts/views_count_able.rb
196
+ - lib/loyal_core/core_ext/singleton_class.rb
197
+ - lib/loyal_core/version.rb
198
+ - lib/loyal_core/engine.rb
199
+ - lib/loyal_core/action_helper.rb
200
+ - lib/loyal_core/active_model.rb
201
+ - lib/loyal_core/acts.rb
202
+ - lib/loyal_core.rb
203
+ - lib/tasks/loyal_core_tasks.rake
204
+ - MIT-LICENSE
205
+ - Rakefile
206
+ - README.md
207
+ homepage: http://develop.xiuxian123.com
208
+ licenses: []
209
+ post_install_message:
210
+ rdoc_options: []
211
+ require_paths:
212
+ - lib
213
+ required_ruby_version: !ruby/object:Gem::Requirement
214
+ none: false
215
+ requirements:
216
+ - - ">="
217
+ - !ruby/object:Gem::Version
218
+ version: '0'
219
+ required_rubygems_version: !ruby/object:Gem::Requirement
220
+ none: false
221
+ requirements:
222
+ - - ">="
223
+ - !ruby/object:Gem::Version
224
+ version: '0'
225
+ requirements: []
226
+ rubyforge_project:
227
+ rubygems_version: 1.8.25
228
+ signing_key:
229
+ specification_version: 3
230
+ summary: Summary of LoyalCore.
231
+ test_files: []