parsi-date 0.2.4 → 0.2.5

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.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 7c659ed96728dc1eea224fa8524225fff7a8a61e
4
+ data.tar.gz: 03c302ac94bdf70c37d25fb7e92d6bce7bfdcba0
5
+ SHA512:
6
+ metadata.gz: 87d68ea5bffbd765e1852238c4bf57a391aec13972d40dbb1a51bdab1ca649ed0c554058ac8e16ae3f8dcababa7910e9f2d0c916db066db5fbb860a5a98c8e82
7
+ data.tar.gz: 5d6f2e51f666ad0b0bf3c7c60e08c26fab43eb875d5efb386ebb16ccdc647d49c285ec03cf2c693babf899d2c6afd09a7227cb5d4a03cb7e8189fe2f7688966c
@@ -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
@@ -1,5 +1,5 @@
1
1
  module Parsi
2
2
  class Date
3
- VERSION = "0.2.4"
3
+ VERSION = "0.2.5"
4
4
  end
5
5
  end
@@ -3,26 +3,22 @@ require 'version'
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
 
6
- # Description Meta...
7
6
  s.name = 'parsi-date'
8
7
  s.version = Parsi::Date::VERSION
9
8
  s.platform = Gem::Platform::RUBY
9
+ s.licenses = ['MIT']
10
10
  s.author = 'Hassan Zamani'
11
11
  s.email = 'hsn.zamani@gmail.com'
12
12
  s.homepage = 'http://github.com/hzamani/parsi-date'
13
13
  s.summary = 'Solar Hijri (Jalali, Persian, Parsi) date library for Ruby'
14
14
  s.description = "A Solar Hijri (Jalali) date library for Ruby, whitch provides much of Ruby's built-in date class"
15
15
 
16
-
17
- # Load Paths...
18
16
  s.files = `git ls-files`.split("\n")
19
17
  s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
20
18
  s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
21
19
  s.require_paths = ['lib']
22
20
 
23
-
24
- # Dependencies (installed via 'bundle install')...
25
- s.add_development_dependency("bundler")
26
- s.add_development_dependency("rake")
27
- s.add_development_dependency("rspec")
21
+ s.add_development_dependency("bundler", "~> 1.4")
22
+ s.add_development_dependency("rake", "~> 10.0")
23
+ s.add_development_dependency("rspec", "~> 2.0")
28
24
  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
@@ -40,4 +40,4 @@ describe "Date constants" do
40
40
  ary.should be_frozen
41
41
  end
42
42
  end
43
- end
43
+ end
metadata CHANGED
@@ -1,64 +1,57 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: parsi-date
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.4
5
- prerelease:
4
+ version: 0.2.5
6
5
  platform: ruby
7
6
  authors:
8
7
  - Hassan Zamani
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-04-17 00:00:00.000000000 Z
11
+ date: 2014-01-12 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: bundler
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ! '>='
17
+ - - "~>"
20
18
  - !ruby/object:Gem::Version
21
- version: '0'
19
+ version: '1.4'
22
20
  type: :development
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ! '>='
24
+ - - "~>"
28
25
  - !ruby/object:Gem::Version
29
- version: '0'
26
+ version: '1.4'
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: rake
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
- - - ! '>='
31
+ - - "~>"
36
32
  - !ruby/object:Gem::Version
37
- version: '0'
33
+ version: '10.0'
38
34
  type: :development
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
- - - ! '>='
38
+ - - "~>"
44
39
  - !ruby/object:Gem::Version
45
- version: '0'
40
+ version: '10.0'
46
41
  - !ruby/object:Gem::Dependency
47
42
  name: rspec
48
43
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
44
  requirements:
51
- - - ! '>='
45
+ - - "~>"
52
46
  - !ruby/object:Gem::Version
53
- version: '0'
47
+ version: '2.0'
54
48
  type: :development
55
49
  prerelease: false
56
50
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
51
  requirements:
59
- - - ! '>='
52
+ - - "~>"
60
53
  - !ruby/object:Gem::Version
61
- version: '0'
54
+ version: '2.0'
62
55
  description: A Solar Hijri (Jalali) date library for Ruby, whitch provides much of
63
56
  Ruby's built-in date class
64
57
  email: hsn.zamani@gmail.com
@@ -66,9 +59,9 @@ executables: []
66
59
  extensions: []
67
60
  extra_rdoc_files: []
68
61
  files:
69
- - .gitignore
70
- - .rspec
71
- - .travis.yml
62
+ - ".gitignore"
63
+ - ".rspec"
64
+ - ".travis.yml"
72
65
  - Gemfile
73
66
  - MIT-LICENSE
74
67
  - README.rdoc
@@ -89,38 +82,28 @@ files:
89
82
  - spec/parsi-date/strftime_spec.rb
90
83
  - spec/spec_helper.rb
91
84
  homepage: http://github.com/hzamani/parsi-date
92
- licenses: []
85
+ licenses:
86
+ - MIT
87
+ metadata: {}
93
88
  post_install_message:
94
89
  rdoc_options: []
95
90
  require_paths:
96
91
  - lib
97
92
  required_ruby_version: !ruby/object:Gem::Requirement
98
- none: false
99
93
  requirements:
100
- - - ! '>='
94
+ - - ">="
101
95
  - !ruby/object:Gem::Version
102
96
  version: '0'
103
97
  required_rubygems_version: !ruby/object:Gem::Requirement
104
- none: false
105
98
  requirements:
106
- - - ! '>='
99
+ - - ">="
107
100
  - !ruby/object:Gem::Version
108
101
  version: '0'
109
102
  requirements: []
110
103
  rubyforge_project:
111
- rubygems_version: 1.8.25
104
+ rubygems_version: 2.2.0
112
105
  signing_key:
113
- specification_version: 3
106
+ specification_version: 4
114
107
  summary: Solar Hijri (Jalali, Persian, Parsi) date library for Ruby
115
- test_files:
116
- - spec/parsi-date/accessor_spec.rb
117
- - spec/parsi-date/add_month_spec.rb
118
- - spec/parsi-date/add_spec.rb
119
- - spec/parsi-date/comp_spec.rb
120
- - spec/parsi-date/constants_spec.rb
121
- - spec/parsi-date/construction_spec.rb
122
- - spec/parsi-date/conversion_spec.rb
123
- - spec/parsi-date/leap_spec.rb
124
- - spec/parsi-date/step_spec.rb
125
- - spec/parsi-date/strftime_spec.rb
126
- - spec/spec_helper.rb
108
+ test_files: []
109
+ has_rdoc: