ns_service_pack 0.0.13 → 0.0.14
Sign up to get free protection for your applications and to get access to all the features.
- data/README +3 -0
- data/lib/ns_service_pack/result_packer.rb +1 -1
- data/lib/ns_service_pack/version.rb +1 -1
- metadata +3 -3
data/README
CHANGED
@@ -15,7 +15,7 @@ class ResultPacker
|
|
15
15
|
|
16
16
|
#前台验证错误
|
17
17
|
def self.improve(ok_data = nil, hint_hash={}, msg='部分逻辑错误!')
|
18
|
-
{:status=>'imperfect',:msg=>msg, :data=>ok_data, :
|
18
|
+
{:status=>'imperfect',:msg=>msg, :data=>ok_data, :errors=>hint_hash}
|
19
19
|
end
|
20
20
|
|
21
21
|
#前台验证错误
|
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.
|
4
|
+
version: 0.0.14
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -15,7 +15,7 @@ date: 2011-11-18 00:00:00.000000000Z
|
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: rails
|
18
|
-
requirement: &
|
18
|
+
requirement: &75576120 !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: *
|
26
|
+
version_requirements: *75576120
|
27
27
|
description: Service package for our service lier
|
28
28
|
email: cao7113@gmail.com
|
29
29
|
executables: []
|