formatted-dates 0.0.1 → 0.1.0
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.
- data/VERSION +1 -1
- data/formatted-dates.gemspec +17 -18
- data/init.rb +1 -0
- data/lib/formatted-dates.rb +2 -0
- data/spec/formatted_date_spec.rb +1 -1
- metadata +21 -9
- data/.gitignore +0 -1
- data/rails/init.rb +0 -2
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.0
|
|
1
|
+
0.1.0
|
data/formatted-dates.gemspec
CHANGED
|
@@ -1,48 +1,47 @@
|
|
|
1
1
|
# Generated by jeweler
|
|
2
|
-
# DO NOT EDIT THIS FILE
|
|
3
|
-
# Instead, edit Jeweler::Tasks in Rakefile, and run
|
|
2
|
+
# DO NOT EDIT THIS FILE DIRECTLY
|
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
|
4
4
|
# -*- encoding: utf-8 -*-
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |s|
|
|
7
7
|
s.name = %q{formatted-dates}
|
|
8
|
-
s.version = "0.0
|
|
8
|
+
s.version = "0.1.0"
|
|
9
9
|
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
11
11
|
s.authors = ["Paul Campbell"]
|
|
12
|
-
s.date = %q{
|
|
12
|
+
s.date = %q{2011-02-07}
|
|
13
13
|
s.description = %q{A Rails plugin that provides _formatted methods for date fields.}
|
|
14
14
|
s.email = %q{paul@rslw.com}
|
|
15
15
|
s.extra_rdoc_files = [
|
|
16
16
|
"README.textile"
|
|
17
17
|
]
|
|
18
18
|
s.files = [
|
|
19
|
-
"
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
19
|
+
"CHANGELOG",
|
|
20
|
+
"MIT-LICENSE",
|
|
21
|
+
"README.textile",
|
|
22
|
+
"Rakefile",
|
|
23
|
+
"VERSION",
|
|
24
|
+
"formatted-dates.gemspec",
|
|
25
|
+
"init.rb",
|
|
26
|
+
"lib/formatted-dates.rb",
|
|
27
|
+
"lib/formatted_date.rb",
|
|
28
|
+
"spec/formatted_date_spec.rb"
|
|
29
29
|
]
|
|
30
30
|
s.homepage = %q{http://github.com/paulca/formatted-dates}
|
|
31
|
-
s.rdoc_options = ["--charset=UTF-8"]
|
|
32
31
|
s.require_paths = ["lib"]
|
|
33
|
-
s.rubygems_version = %q{1.
|
|
32
|
+
s.rubygems_version = %q{1.5.0}
|
|
34
33
|
s.summary = %q{A simple acts_as style plugin for easily formatting of dates within Rails models}
|
|
35
34
|
s.test_files = [
|
|
36
35
|
"spec/formatted_date_spec.rb"
|
|
37
36
|
]
|
|
38
37
|
|
|
39
38
|
if s.respond_to? :specification_version then
|
|
40
|
-
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
|
41
39
|
s.specification_version = 3
|
|
42
40
|
|
|
43
|
-
if Gem::Version.new(Gem::
|
|
41
|
+
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
|
44
42
|
else
|
|
45
43
|
end
|
|
46
44
|
else
|
|
47
45
|
end
|
|
48
46
|
end
|
|
47
|
+
|
data/init.rb
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
require 'formatted-dates'
|
data/spec/formatted_date_spec.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: formatted-dates
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
|
|
4
|
+
hash: 27
|
|
5
|
+
prerelease:
|
|
6
|
+
segments:
|
|
7
|
+
- 0
|
|
8
|
+
- 1
|
|
9
|
+
- 0
|
|
10
|
+
version: 0.1.0
|
|
5
11
|
platform: ruby
|
|
6
12
|
authors:
|
|
7
13
|
- Paul Campbell
|
|
@@ -9,7 +15,7 @@ autorequire:
|
|
|
9
15
|
bindir: bin
|
|
10
16
|
cert_chain: []
|
|
11
17
|
|
|
12
|
-
date:
|
|
18
|
+
date: 2011-02-07 00:00:00 +00:00
|
|
13
19
|
default_executable:
|
|
14
20
|
dependencies: []
|
|
15
21
|
|
|
@@ -22,41 +28,47 @@ extensions: []
|
|
|
22
28
|
extra_rdoc_files:
|
|
23
29
|
- README.textile
|
|
24
30
|
files:
|
|
25
|
-
- .gitignore
|
|
26
31
|
- CHANGELOG
|
|
27
32
|
- MIT-LICENSE
|
|
28
33
|
- README.textile
|
|
29
34
|
- Rakefile
|
|
30
35
|
- VERSION
|
|
31
36
|
- formatted-dates.gemspec
|
|
37
|
+
- init.rb
|
|
38
|
+
- lib/formatted-dates.rb
|
|
32
39
|
- lib/formatted_date.rb
|
|
33
|
-
- rails/init.rb
|
|
34
40
|
- spec/formatted_date_spec.rb
|
|
35
41
|
has_rdoc: true
|
|
36
42
|
homepage: http://github.com/paulca/formatted-dates
|
|
37
43
|
licenses: []
|
|
38
44
|
|
|
39
45
|
post_install_message:
|
|
40
|
-
rdoc_options:
|
|
41
|
-
|
|
46
|
+
rdoc_options: []
|
|
47
|
+
|
|
42
48
|
require_paths:
|
|
43
49
|
- lib
|
|
44
50
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
51
|
+
none: false
|
|
45
52
|
requirements:
|
|
46
53
|
- - ">="
|
|
47
54
|
- !ruby/object:Gem::Version
|
|
55
|
+
hash: 3
|
|
56
|
+
segments:
|
|
57
|
+
- 0
|
|
48
58
|
version: "0"
|
|
49
|
-
version:
|
|
50
59
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
60
|
+
none: false
|
|
51
61
|
requirements:
|
|
52
62
|
- - ">="
|
|
53
63
|
- !ruby/object:Gem::Version
|
|
64
|
+
hash: 3
|
|
65
|
+
segments:
|
|
66
|
+
- 0
|
|
54
67
|
version: "0"
|
|
55
|
-
version:
|
|
56
68
|
requirements: []
|
|
57
69
|
|
|
58
70
|
rubyforge_project:
|
|
59
|
-
rubygems_version: 1.
|
|
71
|
+
rubygems_version: 1.5.0
|
|
60
72
|
signing_key:
|
|
61
73
|
specification_version: 3
|
|
62
74
|
summary: A simple acts_as style plugin for easily formatting of dates within Rails models
|
data/.gitignore
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
pkg/*
|
data/rails/init.rb
DELETED