use 1.3.3 → 1.4.0

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
- SHA1:
3
- metadata.gz: 5cc4ebf5e672d9172d6f5d8186cc103db14df3b8
4
- data.tar.gz: 56617771d511b621577cbf9636a80c39356c79ee
2
+ SHA256:
3
+ metadata.gz: 1d50a37c0e3b6cbfe5e77016d5793c72ea77dc750247eefbe6884ccf49b4ab7a
4
+ data.tar.gz: d00189cc5ccab9f283682e7d387eb3df27ce2e2dd05c2fd97d10794801223589
5
5
  SHA512:
6
- metadata.gz: 90fae6e4aa251b1df17116f960c9f69bbc6d89bcd7882ed3e9c04ed258a3cc87072c7b659038defc9527ec3832742cf1f30377b0dbdfc504195f258c969f28b4
7
- data.tar.gz: 57595675316a3979ad8e8940dc9404061250e433f89f732cc03abbb59991f4d964927715871620dbf3cc80a57c38a3dc8f3ea1e33a87f773b149f478982ed49a
6
+ metadata.gz: 565131064b4d05ccd920be0f82a8b5b25e36167680783b183f57264ed3e0a86cc22420ab8b0aa2e3620eb32c395582dadd4fe8402aa33f9b7d34c8927228e6e8
7
+ data.tar.gz: 76442a405e520607d37d9ac2d7d0a3d514d472dc261a1c8d4467c2bdf05c520fdd505e249d14e025c77abdf3f2ea57f00adb98c03f31fa8af47ec759e2af9b64
Binary file
Binary file
data/CHANGES CHANGED
@@ -1,3 +1,11 @@
1
+ == 1.4.0 - 4-Feb-2019
2
+ * Change the license to Apache 2.0.
3
+ * The USE_VERSION constant is now frozen.
4
+ * Updated the structured_warnings dependency, and apply related changes.
5
+ * Updated the gemspec license and depedencies, and added metadata.
6
+ * Rakefile now assumes Rubygems 2 or later.
7
+ * This gem is now signed.
8
+
1
9
  == 1.3.3 - 12-Oct-2014
2
10
  * Rakefile, gemspec and README updates.
3
11
  * Fixed an unused variable warning.
data/MANIFEST CHANGED
@@ -3,6 +3,7 @@
3
3
  * README
4
4
  * Rakefile
5
5
  * use.gemspec
6
+ * certs/djberg96_pub.pem
6
7
  * examples/example_use.rb
7
8
  * lib/use.rb
8
9
  * test/test_use.rb
data/README CHANGED
@@ -1,60 +1,53 @@
1
1
  == Description
2
- The 'use' library allows you to selectively mixin methods from a given
3
- module and alias them on the fly if desired.
2
+ The 'use' library allows you to selectively mixin methods from a given
3
+ module and alias them on the fly if desired.
4
4
 
5
5
  == Prerequisites
6
- Ruby 1.8.0 or later
7
- structured_warnings 0.1.1 or later
6
+ structured_warnings 0.3.0 or later
8
7
 
9
8
  == Installation
10
- === Standard
11
- rake test (optional)
12
- rake install
13
-
14
- === Gem install
15
- rake test (optional)
16
- rake install_gem
9
+ gem install use
17
10
 
18
11
  == Synopsis
19
- require 'use'
12
+ require 'use'
20
13
 
21
- module Foo
22
- def bar
23
- puts "hello"
24
- end
25
- def baz
26
- puts "world"
27
- end
28
- end
14
+ module Foo
15
+ def bar
16
+ puts "hello"
17
+ end
18
+ def baz
19
+ puts "world"
20
+ end
21
+ end
29
22
 
30
- module Test
31
- def bar
32
- puts "goodbye"
33
- end
34
- def blah
35
- puts "new york"
36
- end
37
- end
23
+ module Test
24
+ def bar
25
+ puts "goodbye"
26
+ end
27
+ def blah
28
+ puts "new york"
29
+ end
30
+ end
38
31
 
39
- class Zap
40
- use Foo, :bar
41
- use Test, :blah
42
- end
32
+ class Zap
33
+ use Foo, :bar
34
+ use Test, :blah
35
+ end
43
36
 
44
- z = Zap.new
37
+ z = Zap.new
45
38
 
46
- z.bar # => "hello"
47
- z.blah # => "new york"
48
- z.baz # => NoMethodError
39
+ z.bar # => "hello"
40
+ z.blah # => "new york"
41
+ z.baz # => NoMethodError
49
42
 
50
- # Using the new keywords
51
- class MyKlass
52
- use Foo, :alias => {:bar => :test}
53
- end
43
+ # Using the new keywords
44
+ class MyKlass
45
+ use Foo, :alias => {:bar => :test}
46
+ end
54
47
 
55
- m = MyKlass.new
56
- m.test # => "hello"
57
- m.bar # => NoMethodError
48
+ m = MyKlass.new
49
+ m.test # => "hello"
50
+ m.bar # => NoMethodError
58
51
 
59
52
  == Constants
60
53
  USE_VERSION
@@ -75,18 +68,13 @@ USE_VERSION
75
68
  bug in Ruby 1.9.x and can be ignored.
76
69
 
77
70
  If you find any bugs please log them on the project page at
78
- http://www.rubyforge.org/projects/shards.
71
+ https://github.com/djberg96/use
79
72
 
80
- == Questions?
81
- Please post your comment or question on one of the forums on the project
82
- page at http://www.rubyforge.org/projects/shards. Just click the 'Forums'
83
- link.
84
-
85
73
  == License
86
- Artistic 2.0
74
+ Apache-2.0
87
75
 
88
76
  == Copyright
89
- (C) 2005-2009, Daniel J. Berger
77
+ (C) 2005-2019, Daniel J. Berger
90
78
  All Rights Reserved
91
79
 
92
80
  == Author
data/Rakefile CHANGED
@@ -7,13 +7,10 @@ CLEAN.include("**/*.gem", "**/*.rbc", "**/*.rbx")
7
7
  namespace :gem do
8
8
  desc "Create the use gem"
9
9
  task :create => [:clean] do
10
+ require 'rubygems/package'
10
11
  spec = eval(IO.read('use.gemspec'))
11
- if Gem::VERSION < "2.0"
12
- Gem::Builder.new(spec).build
13
- else
14
- require 'rubygems/package'
15
- Gem::Package.build(spec)
16
- end
12
+ spec.signing_key = File.join(Dir.home, '.ssh', 'gem-private_key.pem')
13
+ Gem::Package.build(spec, true)
17
14
  end
18
15
 
19
16
  desc "Install the use gem"
@@ -0,0 +1,26 @@
1
+ -----BEGIN CERTIFICATE-----
2
+ MIIEcDCCAtigAwIBAgIBATANBgkqhkiG9w0BAQsFADA/MREwDwYDVQQDDAhkamJl
3
+ cmc5NjEVMBMGCgmSJomT8ixkARkWBWdtYWlsMRMwEQYKCZImiZPyLGQBGRYDY29t
4
+ MB4XDTE4MDMxODE1MjIwN1oXDTI4MDMxNTE1MjIwN1owPzERMA8GA1UEAwwIZGpi
5
+ ZXJnOTYxFTATBgoJkiaJk/IsZAEZFgVnbWFpbDETMBEGCgmSJomT8ixkARkWA2Nv
6
+ bTCCAaIwDQYJKoZIhvcNAQEBBQADggGPADCCAYoCggGBALgfaroVM6CI06cx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xWRRkfuh2VeR7cEU7L7KqT10mtUwrvw7APf
23
+ DYoeCY9KyjIBjQXfbj2ke5u1hZj94Fsq9FfbEQg8ygCgwThnmkTrrKEiMSs3alYR
24
+ ORVCZpRuCPpmC8qmqxUnARDArzucjaclkxjLWvCVHeFa9UP7K3Nl9oTjJNv+7/jM
25
+ WZs4eecIcUc4tKdHxcAJ0MO/Dkqq7hGaiHpwKY76wQ1+8xAh
26
+ -----END CERTIFICATE-----
data/lib/use.rb CHANGED
@@ -2,13 +2,12 @@ require 'structured_warnings'
2
2
 
3
3
  unless defined? MethodRedefinedWarning
4
4
  # Warning raised in $VERBOSE mode if a method is shadowed.
5
- class MethodRedefinedWarning < Warning
6
- end
5
+ class MethodRedefinedWarning < StructuredWarnings::Base; end
7
6
  end
8
7
 
9
8
  class Class
10
9
  # The version of the 'use' library
11
- USE_VERSION = '1.3.3'
10
+ USE_VERSION = '1.4.0'.freeze
12
11
 
13
12
  # Allows you to include mixins in a fine grained manner. Instead of
14
13
  # including all methods from a given module, you can can instead mixin
@@ -19,32 +18,35 @@ class Class
19
18
  #
20
19
  # # Defines a 'bar' and 'baz' method
21
20
  # module Alpha
22
- # def bar
23
- # puts 'hello'
24
- # end
25
- # def baz
26
- # puts 'world'
27
- # end
21
+ # def bar
22
+ # puts 'hello'
23
+ # end
24
+ #
25
+ # def baz
26
+ # puts 'world'
27
+ # end
28
28
  # end
29
29
  #
30
30
  # # Defines a 'bar', 'blah', and 'zap' methods
31
31
  # module Beta
32
- # def bar
33
- # puts 'goodbye'
34
- # end
35
- # def blah
36
- # puts 'new york'
37
- # end
38
- # def zap
39
- # puts 'zap'
40
- # end
32
+ # def bar
33
+ # puts 'goodbye'
34
+ # end
35
+ #
36
+ # def blah
37
+ # puts 'new york'
38
+ # end
39
+ #
40
+ # def zap
41
+ # puts 'zap'
42
+ # end
41
43
  # end
42
44
  #
43
45
  # # From the Alpha module, only mixin the 'bar' method. From the Beta
44
46
  # # module exclude the 'bar' and 'zap' methods.
45
47
  # class Zap
46
- # use Alpha, :bar
47
- # use Beta, :exclude => [:bar, :zap]
48
+ # use Alpha, :bar
49
+ # use Beta, :exclude => [:bar, :zap]
48
50
  # end
49
51
  #
50
52
  # z = Zap.new
@@ -56,7 +58,7 @@ class Class
56
58
  #
57
59
  # # Alias a method on the fly
58
60
  # class MyKlass
59
- # use Alpha, :alias => {:bar, :test}
61
+ # use Alpha, :alias => {:bar, :test}
60
62
  # end
61
63
  #
62
64
  # m = MyKlass.new
@@ -10,104 +10,105 @@ require 'sample_data'
10
10
  require 'test/unit'
11
11
 
12
12
  class TC_Use < Test::Unit::TestCase
13
- def setup
14
- @a = ClassA.new
15
- @b = ClassB.new
16
- @c = ClassC.new
17
- @d = ClassD.new
18
- @e = ClassE.new
19
- end
20
-
21
- # Convert symbols to strings for 1.9.x
22
- def assert_methods(array, methods)
23
- methods = methods.map{ |m| m.to_s }
24
- assert_equal(array, methods)
25
- end
26
-
27
- def test_version
28
- assert_equal('1.3.3', Class::USE_VERSION)
29
- end
30
-
31
- def test_mod_a_methods
32
- assert_methods(['meth_a', 'meth_b', 'meth_c'], ModA.instance_methods.sort)
33
- end
34
-
35
- def test_mod_b_methods
36
- assert_methods(['meth_a', 'meth_b', 'meth_c'], ModB.instance_methods.sort)
37
- end
38
-
39
- def test_mod_c_methods
40
- assert_methods(['meth_x', 'meth_y', 'meth_z'], ModC.instance_methods.sort)
41
- end
42
-
43
- def test_mod_d_methods
44
- assert_methods(['meth_a', 'meth_b'], ModD.instance_methods.sort)
45
- end
46
-
47
- def test_class_a_methods
48
- assert_respond_to(@a, :meth_a)
49
- assert_equal('ModA#meth_a', @a.meth_a)
50
- end
51
-
52
- def test_class_a_expected_errors
53
- assert_raise(NoMethodError){ @a.meth_b }
54
- assert_raise(NoMethodError){ @a.meth_c }
55
- end
56
-
57
- def test_class_b_methods
58
- assert_respond_to(@b, :meth_c)
59
- assert_respond_to(@b, :meth_z)
60
- assert_equal('ModA#meth_c', @b.meth_c)
61
- assert_equal('ModB#meth_b', @b.meth_z)
62
- end
63
-
64
- def test_class_b_expected_errors
65
- assert_raise(NoMethodError){ @b.meth_a }
66
- assert_raise(NoMethodError){ @b.meth_b }
67
- end
68
-
69
- def test_class_c_methods
70
- assert_respond_to(@c, :meth_a)
71
- assert_respond_to(@c, :meth_c)
72
- assert_respond_to(@c, :meth_x)
73
- assert_respond_to(@c, :meth_y)
74
- assert_respond_to(@c, :meth_z)
75
-
76
- assert_equal('ModA#meth_a', @c.meth_a)
77
- assert_equal('ClassC#meth_c', @c.meth_c)
78
- assert_equal('ModC#meth_x', @c.meth_x)
79
- assert_equal('ModC#meth_y', @c.meth_y)
80
- assert_equal('ModC#meth_z', @c.meth_z)
81
- end
82
-
83
- def test_class_c_expected_errors
84
- assert_raise(NoMethodError){ @c.meth_b }
85
- end
86
-
87
- def test_class_d_methods
88
- assert_respond_to(@d, :meth_x)
89
- assert_respond_to(@d, :meth_z)
90
-
91
- assert_equal('ModA#meth_a', @d.meth_x)
92
- assert_equal('ModA#meth_c', @d.meth_z)
93
- end
94
-
95
- def test_class_d_expected_errors
96
- assert_raise(NoMethodError){ @d.meth_a }
97
- assert_raise(NoMethodError){ @d.meth_b }
98
- assert_raise(NoMethodError){ @d.meth_c }
99
- end
100
-
101
- def test_class_e_methods
102
- assert_respond_to(@e, :meth_a)
103
- assert_respond_to(@e, :meth_b)
104
- end
105
-
106
- def teardown
107
- @a = nil
108
- @b = nil
109
- @c = nil
110
- @d = nil
111
- @e = nil
112
- end
13
+ def setup
14
+ @a = ClassA.new
15
+ @b = ClassB.new
16
+ @c = ClassC.new
17
+ @d = ClassD.new
18
+ @e = ClassE.new
19
+ end
20
+
21
+ # Convert symbols to strings for 1.9.x
22
+ def assert_methods(array, methods)
23
+ methods = methods.map{ |m| m.to_s }
24
+ assert_equal(array, methods)
25
+ end
26
+
27
+ def test_version
28
+ assert_equal('1.4.0', Class::USE_VERSION)
29
+ assert_true(Class::USE_VERSION.frozen?)
30
+ end
31
+
32
+ def test_mod_a_methods
33
+ assert_methods(['meth_a', 'meth_b', 'meth_c'], ModA.instance_methods.sort)
34
+ end
35
+
36
+ def test_mod_b_methods
37
+ assert_methods(['meth_a', 'meth_b', 'meth_c'], ModB.instance_methods.sort)
38
+ end
39
+
40
+ def test_mod_c_methods
41
+ assert_methods(['meth_x', 'meth_y', 'meth_z'], ModC.instance_methods.sort)
42
+ end
43
+
44
+ def test_mod_d_methods
45
+ assert_methods(['meth_a', 'meth_b'], ModD.instance_methods.sort)
46
+ end
47
+
48
+ def test_class_a_methods
49
+ assert_respond_to(@a, :meth_a)
50
+ assert_equal('ModA#meth_a', @a.meth_a)
51
+ end
52
+
53
+ def test_class_a_expected_errors
54
+ assert_raise(NoMethodError){ @a.meth_b }
55
+ assert_raise(NoMethodError){ @a.meth_c }
56
+ end
57
+
58
+ def test_class_b_methods
59
+ assert_respond_to(@b, :meth_c)
60
+ assert_respond_to(@b, :meth_z)
61
+ assert_equal('ModA#meth_c', @b.meth_c)
62
+ assert_equal('ModB#meth_b', @b.meth_z)
63
+ end
64
+
65
+ def test_class_b_expected_errors
66
+ assert_raise(NoMethodError){ @b.meth_a }
67
+ assert_raise(NoMethodError){ @b.meth_b }
68
+ end
69
+
70
+ def test_class_c_methods
71
+ assert_respond_to(@c, :meth_a)
72
+ assert_respond_to(@c, :meth_c)
73
+ assert_respond_to(@c, :meth_x)
74
+ assert_respond_to(@c, :meth_y)
75
+ assert_respond_to(@c, :meth_z)
76
+
77
+ assert_equal('ModA#meth_a', @c.meth_a)
78
+ assert_equal('ClassC#meth_c', @c.meth_c)
79
+ assert_equal('ModC#meth_x', @c.meth_x)
80
+ assert_equal('ModC#meth_y', @c.meth_y)
81
+ assert_equal('ModC#meth_z', @c.meth_z)
82
+ end
83
+
84
+ def test_class_c_expected_errors
85
+ assert_raise(NoMethodError){ @c.meth_b }
86
+ end
87
+
88
+ def test_class_d_methods
89
+ assert_respond_to(@d, :meth_x)
90
+ assert_respond_to(@d, :meth_z)
91
+
92
+ assert_equal('ModA#meth_a', @d.meth_x)
93
+ assert_equal('ModA#meth_c', @d.meth_z)
94
+ end
95
+
96
+ def test_class_d_expected_errors
97
+ assert_raise(NoMethodError){ @d.meth_a }
98
+ assert_raise(NoMethodError){ @d.meth_b }
99
+ assert_raise(NoMethodError){ @d.meth_c }
100
+ end
101
+
102
+ def test_class_e_methods
103
+ assert_respond_to(@e, :meth_a)
104
+ assert_respond_to(@e, :meth_b)
105
+ end
106
+
107
+ def teardown
108
+ @a = nil
109
+ @b = nil
110
+ @c = nil
111
+ @d = nil
112
+ @e = nil
113
+ end
113
114
  end
@@ -1,26 +1,35 @@
1
1
  require 'rubygems'
2
2
 
3
- Gem::Specification.new do |gem|
4
- gem.name = 'use'
5
- gem.version = '1.3.3'
6
- gem.author = 'Daniel J. Berger'
7
- gem.license = 'Artistic 2.0'
8
- gem.email = 'djberg96@gmail.com'
9
- gem.homepage = 'https://github.com/djberg96/use'
10
- gem.summary = 'Selectively mixin methods from a given module'
11
- gem.test_file = 'test/test_use.rb'
12
- gem.files = Dir['**/*'].reject{ |f| f.include?('git') }
3
+ Gem::Specification.new do |spec|
4
+ spec.name = 'use'
5
+ spec.version = '1.4.0'
6
+ spec.author = 'Daniel J. Berger'
7
+ spec.license = 'Apache-2.0'
8
+ spec.email = 'djberg96@gmail.com'
9
+ spec.homepage = 'https://github.com/djberg96/use'
10
+ spec.summary = 'Selectively mixin methods from a given module'
11
+ spec.test_file = 'test/test_use.rb'
12
+ spec.files = Dir['**/*'].reject{ |f| f.include?('git') }
13
+ spec.cert_chain = ['certs/djberg96_pub.pem']
13
14
 
14
- gem.extra_rdoc_files = ['MANIFEST', 'README', 'CHANGES']
15
+ spec.extra_rdoc_files = ['MANIFEST', 'README', 'CHANGES']
15
16
 
16
- gem.add_dependency('structured_warnings', '>= 0.1.1')
17
- gem.add_development_dependency('rake')
17
+ spec.add_dependency('structured_warnings', '~> 0.3.0')
18
+ spec.add_development_dependency('rake')
18
19
 
19
- gem.description = <<-EOF
20
+ spec.metadata = {
21
+ 'homepage_uri' => 'https://github.com/djberg96/use',
22
+ 'bug_tracker_uri' => 'https://github.com/djberg96/use/issues',
23
+ 'changelog_uri' => 'https://github.com/djberg96/use/blob/master/CHANGES',
24
+ 'documentation_uri' => 'https://github.com/djberg96/use/wiki',
25
+ 'source_code_uri' => 'https://github.com/djberg96/use',
26
+ 'wiki_uri' => 'https://github.com/djberg96/use/wiki'
27
+ }
28
+
29
+ spec.description = <<-EOF
20
30
  The use library solves the multi-mixin problem by allowing you to
21
- selectively mixin specific methods from a module rather than mixing
22
- in all of them. In addition, you can alias methods on the fly as they
23
- are mixed in, effectively allowing you to change the name of the mixin
24
- method.
31
+ selectively mixin specific methods from a module rather than mixing in
32
+ all of them. In addition, you can alias methods on the fly as they are
33
+ mixed in, effectively allowing you to change the name of the mixin method.
25
34
  EOF
26
35
  end
metadata CHANGED
@@ -1,29 +1,56 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: use
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.3
4
+ version: 1.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel J. Berger
8
8
  autorequire:
9
9
  bindir: bin
10
- cert_chain: []
11
- date: 2014-10-12 00:00:00.000000000 Z
10
+ cert_chain:
11
+ - |
12
+ -----BEGIN CERTIFICATE-----
13
+ MIIEcDCCAtigAwIBAgIBATANBgkqhkiG9w0BAQsFADA/MREwDwYDVQQDDAhkamJl
14
+ cmc5NjEVMBMGCgmSJomT8ixkARkWBWdtYWlsMRMwEQYKCZImiZPyLGQBGRYDY29t
15
+ MB4XDTE4MDMxODE1MjIwN1oXDTI4MDMxNTE1MjIwN1owPzERMA8GA1UEAwwIZGpi
16
+ ZXJnOTYxFTATBgoJkiaJk/IsZAEZFgVnbWFpbDETMBEGCgmSJomT8ixkARkWA2Nv
17
+ bTCCAaIwDQYJKoZIhvcNAQEBBQADggGPADCCAYoCggGBALgfaroVM6CI06cxr0/h
18
+ A+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R7cEU7L7KqT10mtUwrvw7APf
34
+ DYoeCY9KyjIBjQXfbj2ke5u1hZj94Fsq9FfbEQg8ygCgwThnmkTrrKEiMSs3alYR
35
+ ORVCZpRuCPpmC8qmqxUnARDArzucjaclkxjLWvCVHeFa9UP7K3Nl9oTjJNv+7/jM
36
+ WZs4eecIcUc4tKdHxcAJ0MO/Dkqq7hGaiHpwKY76wQ1+8xAh
37
+ -----END CERTIFICATE-----
38
+ date:
12
39
  dependencies:
13
40
  - !ruby/object:Gem::Dependency
14
41
  name: structured_warnings
15
42
  requirement: !ruby/object:Gem::Requirement
16
43
  requirements:
17
- - - ">="
44
+ - - "~>"
18
45
  - !ruby/object:Gem::Version
19
- version: 0.1.1
46
+ version: 0.3.0
20
47
  type: :runtime
21
48
  prerelease: false
22
49
  version_requirements: !ruby/object:Gem::Requirement
23
50
  requirements:
24
- - - ">="
51
+ - - "~>"
25
52
  - !ruby/object:Gem::Version
26
- version: 0.1.1
53
+ version: 0.3.0
27
54
  - !ruby/object:Gem::Dependency
28
55
  name: rake
29
56
  requirement: !ruby/object:Gem::Requirement
@@ -40,10 +67,9 @@ dependencies:
40
67
  version: '0'
41
68
  description: |2
42
69
  The use library solves the multi-mixin problem by allowing you to
43
- selectively mixin specific methods from a module rather than mixing
44
- in all of them. In addition, you can alias methods on the fly as they
45
- are mixed in, effectively allowing you to change the name of the mixin
46
- method.
70
+ selectively mixin specific methods from a module rather than mixing in
71
+ all of them. In addition, you can alias methods on the fly as they are
72
+ mixed in, effectively allowing you to change the name of the mixin method.
47
73
  email: djberg96@gmail.com
48
74
  executables: []
49
75
  extensions: []
@@ -53,18 +79,29 @@ extra_rdoc_files:
53
79
  - CHANGES
54
80
  files:
55
81
  - CHANGES
56
- - MANIFEST
57
- - README
58
- - Rakefile
59
- - examples/example_use.rb
60
- - lib/use.rb
82
+ - test
61
83
  - test/sample_data.rb
62
84
  - test/test_use.rb
85
+ - examples
86
+ - examples/example_use.rb
63
87
  - use.gemspec
88
+ - README
89
+ - Rakefile
90
+ - MANIFEST
91
+ - lib
92
+ - lib/use.rb
93
+ - certs
94
+ - certs/djberg96_pub.pem
64
95
  homepage: https://github.com/djberg96/use
65
96
  licenses:
66
- - Artistic 2.0
67
- metadata: {}
97
+ - Apache-2.0
98
+ metadata:
99
+ homepage_uri: https://github.com/djberg96/use
100
+ bug_tracker_uri: https://github.com/djberg96/use/issues
101
+ changelog_uri: https://github.com/djberg96/use/blob/master/CHANGES
102
+ documentation_uri: https://github.com/djberg96/use/wiki
103
+ source_code_uri: https://github.com/djberg96/use
104
+ wiki_uri: https://github.com/djberg96/use/wiki
68
105
  post_install_message:
69
106
  rdoc_options: []
70
107
  require_paths:
@@ -80,8 +117,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
80
117
  - !ruby/object:Gem::Version
81
118
  version: '0'
82
119
  requirements: []
83
- rubyforge_project:
84
- rubygems_version: 2.4.2
120
+ rubygems_version: 3.0.2
85
121
  signing_key:
86
122
  specification_version: 4
87
123
  summary: Selectively mixin methods from a given module
Binary file