homeland-jobs 0.1.1 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: f4b17df6ecdd807228db94f72e35bff85ffb376a
4
- data.tar.gz: 03c91dcd0b527fb43a89fa307f168ec4b41038fe
2
+ SHA256:
3
+ metadata.gz: 5c409c2e3861eed5acd2950befe518b5ea5dbc902bdfceb46319a4da5114f05f
4
+ data.tar.gz: 7d7454c44a2b358ecb5346b86d0756906dad854e5166b85cb78bda843bb67391
5
5
  SHA512:
6
- metadata.gz: 9f7207e0d73ff668afaa4faae42b4ceeff16181598dd4b95fd6bfb9ab547b1f69c39f4a5e95d20a26025ec7200be57bc8e5d372ad11235dc9423dd5e5c3144a8
7
- data.tar.gz: f728612e72205396974a39d691d4d929d1a0228c5d61be8cc5cb0fc0363ad422b27467b2a671e62d11b4f882e98b3b761dc576d09eae140e204c346df0acc497
6
+ metadata.gz: e183d8ba382d21aaae08c495ae3accdcbfdd778a1b461fff9be422f20e9dfb16eb222b9e74b5feb632d9160f6087134959e8da65732dc7c84ad49ef739dc42c4
7
+ data.tar.gz: f1d6fcde70d2b65bccfe88299ed600991a95d2f40af95355de5eabcf6cb82e9c945ec584d39d73250a81b99c2199e42785373a0e16c52ec731d9e30b925f36bb
@@ -8,6 +8,8 @@ module Homeland::Jobs
8
8
  @topics = Topic.where(node_id: @node.id)
9
9
  @topics = @topics.where.not(id: suggest_topic_ids) if suggest_topic_ids.count > 0
10
10
  @topics = @topics.last_actived.includes(:user).page(params[:page])
11
+ @topics = @topics.where("title LIKE ?", "%[#{params[:location]}]%") if params[:location]
12
+ @page_title = '招聘'
11
13
  render '/topics/index' if stale?(etag: [@node, @suggest_topics, @topics], template: '/topics/index')
12
14
  end
13
15
 
@@ -1,7 +1,7 @@
1
1
  module Homeland
2
2
  module Jobs
3
- NAME = 'jobs'
3
+ NAME = 'jobs'
4
4
  DESCRIPTION = 'Display Job channel in navbar for list jobs.'
5
- VERSION = '0.1.1'
5
+ VERSION = '0.2.0'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: homeland-jobs
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jason Lee
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-03-02 00:00:00.000000000 Z
11
+ date: 2018-04-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -59,7 +59,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
59
59
  version: '0'
60
60
  requirements: []
61
61
  rubyforge_project:
62
- rubygems_version: 2.6.8
62
+ rubygems_version: 2.7.6
63
63
  signing_key:
64
64
  specification_version: 4
65
65
  summary: Display Job channel in navbar for list jobs.