simple_calendar 2.1.1 → 2.1.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: 7b1e55a8908e0a4b08914cb7ab29d65e7ffb663d
4
- data.tar.gz: f51b57f8c4f5793ef0ba8b239b75564b487c4e51
3
+ metadata.gz: 59b9224b682fc303439eb8ee366e809fc4f99e1e
4
+ data.tar.gz: 395cb5bdf0aeba36baab1720be6e23669791482a
5
5
  SHA512:
6
- metadata.gz: 9fa2ea181e2ab663772657fdf02801082e9a08682c6659c10af791d4f9d2a1f0acc4caff00e1ce157cc13ad2956b456552867452bd71d21dcde65162802c5bd9
7
- data.tar.gz: fd5e76a474b59eba0bb377f48fd8304fb8f8714177ff312b98bb404ae76460cf5e219eea12a0b8759db932c191967cc3be3e860d752cc1fe286652e909730ce0
6
+ metadata.gz: 56ebcd47b429ac45294d7d62006c00e1310781c471f3d40c896e8c03b8d87b6eaf8ea316872209139e474b2a75e40ff45099f3422cf349b8d7c22d11a3911908
7
+ data.tar.gz: 655c8e1fe2c2cab341d7fe279b3974929fc2a2afd227c740a230fb9069ff027119f55976f30f0d88837ba8c61bdc6642ad70bd0511fd40972a822501a87997f6
@@ -1,7 +1,7 @@
1
1
  <div class="simple-calendar">
2
- <%= link_to "Previous", calendar.url_for_previous_view %>
2
+ <%= link_to I18n.t('simple_calendar.previous', :default => "Previous"), calendar.url_for_previous_view %>
3
3
  <%= I18n.t("date.month_names")[start_date.month] %> <%= start_date.year %>
4
- <%= link_to "Next", calendar.url_for_next_view %>
4
+ <%= link_to I18n.t('simple_calendar.next', :default => "Next"), calendar.url_for_next_view %>
5
5
 
6
6
  <table class="table table-striped">
7
7
  <thead>
@@ -1,7 +1,7 @@
1
1
  <div class="simple-calendar">
2
- <%= link_to "Previous", calendar.url_for_previous_view %>
2
+ <%= link_to I18n.t('simple_calendar.previous', :default => "Previous"), calendar.url_for_previous_view %>
3
3
  <%= I18n.t("date.month_names")[start_date.month] %> <%= start_date.year %>
4
- <%= link_to "Next", calendar.url_for_next_view %>
4
+ <%= link_to I18n.t('simple_calendar.next', :default => "Next"), calendar.url_for_next_view %>
5
5
 
6
6
  <table class="table table-striped">
7
7
  <thead>
@@ -1,7 +1,7 @@
1
1
  <div class="simple-calendar">
2
- <%= link_to "Previous", calendar.url_for_previous_view %>
2
+ <%= link_to I18n.t('simple_calendar.previous', :default => "Previous"), calendar.url_for_previous_view %>
3
3
  Week <%= start_date.strftime("%U").to_i %>
4
- <%= link_to "Next", calendar.url_for_next_view %>
4
+ <%= link_to I18n.t('simple_calendar.next', :default => "Next"), calendar.url_for_next_view %>
5
5
 
6
6
  <table class="table table-striped">
7
7
  <thead>
@@ -1,3 +1,3 @@
1
1
  module SimpleCalendar
2
- VERSION = "2.1.1"
2
+ VERSION = "2.1.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simple_calendar
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.1
4
+ version: 2.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Oliver
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-04-28 00:00:00.000000000 Z
11
+ date: 2016-05-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -94,7 +94,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
94
94
  version: '0'
95
95
  requirements: []
96
96
  rubyforge_project: simple_calendar
97
- rubygems_version: 2.4.5.1
97
+ rubygems_version: 2.5.1
98
98
  signing_key:
99
99
  specification_version: 4
100
100
  summary: A simple Rails 3 and Rails 4 calendar