sigsurv 1.0.1 → 1.0.2

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/README.md CHANGED
@@ -1,24 +1,18 @@
1
1
  # Sigsurv
2
2
 
3
- TODO: Write a gem description
3
+ This is a stupid implementation of Ward Cunningham's clever [Signature Survey](http://c2.com/doc/SignatureSurvey/).
4
4
 
5
- ## Installation
6
-
7
- Add this line to your application's Gemfile:
8
-
9
- gem 'sigsurv'
10
5
 
11
- And then execute:
12
-
13
- $ bundle
6
+ ## Installation
14
7
 
15
- Or install it yourself as:
8
+ install it as:
16
9
 
17
10
  $ gem install sigsurv
18
11
 
19
12
  ## Usage
20
13
 
21
- TODO: Write usage instructions here
14
+ $ cd yourapp
15
+ $ sigsurv
22
16
 
23
17
  ## Contributing
24
18
 
@@ -1,3 +1,3 @@
1
1
  module Sigsurv
2
- VERSION = "1.0.1"
2
+ VERSION = "1.0.2"
3
3
  end
data/lib/sigsurv.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  require "sigsurv/version"
2
2
 
3
3
  module Sigsurv
4
- SYMBOLS = {module: "m", class: "c", def: "d", do: "o", e: "e"}
4
+ SYMBOLS = {module: "m", class: "c", def: "d", do: "o", if: "i", end: "e"}
5
5
  def self.analyze(directory)
6
6
  Dir["#{directory}/**/*\.rb"].map do |file_path|
7
7
  contents = IO.read(file_path)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sigsurv
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: