mvz-dnote 1.7.1 → 1.7.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 98fb559fd41018e820045b6bc49f6d8bba90b0fb
4
- data.tar.gz: 3d6ebc561fd714f6ff33ecb45f9e55396b8fb6c7
3
+ metadata.gz: eac8890fe30005d8b91d2435f22b6b147eb824e3
4
+ data.tar.gz: 3095d7ed25f4a5bcf188c8d678a01567b8588934
5
5
  SHA512:
6
- metadata.gz: 571aec135e69a01abab0658f214f9ac0baa3913081598a5026e73f6660efc31f80c14b22b7291521f8e6a1c7be5fb3c88a862f4c86ac98e87351b9497c6b5975
7
- data.tar.gz: 413450876f72af24fb04d3a81e62a86f28d459ac504931a5d8856eabe77d7638ad0f0e795b244a98ffc73460521fc5d45003db1aa718388ea07e118ab8f3a45a
6
+ metadata.gz: 9d4b828d589ed5157db324540356362017e3be0f6cace8cedc548be8a5673da817d2e0daa91f8cf8cbd167ac03ecda97641a34e06177ae7d58316a7a19130d75
7
+ data.tar.gz: a7e26ab03120551110e03e5a81154b7aa6064c6e70ae10d70a4b64eb03cf1b925ab6e41250f370fad735bd7227361683292bc29118ac578e46e681f62573a09a
@@ -1,5 +1,13 @@
1
1
  = RELEASE HISTORY
2
2
 
3
+ == 1.7.2 / 2017-03-05
4
+
5
+ * Support CRuby 2.4
6
+
7
+ == 1.7.1 / 2017-03-05
8
+
9
+ This is the first version of the mvz-dnote fork. This fork will add support for
10
+ newer Rubies and update dependencies.
3
11
 
4
12
  == 1.7.0 / 2011-10-25
5
13
 
@@ -15,7 +15,7 @@ module DNote
15
15
  # Extensions for String class.
16
16
  # These methods are taken directly from Ruby Facets.
17
17
  #
18
- module String
18
+ module StringExt
19
19
 
20
20
  # Provides a margin controlled string.
21
21
  #
@@ -85,7 +85,7 @@ module DNote
85
85
  end
86
86
 
87
87
  class ::String #:nodoc:
88
- include DNote::String
88
+ include DNote::StringExt
89
89
  end
90
90
 
91
91
  end
@@ -1,5 +1,5 @@
1
1
  module DNote
2
- VERSION = '1.7.1'
2
+ VERSION = '1.7.2'
3
3
 
4
4
  #
5
5
  def self.metadata
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mvz-dnote
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.1
4
+ version: 1.7.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thomas Sawyer
@@ -12,19 +12,33 @@ cert_chain: []
12
12
  date: 2017-03-05 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
- name: minitest
15
+ name: aruba
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  requirements:
18
18
  - - "~>"
19
19
  - !ruby/object:Gem::Version
20
- version: '5.10'
20
+ version: 0.14.1
21
21
  type: :development
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
25
  - - "~>"
26
26
  - !ruby/object:Gem::Version
27
- version: '5.10'
27
+ version: 0.14.1
28
+ - !ruby/object:Gem::Dependency
29
+ name: cucumber
30
+ requirement: !ruby/object:Gem::Requirement
31
+ requirements:
32
+ - - "~>"
33
+ - !ruby/object:Gem::Version
34
+ version: '2.4'
35
+ type: :development
36
+ prerelease: false
37
+ version_requirements: !ruby/object:Gem::Requirement
38
+ requirements:
39
+ - - "~>"
40
+ - !ruby/object:Gem::Version
41
+ version: '2.4'
28
42
  - !ruby/object:Gem::Dependency
29
43
  name: rake
30
44
  requirement: !ruby/object:Gem::Requirement
@@ -39,6 +53,20 @@ dependencies:
39
53
  - - "~>"
40
54
  - !ruby/object:Gem::Version
41
55
  version: '12.0'
56
+ - !ruby/object:Gem::Dependency
57
+ name: rspec
58
+ requirement: !ruby/object:Gem::Requirement
59
+ requirements:
60
+ - - "~>"
61
+ - !ruby/object:Gem::Version
62
+ version: '3.5'
63
+ type: :development
64
+ prerelease: false
65
+ version_requirements: !ruby/object:Gem::Requirement
66
+ requirements:
67
+ - - "~>"
68
+ - !ruby/object:Gem::Version
69
+ version: '3.5'
42
70
  description: |2
43
71
  DNote makes it easy to extract developer's notes from source code,
44
72
  and supports almost any language.
@@ -101,7 +129,6 @@ files:
101
129
  - lib/dnote/templates/yaml/label.erb
102
130
  - lib/dnote/templates/yaml/list.erb
103
131
  - lib/dnote/version.rb
104
- - test/notes_case.rb
105
132
  - try/sample.bas
106
133
  - try/sample.js
107
134
  - try/sample.rb
@@ -1,59 +0,0 @@
1
- require 'dnote/notes'
2
- require 'minitest/autorun'
3
-
4
- describe DNote::Notes do
5
-
6
- describe :labels do
7
- it 'returns the list of labels' do
8
- notes = DNote::Notes.new([], :labels=>['TODO'])
9
- notes.labels.must_equal ['TODO'] #DNote::Notes::DEFAULT_LABELS
10
- end
11
- end
12
-
13
- describe :files do
14
- it 'returns the files attribute' do
15
- notes = DNote::Notes.new(["example1.rb"])
16
- notes.files.must_equal ["example1.rb"]
17
- end
18
- end
19
-
20
- describe :files do
21
- it 'changes the paths attribute' do
22
- notes = DNote::Notes.new([])
23
- notes.files = ["example1.rb"]
24
- notes.files.must_equal ["example1.rb"]
25
- end
26
- end
27
-
28
- describe :match_general do
29
- it 'works' do
30
- notes = DNote::Notes.new([])
31
- line, lineno, file = "# TODO: Do something or another!", 1, "foo.rb"
32
- rec = notes.match_general(line, lineno, file)
33
- rec.to_h.must_equal({'label'=>"TODO",'file'=>file,'line'=>lineno,'text'=>"Do something or another!"})
34
- end
35
- end
36
-
37
- describe :match_special do
38
- it 'works' do
39
- notes = DNote::Notes.new([], :labels=>['TODO'])
40
- line, lineno, file = "# TODO: Do something or another!", 1, "foo.rb"
41
- rec = notes.match_special(line, lineno, file)
42
- rec.to_h.must_equal({'label'=>"TODO",'file'=>file,'line'=>lineno,'text'=>"Do something or another!"})
43
- end
44
- end
45
-
46
- describe :counts do
47
- it { skip 'pending' }
48
- end
49
-
50
- describe :notes do
51
- it { skip 'pending' }
52
- end
53
-
54
- describe :parse do
55
- it { skip 'pending' }
56
- end
57
-
58
- end
59
-