rake-notes 0.0.1 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 65ee7561dd3dea89670b7a7a1488e9abe17c1503
4
+ data.tar.gz: f1247f57dd89c2a95a02b87c645de61e2f00c68c
5
+ SHA512:
6
+ metadata.gz: a7cadfdd686dd6a4dc982648fa5c629dff06a0b8cca3ff3ea4ffdf8f0571e90b2f140d2ce43683fe1b89dd9e70d839c04f20184e13c6da78d7f75d44d3c04076
7
+ data.tar.gz: 9df3c55a9e0087b89b88f6dfb168dbf82ed75dbe45adb63e8f0e0e7fb5174b049965d731cab6d07f49738c676c8c9d91749b27b85abaee4ebda789f59d13e4e6
@@ -66,7 +66,7 @@ module Rake
66
66
 
67
67
  if File.directory?(item)
68
68
  results.update(find_in(item))
69
- elsif item =~ /\.(builder|rb|coffee|rake|pp|ya?ml|gemspec)$/ || RUBYFILES.include?(File.basename(item))
69
+ elsif item =~ /\.(builder|rb|coffee|rake|pp|ya?ml|gemspec|feature)$/ || RUBYFILES.include?(File.basename(item))
70
70
  results.update(extract_annotations_from(item, /#\s*(#{tag}):?\s*(.*)$/))
71
71
  elsif item =~ /\.(css|scss|js)$/
72
72
  results.update(extract_annotations_from(item, /\/\/\s*(#{tag}):?\s*(.*)$/))
@@ -1,5 +1,5 @@
1
1
  module Rake
2
2
  module Notes
3
- VERSION = "0.0.1"
3
+ VERSION = "0.1.0"
4
4
  end
5
5
  end
@@ -40,6 +40,7 @@ describe Rake::Notes::SourceAnnotationExtractor do
40
40
  fixture_file "Rakefile", "# TODO: note in rakefile"
41
41
  fixture_file "Puppetfile", "# TODO: note in puppetfile"
42
42
  fixture_file "Gemfile", "# TODO: note in gemfile"
43
+ fixture_file "feature.feature", "# TODO: note in cucumber feature"
43
44
  end
44
45
 
45
46
  it { should match(/note in erb/) }
@@ -59,6 +60,7 @@ describe Rake::Notes::SourceAnnotationExtractor do
59
60
  it { should match(/note in rakefile/) }
60
61
  it { should match(/note in puppetfile/) }
61
62
  it { should match(/note in gemfile/) }
63
+ it { should match(/note in cucumber feature/) }
62
64
  end
63
65
 
64
66
  def fixture_file(path, contents)
metadata CHANGED
@@ -1,46 +1,41 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rake-notes
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
5
- prerelease:
4
+ version: 0.1.0
6
5
  platform: ruby
7
6
  authors:
8
7
  - Fabio Rehm
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2012-10-13 00:00:00.000000000 Z
11
+ date: 2013-08-09 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: rake
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ! '>='
17
+ - - '>='
20
18
  - !ruby/object:Gem::Version
21
19
  version: '0'
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: '0'
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: rspec
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
- - - ! '>='
31
+ - - '>='
36
32
  - !ruby/object:Gem::Version
37
33
  version: '0'
38
34
  type: :development
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
- - - ! '>='
38
+ - - '>='
44
39
  - !ruby/object:Gem::Version
45
40
  version: '0'
46
41
  description: rake notes task for non-Rails' projects
@@ -65,33 +60,26 @@ files:
65
60
  - spec/spec_helper.rb
66
61
  homepage: https://github.com/fgrehm/rake-notes
67
62
  licenses: []
63
+ metadata: {}
68
64
  post_install_message:
69
65
  rdoc_options: []
70
66
  require_paths:
71
67
  - lib
72
68
  required_ruby_version: !ruby/object:Gem::Requirement
73
- none: false
74
69
  requirements:
75
- - - ! '>='
70
+ - - '>='
76
71
  - !ruby/object:Gem::Version
77
72
  version: '0'
78
- segments:
79
- - 0
80
- hash: -2814637587116714080
81
73
  required_rubygems_version: !ruby/object:Gem::Requirement
82
- none: false
83
74
  requirements:
84
- - - ! '>='
75
+ - - '>='
85
76
  - !ruby/object:Gem::Version
86
77
  version: '0'
87
- segments:
88
- - 0
89
- hash: -2814637587116714080
90
78
  requirements: []
91
79
  rubyforge_project:
92
- rubygems_version: 1.8.23
80
+ rubygems_version: 2.0.0
93
81
  signing_key:
94
- specification_version: 3
82
+ specification_version: 4
95
83
  summary: rake notes task for non-Rails' projects
96
84
  test_files:
97
85
  - spec/rake/notes/source_annotation_extractor_spec.rb