simple_calendar 0.0.7 → 0.0.8

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  Simple Calendar
2
2
  ===============
3
3
 
4
- This is a small Rails 3.x gem for creating a quick and clean table calendar.
4
+ This is a small Rails 3.2 gem for creating a quick and clean table calendar.
5
5
  Theming is up to you, but it works nicely with Twitter Bootstrap.
6
6
 
7
7
  Thanks to Josh Chernoff for an early rewrite of the calendar generation
@@ -12,7 +12,7 @@ Installation
12
12
 
13
13
  Just add this into your Gemfile followed by a bundle install:
14
14
 
15
- gem "simple_calendar", "~> 0.0.5"
15
+ gem "simple_calendar", "~> 0.0.7"
16
16
 
17
17
  Usage
18
18
  -----
@@ -1,3 +1,3 @@
1
1
  module SimpleCalendar
2
- VERSION = "0.0.7"
2
+ VERSION = "0.0.8"
3
3
  end
@@ -101,7 +101,7 @@ module SimpleCalendar
101
101
  tags = []
102
102
 
103
103
  tags << month_link(options[:prev_text], previous_month, {:class => "previous-month"})
104
- tags << I18n.t("date.month_names")[selected_month.month]
104
+ tags << "#{I18n.t("date.month_names")[selected_month.month]} #{selected_month.year}"
105
105
  tags << month_link(options[:next_text], next_month, {:class => "next-month"})
106
106
 
107
107
  tags.join.html_safe
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simple_calendar
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-09-08 00:00:00.000000000 Z
12
+ date: 2012-10-27 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails