tagful 1.0.5 → 1.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +5 -0
- data/README.md +1 -1
- data/Rakefile +6 -1
- data/lib/tagful/version.rb +1 -1
- data/spec/tagful_spec.rb +7 -7
- data/tagful.gemspec +2 -0
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 36fd3a5d07c5f3490a45d663b4295601fccf7d6a
|
4
|
+
data.tar.gz: eba0e66fa700ea23d211e5a952578b328d768c31
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5b84fff2904e0448b98e42bf794d1def99053eac3a66f70c388718781ba31585a8bd9ece1f8008770340e04ca07c18b916b99fe321e998b8dca7a1c26bb7e8a9
|
7
|
+
data.tar.gz: 34bfbef76ae3929b500368e3b9f7d6215a6549bea3c33ad1ada4a32d1f46fabf0c80a34848299a78ded596f1146e92d1dafc12f71e9bbc6e45686fd84adb282f
|
data/.travis.yml
ADDED
data/README.md
CHANGED
data/Rakefile
CHANGED
data/lib/tagful/version.rb
CHANGED
data/spec/tagful_spec.rb
CHANGED
@@ -10,22 +10,22 @@ RSpec.describe Tagful do
|
|
10
10
|
raise 'yo'
|
11
11
|
end
|
12
12
|
|
13
|
-
tagful\
|
14
13
|
def hi
|
15
14
|
raise 'hi'
|
16
15
|
end
|
16
|
+
tagful :hi
|
17
17
|
|
18
|
-
tagful\
|
19
18
|
def hello
|
20
19
|
Hello.new
|
21
20
|
end
|
21
|
+
tagful :hello
|
22
22
|
|
23
23
|
private
|
24
24
|
|
25
|
-
tagful\
|
26
25
|
def heart
|
27
26
|
# you can't touch my heart
|
28
27
|
end
|
28
|
+
tagful :heart
|
29
29
|
end
|
30
30
|
|
31
31
|
class HoumorPerson < Person
|
@@ -54,10 +54,10 @@ RSpec.describe Tagful do
|
|
54
54
|
|
55
55
|
tagful_with Broken
|
56
56
|
|
57
|
-
tagful\
|
58
57
|
def to_evil
|
59
58
|
raise ':('
|
60
59
|
end
|
60
|
+
tagful :to_evil
|
61
61
|
|
62
62
|
def walk
|
63
63
|
raise
|
@@ -84,12 +84,12 @@ RSpec.describe Tagful do
|
|
84
84
|
|
85
85
|
tagful_with Pizza::Factory
|
86
86
|
|
87
|
-
tagful\
|
88
87
|
def initialize(contamination = nil)
|
89
88
|
if contamination
|
90
89
|
raise contamination.to_s
|
91
90
|
end
|
92
91
|
end
|
92
|
+
tagful :initialize
|
93
93
|
|
94
94
|
def take_cheese!
|
95
95
|
raise 'cheese'
|
@@ -118,10 +118,10 @@ RSpec.describe Tagful do
|
|
118
118
|
|
119
119
|
tagful_with ::Bar
|
120
120
|
|
121
|
-
tagful\
|
122
121
|
def bug
|
123
122
|
raise 'bug'
|
124
123
|
end
|
124
|
+
tagful :bug
|
125
125
|
end
|
126
126
|
|
127
127
|
class Buzz < StandardError
|
@@ -141,10 +141,10 @@ RSpec.describe Tagful do
|
|
141
141
|
|
142
142
|
tagful_with ::Buzz
|
143
143
|
|
144
|
-
tagful\
|
145
144
|
def fizz
|
146
145
|
raise 'buzz'
|
147
146
|
end
|
147
|
+
tagful :fizz
|
148
148
|
end
|
149
149
|
|
150
150
|
class Anonymous
|
data/tagful.gemspec
CHANGED
@@ -17,6 +17,8 @@ Gem::Specification.new do |spec|
|
|
17
17
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
18
18
|
spec.require_paths = ["lib"]
|
19
19
|
|
20
|
+
spec.required_ruby_version = '>= 2.0'
|
21
|
+
|
20
22
|
spec.add_development_dependency "bundler", "~> 1.7"
|
21
23
|
spec.add_development_dependency "pry"
|
22
24
|
spec.add_development_dependency "rake", "~> 10.0"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tagful
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Seiei Higa
|
@@ -74,6 +74,7 @@ extensions: []
|
|
74
74
|
extra_rdoc_files: []
|
75
75
|
files:
|
76
76
|
- ".gitignore"
|
77
|
+
- ".travis.yml"
|
77
78
|
- Gemfile
|
78
79
|
- LICENSE.txt
|
79
80
|
- README.md
|
@@ -95,7 +96,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
95
96
|
requirements:
|
96
97
|
- - ">="
|
97
98
|
- !ruby/object:Gem::Version
|
98
|
-
version: '0'
|
99
|
+
version: '2.0'
|
99
100
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
100
101
|
requirements:
|
101
102
|
- - ">="
|