ransack 1.2.1 → 1.2.2

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: 05094bdd4cff3092bd0040f3c8395df4b89035d8
4
- data.tar.gz: 2a4b18e4c80a2ad641a950e771cda170482ddc87
3
+ metadata.gz: 16c52e19f1e9a6d5c37117a93d4a6f09a4bb552e
4
+ data.tar.gz: 998d5acad6ac6a2d09b9aaa30e445f5ace6a7f23
5
5
  SHA512:
6
- metadata.gz: 04d142c23d5c9c4a4b2cc06ebd22f5a61aa488249d67643179a846d0348644c4e580b45da0586abe952c927003007f16232bfe4072651862729918431c7252af
7
- data.tar.gz: b694483133a92b365dff98ef745d9a230de3f2d9734b3fcba892da10bd989a5df9ff51291ef7a0388c51c24758cd0261c1adb8537b4eb3e66c3ead9db558a696
6
+ metadata.gz: 15b51c18470cfd6bd5582eb53b0a508025be5ce0416a6e23c6b912e5316e7a33cf3dffa3bcb806322e0f2187a9a2ea7d20c1ff4c5399f6e8394a0916099ea89a
7
+ data.tar.gz: 2c812ed0979b364d2f0ebedd8377a0fa92b5c49316b0ac963852a172e59970a053eb175f7949993756249cdb3046ad44a9047a95f5212c80fd0f576c0bcac1f5
@@ -0,0 +1,70 @@
1
+ zh:
2
+ ransack:
3
+ search: "搜索"
4
+ predicate: "基于(predicate)"
5
+ and: "并且"
6
+ or: "或者"
7
+ any: "任意"
8
+ all: "所有"
9
+ combinator: "条件组合(combinator)"
10
+ attribute: "属性"
11
+ value: "数值"
12
+ condition: "条件"
13
+ sort: "排序"
14
+ asc: "升序"
15
+ desc: "降序"
16
+ predicates:
17
+ eq: "等于"
18
+ eq_any: "等于任意值"
19
+ eq_all: "等于所有值"
20
+ not_eq: "不等于"
21
+ not_eq_any: "不等于任意值"
22
+ not_eq_all: "不等于所有值"
23
+ matches: "符合"
24
+ matches_any: "符合任意条件"
25
+ matches_all: "符合所有条件"
26
+ does_not_match: "不符合"
27
+ does_not_match_any: "符合任意条件"
28
+ does_not_match_all: "不符合所有条件"
29
+ lt: "小于"
30
+ lt_any: "小于任意一个值"
31
+ lt_all: "小于所有值"
32
+ lteq: "小于等于"
33
+ lteq_any: "小于等于任意一个值"
34
+ lteq_all: "小于等于所有值"
35
+ gt: "大于"
36
+ gt_any: "大于任意一个值"
37
+ gt_all: "大于所有值"
38
+ gteq: "大于等于"
39
+ gteq_any: "大于等于任意一个值"
40
+ gteq_all: "大于等于所有值"
41
+ in: "被包含"
42
+ in_any: "被任意值包含"
43
+ in_all: "被所有值包含"
44
+ not_in: "不被包含"
45
+ not_in_any: "不被任意值包含"
46
+ not_in_all: "不被所有值包含"
47
+ cont: "包含"
48
+ cont_any: "包含任意一个值"
49
+ cont_all: "包含所有值"
50
+ not_cont: "不包含"
51
+ not_cont_any: "不包含任意一个值"
52
+ not_cont_all: "不包含所有值"
53
+ start: "以改值开始"
54
+ start_any: "以任意一个值开始"
55
+ start_all: "以所有值开始"
56
+ not_start: "不以改值开始"
57
+ not_start_any: "不以任意一个值开始"
58
+ not_start_all: "不以所有值开始"
59
+ end: "以改值结尾"
60
+ end_any: "以任意一个值结尾"
61
+ end_all: "以所有值结尾"
62
+ not_end: "不以改值结尾"
63
+ not_end_any: "不以任意一个值结尾"
64
+ not_end_all: "不以所有值结尾"
65
+ 'true': "等于true"
66
+ 'false': "等于false"
67
+ present: "有值"
68
+ blank: "为空"
69
+ 'null': "是null"
70
+ not_null: "不是null"
@@ -1,3 +1,3 @@
1
1
  module Ransack
2
- VERSION = "1.2.1"
2
+ VERSION = "1.2.2"
3
3
  end
data/ransack.gemspec CHANGED
@@ -19,7 +19,7 @@ Gem::Specification.new do |s|
19
19
  s.add_dependency 'activerecord', '>= 3.0'
20
20
  s.add_dependency 'activesupport', '>= 3.0'
21
21
  s.add_dependency 'i18n'
22
- s.add_dependency 'polyamorous', '~> 0.6.0'
22
+ s.add_dependency 'polyamorous', '~> 1.0.0'
23
23
  s.add_development_dependency 'rspec', '~> 2.8.0'
24
24
  s.add_development_dependency 'machinist', '~> 1.0.6'
25
25
  s.add_development_dependency 'faker', '~> 0.9.5'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ransack
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.1
4
+ version: 1.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ernie Miller
@@ -73,14 +73,14 @@ dependencies:
73
73
  requirements:
74
74
  - - "~>"
75
75
  - !ruby/object:Gem::Version
76
- version: 0.6.0
76
+ version: 1.0.0
77
77
  type: :runtime
78
78
  prerelease: false
79
79
  version_requirements: !ruby/object:Gem::Requirement
80
80
  requirements:
81
81
  - - "~>"
82
82
  - !ruby/object:Gem::Version
83
- version: 0.6.0
83
+ version: 1.0.0
84
84
  - !ruby/object:Gem::Dependency
85
85
  name: rspec
86
86
  requirement: !ruby/object:Gem::Requirement
@@ -211,6 +211,7 @@ files:
211
211
  - lib/ransack/helpers/form_builder.rb
212
212
  - lib/ransack/helpers/form_helper.rb
213
213
  - lib/ransack/locale/en.yml
214
+ - lib/ransack/locale/zh.yml
214
215
  - lib/ransack/naming.rb
215
216
  - lib/ransack/nodes.rb
216
217
  - lib/ransack/nodes/attribute.rb
@@ -268,7 +269,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
268
269
  version: '0'
269
270
  requirements: []
270
271
  rubyforge_project: ransack
271
- rubygems_version: 2.2.0
272
+ rubygems_version: 2.2.2
272
273
  signing_key:
273
274
  specification_version: 4
274
275
  summary: Object-based searching for ActiveRecord (currently).