ns_service_pack 0.0.5 → 0.0.6

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.
data/History CHANGED
@@ -29,3 +29,7 @@
29
29
  #==0.0.5
30
30
  * 初步解决application controller问题
31
31
  * 添加默认index精确搜索条件
32
+
33
+ #==0.0.6
34
+ * 修正query_fields接口实现
35
+
@@ -84,7 +84,8 @@ module ApplicationControllerModule
84
84
 
85
85
  #ABORTED NOW, keep here
86
86
  def query_fields
87
- data = model_class.field_maps.keys.inject({}){|result, k| result[k]=nil; result}
87
+ data = model_class.buz_hashize
88
+ #field_maps.keys.inject({}){|result, k| result[k]=nil; result}
88
89
  render :json=>ResultPacker.data(:fields=>data)
89
90
  end
90
91
 
@@ -1,3 +1,3 @@
1
1
  module NsServicePack
2
- VERSION = '0.0.5'
2
+ VERSION = '0.0.6'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ns_service_pack
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -15,7 +15,7 @@ date: 2011-11-17 00:00:00.000000000Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: rails
18
- requirement: &69719820 !ruby/object:Gem::Requirement
18
+ requirement: &79256070 !ruby/object:Gem::Requirement
19
19
  none: false
20
20
  requirements:
21
21
  - - ! '>='
@@ -23,7 +23,7 @@ dependencies:
23
23
  version: 3.1.0
24
24
  type: :development
25
25
  prerelease: false
26
- version_requirements: *69719820
26
+ version_requirements: *79256070
27
27
  description: Service package for our service lier
28
28
  email: cao7113@gmail.com
29
29
  executables: []