ruby_extensions 1.0.4 → 1.0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/m_object.rb +1 -3
- data/lib/tasks/rubyforge_config.yml +1 -1
- metadata +44 -37
data/lib/m_object.rb
CHANGED
@@ -1,6 +1,4 @@
|
|
1
1
|
class Object
|
2
|
-
include ActionView::Helpers::TextHelper
|
3
|
-
include ActionView::Helpers::DateHelper
|
4
2
|
|
5
3
|
def running_time(message = "", logger = nil)
|
6
4
|
s_time = Time.now
|
@@ -12,7 +10,7 @@ class Object
|
|
12
10
|
e = "---Ending at #{e_time}---"
|
13
11
|
puts e
|
14
12
|
logger.info e unless logger.nil?
|
15
|
-
x = "Running time #{
|
13
|
+
x = "Running time #{e_time - s_time} seconds."
|
16
14
|
x += " [MESSAGE]: #{message}" unless message.blank?
|
17
15
|
puts x
|
18
16
|
logger.info x unless logger.nil?
|
metadata
CHANGED
@@ -1,20 +1,10 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
|
-
rubygems_version: 0.9.2
|
3
|
-
specification_version: 1
|
4
2
|
name: ruby_extensions
|
5
3
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 1.0.
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
- lib
|
11
|
-
- lib
|
12
|
-
- lib
|
13
|
-
- lib/tasks
|
14
|
-
email:
|
15
|
-
homepage:
|
16
|
-
rubyforge_project: magrathea
|
17
|
-
description: "ruby_extensions was developed by: markbates"
|
4
|
+
version: 1.0.5
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- markbates
|
18
8
|
autorequire:
|
19
9
|
- ruby_extensions
|
20
10
|
- method_not_implemented
|
@@ -40,21 +30,21 @@ autorequire:
|
|
40
30
|
- m_dir
|
41
31
|
- m_class
|
42
32
|
- m_array
|
43
|
-
default_executable:
|
44
33
|
bindir: bin
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
34
|
+
cert_chain: []
|
35
|
+
|
36
|
+
date: 2008-01-25 00:00:00 -05:00
|
37
|
+
default_executable:
|
38
|
+
dependencies: []
|
39
|
+
|
40
|
+
description: "ruby_extensions was developed by: markbates"
|
41
|
+
email:
|
42
|
+
executables: []
|
43
|
+
|
44
|
+
extensions: []
|
45
|
+
|
46
|
+
extra_rdoc_files: []
|
47
|
+
|
58
48
|
files:
|
59
49
|
- init.rb
|
60
50
|
- lib/m_array.rb
|
@@ -70,17 +60,34 @@ files:
|
|
70
60
|
- lib/method_not_implemented.rb
|
71
61
|
- lib/ruby_extensions.rb
|
72
62
|
- lib/tasks/rubyforge_config.yml
|
73
|
-
|
74
|
-
|
63
|
+
has_rdoc: false
|
64
|
+
homepage:
|
65
|
+
post_install_message:
|
75
66
|
rdoc_options: []
|
76
67
|
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
68
|
+
require_paths:
|
69
|
+
- lib
|
70
|
+
- lib
|
71
|
+
- lib
|
72
|
+
- lib/tasks
|
73
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
74
|
+
requirements:
|
75
|
+
- - ">="
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: "0"
|
78
|
+
version:
|
79
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
80
|
+
requirements:
|
81
|
+
- - ">="
|
82
|
+
- !ruby/object:Gem::Version
|
83
|
+
version: "0"
|
84
|
+
version:
|
83
85
|
requirements: []
|
84
86
|
|
85
|
-
|
87
|
+
rubyforge_project: magrathea
|
88
|
+
rubygems_version: 1.0.1
|
89
|
+
signing_key:
|
90
|
+
specification_version: 2
|
91
|
+
summary: ruby_extensions
|
92
|
+
test_files: []
|
86
93
|
|