Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Let's call it 1.0, shall we?

  • Loading branch information...
commit ca0c99eaec055b6aa9800e25be6b5c36ef9709be 1 parent bb730fe
@nicksieger authored
View
7 History.txt
@@ -1,3 +1,8 @@
+== 1.0.0
+
+- Add Stickshift.enabled? as an alias for Stickshift.enabled
+- Good enough to call it one-oh.
+
== 0.1
-- Initial release
+- Initial release
View
7 lib/stickshift.rb
@@ -1,5 +1,8 @@
module Stickshift
- class << self; attr_accessor :enabled, :top_level_trigger, :output; end
+ class << self
+ attr_accessor :enabled, :top_level_trigger, :output
+ alias_method :enabled?, :enabled
+ end
@enabled = true
@output = $stdout
@@ -139,4 +142,4 @@ def uninstrument_all
def __stickshift_mangle(meth)
(s = meth.to_s) =~ /^[a-zA-Z_][a-zA-Z0-9_]*$/ ? s : "_#{s.unpack("H*")[0]}"
end
-end
+end
View
4 lib/stickshift/version.rb
@@ -1,3 +1,3 @@
module Stickshift
- VERSION = "0.1"
-end
+ VERSION = "1.0.0"
+end
View
10 stickshift.gemspec
@@ -2,11 +2,11 @@
Gem::Specification.new do |s|
s.name = %q{stickshift}
- s.version = "0.1"
+ s.version = "1.0.0"
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Nick Sieger"]
- s.date = %q{2011-04-25}
+ s.date = %q{2011-08-03}
s.description = %q{Stickshift is a simple, manual-instrumenting call-tree profiler in as few lines of code as possible.}
s.email = %q{nick@nicksieger.com}
s.extra_rdoc_files = ["History.txt", "LICENSE.txt", "Manifest.txt"]
@@ -24,13 +24,13 @@ Gem::Specification.new do |s|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
s.add_development_dependency(%q<rubyforge>, [">= 2.0.4"])
- s.add_development_dependency(%q<hoe>, [">= 2.9.4"])
+ s.add_development_dependency(%q<hoe>, ["~> 2.10"])
else
s.add_dependency(%q<rubyforge>, [">= 2.0.4"])
- s.add_dependency(%q<hoe>, [">= 2.9.4"])
+ s.add_dependency(%q<hoe>, ["~> 2.10"])
end
else
s.add_dependency(%q<rubyforge>, [">= 2.0.4"])
- s.add_dependency(%q<hoe>, [">= 2.9.4"])
+ s.add_dependency(%q<hoe>, ["~> 2.10"])
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.