final 0.1.2 → 0.2.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: 74e90ae0756b6c5ceb85e641004d9b12486154a0
4
- data.tar.gz: fdb9202004dc43bce79e85d8ce5334bff29db698
2
+ SHA256:
3
+ metadata.gz: 1b93d8a7c971a39f6974a9d4c44cc85e89040846ea7ad0aa3f4d484563052c5e
4
+ data.tar.gz: cd157058e6783c7a24cc73a0dcce5fd044e62256380a50b75b3e8440dfb619c5
5
5
  SHA512:
6
- metadata.gz: 3601bc8d86e20a8231d998d09d7d9e223bb2d92595e5aa3377213bab136c0c2bed46b3b7b0fd8c911bb522b3c2a7e366be99f1df823b6ec97d7852d6c8076e48
7
- data.tar.gz: e3ee64b6e34b0b468a702426a7d262f6fe4c6a8a7ad385208d0ffd441640ea596890cb6b0943e8a1afa03974b4063ff38d350a80906c963c524169780872f556
6
+ metadata.gz: 9e77f5f0aef6809cc057f66a4f46a4fc0e6713c3a147aff0101c61ef104128604d55a0b02d07e4222da4908242ae50153b6d4d12ff24fc34c75a8c50d1611eaf
7
+ data.tar.gz: b6a2b9161cdf24d1637f9f2c13d6fd3c2e8afc2fadef70f466cb723d6945420ab9a928b5815f79f39b90a66bec67df48040f4f2ffcf5df7f2067636ae7239b60
Binary file
data.tar.gz.sig CHANGED
Binary file
data/CHANGES CHANGED
@@ -1,3 +1,9 @@
1
+ == 0.2.0 - 8-Jan-2019
2
+ * Changed license to Apache-2.0.
3
+ * The VERSION constant is now FINAL_VERSION since this is a module.
4
+ * Added some metadata to the gemspec.
5
+ * Updated the cert, should be good for about 10 years.
6
+
1
7
  == 0.1.2 - 6-Dec-2015
2
8
  * This gem is now signed.
3
9
  * The gem related tasks in the Rakefile now assume Rubygems 2.x.
data/README CHANGED
@@ -50,10 +50,10 @@
50
50
  not final. This change may happen in a future release.
51
51
 
52
52
  = License
53
- Artistic 2.0
53
+ Apache-2.0
54
54
 
55
55
  = Copyright
56
- (C) 2003-2015 Daniel J. Berger
56
+ (C) 2003-2019 Daniel J. Berger
57
57
  All Rights Reserved.
58
58
 
59
59
  = Warranty
@@ -1,21 +1,26 @@
1
1
  -----BEGIN CERTIFICATE-----
2
- MIIDcDCCAligAwIBAgIBATANBgkqhkiG9w0BAQUFADA/MREwDwYDVQQDDAhkamJl
2
+ MIIEcDCCAtigAwIBAgIBATANBgkqhkiG9w0BAQsFADA/MREwDwYDVQQDDAhkamJl
3
3
  cmc5NjEVMBMGCgmSJomT8ixkARkWBWdtYWlsMRMwEQYKCZImiZPyLGQBGRYDY29t
4
- MB4XDTE1MDkwMjIwNDkxOFoXDTE2MDkwMTIwNDkxOFowPzERMA8GA1UEAwwIZGpi
4
+ MB4XDTE4MDMxODE1MjIwN1oXDTI4MDMxNTE1MjIwN1owPzERMA8GA1UEAwwIZGpi
5
5
  ZXJnOTYxFTATBgoJkiaJk/IsZAEZFgVnbWFpbDETMBEGCgmSJomT8ixkARkWA2Nv
6
- bTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMyTkvXqRp6hLs9eoJOS
7
- Hmi8kRYbq9Vkf15/hMxJpotYMgJVHHWrmDcC5Dye2PbnXjTkKf266Zw0PtT9h+lI
8
- S3ts9HO+vaCFSMwFFZmnWJSpQ3CNw2RcHxjWkk9yF7imEM8Kz9ojhiDXzBetdV6M
9
- gr0lV/alUr7TNVBDngbXEfTWscyXh1qd7xZ4EcOdsDktCe5G45N/o3662tPQvJsi
10
- FOF0CM/KuBsa/HL1/eoEmF4B3EKIRfTHrQ3hu20Kv3RJ88QM4ec2+0dd97uX693O
11
- zv6981fyEg+aXLkxrkViM/tz2qR2ZE0jPhHTREPYeMEgptRkTmWSKAuLVWrJEfgl
12
- DtkCAwEAAaN3MHUwCQYDVR0TBAIwADALBgNVHQ8EBAMCBLAwHQYDVR0OBBYEFEwe
13
- nn6bfJADmuIDiMSOzedOrL+xMB0GA1UdEQQWMBSBEmRqYmVyZzk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HRMEAjAAMAsGA1UdDwQEAwIEsDAdBgNVHQ4EFgQUFZsMapgzJimzsbaBG2Tm8j5e
16
+ AzgwHQYDVR0RBBYwFIESZGpiZXJnOTZAZ21haWwuY29tMB0GA1UdEgQWMBSBEmRq
17
+ YmVyZzk2QGdtYWlsLmNvbTANBgkqhkiG9w0BAQsFAAOCAYEAW2tnYixXQtKxgGXq
18
+ /3iSWG2bLwvxS4go3srO+aRXZHrFUMlJ5W0mCxl03aazxxKTsVVpZD8QZxvK91OQ
19
+ h9zr9JBYqCLcCVbr8SkmYCi/laxIZxsNE5YI8cC8vvlLI7AMgSfPSnn/Epq1GjGY
20
+ 6L1iRcEDtanGCIvjqlCXO9+BmsnCfEVehqZkQHeYczA03tpOWb6pon2wzvMKSsKH
21
+ ks0ApVdstSLz1kzzAqem/uHdG9FyXdbTAwH1G4ZPv69sQAFAOCgAqYmdnzedsQtE
22
+ 1LQfaQrx0twO+CZJPcRLEESjq8ScQxWRRkfuh2VeR7cEU7L7KqT10mtUwrvw7APf
23
+ DYoeCY9KyjIBjQXfbj2ke5u1hZj94Fsq9FfbEQg8ygCgwThnmkTrrKEiMSs3alYR
24
+ ORVCZpRuCPpmC8qmqxUnARDArzucjaclkxjLWvCVHeFa9UP7K3Nl9oTjJNv+7/jM
25
+ WZs4eecIcUc4tKdHxcAJ0MO/Dkqq7hGaiHpwKY76wQ1+8xAh
21
26
  -----END CERTIFICATE-----
@@ -1,24 +1,33 @@
1
1
  require 'rubygems'
2
2
 
3
- Gem::Specification.new do |gem|
4
- gem.name = 'final'
5
- gem.version = '0.1.2'
6
- gem.license = 'Artistic 2.0'
7
- gem.author = 'Daniel J. Berger'
8
- gem.email = 'djberg96@gmail.com'
9
- gem.homepage = 'https://github.com/djberg96/final'
10
- gem.summary = "An implementation of 'final' for Ruby"
11
- gem.test_files = Dir['test/test*']
12
- gem.files = Dir['**/*'].reject{ |f| f.include?('git') }
13
- gem.cert_chain = Dir['certs/*']
3
+ Gem::Specification.new do |spec|
4
+ spec.name = 'final'
5
+ spec.version = '0.2.0'
6
+ spec.license = 'Apache-2.0'
7
+ spec.author = 'Daniel J. Berger'
8
+ spec.email = 'djberg96@gmail.com'
9
+ spec.homepage = 'https://github.com/djberg96/final'
10
+ spec.summary = "An implementation of 'final' for Ruby"
11
+ spec.test_files = Dir['test/test*']
12
+ spec.files = Dir['**/*'].reject{ |f| f.include?('git') }
13
+ spec.cert_chain = Dir['certs/*']
14
14
 
15
- gem.extra_rdoc_files = ['README', 'CHANGES', 'MANIFEST']
15
+ spec.extra_rdoc_files = ['README', 'CHANGES', 'MANIFEST']
16
16
 
17
- gem.description = <<-EOF
17
+ spec.metadata = {
18
+ 'homepage_uri' => 'https://github.com/djberg96/final',
19
+ 'bug_tracker_uri' => 'https://github.com/djberg96/final/issues',
20
+ 'changelog_uri' => 'https://github.com/djberg96/final/blob/master/CHANGES',
21
+ 'documentation_uri' => 'https://github.com/djberg96/final/wiki',
22
+ 'source_code_uri' => 'https://github.com/djberg96/final',
23
+ 'wiki_uri' => 'https://github.com/djberg96/final/wiki'
24
+ }
25
+
26
+ spec.description = <<-EOF
18
27
  The final library enables you to declare your classes as final. This
19
28
  prevents your class from being subclassed or having its methods redefined.
20
29
  EOF
21
30
 
22
- gem.add_development_dependency('rake')
23
- gem.add_development_dependency('test-unit', '>= 2.2.0')
31
+ spec.add_development_dependency('rake')
32
+ spec.add_development_dependency('test-unit', '>= 2.2.0')
24
33
  end
@@ -6,7 +6,7 @@ module Final
6
6
  class Error < RuntimeError; end
7
7
 
8
8
  # The version of the final library.
9
- VERSION = '0.1.2'
9
+ FINAL_VERSION = '0.2.0'.freeze
10
10
 
11
11
  def self.included(mod)
12
12
  # Store already defined methods.
@@ -18,7 +18,8 @@ class TC_Final < Test::Unit::TestCase
18
18
  end
19
19
 
20
20
  test "version constant returns expected version number" do
21
- assert_equal('0.1.2', Final::VERSION)
21
+ assert_equal('0.2.0', Final::FINAL_VERSION)
22
+ assert_true(Final::FINAL_VERSION.frozen?)
22
23
  end
23
24
 
24
25
  test "final class cannot be subclassed" do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: final
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel J. Berger
@@ -10,27 +10,32 @@ bindir: bin
10
10
  cert_chain:
11
11
  - |
12
12
  -----BEGIN CERTIFICATE-----
13
- MIIDcDCCAligAwIBAgIBATANBgkqhkiG9w0BAQUFADA/MREwDwYDVQQDDAhkamJl
13
+ MIIEcDCCAtigAwIBAgIBATANBgkqhkiG9w0BAQsFADA/MREwDwYDVQQDDAhkamJl
14
14
  cmc5NjEVMBMGCgmSJomT8ixkARkWBWdtYWlsMRMwEQYKCZImiZPyLGQBGRYDY29t
15
- MB4XDTE1MDkwMjIwNDkxOFoXDTE2MDkwMTIwNDkxOFowPzERMA8GA1UEAwwIZGpi
15
+ MB4XDTE4MDMxODE1MjIwN1oXDTI4MDMxNTE1MjIwN1owPzERMA8GA1UEAwwIZGpi
16
16
  ZXJnOTYxFTATBgoJkiaJk/IsZAEZFgVnbWFpbDETMBEGCgmSJomT8ixkARkWA2Nv
17
- bTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMyTkvXqRp6hLs9eoJOS
18
- Hmi8kRYbq9Vkf15/hMxJpotYMgJVHHWrmDcC5Dye2PbnXjTkKf266Zw0PtT9h+lI
19
- S3ts9HO+vaCFSMwFFZmnWJSpQ3CNw2RcHxjWkk9yF7imEM8Kz9ojhiDXzBetdV6M
20
- gr0lV/alUr7TNVBDngbXEfTWscyXh1qd7xZ4EcOdsDktCe5G45N/o3662tPQvJsi
21
- FOF0CM/KuBsa/HL1/eoEmF4B3EKIRfTHrQ3hu20Kv3RJ88QM4ec2+0dd97uX693O
22
- zv6981fyEg+aXLkxrkViM/tz2qR2ZE0jPhHTREPYeMEgptRkTmWSKAuLVWrJEfgl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Cpu5slAipvxZ3ZkZpEXZFr3cIBtO1gFvQWW7E/Y3ijliWJS1GQFq
25
+ 058qERadHGu1yu1dojmFRo6W2KZvY9al2yIlbkpDrD5MYQIDAQABo3cwdTAJBgNV
26
+ HRMEAjAAMAsGA1UdDwQEAwIEsDAdBgNVHQ4EFgQUFZsMapgzJimzsbaBG2Tm8j5e
27
+ AzgwHQYDVR0RBBYwFIESZGpiZXJnOTZAZ21haWwuY29tMB0GA1UdEgQWMBSBEmRq
28
+ YmVyZzk2QGdtYWlsLmNvbTANBgkqhkiG9w0BAQsFAAOCAYEAW2tnYixXQtKxgGXq
29
+ /3iSWG2bLwvxS4go3srO+aRXZHrFUMlJ5W0mCxl03aazxxKTsVVpZD8QZxvK91OQ
30
+ h9zr9JBYqCLcCVbr8SkmYCi/laxIZxsNE5YI8cC8vvlLI7AMgSfPSnn/Epq1GjGY
31
+ 6L1iRcEDtanGCIvjqlCXO9+BmsnCfEVehqZkQHeYczA03tpOWb6pon2wzvMKSsKH
32
+ ks0ApVdstSLz1kzzAqem/uHdG9FyXdbTAwH1G4ZPv69sQAFAOCgAqYmdnzedsQtE
33
+ 1LQfaQrx0twO+CZJPcRLEESjq8ScQxWRRkfuh2VeR7cEU7L7KqT10mtUwrvw7APf
34
+ DYoeCY9KyjIBjQXfbj2ke5u1hZj94Fsq9FfbEQg8ygCgwThnmkTrrKEiMSs3alYR
35
+ ORVCZpRuCPpmC8qmqxUnARDArzucjaclkxjLWvCVHeFa9UP7K3Nl9oTjJNv+7/jM
36
+ WZs4eecIcUc4tKdHxcAJ0MO/Dkqq7hGaiHpwKY76wQ1+8xAh
32
37
  -----END CERTIFICATE-----
33
- date: 2015-12-06 00:00:00.000000000 Z
38
+ date: 2019-01-08 00:00:00.000000000 Z
34
39
  dependencies:
35
40
  - !ruby/object:Gem::Dependency
36
41
  name: rake
@@ -71,21 +76,27 @@ extra_rdoc_files:
71
76
  - CHANGES
72
77
  - MANIFEST
73
78
  files:
79
+ - test
80
+ - test/test_final.rb
81
+ - CHANGES
82
+ - MANIFEST
83
+ - README
84
+ - Rakefile
74
85
  - certs
75
86
  - certs/djberg96_pub.pem
76
- - CHANGES
77
- - final.gemspec
78
87
  - lib
79
88
  - lib/final.rb
80
- - MANIFEST
81
- - Rakefile
82
- - README
83
- - test
84
- - test/test_final.rb
89
+ - final.gemspec
85
90
  homepage: https://github.com/djberg96/final
86
91
  licenses:
87
- - Artistic 2.0
88
- metadata: {}
92
+ - Apache-2.0
93
+ metadata:
94
+ homepage_uri: https://github.com/djberg96/final
95
+ bug_tracker_uri: https://github.com/djberg96/final/issues
96
+ changelog_uri: https://github.com/djberg96/final/blob/master/CHANGES
97
+ documentation_uri: https://github.com/djberg96/final/wiki
98
+ source_code_uri: https://github.com/djberg96/final
99
+ wiki_uri: https://github.com/djberg96/final/wiki
89
100
  post_install_message:
90
101
  rdoc_options: []
91
102
  require_paths:
@@ -102,7 +113,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
102
113
  version: '0'
103
114
  requirements: []
104
115
  rubyforge_project:
105
- rubygems_version: 2.4.8
116
+ rubygems_version: 2.7.6
106
117
  signing_key:
107
118
  specification_version: 4
108
119
  summary: An implementation of 'final' for Ruby
metadata.gz.sig CHANGED
Binary file