busted 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 798beba5202a28ac6f4267be4c81248596a16dae
4
- data.tar.gz: a698056e415519ddef76442a3a87c403102e3e05
3
+ metadata.gz: 4b2f09dd75ef91b3714f55d44f195ef30492d6bb
4
+ data.tar.gz: 539f8e9ca781ea35895c26b3a090a70b5c408beb
5
5
  SHA512:
6
- metadata.gz: b83f103bf02c10778f518bf10a6628bff8b42e98322a710bf7500ce5755f54f345162390e10c49ff0ced896746cbdda1e06f37e93a2d3bba3a10fb41d4246bb6
7
- data.tar.gz: 455e19287871c565b23d5d5cf10f4b08c1fb49b37b50846bd8ef6e715be790014ef6d2b39767977b919daaee169671d52fca635eb5f1c3824d0a4a23a915b6cc
6
+ metadata.gz: f222d51d2ade0ad55de451ddc982895dc022443fcdead8c3463ea0da24dbc75f4376260a6942ce5569b2a219ea40e8939530afd32ae3e63f85ae6eb8f3ae46cc
7
+ data.tar.gz: 7be3029d528cdc9baac2ae6a3c3b0749e80cff86f7581efbbc884c99beeb38a51472d55b750ad4af960211373d4bc653d8d81cab9ba76b5d26bc52e6213d3e53
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 2.1.0-dev
1
+ 2.1.0
data/README.md CHANGED
@@ -1,16 +1,15 @@
1
1
  # Busted [![Build Status](https://travis-ci.org/simeonwillbanks/busted.png?branch=master)](https://travis-ci.org/simeonwillbanks/busted) [![Code Climate](https://codeclimate.com/github/simeonwillbanks/busted.png)](https://codeclimate.com/github/simeonwillbanks/busted)
2
2
 
3
- #### Disclaimers
4
- - Requires MRI Ruby 2.1.0dev at [trunk](https://github.com/ruby/ruby/tree/trunk)
3
+ ### Find code that busts the Ruby 2.1+ cache.
5
4
 
6
- --
5
+ **Busted** reports when code invalidates Ruby's internal cache.
7
6
 
8
- Find code that busts the Ruby 2.1+ cache.
7
+ - [Basic Usage](#basic-usage) reports cache invalidations
8
+ - [Advanced Usage](#advanced-usage) details exact invalidation locations via [`dtrace`](http://en.wikipedia.org/wiki/DTrace)
9
+ - [Coming Soon](https://github.com/simeonwillbanks/busted/issues/2) a Rails profiler for reporting cache invalidations per request
10
+ - **Busted** relies upon [RubyVM.stat](http://ruby-doc.org/core-2.1.0/RubyVM.html#method-c-stat) and the [ruby:::method-cache-clear](http://ruby-doc.org/core-2.1.0/doc/dtrace_probes_rdoc.html) `dtrace` probe
9
11
 
10
- - Report when code invalidates Ruby's internal cache
11
- - Uses [RubyVM.stat](https://github.com/ruby/ruby/commit/cc1063092b366a0a8449528ab6bf67a72f5ce027)
12
-
13
- ## Usage
12
+ ## Basic Usage
14
13
 
15
14
  *Any Cache*
16
15
 
@@ -106,7 +105,7 @@ Busted.finish
106
105
  ```
107
106
 
108
107
  ## Advanced Usage
109
- Busted can report method cache invalidation locations via [`dtrace`](http://en.wikipedia.org/wiki/DTrace). The running process must have root privileges, and `dtrace` must be installed.
108
+ **Busted** can report method cache invalidation locations via [`dtrace`](http://en.wikipedia.org/wiki/DTrace). The running process must have root privileges, and `dtrace` must be installed.
110
109
 
111
110
  *trace.rb*
112
111
  ```ruby
@@ -161,11 +160,11 @@ $ ruby start_finish_trace.rb
161
160
  [{:class=>"global", :sourcefile=>"start_finish_trace.rb", :lineno=>"5"}]}}
162
161
  ```
163
162
 
164
- Busted includes an [example `dtrace` probe](/dtrace/probes/examples/method-cache-clear.d) for use on the command line or an application. See the [probe](/dtrace/probes/examples/method-cache-clear.d) for usage.
163
+ **Busted** includes an [example `dtrace` probe](/dtrace/probes/examples/method-cache-clear.d) for use on the command line or an application. See the [probe](/dtrace/probes/examples/method-cache-clear.d) for usage.
165
164
 
166
165
  ## Installation
167
166
 
168
- ***Requires MRI Ruby 2.1.0dev***
167
+ ***Requires MRI Ruby 2.1+***
169
168
 
170
169
  Add this line to your application's Gemfile:
171
170
 
@@ -15,7 +15,7 @@
15
15
  *
16
16
  * Documentation:
17
17
  *
18
- * https://github.com/ruby/ruby/blob/trunk/doc/dtrace_probes.rdoc
18
+ * http://ruby-doc.org/core-2.1.0/doc/dtrace_probes_rdoc.html
19
19
  */
20
20
  ruby$target:::method-cache-clear
21
21
  /arg1/
@@ -1,3 +1,3 @@
1
1
  module Busted
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: busted
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Simeon F. Willbanks
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-12-21 00:00:00.000000000 Z
11
+ date: 2013-12-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -87,7 +87,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
87
87
  version: '0'
88
88
  requirements: []
89
89
  rubyforge_project:
90
- rubygems_version: 2.1.11
90
+ rubygems_version: 2.2.0
91
91
  signing_key:
92
92
  specification_version: 4
93
93
  summary: MRI Ruby defines RubyVM.stat which accesses internal cache counters. When