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 +5 -5
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/CHANGES +6 -0
- data/README +2 -2
- data/certs/djberg96_pub.pem +22 -17
- data/final.gemspec +24 -15
- data/lib/final.rb +1 -1
- data/test/test_final.rb +2 -1
- metadata +40 -29
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 1b93d8a7c971a39f6974a9d4c44cc85e89040846ea7ad0aa3f4d484563052c5e
|
4
|
+
data.tar.gz: cd157058e6783c7a24cc73a0dcce5fd044e62256380a50b75b3e8440dfb619c5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9e77f5f0aef6809cc057f66a4f46a4fc0e6713c3a147aff0101c61ef104128604d55a0b02d07e4222da4908242ae50153b6d4d12ff24fc34c75a8c50d1611eaf
|
7
|
+
data.tar.gz: b6a2b9161cdf24d1637f9f2c13d6fd3c2e8afc2fadef70f466cb723d6945420ab9a928b5815f79f39b90a66bec67df48040f4f2ffcf5df7f2067636ae7239b60
|
checksums.yaml.gz.sig
CHANGED
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
data/certs/djberg96_pub.pem
CHANG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u1dojmFRo6W2KZvY9al2yIlbkpDrD5MYQIDAQABo3cwdTAJBgNV
|
15
|
+
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-----
|
data/final.gemspec
CHANGED
@@ -1,24 +1,33 @@
|
|
1
1
|
require 'rubygems'
|
2
2
|
|
3
|
-
Gem::Specification.new do |
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
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
|
-
|
15
|
+
spec.extra_rdoc_files = ['README', 'CHANGES', 'MANIFEST']
|
16
16
|
|
17
|
-
|
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
|
-
|
23
|
-
|
31
|
+
spec.add_development_dependency('rake')
|
32
|
+
spec.add_development_dependency('test-unit', '>= 2.2.0')
|
24
33
|
end
|
data/lib/final.rb
CHANGED
data/test/test_final.rb
CHANGED
@@ -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.
|
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.
|
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
|
-
|
13
|
+
MIIEcDCCAtigAwIBAgIBATANBgkqhkiG9w0BAQsFADA/MREwDwYDVQQDDAhkamJl
|
14
14
|
cmc5NjEVMBMGCgmSJomT8ixkARkWBWdtYWlsMRMwEQYKCZImiZPyLGQBGRYDY29t
|
15
|
-
|
15
|
+
MB4XDTE4MDMxODE1MjIwN1oXDTI4MDMxNTE1MjIwN1owPzERMA8GA1UEAwwIZGpi
|
16
16
|
ZXJnOTYxFTATBgoJkiaJk/IsZAEZFgVnbWFpbDETMBEGCgmSJomT8ixkARkWA2Nv
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
17
|
+
bTCCAaIwDQYJKoZIhvcNAQEBBQADggGPADCCAYoCggGBALgfaroVM6CI06cxr0/h
|
18
|
+
A+j+pc8fgpRgBVmHFaFunq28GPC3IvW7Nvc3Y8SnAW7pP1EQIbhlwRIaQzJ93/yj
|
19
|
+
u95KpkP7tA9erypnV7dpzBkzNlX14ACaFD/6pHoXoe2ltBxk3CCyyzx70mTqJpph
|
20
|
+
75IB03ni9a8yqn8pmse+s83bFJOAqddSj009sGPcQO+QOWiNxqYv1n5EHcvj2ebO
|
21
|
+
6hN7YTmhx7aSia4qL/quc4DlIaGMWoAhvML7u1fmo53CYxkKskfN8MOecq2vfEmL
|
22
|
+
iLu+SsVVEAufMDDFMXMJlvDsviolUSGMSNRTuj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
date:
|
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
|
-
-
|
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
|
-
-
|
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.
|
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
|