recruiter 1.1.15 → 1.1.16

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: f2a92c3533b4ca17a4aec0d7cfb3e6748a6468bb
4
- data.tar.gz: 3d91a8e962dfbbf77078700567adb4a728761c01
3
+ metadata.gz: 8d05cc4a490f729d3ff1547b887d4d7c2aeef03a
4
+ data.tar.gz: f867b11d6a96396c9b4af5d60af3e2f9a11772f7
5
5
  SHA512:
6
- metadata.gz: 72ffbde67cf36c86b5c202d38e2df06b7ff67a09a4fa8886218b2dc5669945a0e78f973118614e2a5f08edc6900b1ddc5e72d1be8fa541a14d761246da664add
7
- data.tar.gz: 090962dde270d4dec27ee6c99a9d36347074bbc27d7e3a6ba8897346f2c221045b9a35b514a19491efeaa893e2813f2392d0acd2b9a8b80551d57e179b42f5ad
6
+ metadata.gz: 2101364d18370eb9d4d2bf9b300a04d10eb68a10977f6fa2f976caa79501c4b166b2f0f6e3618d30198f215a7f44beecfe6a7c7ead5b77cee25a9e0d6f683507
7
+ data.tar.gz: 15f205bd589a7bf074f9817aa8631bf21fdaeaaaf1b5e547cafdbd08345aedfa67fd62485d551b5c936c87409a45d642faf7581bf7867ca88053e59c48fffd64
@@ -1,8 +1,8 @@
1
1
  module Recruiter
2
2
  class HomeController < ::RecruiterController
3
3
  def index
4
- @jobs = Job.open.limit(5)
5
- @articles = Article.published.limit(5)
4
+ @jobs = Job.open.limit(3)
5
+ @articles = Article.published.limit(3)
6
6
  end
7
7
  end
8
8
  end
@@ -1,9 +1,11 @@
1
+ <% header_tag ||= :h2 %>
2
+
1
3
  <div class="job">
2
4
  <%= link_to article do %>
3
5
  <article class="row">
4
6
  <div class="small-12 columns">
5
7
  <div class="wrapper">
6
- <h2><%= article.decorate.title %></h2>
8
+ <%= content_tag(header_tag, article.decorate.title) %>
7
9
  <div class="published_date line"><%= article.decorate.published_at %></div>
8
10
  </div>
9
11
  </div>
@@ -1,7 +1,7 @@
1
1
  <div class="row">
2
2
  <div id="jobs" class="small-12 medium-12 large-12 columns">
3
3
  <h2><%= t('.title_jobs') %></h2>
4
- <%= render @jobs %>
4
+ <%= render @jobs, header_tag: :h3 %>
5
5
  </div>
6
6
 
7
7
  <%= button_link [:jobs], 'secondary expand' do %>
@@ -19,3 +19,5 @@
19
19
  <%= t('.see_all_articles') %>
20
20
  <% end %>
21
21
  </div>
22
+
23
+ <%= render 'recruiter/share', object: {} %>
@@ -1,9 +1,11 @@
1
+ <% header_tag ||= :h2 %>
2
+
1
3
  <div class="job">
2
4
  <%= link_to job do %>
3
5
  <article class="row">
4
6
  <div class="small-12 columns">
5
7
  <div class="wrapper">
6
- <h2><%= job.decorate.title %></h2>
8
+ <%= content_tag(header_tag, job.decorate.title) %>
7
9
  <div class="line"><%= render 'tags', tags: job.tags %></div>
8
10
  <div class="location line"><%= job.decorate.location %></div>
9
11
  <div class="published_date line"><%= job.decorate.published_at %></div>
@@ -1,3 +1,3 @@
1
1
  module Recruiter
2
- VERSION = "1.1.15"
2
+ VERSION = "1.1.16"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: recruiter
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.15
4
+ version: 1.1.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marcelo Jacobus