rake-notes 0.2.1 → 0.2.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA256:
3
- metadata.gz: 88f073dcf915804bec0d7d2c75e3a02e4d4486d9e96d977cb8dfedc751b8c858
4
- data.tar.gz: 98ff2797d5c369be557da8f647f3b1f8df93bb584b4594b4e18bb96a7f5efaf4
2
+ SHA1:
3
+ metadata.gz: 2663b19c9fce63e5b29a4674f942f78b87299fd3
4
+ data.tar.gz: e42c61dafa3025fa8e1d43ed9bb38c9888c959a4
5
5
  SHA512:
6
- metadata.gz: 189cc28418cd172d609815f0460194172d8a7fd26cc4879412f78af6bd7f0252f516c826c576b76003a98128eb662ac3f63cb74bdedd2954f5923c80a1fe4155
7
- data.tar.gz: 88345f8fb9ccf84de014d3b1c40b4c0b9b124fa510dec52b8f46f50a3d67eb75b58d614605a450060d6fcca892148b2ee92e55e61e15a641b1e76339343bd4c6
6
+ metadata.gz: d4eaa07d726cc4894b6209ba942f177b2f1cc257e61ed630c1d06e06e14319d41c8b3999b0d0f29c6114b345feede8982eec64c0c40cb406f73e6bbaaa7d4203
7
+ data.tar.gz: 9b49b6cfdb1d838c840ee6348bc8aa9daa62d550dbf70d094e08b94c690654b30bc833d2d535907f1ef9ce58c6f8f4421022a8c2ec8c404ee3cbd2fed3c13094
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rake-notes (0.2.1)
4
+ rake-notes (0.2.2)
5
5
  colored
6
6
  rake
7
7
 
@@ -10,7 +10,7 @@ GEM
10
10
  specs:
11
11
  colored (1.2)
12
12
  diff-lcs (1.1.3)
13
- rake (10.1.0)
13
+ rake (12.3.1)
14
14
  rspec (2.11.0)
15
15
  rspec-core (~> 2.11.0)
16
16
  rspec-expectations (~> 2.11.0)
@@ -28,4 +28,4 @@ DEPENDENCIES
28
28
  rspec
29
29
 
30
30
  BUNDLED WITH
31
- 1.16.0
31
+ 1.16.2
@@ -89,7 +89,7 @@ module Rake
89
89
  results.update(find_in(item))
90
90
  elsif item =~ /\.(builder|rb|coffee|rake|pp|ya?ml|gemspec|feature)$/ || RUBYFILES.include?(File.basename(item))
91
91
  results.update(extract_annotations_from(item, /#\s*(#{tag}):?\s*(.*)$/))
92
- elsif item =~ /\.(css|scss|js)$/
92
+ elsif item =~ /\.(css|scss|js|ts|tsx)$/
93
93
  results.update(extract_annotations_from(item, /\/\/\s*(#{tag}):?\s*(.*)$/))
94
94
  elsif item =~ /\.erb$/
95
95
  results.update(extract_annotations_from(item, /<%\s*#\s*(#{tag}):?\s*(.*?)\s*%>/))
@@ -1,5 +1,5 @@
1
1
  module Rake
2
2
  module Notes
3
- VERSION = "0.2.1"
3
+ VERSION = "0.2.2"
4
4
  end
5
5
  end
@@ -30,6 +30,8 @@ describe Rake::Notes::SourceAnnotationExtractor do
30
30
  fixture_file "application.js", "// TODO: note in js"
31
31
  fixture_file "application.css", "// TODO: note in css"
32
32
  fixture_file "application.css.scss", "// TODO: note in scss"
33
+ fixture_file "component.tsx", "// TODO: note in tsx"
34
+ fixture_file "application.ts", "// TODO note in ts"
33
35
  fixture_file "application_controller.rb", 1000.times.map { "" }.join("\n") << "# TODO: note in ruby"
34
36
  fixture_file "task.rake", "# TODO: note in rake"
35
37
  fixture_file "init.pp", "# TODO: note in puppet"
@@ -51,6 +53,8 @@ describe Rake::Notes::SourceAnnotationExtractor do
51
53
  it { should match(/note in js/) }
52
54
  it { should match(/note in css/) }
53
55
  it { should match(/note in scss/) }
56
+ it { should match(/note in tsx/) }
57
+ it { should match(/note in ts/) }
54
58
  it { should match(/note in rake/) }
55
59
  it { should match(/note in puppet/) }
56
60
  it { should match(/note in yml/) }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rake-notes
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fabio Rehm
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-03-29 00:00:00.000000000 Z
11
+ date: 2018-06-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -92,7 +92,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
92
92
  version: '0'
93
93
  requirements: []
94
94
  rubyforge_project:
95
- rubygems_version: 2.7.6
95
+ rubygems_version: 2.6.14.1
96
96
  signing_key:
97
97
  specification_version: 4
98
98
  summary: rake notes task for non-Rails' projects