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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5883fe7c03181fd6e9d52dfdbe953c20fd4c173b
4
- data.tar.gz: bbcbcf4ccd3b0e91dc39b67f1e2a51aab4871532
3
+ metadata.gz: 36fd3a5d07c5f3490a45d663b4295601fccf7d6a
4
+ data.tar.gz: eba0e66fa700ea23d211e5a952578b328d768c31
5
5
  SHA512:
6
- metadata.gz: b84a691bb79d3e067b6b1d23c6340a7b13d85fbe4709c54571ec6a556f2fb890fe5e010aa7f9d65cd85a528b4e67a905f6d0901ec9c55bc429a46e547050ecf4
7
- data.tar.gz: 9f4fce6ed1c38ec07d3db335eca5730436c53d2554e3a34f2c4d587babcab0efee4eb8c6b34004cdc4e42bf653b712282c5399183f6707041691ecf97d6bbde8
6
+ metadata.gz: 5b84fff2904e0448b98e42bf794d1def99053eac3a66f70c388718781ba31585a8bd9ece1f8008770340e04ca07c18b916b99fe321e998b8dca7a1c26bb7e8a9
7
+ data.tar.gz: 34bfbef76ae3929b500368e3b9f7d6215a6549bea3c33ad1ada4a32d1f46fabf0c80a34848299a78ded596f1146e92d1dafc12f71e9bbc6e45686fd84adb282f
@@ -0,0 +1,5 @@
1
+ language: ruby
2
+ rvm:
3
+ - 2.0.0
4
+ - 2.1
5
+ - ruby-head
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # Tagful
1
+ # Tagful [![Build Status](https://travis-ci.org/hanachin/tagful.svg)](https://travis-ci.org/hanachin/tagful)
2
2
 
3
3
  Tagging your exception.
4
4
 
data/Rakefile CHANGED
@@ -1,2 +1,7 @@
1
1
  require "bundler/gem_tasks"
2
-
2
+ begin
3
+ require 'rspec/core/rake_task'
4
+ RSpec::Core::RakeTask.new(:spec)
5
+ task default: :spec
6
+ rescue LoadError
7
+ end
@@ -1,3 +1,3 @@
1
1
  module Tagful
2
- VERSION = "1.0.5"
2
+ VERSION = "1.0.6"
3
3
  end
@@ -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
@@ -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.5
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
  - - ">="