ackr 0.2 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 9ff9e8084e704fb5826928ac00105d79fca492ac
4
+ data.tar.gz: 1b00f8dd5186a44146f692ef2729bb8d73a6fd58
5
+ SHA512:
6
+ metadata.gz: 5e0b5452c461c22320fdd0b0c71d449d0ace2c6cdd92b73ba384c3082b3d51a2d8396ac6043e6e537cddc488b868d6d2e86b4f8e907db5cc4cc5091abd5c1206
7
+ data.tar.gz: 24b7ae6a4c9a2d241601027440b593eef2508c110b1179e6fdeb31a7ea57e1f3eef1232c477293a983968baf8b65631569f5bf1b07715e04e1a645a5f3d49019
data/Changelog.md ADDED
@@ -0,0 +1,11 @@
1
+ 2014-03-01 version 0.2.2
2
+ ========================
3
+
4
+ * Fix bundle
5
+
6
+
7
+ 2014-03-01 version 0.2.1
8
+ ========================
9
+
10
+ * Fix rainbow gem version
11
+ https://github.com/lkdjiin/ackr/issues/1
data/Gemfile CHANGED
@@ -2,5 +2,5 @@ source "https://rubygems.org"
2
2
 
3
3
  gemspec
4
4
 
5
- gem 'rake'
5
+ gem 'rake', '>= 10.1.0'
6
6
  gem 'rspec'
data/Gemfile.lock CHANGED
@@ -1,28 +1,28 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ackr (0.2)
5
- rainbow (>= 1.1.4)
4
+ ackr (0.2.1)
5
+ rainbow (= 1.1.4)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
- diff-lcs (1.2.4)
10
+ diff-lcs (1.2.5)
11
11
  rainbow (1.1.4)
12
- rake (10.0.4)
13
- rspec (2.13.0)
14
- rspec-core (~> 2.13.0)
15
- rspec-expectations (~> 2.13.0)
16
- rspec-mocks (~> 2.13.0)
17
- rspec-core (2.13.1)
18
- rspec-expectations (2.13.0)
12
+ rake (10.1.1)
13
+ rspec (2.14.1)
14
+ rspec-core (~> 2.14.0)
15
+ rspec-expectations (~> 2.14.0)
16
+ rspec-mocks (~> 2.14.0)
17
+ rspec-core (2.14.8)
18
+ rspec-expectations (2.14.5)
19
19
  diff-lcs (>= 1.1.3, < 2.0)
20
- rspec-mocks (2.13.1)
20
+ rspec-mocks (2.14.6)
21
21
 
22
22
  PLATFORMS
23
23
  ruby
24
24
 
25
25
  DEPENDENCIES
26
26
  ackr!
27
- rake
27
+ rake (>= 10.1.0)
28
28
  rspec
data/README.markdown CHANGED
@@ -1,7 +1,7 @@
1
1
  Ackr [![Build Status](https://travis-ci.org/lkdjiin/ackr.png)](https://travis-ci.org/lkdjiin/ackr)
2
2
  ================
3
3
 
4
- Ackr is a very small subset of grep/ack/rak, for **lazy developers**.
4
+ Ackr is a minimalist subset of grep/ack/rak, for **lazy developers**.
5
5
 
6
6
  Description
7
7
  -----------
@@ -50,6 +50,29 @@ Using a regexp (same search as above):
50
50
 
51
51
  $ ackr /fixme/i
52
52
 
53
+ ### Ignored files and directories
54
+
55
+ Ackr doesn't look into hidden files or directories. In addition, ackr
56
+ ignores the following list of directories:
57
+
58
+ * `blib`
59
+ * `CVS`
60
+ * `_darcs`
61
+ * `RCS`
62
+ * `SCCS`
63
+ * `pkg`
64
+ * `tmp`
65
+ * `temp`
66
+ * `log`
67
+
68
+ If you really want to search into a such directory anyway, simply `cd`
69
+ into it and make the search.
70
+
71
+ ### Caveats
72
+
73
+ Ackr is young. Ackr is slow, very slow...
74
+ I will consider performance in a future version.
75
+
53
76
  More to come
54
77
  --------------------------
55
78
 
@@ -73,11 +96,11 @@ Dependencies
73
96
 
74
97
  ### There is many other ways to contibute to ackr
75
98
 
76
- 1. Reports any bug
99
+ 1. Report any bug
77
100
  2. Give me ideas
78
101
  3. Correct my poor english syntax
79
102
  4. Blog about ackr
80
- 5. Tell ackr to your friends or colleagues
103
+ 5. Tell ackr to your friends and colleagues
81
104
 
82
105
  License
83
106
  --------------------------
@@ -89,4 +112,4 @@ Questions and/or Comments
89
112
  --------------------------
90
113
 
91
114
  Feel free to email [Xavier Nayrac](mailto:xavier.nayrac@gmail.com)
92
- with any questions.
115
+ with any questions, or contact me on [twitter](https://twitter.com/lkdjiin).
data/TODO CHANGED
@@ -1,17 +1,30 @@
1
+ Ruby 2.1.1 sur travis à la place de 2.1.0
1
2
 
2
- [ok]supprimer les espaces/tab avant
3
- [ok]$ ackr /tel \d{10}/i
4
- [ok]terme de la regex en gras dans le terminal
5
- [ok]Bug invalid byte sequence
3
+ Bug:
4
+ $ ackr /Bad studying method/
5
+ Ne trouve rien alors que
6
+ $ ackr "Bad studying method"
7
+ Trouve bien:
8
+ lib/cellula/study.rb
9
+ 28| panic "Bad studying method: #{method}" if method != :random
6
10
 
7
- Exclure dossier temp/ tmp/ et d'autres
11
+ documenter:
8
12
 
13
+ ackr &:active
14
+ # => Impossible / Erreur
15
+ À la place il faut écrire:
16
+
17
+ ackr '&:active'
9
18
  ---------------------------
10
- fichier de config
19
+ annonce release sur freecode, mon blog
20
+ ajouter screenshot sur freecode
11
21
 
12
22
  ---------------------------
13
23
  Site web
14
24
 
25
+ ---------------------------
26
+ fichier de config
27
+
15
28
  ---------------------------
16
29
  Écrire à rainbow owner pour lui dire que j'utilise son truc
17
30
  dans ce projet.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2
1
+ 0.2.2
@@ -1,5 +1,6 @@
1
1
  # -*- encoding: utf-8 -*-
2
2
 
3
+ gem 'rainbow', '= 1.1.4'
3
4
  require 'rainbow'
4
5
 
5
6
  module Ackr
data/lib/ackr/search.rb CHANGED
@@ -59,7 +59,7 @@ module Ackr
59
59
  else
60
60
  @search_term =~ line
61
61
  end
62
- rescue #Exception => ex
62
+ rescue
63
63
  end
64
64
  end
65
65
 
data/lib/ackr.rb CHANGED
@@ -8,6 +8,7 @@ require 'ackr/formatter'
8
8
 
9
9
  module Ackr
10
10
 
11
+ # Ackr won't search into this directories.
11
12
  EXCLUDE_DIRS = %w(blib CVS _darcs RCS SCCS pkg tmp temp log)
12
13
 
13
14
  # Method taken from: https://github.com/djberg96/ptools
metadata CHANGED
@@ -1,30 +1,27 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ackr
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.2'
5
- prerelease:
4
+ version: 0.2.2
6
5
  platform: ruby
7
6
  authors:
8
7
  - Xavier Nayrac
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-04-24 00:00:00.000000000 Z
11
+ date: 2014-03-01 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: rainbow
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ! '>='
17
+ - - '='
20
18
  - !ruby/object:Gem::Version
21
19
  version: 1.1.4
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ! '>='
24
+ - - '='
28
25
  - !ruby/object:Gem::Version
29
26
  version: 1.1.4
30
27
  description: Ackr is a very small subset of grep/ack/rak, for lazy developers
@@ -34,43 +31,44 @@ executables:
34
31
  extensions: []
35
32
  extra_rdoc_files: []
36
33
  files:
37
- - lib/ackr.rb
38
- - lib/ackr/finder.rb
39
- - lib/ackr/search.rb
40
- - lib/ackr/formatter.rb
41
- - lib/ackr/extensions/string.rb
42
- - lib/ackr/colorizer.rb
43
- - bin/ackr
34
+ - Changelog.md
35
+ - Gemfile
36
+ - Gemfile.lock
44
37
  - LICENSE.txt
45
- - VERSION
46
38
  - README.markdown
47
- - Gemfile
48
39
  - Rakefile
49
40
  - TODO
50
- - Gemfile.lock
41
+ - VERSION
42
+ - bin/ackr
43
+ - lib/ackr.rb
44
+ - lib/ackr/colorizer.rb
45
+ - lib/ackr/extensions/string.rb
46
+ - lib/ackr/finder.rb
47
+ - lib/ackr/formatter.rb
48
+ - lib/ackr/search.rb
51
49
  homepage: https://github.com/lkdjiin/ackr
52
50
  licenses:
53
51
  - MIT
52
+ metadata: {}
54
53
  post_install_message:
55
54
  rdoc_options: []
56
55
  require_paths:
57
56
  - lib
58
57
  required_ruby_version: !ruby/object:Gem::Requirement
59
- none: false
60
58
  requirements:
61
- - - ! '>='
59
+ - - ">="
62
60
  - !ruby/object:Gem::Version
63
61
  version: 1.9.2
64
62
  required_rubygems_version: !ruby/object:Gem::Requirement
65
- none: false
66
63
  requirements:
67
- - - ! '>='
64
+ - - ">="
68
65
  - !ruby/object:Gem::Version
69
66
  version: '0'
70
67
  requirements: []
71
68
  rubyforge_project:
72
- rubygems_version: 1.8.25
69
+ rubygems_version: 2.2.0.rc.1
73
70
  signing_key:
74
- specification_version: 3
71
+ specification_version: 4
75
72
  summary: Ackr is a very small subset of grep/ack/rak, for lazy developers
76
73
  test_files: []
74
+ has_rdoc: