parsi-date 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- parsi-date (0.2)
4
+ parsi-date (0.2.2)
5
5
 
6
6
  GEM
7
7
  remote: http://rubygems.org/
data/lib/parsi-date.rb CHANGED
@@ -99,7 +99,7 @@ module Parsi
99
99
  # Full names of days of the week, in Farsi. Days of the week
100
100
  # count from 0 to 6; a day's numerical representation indexed into this array gives
101
101
  # the name of that day.
102
- DAYNAMES = %w(یک‌شنده دوشنده سه‌شنده چهارشنده چنج‌شنده جمعه شنده)
102
+ DAYNAMES = %w(یک‌شنبه دوشنبه سه‌شنبه چهارشنبه چنج‌شنبه جمعه شنبه)
103
103
 
104
104
  # Full names of days of the week, in English. Days of the week
105
105
  # count from 0 to 6; a day's numerical representation indexed into this array gives
data/lib/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  module Parsi
2
2
  class Date
3
- VERSION = "0.2.1"
3
+ VERSION = "0.2.2"
4
4
  end
5
5
  end
@@ -18,7 +18,7 @@ describe "Date constants" do
18
18
  end
19
19
 
20
20
  it "defines DAYNAMES" do
21
- Parsi::Date::DAYNAMES.should == %w(یک‌شنده دوشنده سه‌شنده چهارشنده چنج‌شنده جمعه شنده)
21
+ Parsi::Date::DAYNAMES.should == %w(یک‌شنبه دوشنبه سه‌شنبه چهارشنبه چنج‌شنبه جمعه شنبه)
22
22
  end
23
23
 
24
24
  it "defines EN_DAYNAMES" do
@@ -8,7 +8,7 @@ describe "Parsi::Date#strftime" do
8
8
  end
9
9
 
10
10
  it "should be able to print the full day name" do
11
- Parsi::Date.civil(1390, 4, 6).strftime("%A").should == "دوشنده"
11
+ Parsi::Date.civil(1390, 4, 6).strftime("%A").should == "دوشنبه"
12
12
  end
13
13
 
14
14
  it "should be able to print the short day name" do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: parsi-date
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
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-10-29 00:00:00.000000000 Z
12
+ date: 2012-10-30 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler