drumherum 0.1.16 → 0.1.17
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/{History.txt → History.rdoc} +2 -0
- data/{License.txt → License.rdoc} +0 -0
- data/Manifest.txt +3 -3
- data/{README.txt → README.rdoc} +8 -20
- data/console.rb +2 -4
- data/lib/drumherum/call_tracker.rb +2 -2
- data/version.rb +1 -1
- metadata +9 -9
File without changes
|
data/Manifest.txt
CHANGED
data/{README.txt → README.rdoc}
RENAMED
@@ -1,20 +1,19 @@
|
|
1
1
|
|
2
2
|
= Drumherum
|
3
|
-
|
4
|
-
http://bklippstein.github.com/drumherum/
|
3
|
+
http://bklippstein.github.com/drumherum/frames.html
|
5
4
|
|
6
5
|
== $LOAD_PATH management
|
7
6
|
+smart_init+ finds the directory named 'lib' in your project and adds
|
8
7
|
* the (main) directory above
|
9
8
|
* the lib-directory itself
|
10
|
-
to Rubys $LOAD_PATH. So your require statements load the actual version from your project directory, not the gem version.
|
9
|
+
to Rubys $LOAD_PATH. So your require statements load the actual version from your (local) project directory, not the (public) gem version.
|
11
10
|
|
12
11
|
Usage (wherever you are in the directory hierarchy of your project):
|
13
12
|
if $0 == __FILE__
|
14
13
|
require 'drumherum'
|
15
14
|
smart_init
|
16
15
|
end
|
17
|
-
require 'my-gem-project'
|
16
|
+
require 'my-gem-project' # actual local version, not the gem version
|
18
17
|
|
19
18
|
== Rake tasks for deployment
|
20
19
|
rake publish # publish all on github and rubygems, reinstall gem
|
@@ -27,26 +26,15 @@ You will see a status display for your tests if you use UnitTest instead of Test
|
|
27
26
|
|
28
27
|
|
29
28
|
|
29
|
+
== More Info
|
30
|
+
* *Documentation*: {http://bklippstein.github.com/drumherum/frames.html github.com/drumherum}
|
31
|
+
* *Source* *code*: {https://github.com/bklippstein/drumherum github.com/bklippstein/drumherum}
|
32
|
+
* *License*: {http://creativecommons.org/licenses/by-sa/3.0/de/deed.en cc-by-sa Creative Commons Attribution-Share Alike 3.0 Germany}
|
33
|
+
* *Autor*: {mailto:klippstein@klippstein.com Björn Klippstein}
|
30
34
|
|
31
35
|
|
32
36
|
|
33
37
|
|
34
|
-
== License
|
35
|
-
cc-by-sa
|
36
|
-
|
37
|
-
Creative Commons Attribution-Share Alike 3.0 Germany
|
38
|
-
|
39
|
-
http://creativecommons.org/licenses/by-sa/3.0/de/deed.en
|
40
|
-
|
41
|
-
|
42
|
-
== Homepage
|
43
|
-
http://bklippstein.github.com/drumherum/
|
44
|
-
|
45
|
-
|
46
|
-
== Author
|
47
|
-
Björn Klippstein
|
48
|
-
|
49
|
-
|
50
38
|
== Disclaimer
|
51
39
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
52
40
|
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
data/console.rb
CHANGED
@@ -2,8 +2,6 @@
|
|
2
2
|
# File: script/console
|
3
3
|
irb = RUBY_PLATFORM =~ /(:?mswin|mingw)/ ? 'irb.bat' : 'irb'
|
4
4
|
libs = " -r irb/completion"
|
5
|
-
|
6
|
-
|
7
|
-
puts "Welcome to drumherum gem"
|
8
|
-
|
5
|
+
initfile = File.join(File.dirname(__FILE__), 'init.rb' )
|
6
|
+
libs << " -r #{initfile}"
|
9
7
|
exec "#{irb} #{libs} --simple-prompt --noreadline"
|
@@ -4,8 +4,8 @@
|
|
4
4
|
# http://oreilly.com/catalog/9780596523695/
|
5
5
|
# Ruby Cookbook, by Lucas Carlson and Leonard Richardson
|
6
6
|
# Copyright 2006 O'Reilly Media
|
7
|
-
#
|
8
|
-
class CallTracker
|
7
|
+
# @private
|
8
|
+
class CallTracker
|
9
9
|
|
10
10
|
# Initialize and start the trace.
|
11
11
|
def initialize(show_stack_depth=1)
|
data/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: drumherum
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.17
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -49,18 +49,18 @@ email:
|
|
49
49
|
executables: []
|
50
50
|
extensions: []
|
51
51
|
extra_rdoc_files:
|
52
|
-
- History.
|
53
|
-
- License.
|
52
|
+
- History.rdoc
|
53
|
+
- License.rdoc
|
54
54
|
- Manifest.txt
|
55
|
-
- README.
|
55
|
+
- README.rdoc
|
56
56
|
files:
|
57
57
|
- console.rb
|
58
|
-
- History.
|
58
|
+
- History.rdoc
|
59
59
|
- init.rb
|
60
|
-
- License.
|
60
|
+
- License.rdoc
|
61
61
|
- Manifest.txt
|
62
62
|
- Rakefile.rb
|
63
|
-
- README.
|
63
|
+
- README.rdoc
|
64
64
|
- version.rb
|
65
65
|
- lib/drumherum.rb
|
66
66
|
- lib/drumherum/call_tracker.rb
|
@@ -68,12 +68,12 @@ files:
|
|
68
68
|
- lib/drumherum/regexp.rb
|
69
69
|
- lib/drumherum/smart_init.rb
|
70
70
|
- lib/drumherum/unit_test.rb
|
71
|
-
homepage: http://bklippstein.github.com/drumherum/
|
71
|
+
homepage: http://bklippstein.github.com/drumherum/frames.html
|
72
72
|
licenses: []
|
73
73
|
post_install_message:
|
74
74
|
rdoc_options:
|
75
75
|
- --main
|
76
|
-
- README.
|
76
|
+
- README.rdoc
|
77
77
|
require_paths:
|
78
78
|
- lib
|
79
79
|
required_ruby_version: !ruby/object:Gem::Requirement
|