abstract_type 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/.travis.yml +1 -1
- data/Gemfile.devtools +11 -12
- data/abstract_type.gemspec +3 -2
- data/lib/abstract_type.rb +3 -3
- data/lib/abstract_type/version.rb +2 -2
- metadata +29 -7
data/.travis.yml
CHANGED
data/Gemfile.devtools
CHANGED
@@ -2,26 +2,25 @@
|
|
2
2
|
|
3
3
|
group :development do
|
4
4
|
gem 'rake', '~> 10.0.3'
|
5
|
-
gem 'rspec', '~> 2.
|
6
|
-
gem 'yard', '~> 0.8.
|
5
|
+
gem 'rspec', '~> 2.13.0'
|
6
|
+
gem 'yard', '~> 0.8.5'
|
7
7
|
end
|
8
8
|
|
9
9
|
group :yard do
|
10
|
-
gem '
|
10
|
+
gem 'kramdown', '~> 0.14.2'
|
11
11
|
end
|
12
12
|
|
13
13
|
group :guard do
|
14
14
|
gem 'guard', '~> 1.6.2'
|
15
15
|
gem 'guard-bundler', '~> 1.0.0'
|
16
|
-
gem 'guard-rspec', '~> 2.
|
16
|
+
gem 'guard-rspec', '~> 2.4.1'
|
17
17
|
|
18
18
|
# file system change event handling
|
19
19
|
gem 'rb-fchange', '~> 0.0.6', :require => false
|
20
20
|
gem 'rb-fsevent', '~> 0.9.3', :require => false
|
21
21
|
gem 'rb-inotify', '~> 0.9.0', :require => false
|
22
22
|
|
23
|
-
|
24
|
-
gem 'listen', '~> 0.7.2', :git => 'https://github.com/guard/listen.git'
|
23
|
+
gem 'listen', '~> 0.7.3'
|
25
24
|
|
26
25
|
# notification handling
|
27
26
|
gem 'libnotify', '~> 0.8.0', :require => false
|
@@ -30,11 +29,11 @@ group :guard do
|
|
30
29
|
end
|
31
30
|
|
32
31
|
group :metrics do
|
33
|
-
gem 'flay',
|
34
|
-
gem 'flog',
|
35
|
-
gem 'reek',
|
36
|
-
gem 'roodi',
|
37
|
-
gem 'yardstick',
|
32
|
+
gem 'flay', '~> 2.1.0'
|
33
|
+
gem 'flog', '~> 3.2.2'
|
34
|
+
gem 'reek', '~> 1.3.1'
|
35
|
+
gem 'metric_fu-roodi', '~> 2.2.1'
|
36
|
+
gem 'yardstick', '~> 0.9.3', :git => 'https://github.com/dkubb/yardstick.git'
|
38
37
|
|
39
38
|
platforms :ruby_18, :ruby_19 do
|
40
39
|
# this indirectly depends on ffi which does not build on ruby-head
|
@@ -42,7 +41,7 @@ group :metrics do
|
|
42
41
|
end
|
43
42
|
|
44
43
|
platforms :mri_19, :rbx do
|
45
|
-
|
44
|
+
gem 'mutant', '~> 0.2.17'
|
46
45
|
end
|
47
46
|
|
48
47
|
platforms :mri_19 do
|
data/abstract_type.gemspec
CHANGED
@@ -15,8 +15,9 @@ Gem::Specification.new do |gem|
|
|
15
15
|
gem.test_files = `git ls-files -- spec/unit`.split($/)
|
16
16
|
gem.extra_rdoc_files = %w[LICENSE README.md TODO]
|
17
17
|
|
18
|
-
gem.add_runtime_dependency('backports', '~>
|
18
|
+
gem.add_runtime_dependency('backports', [ '~> 3.0', '>= 3.0.3' ])
|
19
19
|
|
20
20
|
gem.add_development_dependency('rake', '~> 10.0.3')
|
21
|
-
gem.add_development_dependency('rspec', '~>
|
21
|
+
gem.add_development_dependency('rspec', '~> 2.12.0')
|
22
|
+
gem.add_development_dependency('yard', '~> 0.8.5')
|
22
23
|
end
|
data/lib/abstract_type.rb
CHANGED
@@ -45,7 +45,7 @@ module AbstractType
|
|
45
45
|
#
|
46
46
|
# @example
|
47
47
|
# class Foo
|
48
|
-
# include
|
48
|
+
# include AbstractType
|
49
49
|
#
|
50
50
|
# # Create an abstract instance method
|
51
51
|
# abstract_method :some_method
|
@@ -65,7 +65,7 @@ module AbstractType
|
|
65
65
|
#
|
66
66
|
# @example
|
67
67
|
# class Foo
|
68
|
-
# include
|
68
|
+
# include AbstractType
|
69
69
|
#
|
70
70
|
# # Create an abstract instance method
|
71
71
|
# abstract_singleton_method :some_method
|
@@ -114,4 +114,4 @@ module AbstractType
|
|
114
114
|
end
|
115
115
|
|
116
116
|
end # module ClassMethods
|
117
|
-
end # module
|
117
|
+
end # module AbstractType
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: abstract_type
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-03-01 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: backports
|
@@ -18,7 +18,10 @@ dependencies:
|
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version:
|
21
|
+
version: '3.0'
|
22
|
+
- - ! '>='
|
23
|
+
- !ruby/object:Gem::Version
|
24
|
+
version: 3.0.3
|
22
25
|
type: :runtime
|
23
26
|
prerelease: false
|
24
27
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -26,7 +29,10 @@ dependencies:
|
|
26
29
|
requirements:
|
27
30
|
- - ~>
|
28
31
|
- !ruby/object:Gem::Version
|
29
|
-
version:
|
32
|
+
version: '3.0'
|
33
|
+
- - ! '>='
|
34
|
+
- !ruby/object:Gem::Version
|
35
|
+
version: 3.0.3
|
30
36
|
- !ruby/object:Gem::Dependency
|
31
37
|
name: rake
|
32
38
|
requirement: !ruby/object:Gem::Requirement
|
@@ -50,7 +56,23 @@ dependencies:
|
|
50
56
|
requirements:
|
51
57
|
- - ~>
|
52
58
|
- !ruby/object:Gem::Version
|
53
|
-
version:
|
59
|
+
version: 2.12.0
|
60
|
+
type: :development
|
61
|
+
prerelease: false
|
62
|
+
version_requirements: !ruby/object:Gem::Requirement
|
63
|
+
none: false
|
64
|
+
requirements:
|
65
|
+
- - ~>
|
66
|
+
- !ruby/object:Gem::Version
|
67
|
+
version: 2.12.0
|
68
|
+
- !ruby/object:Gem::Dependency
|
69
|
+
name: yard
|
70
|
+
requirement: !ruby/object:Gem::Requirement
|
71
|
+
none: false
|
72
|
+
requirements:
|
73
|
+
- - ~>
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: 0.8.5
|
54
76
|
type: :development
|
55
77
|
prerelease: false
|
56
78
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -58,7 +80,7 @@ dependencies:
|
|
58
80
|
requirements:
|
59
81
|
- - ~>
|
60
82
|
- !ruby/object:Gem::Version
|
61
|
-
version:
|
83
|
+
version: 0.8.5
|
62
84
|
description: Module to declare abstract classes and methods
|
63
85
|
email:
|
64
86
|
- dan.kubb@gmail.com
|
@@ -120,7 +142,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
120
142
|
version: '0'
|
121
143
|
requirements: []
|
122
144
|
rubyforge_project:
|
123
|
-
rubygems_version: 1.8.
|
145
|
+
rubygems_version: 1.8.23
|
124
146
|
signing_key:
|
125
147
|
specification_version: 3
|
126
148
|
summary: Module to declare abstract classes and methods
|