final 0.1.1 → 0.1.2

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: db9d405e492365ffcfbddb948a4fe57279f155be
4
- data.tar.gz: fe09146e242204e13bf2d1f27e8ff3cda1d3cacc
3
+ metadata.gz: 74e90ae0756b6c5ceb85e641004d9b12486154a0
4
+ data.tar.gz: fdb9202004dc43bce79e85d8ce5334bff29db698
5
5
  SHA512:
6
- metadata.gz: 5ed4bdce5008219ef68232a66e7801be4f24903a13b6154be4bc35e53381e05c3513bffc1a6dedb3fee7e694da99cb113767fa1caea41d51566cca05a1809d7a
7
- data.tar.gz: ba9e7f30a8a76c0d18fe4627d55b7d9cd16da9925b7283b298ec607e4e36004b7849442c32301db544339b14c51630c90d08648343f68db99c17a8c41d4d5155
6
+ metadata.gz: 3601bc8d86e20a8231d998d09d7d9e223bb2d92595e5aa3377213bab136c0c2bed46b3b7b0fd8c911bb522b3c2a7e366be99f1df823b6ec97d7852d6c8076e48
7
+ data.tar.gz: e3ee64b6e34b0b468a702426a7d262f6fe4c6a8a7ad385208d0ffd441640ea596890cb6b0943e8a1afa03974b4063ff38d350a80906c963c524169780872f556
Binary file
Binary file
data/CHANGES CHANGED
@@ -1,3 +1,7 @@
1
+ == 0.1.2 - 6-Dec-2015
2
+ * This gem is now signed.
3
+ * The gem related tasks in the Rakefile now assume Rubygems 2.x.
4
+
1
5
  == 0.1.1 - 8-Oct-2014
2
6
  * Updated gemspec, removed references to RubyForge, etc.
3
7
  * Updated Rakefile for Rubygems 2.x.
data/MANIFEST CHANGED
@@ -3,5 +3,6 @@
3
3
  * MANIFEST
4
4
  * Rakefile
5
5
  * final.gemspec
6
+ * certs/djberg96_pub.pem
6
7
  * lib/final.rb
7
8
  * test/test_final.rb
data/README CHANGED
@@ -2,6 +2,9 @@
2
2
  A Ruby module that can make your classes final. A final class cannot
3
3
  be subclassed, and its instance methods cannot be redefined.
4
4
 
5
+ = Installation
6
+ gem install final
7
+
5
8
  = Synopsis
6
9
  require 'final'
7
10
 
@@ -50,8 +53,8 @@
50
53
  Artistic 2.0
51
54
 
52
55
  = Copyright
53
- (C) 2003-2014 Daniel J. Berger
54
- All Rights Reserved.`
56
+ (C) 2003-2015 Daniel J. Berger
57
+ All Rights Reserved.
55
58
 
56
59
  = Warranty
57
60
  This package is provided "as is" and without any express or
data/Rakefile CHANGED
@@ -7,13 +7,10 @@ CLEAN.include('**/*.gem', '**/*.rbc')
7
7
  namespace :gem do
8
8
  desc 'Build the final gem'
9
9
  task :create => [:clean] do
10
+ require 'rubygems/package'
10
11
  spec = eval(IO.read('final.gemspec'))
11
- if Gem::VERSION.to_f < 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 final gem"
@@ -0,0 +1,21 @@
1
+ -----BEGIN CERTIFICATE-----
2
+ MIIDcDCCAligAwIBAgIBATANBgkqhkiG9w0BAQUFADA/MREwDwYDVQQDDAhkamJl
3
+ cmc5NjEVMBMGCgmSJomT8ixkARkWBWdtYWlsMRMwEQYKCZImiZPyLGQBGRYDY29t
4
+ MB4XDTE1MDkwMjIwNDkxOFoXDTE2MDkwMTIwNDkxOFowPzERMA8GA1UEAwwIZGpi
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+xMB0GA1UdEQQWMBSBEmRqYmVyZzk2QGdtYWlsLmNv
14
+ bTAdBgNVHRIEFjAUgRJkamJlcmc5NkBnbWFpbC5jb20wDQYJKoZIhvcNAQEFBQAD
15
+ ggEBAHmNOCWoDVD75zHFueY0viwGDVP1BNGFC+yXcb7u2GlK+nEMCORqzURbYPf7
16
+ tL+/hzmePIRz7i30UM//64GI1NLv9jl7nIwjhPpXpf7/lu2I9hOTsvwSumb5UiKC
17
+ /sqBxI3sfj9pr79Wpv4MuikX1XPik7Ncb7NPsJPw06Lvyc3Hkg5X2XpPtLtS+Gr2
18
+ wKJnmzb5rIPS1cmsqv0M9LPWflzfwoZ/SpnmhagP+g05p8bRNKjZSA2iImM/GyYZ
19
+ EJYzxdPOrx2n6NYR3Hk+vHP0U7UBSveI6+qx+ndQYaeyCn+GRX2PKS9h66YF/Q1V
20
+ tGSHgAmcLlkdGgan182qsE/4kKM=
21
+ -----END CERTIFICATE-----
@@ -2,7 +2,7 @@ require 'rubygems'
2
2
 
3
3
  Gem::Specification.new do |gem|
4
4
  gem.name = 'final'
5
- gem.version = '0.1.1'
5
+ gem.version = '0.1.2'
6
6
  gem.license = 'Artistic 2.0'
7
7
  gem.author = 'Daniel J. Berger'
8
8
  gem.email = 'djberg96@gmail.com'
@@ -10,6 +10,7 @@ Gem::Specification.new do |gem|
10
10
  gem.summary = "An implementation of 'final' for Ruby"
11
11
  gem.test_files = Dir['test/test*']
12
12
  gem.files = Dir['**/*'].reject{ |f| f.include?('git') }
13
+ gem.cert_chain = Dir['certs/*']
13
14
 
14
15
  gem.extra_rdoc_files = ['README', 'CHANGES', 'MANIFEST']
15
16
 
@@ -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.1'
9
+ VERSION = '0.1.2'
10
10
 
11
11
  def self.included(mod)
12
12
  # Store already defined methods.
@@ -4,8 +4,7 @@
4
4
  # Test suite for the final library.
5
5
  ########################################################################
6
6
  require 'rubygems'
7
- gem 'test-unit'
8
- require 'test/unit'
7
+ require 'test-unit'
9
8
  require 'final'
10
9
 
11
10
  class TC_Final < Test::Unit::TestCase
@@ -19,7 +18,7 @@ class TC_Final < Test::Unit::TestCase
19
18
  end
20
19
 
21
20
  test "version constant returns expected version number" do
22
- assert_equal('0.1.1', Final::VERSION)
21
+ assert_equal('0.1.2', Final::VERSION)
23
22
  end
24
23
 
25
24
  test "final class cannot be subclassed" do
metadata CHANGED
@@ -1,14 +1,36 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: final
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
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-08 00:00:00.000000000 Z
10
+ cert_chain:
11
+ - |
12
+ -----BEGIN CERTIFICATE-----
13
+ MIIDcDCCAligAwIBAgIBATANBgkqhkiG9w0BAQUFADA/MREwDwYDVQQDDAhkamJl
14
+ cmc5NjEVMBMGCgmSJomT8ixkARkWBWdtYWlsMRMwEQYKCZImiZPyLGQBGRYDY29t
15
+ MB4XDTE1MDkwMjIwNDkxOFoXDTE2MDkwMTIwNDkxOFowPzERMA8GA1UEAwwIZGpi
16
+ ZXJnOTYxFTATBgoJkiaJk/IsZAEZFgVnbWFpbDETMBEGCgmSJomT8ixkARkWA2Nv
17
+ bTC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Gem::Dependency
14
36
  name: rake
@@ -49,12 +71,16 @@ extra_rdoc_files:
49
71
  - CHANGES
50
72
  - MANIFEST
51
73
  files:
74
+ - certs
75
+ - certs/djberg96_pub.pem
52
76
  - CHANGES
53
- - MANIFEST
54
- - README
55
- - Rakefile
56
77
  - final.gemspec
78
+ - lib
57
79
  - lib/final.rb
80
+ - MANIFEST
81
+ - Rakefile
82
+ - README
83
+ - test
58
84
  - test/test_final.rb
59
85
  homepage: https://github.com/djberg96/final
60
86
  licenses:
@@ -76,7 +102,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
76
102
  version: '0'
77
103
  requirements: []
78
104
  rubyforge_project:
79
- rubygems_version: 2.2.2
105
+ rubygems_version: 2.4.8
80
106
  signing_key:
81
107
  specification_version: 4
82
108
  summary: An implementation of 'final' for Ruby
Binary file