date-performance 0.4.7 → 0.4.8
Sign up to get free protection for your applications and to get access to all the features.
- data/{README.txt → README.md} +1 -5
- data/Rakefile +3 -3
- data/lib/date/performance.rb +1 -1
- metadata +9 -11
data/{README.txt → README.md}
RENAMED
@@ -55,11 +55,7 @@ This package has been tested on the following platforms:
|
|
55
55
|
|
56
56
|
The easiest way to install the package is to use RubyGems:
|
57
57
|
|
58
|
-
$ gem install date-performance
|
59
|
-
|
60
|
-
Old versions and other dist formats are available at:
|
61
|
-
|
62
|
-
http://tomayko.com/dist/date-performance/
|
58
|
+
$ gem install date-performance
|
63
59
|
|
64
60
|
A git repository is also available:
|
65
61
|
|
data/Rakefile
CHANGED
@@ -5,7 +5,7 @@ Project.new "Date::Performance" do |p|
|
|
5
5
|
p.package_name = 'date-performance'
|
6
6
|
p.version_file = 'lib/date/performance.rb'
|
7
7
|
p.summary = "Adds some semblance of performance to Ruby's core Date class."
|
8
|
-
p.project_url = "http://
|
8
|
+
p.project_url = "http://github.com/rtomayko/date-performance"
|
9
9
|
p.extra_files.include "ext/**/*.{rb,c,h}", "AUTHORS", "BENCHMARKS"
|
10
10
|
p.configure_package {|spec| spec.extensions = FileList["ext/**/extconf.rb"].to_a }
|
11
11
|
p.author = 'Ryan Tomayko <r@tomayko.com>'
|
@@ -18,8 +18,8 @@ end
|
|
18
18
|
|
19
19
|
task :default => [ :compile, :test ]
|
20
20
|
|
21
|
-
file 'doc/index.txt' => 'README.
|
22
|
-
cp 'README.
|
21
|
+
file 'doc/index.txt' => 'README.md' do |f|
|
22
|
+
cp 'README.md', f.name
|
23
23
|
end
|
24
24
|
|
25
25
|
CLEAN.include [ "ext/*.{o,bundle}", "lib/*.{bundle,so,dll}" ]
|
data/lib/date/performance.rb
CHANGED
@@ -9,7 +9,7 @@ class Date
|
|
9
9
|
# The Date::Performance module is present when the performance enhacing extension
|
10
10
|
# has been loaded. It serves no other purpose.
|
11
11
|
module Performance
|
12
|
-
VERSION = "0.4.
|
12
|
+
VERSION = "0.4.8"
|
13
13
|
end
|
14
14
|
|
15
15
|
# The extension replaces Date#strftime but falls back on the stock version when
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: date-performance
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryan Tomayko
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir:
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date:
|
12
|
+
date: 2009-10-12 00:00:00 -07:00
|
13
13
|
default_executable:
|
14
14
|
dependencies: []
|
15
15
|
|
@@ -20,10 +20,10 @@ executables: []
|
|
20
20
|
extensions:
|
21
21
|
- ext/extconf.rb
|
22
22
|
extra_rdoc_files:
|
23
|
-
- README.
|
23
|
+
- README.md
|
24
24
|
- COPYING
|
25
25
|
files:
|
26
|
-
- README.
|
26
|
+
- README.md
|
27
27
|
- COPYING
|
28
28
|
- lib/date/memoize.rb
|
29
29
|
- lib/date/performance.rb
|
@@ -31,9 +31,6 @@ files:
|
|
31
31
|
- test/extension_test.rb
|
32
32
|
- doc/asciidoc.conf
|
33
33
|
- doc/changes.txt
|
34
|
-
- doc/images
|
35
|
-
- doc/images/icons
|
36
|
-
- doc/images/icons/callouts
|
37
34
|
- doc/images/icons/callouts/1.png
|
38
35
|
- doc/images/icons/callouts/10.png
|
39
36
|
- doc/images/icons/callouts/11.png
|
@@ -60,7 +57,6 @@ files:
|
|
60
57
|
- doc/images/icons/up.png
|
61
58
|
- doc/images/icons/warning.png
|
62
59
|
- doc/license.txt
|
63
|
-
- doc/stylesheets
|
64
60
|
- doc/stylesheets/handbookish-manpage.css
|
65
61
|
- doc/stylesheets/handbookish-quirks.css
|
66
62
|
- doc/stylesheets/handbookish.css
|
@@ -72,7 +68,9 @@ files:
|
|
72
68
|
- AUTHORS
|
73
69
|
- BENCHMARKS
|
74
70
|
has_rdoc: true
|
75
|
-
homepage: http://
|
71
|
+
homepage: http://github.com/rtomayko/date-performance
|
72
|
+
licenses: []
|
73
|
+
|
76
74
|
post_install_message:
|
77
75
|
rdoc_options:
|
78
76
|
- --title
|
@@ -99,9 +97,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
99
97
|
requirements: []
|
100
98
|
|
101
99
|
rubyforge_project: wink
|
102
|
-
rubygems_version: 1.
|
100
|
+
rubygems_version: 1.3.4
|
103
101
|
signing_key:
|
104
|
-
specification_version:
|
102
|
+
specification_version: 3
|
105
103
|
summary: Adds some semblance of performance to Ruby's core Date class.
|
106
104
|
test_files:
|
107
105
|
- test/date_memoize_test.rb
|