lazier 1.0.6 → 1.0.7

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.
Files changed (48) hide show
  1. data/Gemfile +1 -1
  2. data/README.md +1 -1
  3. data/Rakefile +1 -1
  4. data/doc/Lazier.html +87 -84
  5. data/doc/Lazier/Boolean.html +10 -8
  6. data/doc/Lazier/DateTime.html +58 -52
  7. data/doc/Lazier/DateTime/ClassMethods.html +91 -79
  8. data/doc/Lazier/Exceptions.html +2 -2
  9. data/doc/Lazier/Exceptions/Dump.html +2 -2
  10. data/doc/Lazier/Hash.html +20 -18
  11. data/doc/Lazier/Math.html +2 -2
  12. data/doc/Lazier/Math/ClassMethods.html +24 -22
  13. data/doc/Lazier/Object.html +109 -95
  14. data/doc/Lazier/Pathname.html +11 -10
  15. data/doc/Lazier/Settings.html +80 -70
  16. data/doc/Lazier/String.html +26 -22
  17. data/doc/Lazier/TimeZone.html +258 -166
  18. data/doc/Lazier/TimeZone/ClassMethods.html +79 -72
  19. data/doc/Lazier/Version.html +10 -6
  20. data/doc/_index.html +2 -2
  21. data/doc/file.README.html +6 -6
  22. data/doc/index.html +6 -6
  23. data/doc/method_list.html +90 -82
  24. data/doc/top-level-namespace.html +2 -2
  25. data/lazier.gemspec +1 -1
  26. data/lib/lazier.rb +1 -1
  27. data/lib/lazier/boolean.rb +1 -1
  28. data/lib/lazier/datetime.rb +17 -4
  29. data/lib/lazier/exceptions.rb +1 -1
  30. data/lib/lazier/hash.rb +1 -1
  31. data/lib/lazier/math.rb +1 -1
  32. data/lib/lazier/object.rb +1 -1
  33. data/lib/lazier/pathname.rb +1 -1
  34. data/lib/lazier/settings.rb +1 -1
  35. data/lib/lazier/string.rb +1 -1
  36. data/lib/lazier/version.rb +2 -2
  37. data/spec/coverage_helper.rb +1 -1
  38. data/spec/lazier/boolean_spec.rb +1 -1
  39. data/spec/lazier/datetime_spec.rb +11 -1
  40. data/spec/lazier/hash_spec.rb +1 -1
  41. data/spec/lazier/math_spec.rb +1 -1
  42. data/spec/lazier/object_spec.rb +1 -1
  43. data/spec/lazier/pathname_spec.rb +1 -1
  44. data/spec/lazier/settings_spec.rb +1 -1
  45. data/spec/lazier/string_spec.rb +1 -1
  46. data/spec/lazier_spec.rb +1 -1
  47. data/spec/spec_helper.rb +1 -1
  48. metadata +155 -146
@@ -103,9 +103,9 @@
103
103
  </div>
104
104
 
105
105
  <div id="footer">
106
- Generated on Mon Oct 22 08:42:01 2012 by
106
+ Generated on Wed Jan 16 10:02:55 2013 by
107
107
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
108
- 0.8.2.1 (ruby-1.9.2).
108
+ 0.8.2.1 (ruby-1.8.7).
109
109
  </div>
110
110
 
111
111
  </body>
@@ -1,6 +1,6 @@
1
1
  # encoding: utf-8
2
2
  #
3
- # This file is part of the lazier gem. Copyright (C) 2012 and above Shogun <shogun_panda@me.com>.
3
+ # This file is part of the lazier gem. Copyright (C) 2013 and above Shogun <shogun_panda@me.com>.
4
4
  # Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
5
5
  #
6
6
 
@@ -1,6 +1,6 @@
1
1
  # encoding: utf-8
2
2
  #
3
- # This file is part of the lazier gem. Copyright (C) 2012 and above Shogun <shogun_panda@me.com>.
3
+ # This file is part of the lazier gem. Copyright (C) 2013 and above Shogun <shogun_panda@me.com>.
4
4
  # Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
5
5
  #
6
6
 
@@ -1,6 +1,6 @@
1
1
  # encoding: utf-8
2
2
  #
3
- # This file is part of the lazier gem. Copyright (C) 2012 and above Shogun <shogun_panda@me.com>.
3
+ # This file is part of the lazier gem. Copyright (C) 2013 and above Shogun <shogun_panda@me.com>.
4
4
  # Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
5
5
  #
6
6
 
@@ -1,6 +1,6 @@
1
1
  # encoding: utf-8
2
2
  #
3
- # This file is part of the lazier gem. Copyright (C) 2012 and above Shogun <shogun_panda@me.com>.
3
+ # This file is part of the lazier gem. Copyright (C) 2013 and above Shogun <shogun_panda@me.com>.
4
4
  # Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
5
5
  #
6
6
 
@@ -184,7 +184,7 @@ module Lazier
184
184
  # Returns the number of months passed between the beginning of the base year and the current date.
185
185
  #
186
186
  # ```ruby
187
- # DateTime.civil(2012, 6, 1).in_months(2011)
187
+ # DateTime.civil(2013, 6, 1).in_months(2011)
188
188
  # # => 18
189
189
  # ```
190
190
  #
@@ -424,6 +424,19 @@ module Lazier
424
424
  rational ? self.class.rationalize_offset(rv) : rv
425
425
  end
426
426
 
427
+ # Return the current alias for this timezone.
428
+ def current_alias
429
+ identifier = self.tzinfo.identifier
430
+
431
+ catch(:alias) do
432
+ self.aliases.each do |a|
433
+ throw(:alias, a) if a == identifier
434
+ end
435
+
436
+ self.aliases.first
437
+ end
438
+ end
439
+
427
440
  # Returns the standard offset for this timezone.
428
441
  #
429
442
  # @param rational [Boolean] If to return the offset as a Rational.
@@ -501,7 +514,7 @@ module Lazier
501
514
  # @param colon [Boolean] If to put the colon in the output string.
502
515
  # @return [String] The name for this zone.
503
516
  def to_str(name = nil, colon = true)
504
- name ||= self.aliases.first
517
+ name ||= self.current_alias
505
518
  "(GMT#{self.formatted_offset(colon)}) #{name}"
506
519
  end
507
520
 
@@ -513,7 +526,7 @@ module Lazier
513
526
  # @return [String] The string representation for the zone with DST or `nil`, if the timezone doesn't use DST for that year.
514
527
  def to_str_with_dst(dst_label = nil, year = nil, name = nil)
515
528
  dst_label ||= "(DST)"
516
- name ||= self.aliases.first
529
+ name ||= self.current_alias
517
530
 
518
531
  if self.uses_dst?(year) then
519
532
  period = self.dst_period(year)
@@ -1,6 +1,6 @@
1
1
  # encoding: utf-8
2
2
  #
3
- # This file is part of the lazier gem. Copyright (C) 2012 and above Shogun <shogun_panda@me.com>.
3
+ # This file is part of the lazier gem. Copyright (C) 2013 and above Shogun <shogun_panda@me.com>.
4
4
  # Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
5
5
  #
6
6
 
@@ -1,6 +1,6 @@
1
1
  # encoding: utf-8
2
2
  #
3
- # This file is part of the lazier gem. Copyright (C) 2012 and above Shogun <shogun_panda@me.com>.
3
+ # This file is part of the lazier gem. Copyright (C) 2013 and above Shogun <shogun_panda@me.com>.
4
4
  # Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
5
5
  #
6
6
 
@@ -1,6 +1,6 @@
1
1
  # encoding: utf-8
2
2
  #
3
- # This file is part of the lazier gem. Copyright (C) 2012 and above Shogun <shogun_panda@me.com>.
3
+ # This file is part of the lazier gem. Copyright (C) 2013 and above Shogun <shogun_panda@me.com>.
4
4
  # Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
5
5
  #
6
6
 
@@ -1,6 +1,6 @@
1
1
  # encoding: utf-8
2
2
  #
3
- # This file is part of the lazier gem. Copyright (C) 2012 and above Shogun <shogun_panda@me.com>.
3
+ # This file is part of the lazier gem. Copyright (C) 2013 and above Shogun <shogun_panda@me.com>.
4
4
  # Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
5
5
  #
6
6
 
@@ -1,6 +1,6 @@
1
1
  # encoding: utf-8
2
2
  #
3
- # This file is part of the lazier gem. Copyright (C) 2012 and above Shogun <shogun_panda@me.com>.
3
+ # This file is part of the lazier gem. Copyright (C) 2013 and above Shogun <shogun_panda@me.com>.
4
4
  # Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
5
5
  #
6
6
 
@@ -1,6 +1,6 @@
1
1
  # encoding: utf-8
2
2
  #
3
- # This file is part of the lazier gem. Copyright (C) 2012 and above Shogun <shogun_panda@me.com>.
3
+ # This file is part of the lazier gem. Copyright (C) 2013 and above Shogun <shogun_panda@me.com>.
4
4
  # Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
5
5
  #
6
6
 
@@ -1,6 +1,6 @@
1
1
  # encoding: utf-8
2
2
  #
3
- # This file is part of the lazier gem. Copyright (C) 2012 and above Shogun <shogun_panda@me.com>.
3
+ # This file is part of the lazier gem. Copyright (C) 2013 and above Shogun <shogun_panda@me.com>.
4
4
  # Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
5
5
  #
6
6
 
@@ -1,6 +1,6 @@
1
1
  # encoding: utf-8
2
2
  #
3
- # This file is part of the lazier gem. Copyright (C) 2012 and above Shogun <shogun_panda@me.com>.
3
+ # This file is part of the lazier gem. Copyright (C) 2013 and above Shogun <shogun_panda@me.com>.
4
4
  # Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
5
5
  #
6
6
 
@@ -16,7 +16,7 @@ module Lazier
16
16
  MINOR = 0
17
17
 
18
18
  # The patch version.
19
- PATCH = 6
19
+ PATCH = 7
20
20
 
21
21
  # The current version of lazier.
22
22
  STRING = [MAJOR, MINOR, PATCH].compact.join(".")
@@ -1,6 +1,6 @@
1
1
  # encoding: utf-8
2
2
  #
3
- # This file is part of the lazier gem. Copyright (C) 2012 and above Shogun <shogun_panda@me.com>.
3
+ # This file is part of the lazier gem. Copyright (C) 2013 and above Shogun <shogun_panda@me.com>.
4
4
  # Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
5
5
  #
6
6
 
@@ -1,6 +1,6 @@
1
1
  # encoding: utf-8
2
2
  #
3
- # This file is part of the lazier gem. Copyright (C) 2012 and above Shogun <shogun_panda@me.com>.
3
+ # This file is part of the lazier gem. Copyright (C) 2013 and above Shogun <shogun_panda@me.com>.
4
4
  # Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
5
5
  #
6
6
 
@@ -1,6 +1,6 @@
1
1
  # encoding: utf-8
2
2
  #
3
- # This file is part of the lazier gem. Copyright (C) 2012 and above Shogun <shogun_panda@me.com>.
3
+ # This file is part of the lazier gem. Copyright (C) 2013 and above Shogun <shogun_panda@me.com>.
4
4
  # Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
5
5
  #
6
6
 
@@ -207,6 +207,7 @@ describe Lazier::DateTime do
207
207
  end
208
208
 
209
209
  describe Lazier::TimeZone do
210
+ let(:reference_zone) { ::ActiveSupport::TimeZone["Mountain Time (US & Canada)"] }
210
211
  let(:reference_zone) { ::ActiveSupport::TimeZone["Mountain Time (US & Canada)"] }
211
212
  let(:zone_without_dst) { ::ActiveSupport::TimeZone["International Date Line West"] }
212
213
 
@@ -277,6 +278,15 @@ describe Lazier::TimeZone do
277
278
  end
278
279
  end
279
280
 
281
+ describe "#current_alias" do
282
+ it "should correctly return current zone alias or the first one" do
283
+ zone = ActiveSupport::TimeZone["America/Halifax"]
284
+ expect(zone.current_alias).to eq("America/Halifax")
285
+ zone.tzinfo.stub(:identifier).and_return("INVALID")
286
+ expect(zone.current_alias).to eq("America/Atlantic Time (Canada)")
287
+ end
288
+ end
289
+
280
290
  describe "#dst_period" do
281
291
  it "should correctly return zone offset" do
282
292
  expect(reference_zone.dst_period).to be_a(::TZInfo::TimezonePeriod)
@@ -1,6 +1,6 @@
1
1
  # encoding: utf-8
2
2
  #
3
- # This file is part of the lazier gem. Copyright (C) 2012 and above Shogun <shogun_panda@me.com>.
3
+ # This file is part of the lazier gem. Copyright (C) 2013 and above Shogun <shogun_panda@me.com>.
4
4
  # Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
5
5
  #
6
6
 
@@ -1,6 +1,6 @@
1
1
  # encoding: utf-8
2
2
  #
3
- # This file is part of the lazier gem. Copyright (C) 2012 and above Shogun <shogun_panda@me.com>.
3
+ # This file is part of the lazier gem. Copyright (C) 2013 and above Shogun <shogun_panda@me.com>.
4
4
  # Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
5
5
  #
6
6
 
@@ -1,6 +1,6 @@
1
1
  # encoding: utf-8
2
2
  #
3
- # This file is part of the lazier gem. Copyright (C) 2012 and above Shogun <shogun_panda@me.com>.
3
+ # This file is part of the lazier gem. Copyright (C) 2013 and above Shogun <shogun_panda@me.com>.
4
4
  # Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
5
5
  #
6
6
 
@@ -1,6 +1,6 @@
1
1
  # encoding: utf-8
2
2
  #
3
- # This file is part of the lazier gem. Copyright (C) 2012 and above Shogun <shogun_panda@me.com>.
3
+ # This file is part of the lazier gem. Copyright (C) 2013 and above Shogun <shogun_panda@me.com>.
4
4
  # Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
5
5
  #
6
6
 
@@ -1,6 +1,6 @@
1
1
  # encoding: utf-8
2
2
  #
3
- # This file is part of the lazier gem. Copyright (C) 2012 and above Shogun <shogun_panda@me.com>.
3
+ # This file is part of the lazier gem. Copyright (C) 2013 and above Shogun <shogun_panda@me.com>.
4
4
  # Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
5
5
  #
6
6
 
@@ -1,6 +1,6 @@
1
1
  # encoding: utf-8
2
2
  #
3
- # This file is part of the lazier gem. Copyright (C) 2012 and above Shogun <shogun_panda@me.com>.
3
+ # This file is part of the lazier gem. Copyright (C) 2013 and above Shogun <shogun_panda@me.com>.
4
4
  # Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
5
5
  #
6
6
 
@@ -1,6 +1,6 @@
1
1
  # encoding: utf-8
2
2
  #
3
- # This file is part of the lazier gem. Copyright (C) 2012 and above Shogun <shogun_panda@me.com>.
3
+ # This file is part of the lazier gem. Copyright (C) 2013 and above Shogun <shogun_panda@me.com>.
4
4
  # Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
5
5
  #
6
6
 
@@ -1,6 +1,6 @@
1
1
  # encoding: utf-8
2
2
  #
3
- # This file is part of the lazier gem. Copyright (C) 2012 and above Shogun <shogun_panda@me.com>.
3
+ # This file is part of the lazier gem. Copyright (C) 2013 and above Shogun <shogun_panda@me.com>.
4
4
  # Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
5
5
  #
6
6
 
metadata CHANGED
@@ -1,183 +1,189 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: lazier
3
- version: !ruby/object:Gem::Version
4
- version: 1.0.6
3
+ version: !ruby/object:Gem::Version
4
+ hash: 25
5
5
  prerelease:
6
+ segments:
7
+ - 1
8
+ - 0
9
+ - 7
10
+ version: 1.0.7
6
11
  platform: ruby
7
- authors:
12
+ authors:
8
13
  - Shogun
9
14
  autorequire:
10
15
  bindir: bin
11
16
  cert_chain: []
12
- date: 2012-10-22 00:00:00.000000000 Z
13
- dependencies:
14
- - !ruby/object:Gem::Dependency
15
- name: json
16
- requirement: !ruby/object:Gem::Requirement
17
+
18
+ date: 2013-01-16 00:00:00 Z
19
+ dependencies:
20
+ - !ruby/object:Gem::Dependency
21
+ version_requirements: &id001 !ruby/object:Gem::Requirement
17
22
  none: false
18
- requirements:
23
+ requirements:
19
24
  - - ~>
20
- - !ruby/object:Gem::Version
25
+ - !ruby/object:Gem::Version
26
+ hash: 11
27
+ segments:
28
+ - 1
29
+ - 7
30
+ - 0
21
31
  version: 1.7.0
22
- type: :runtime
23
32
  prerelease: false
24
- version_requirements: !ruby/object:Gem::Requirement
33
+ type: :runtime
34
+ name: json
35
+ requirement: *id001
36
+ - !ruby/object:Gem::Dependency
37
+ version_requirements: &id002 !ruby/object:Gem::Requirement
25
38
  none: false
26
- requirements:
39
+ requirements:
27
40
  - - ~>
28
- - !ruby/object:Gem::Version
29
- version: 1.7.0
30
- - !ruby/object:Gem::Dependency
41
+ - !ruby/object:Gem::Version
42
+ hash: 7
43
+ segments:
44
+ - 3
45
+ - 0
46
+ version: "3.0"
47
+ prerelease: false
48
+ type: :runtime
31
49
  name: actionpack
32
- requirement: !ruby/object:Gem::Requirement
50
+ requirement: *id002
51
+ - !ruby/object:Gem::Dependency
52
+ version_requirements: &id003 !ruby/object:Gem::Requirement
33
53
  none: false
34
- requirements:
54
+ requirements:
35
55
  - - ~>
36
- - !ruby/object:Gem::Version
37
- version: '3.0'
38
- type: :runtime
56
+ - !ruby/object:Gem::Version
57
+ hash: 19
58
+ segments:
59
+ - 0
60
+ - 3
61
+ - 0
62
+ version: 0.3.0
39
63
  prerelease: false
40
- version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
- requirements:
43
- - - ~>
44
- - !ruby/object:Gem::Version
45
- version: '3.0'
46
- - !ruby/object:Gem::Dependency
64
+ type: :runtime
47
65
  name: tzinfo
48
- requirement: !ruby/object:Gem::Requirement
66
+ requirement: *id003
67
+ - !ruby/object:Gem::Dependency
68
+ version_requirements: &id004 !ruby/object:Gem::Requirement
49
69
  none: false
50
- requirements:
70
+ requirements:
51
71
  - - ~>
52
- - !ruby/object:Gem::Version
53
- version: 0.3.0
54
- type: :runtime
72
+ - !ruby/object:Gem::Version
73
+ hash: 35
74
+ segments:
75
+ - 2
76
+ - 11
77
+ - 0
78
+ version: 2.11.0
55
79
  prerelease: false
56
- version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
- requirements:
59
- - - ~>
60
- - !ruby/object:Gem::Version
61
- version: 0.3.0
62
- - !ruby/object:Gem::Dependency
80
+ type: :development
63
81
  name: rspec
64
- requirement: !ruby/object:Gem::Requirement
82
+ requirement: *id004
83
+ - !ruby/object:Gem::Dependency
84
+ version_requirements: &id005 !ruby/object:Gem::Requirement
65
85
  none: false
66
- requirements:
86
+ requirements:
67
87
  - - ~>
68
- - !ruby/object:Gem::Version
69
- version: 2.11.0
70
- type: :development
88
+ - !ruby/object:Gem::Version
89
+ hash: 59
90
+ segments:
91
+ - 0
92
+ - 9
93
+ - 0
94
+ version: 0.9.0
71
95
  prerelease: false
72
- version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
- requirements:
75
- - - ~>
76
- - !ruby/object:Gem::Version
77
- version: 2.11.0
78
- - !ruby/object:Gem::Dependency
96
+ type: :development
79
97
  name: rake
80
- requirement: !ruby/object:Gem::Requirement
98
+ requirement: *id005
99
+ - !ruby/object:Gem::Dependency
100
+ version_requirements: &id006 !ruby/object:Gem::Requirement
81
101
  none: false
82
- requirements:
102
+ requirements:
83
103
  - - ~>
84
- - !ruby/object:Gem::Version
85
- version: 0.9.0
86
- type: :development
104
+ - !ruby/object:Gem::Version
105
+ hash: 3
106
+ segments:
107
+ - 0
108
+ - 7
109
+ - 0
110
+ version: 0.7.0
87
111
  prerelease: false
88
- version_requirements: !ruby/object:Gem::Requirement
89
- none: false
90
- requirements:
91
- - - ~>
92
- - !ruby/object:Gem::Version
93
- version: 0.9.0
94
- - !ruby/object:Gem::Dependency
112
+ type: :development
95
113
  name: simplecov
96
- requirement: !ruby/object:Gem::Requirement
114
+ requirement: *id006
115
+ - !ruby/object:Gem::Dependency
116
+ version_requirements: &id007 !ruby/object:Gem::Requirement
97
117
  none: false
98
- requirements:
99
- - - ~>
100
- - !ruby/object:Gem::Version
101
- version: 0.7.0
102
- type: :development
118
+ requirements:
119
+ - - ">="
120
+ - !ruby/object:Gem::Version
121
+ hash: 3
122
+ segments:
123
+ - 0
124
+ version: "0"
103
125
  prerelease: false
104
- version_requirements: !ruby/object:Gem::Requirement
105
- none: false
106
- requirements:
107
- - - ~>
108
- - !ruby/object:Gem::Version
109
- version: 0.7.0
110
- - !ruby/object:Gem::Dependency
111
- name: pry
112
- requirement: !ruby/object:Gem::Requirement
113
- none: false
114
- requirements:
115
- - - ! '>='
116
- - !ruby/object:Gem::Version
117
- version: '0'
118
126
  type: :development
119
- prerelease: false
120
- version_requirements: !ruby/object:Gem::Requirement
121
- none: false
122
- requirements:
123
- - - ! '>='
124
- - !ruby/object:Gem::Version
125
- version: '0'
126
- - !ruby/object:Gem::Dependency
127
- name: yard
128
- requirement: !ruby/object:Gem::Requirement
127
+ name: pry
128
+ requirement: *id007
129
+ - !ruby/object:Gem::Dependency
130
+ version_requirements: &id008 !ruby/object:Gem::Requirement
129
131
  none: false
130
- requirements:
132
+ requirements:
131
133
  - - ~>
132
- - !ruby/object:Gem::Version
134
+ - !ruby/object:Gem::Version
135
+ hash: 63
136
+ segments:
137
+ - 0
138
+ - 8
139
+ - 0
133
140
  version: 0.8.0
134
- type: :development
135
141
  prerelease: false
136
- version_requirements: !ruby/object:Gem::Requirement
137
- none: false
138
- requirements:
139
- - - ~>
140
- - !ruby/object:Gem::Version
141
- version: 0.8.0
142
- - !ruby/object:Gem::Dependency
143
- name: redcarpet
144
- requirement: !ruby/object:Gem::Requirement
145
- none: false
146
- requirements:
147
- - - ~>
148
- - !ruby/object:Gem::Version
149
- version: 2.2.2
150
142
  type: :development
151
- prerelease: false
152
- version_requirements: !ruby/object:Gem::Requirement
143
+ name: yard
144
+ requirement: *id008
145
+ - !ruby/object:Gem::Dependency
146
+ version_requirements: &id009 !ruby/object:Gem::Requirement
153
147
  none: false
154
- requirements:
148
+ requirements:
155
149
  - - ~>
156
- - !ruby/object:Gem::Version
150
+ - !ruby/object:Gem::Version
151
+ hash: 3
152
+ segments:
153
+ - 2
154
+ - 2
155
+ - 2
157
156
  version: 2.2.2
158
- - !ruby/object:Gem::Dependency
159
- name: github-markup
160
- requirement: !ruby/object:Gem::Requirement
161
- none: false
162
- requirements:
163
- - - ~>
164
- - !ruby/object:Gem::Version
165
- version: 0.7.0
166
- type: :development
167
157
  prerelease: false
168
- version_requirements: !ruby/object:Gem::Requirement
158
+ type: :development
159
+ name: redcarpet
160
+ requirement: *id009
161
+ - !ruby/object:Gem::Dependency
162
+ version_requirements: &id010 !ruby/object:Gem::Requirement
169
163
  none: false
170
- requirements:
164
+ requirements:
171
165
  - - ~>
172
- - !ruby/object:Gem::Version
166
+ - !ruby/object:Gem::Version
167
+ hash: 3
168
+ segments:
169
+ - 0
170
+ - 7
171
+ - 0
173
172
  version: 0.7.0
173
+ prerelease: false
174
+ type: :development
175
+ name: github-markup
176
+ requirement: *id010
174
177
  description: Several Ruby object enhancements.
175
- email:
178
+ email:
176
179
  - shogun_panda@me.com
177
180
  executables: []
181
+
178
182
  extensions: []
183
+
179
184
  extra_rdoc_files: []
180
- files:
185
+
186
+ files:
181
187
  - .gitignore
182
188
  - .travis.yml
183
189
  - .yardopts
@@ -240,35 +246,38 @@ files:
240
246
  - spec/spec_helper.rb
241
247
  homepage: http://github.com/ShogunPanda/lazier
242
248
  licenses: []
249
+
243
250
  post_install_message:
244
251
  rdoc_options: []
245
- require_paths:
252
+
253
+ require_paths:
246
254
  - lib
247
- required_ruby_version: !ruby/object:Gem::Requirement
255
+ required_ruby_version: !ruby/object:Gem::Requirement
248
256
  none: false
249
- requirements:
250
- - - ! '>='
251
- - !ruby/object:Gem::Version
252
- version: '0'
253
- segments:
257
+ requirements:
258
+ - - ">="
259
+ - !ruby/object:Gem::Version
260
+ hash: 3
261
+ segments:
254
262
  - 0
255
- hash: 1533480259789360641
256
- required_rubygems_version: !ruby/object:Gem::Requirement
263
+ version: "0"
264
+ required_rubygems_version: !ruby/object:Gem::Requirement
257
265
  none: false
258
- requirements:
259
- - - ! '>='
260
- - !ruby/object:Gem::Version
261
- version: '0'
262
- segments:
266
+ requirements:
267
+ - - ">="
268
+ - !ruby/object:Gem::Version
269
+ hash: 3
270
+ segments:
263
271
  - 0
264
- hash: 1533480259789360641
272
+ version: "0"
265
273
  requirements: []
274
+
266
275
  rubyforge_project: lazier
267
276
  rubygems_version: 1.8.24
268
277
  signing_key:
269
278
  specification_version: 3
270
279
  summary: Several Ruby object enhancements.
271
- test_files:
280
+ test_files:
272
281
  - spec/coverage_helper.rb
273
282
  - spec/lazier/boolean_spec.rb
274
283
  - spec/lazier/datetime_spec.rb