hotspots 0.0.8 → 0.0.9

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore ADDED
@@ -0,0 +1 @@
1
+ *.gem
data/README.markdown CHANGED
@@ -9,20 +9,28 @@ Dependencies
9
9
 
10
10
  This script depends on ruby. Obviously it also depends on git. Ruby and git executables should be in your execution path for the script to run.
11
11
 
12
+ Installation
13
+ ------------
14
+
15
+ ``` script
16
+ gem install hotspots
17
+ ```
18
+
12
19
  Syntax
13
20
  ------
14
21
 
15
22
  ``` script
16
- Usage: ruby hotspots [options]
23
+ Usage: hotspots [options]
17
24
 
18
25
  Specific options:
19
26
  -t, --time [TIME] Time in days to scan the repository for. Defaults to fifteen
20
27
  -r, --repository [PATH] Path to the repository to scan. Defaults to current path
21
28
  -f, --file-filter [REGEX] Regular expression to filtering file names. All files are allowed when not specified
22
- -m, --message-filter [PIPE SEPARATED] Pipe separated values to filter files names against each commit message separated by pipe. All files are allowed when not specified
29
+ -m, --message-filter [PIPE SEPARATED] Values to filter files names against each commit message separated by pipe.
30
+ All files are allowed when not specified
23
31
  -c, --cutoff [CUTOFF] The minimum occurance to consider for a file to appear in the list. Defaults to zero
24
32
  -v, --verbose Show verbose output
25
- --version Show version information
33
+ --version Show version information
26
34
  -h, --help Show this message
27
35
  ```
28
36
 
@@ -32,7 +40,7 @@ Examples
32
40
  This will give you all file names that contain '.c' and have been modified at least once in the past 15 days in the git repository pointed to by the current path.
33
41
 
34
42
  ``` script
35
- ruby hotspots --file-filter "/.c"
43
+ hotspots --file-filter "/.c"
36
44
  ```
37
45
 
38
46
  *Note that the dot "." is escaped as it is a regular expression matcher.*
@@ -40,12 +48,14 @@ ruby hotspots --file-filter "/.c"
40
48
  This will give you all file names that contain '.rb' and have been modified at least thrice in the past 5 days in git repository present in 'rails' directory.
41
49
 
42
50
  ``` script
43
- ruby hotspots --file-filter "/.rb" --path rails --cutoff 3 --time 5
51
+ hotspots --file-filter "/.rb" --path rails --cutoff 3 --time 5
44
52
  ```
45
53
 
46
54
  Running tests
47
55
  -------------
48
56
 
57
+ Clone the repository and run the following command from the repository.
58
+
49
59
  ``` script
50
60
  ruby test/hotspots_test.rb
51
61
  ```
data/hotspots.gemspec CHANGED
@@ -9,7 +9,7 @@ Gem::Specification.new do |s|
9
9
  s.version = Hotspots::VERSION
10
10
  s.authors = ["Chirantan Mitra"]
11
11
  s.email = ["chirantan.mitra@gmail.com"]
12
- s.homepage = "https://github.com/chiku/Hotspot"
12
+ s.homepage = "https://github.com/chiku/hotspots"
13
13
  s.summary = "Find all files that changed over the past in a git repository based on conditions"
14
14
  s.description = <<-EOS
15
15
  Find all files that changed over the past days for a git repository. If the same file is modified over
@@ -1,3 +1,3 @@
1
1
  module Hotspots
2
- VERSION = "0.0.8"
3
- end
2
+ VERSION = "0.0.9"
3
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hotspots
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 0.0.9
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-12-25 00:00:00.000000000 Z
12
+ date: 2011-12-26 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: ! 'Find all files that changed over the past days for a git repository.
15
15
  If the same file is modified over
@@ -27,6 +27,7 @@ executables:
27
27
  extensions: []
28
28
  extra_rdoc_files: []
29
29
  files:
30
+ - .gitignore
30
31
  - Gemfile
31
32
  - LICENSE
32
33
  - README.markdown
@@ -46,7 +47,7 @@ files:
46
47
  - test/hotspots/repository/parser/git_test.rb
47
48
  - test/hotspots/store_test.rb
48
49
  - test/hotspots_test.rb
49
- homepage: https://github.com/chiku/Hotspot
50
+ homepage: https://github.com/chiku/hotspots
50
51
  licenses: []
51
52
  post_install_message:
52
53
  rdoc_options: []