preciousss 0.0.8 → 0.0.9

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
1
  module Preciousss
2
- VERSION = '0.0.8'
2
+ VERSION = '0.0.9'
3
3
  end
@@ -19,6 +19,10 @@ module Preciousss
19
19
  end
20
20
  end
21
21
 
22
+ def years_range(since = Date.today.year, till = Date.today.year)
23
+ @copyright_year ||= [since, till].uniq.sort.join('-')
24
+ end
25
+
22
26
  end
23
27
  end
24
28
  end
metadata CHANGED
@@ -1,24 +1,34 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: preciousss
3
- version: !ruby/object:Gem::Version
4
- version: 0.0.8
3
+ version: !ruby/object:Gem::Version
4
+ hash: 13
5
5
  prerelease:
6
+ segments:
7
+ - 0
8
+ - 0
9
+ - 9
10
+ version: 0.0.9
6
11
  platform: ruby
7
- authors:
12
+ authors:
8
13
  - sodercober
9
14
  autorequire:
10
15
  bindir: bin
11
16
  cert_chain: []
12
- date: 2011-03-18 00:00:00.000000000 +00:00
17
+
18
+ date: 2011-03-23 00:00:00 +00:00
13
19
  default_executable:
14
20
  dependencies: []
21
+
15
22
  description: Several helpers for Ruby on Rails 3
16
- email:
23
+ email:
17
24
  - sodercober@gmail.com
18
25
  executables: []
26
+
19
27
  extensions: []
28
+
20
29
  extra_rdoc_files: []
21
- files:
30
+
31
+ files:
22
32
  - .gitignore
23
33
  - Gemfile
24
34
  - README.md
@@ -33,26 +43,36 @@ files:
33
43
  has_rdoc: true
34
44
  homepage: https://github.com/sodercober/preciousss
35
45
  licenses: []
46
+
36
47
  post_install_message:
37
48
  rdoc_options: []
38
- require_paths:
49
+
50
+ require_paths:
39
51
  - lib
40
- required_ruby_version: !ruby/object:Gem::Requirement
52
+ required_ruby_version: !ruby/object:Gem::Requirement
41
53
  none: false
42
- requirements:
43
- - - ! '>='
44
- - !ruby/object:Gem::Version
45
- version: '0'
46
- required_rubygems_version: !ruby/object:Gem::Requirement
54
+ requirements:
55
+ - - ">="
56
+ - !ruby/object:Gem::Version
57
+ hash: 3
58
+ segments:
59
+ - 0
60
+ version: "0"
61
+ required_rubygems_version: !ruby/object:Gem::Requirement
47
62
  none: false
48
- requirements:
49
- - - ! '>='
50
- - !ruby/object:Gem::Version
51
- version: '0'
63
+ requirements:
64
+ - - ">="
65
+ - !ruby/object:Gem::Version
66
+ hash: 3
67
+ segments:
68
+ - 0
69
+ version: "0"
52
70
  requirements: []
71
+
53
72
  rubyforge_project: preciousss
54
73
  rubygems_version: 1.6.1
55
74
  signing_key:
56
75
  specification_version: 3
57
76
  summary: Several helpers for Ruby on Rails 3
58
77
  test_files: []
78
+