file-temp 1.2.1 → 1.7.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: 2fb1391ce05c64e9f018206c3619e691cf2a0e1f
4
- data.tar.gz: ab155469cf49f1546b700d2d9aa874da22ae9d53
2
+ SHA256:
3
+ metadata.gz: 720ea1ce81f51967d708b7cff1756ec572337149a9312f38639654db1cb053ed
4
+ data.tar.gz: 5e2076ee4cc854a014789b26c1a21a520a1aa83af301de9e0e0677953da2c423
5
5
  SHA512:
6
- metadata.gz: 749a21db42342082d475e25025c496ea6ad5df1cb3965fdff3610b3a08ebc9e6c341ca863e3469c4b09056caa7ba05ce24aee2c9e3ddad7c1f47f53fd1cf31b2
7
- data.tar.gz: 4349528879f6f62311bdfabee5cc2fe5fb30f3a194694809b3cfe53f46d7fd9ce9a48dc98475b7b1b85da1020f04e6d1429eac1f34c2ab084ce97eeef0af0540
6
+ metadata.gz: fe66533b78b824b96cb75e03632ef5dc94ee4df4bedbb1f717d1fdb0c3a00bcd8b768bdc645d6453fd4b8ba5ff5ea739a38d128c472d9da95fc14f1cd5b104ec
7
+ data.tar.gz: 249034641f45d4523ea15ee6c64195fdae53ec0727305bd11fed655463c2a89dbb92510f1c281bdadd3357039777b15255f35da7d08f756ed6d5241d5689acba
@@ -0,0 +1 @@
1
+ �U�'_��C*�dJ���,�چ�W{=�"�U ,G�'+7$T*�ӛ�e����-���a8�� ����������1Gl����o��O�$�ԧ�y;7)S�:i]�R�q���Сlސ��W�/t�1�gu=�ˠ��o� �w�q��Q�e������{�2�a�s,F��; �%�RC�l��v�r|��_�U?]g'�1B�e4e��.��=��1 h&� �Ļr�iP��Y�gzb�R��0�(��Y}���҆*�� �9�9���E�w�R���󿒽��߽����>ڟ��u ���:5�^ �|}�dS򛍑HI!D�/<f���8�pX�8ZT��Jf����w�m����}���:�N���
Binary file
@@ -1,3 +1,36 @@
1
+ = 1.7.0 - 1-Jul-2020
2
+ * Replaced test-unit with rspec, and updated the tests.
3
+ * Updated ffi dependency to 1.1.x.
4
+ * Removed some archiving options from the Rakefile that I wasn't using.
5
+
6
+ = 1.6.0 - 9-May-2020
7
+ * Added an +options+ argument that is passed along as options to the the
8
+ underlying File.new constructor.
9
+
10
+ = 1.5.0 - 8-May-2020
11
+ * Switched to keyword arguments.
12
+ * Added the ability to specify a tmp directory.
13
+ * Updates to the JRuby version, removed some code that no longer worked, and
14
+ added support for specifying your own directory.
15
+ * Added a LICENSE file to the distro as part of the Apache-2.0 requirement.
16
+ * Added explicit .rdoc extensions to the README, CHANGES and MANIFEST files.
17
+
18
+ = 1.4.0 - 12-Oct-2019
19
+ * Changed license to Apache-2.0.
20
+ * VERSION constant now lives in a single place, and is frozen.
21
+ * Added metadata to the gemspec.
22
+ * Updated cert.
23
+
24
+ = 1.3.0 - 9-Apr-2016
25
+ * This gem is now signed.
26
+ * Added a file-temp.rb file for convenience.
27
+ * The gem tasks in the Rakefile now assume Rubygems 2.x.
28
+ * Some gemspec updates, removed rubyforge_project, added a cert.
29
+ * Skip one test on OSX since it's an issue with the underlying C function.
30
+ * Reorganized internal directory layout so Windows, Unix and Java versions
31
+ are each in their own directory and have their own versions for ease
32
+ of maintenance.
33
+
1
34
  = 1.2.1 - 17-Feb-2014
2
35
  * There is now a completely separate implementation for JRuby that uses the
3
36
  Java API instead of C. It uses a GUID to create the temporary file name
data/LICENSE ADDED
@@ -0,0 +1,177 @@
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
@@ -0,0 +1,13 @@
1
+ * CHANGES
2
+ * LICENSE
3
+ * MANIFEST
4
+ * README
5
+ * Rakefile
6
+ * file-temp.gemspec
7
+ * certs/djberg96_pub.pem
8
+ * lib/file-temp.rb
9
+ * lib/file/temp.rb
10
+ * lib/file/java/temp.rb
11
+ * lib/file/unix/temp.rb
12
+ * lib/file/windows/temp.rb
13
+ * spec/file_temp_spec.rb
@@ -0,0 +1,66 @@
1
+ == Description
2
+ The file-temp library is an alternate way to handle tempfile generation.
3
+
4
+ == Requirements
5
+ * ffi 1.1.0 or later
6
+
7
+ == Installation
8
+ gem install file-temp
9
+
10
+ == Synopsis
11
+ require 'file/temp'
12
+
13
+ fh = File::Temp.new
14
+ fh.puts "hello"
15
+ fh.close # => Tempfile automatically deleted
16
+
17
+ fh = File::Temp.new(delete: false)
18
+ fh.puts "world"
19
+ fh.close # => Tempfile still on your filesystem
20
+
21
+ == Motivation
22
+ Unlike the tempfile library that ships with Ruby's standard library, this
23
+ library uses your system's native +tmpfile+ or +mkstemp+ functions.
24
+
25
+ This library is also more secure because it restricts file permission via
26
+ +umask+ for files created with +mkstemp+.
27
+
28
+ Finally, this library subclasses the File class. This means you get almost
29
+ exactly the same interface as the File class. The only difference is the
30
+ constructor.
31
+
32
+ Note that my original motivation was a problem with race conditions in
33
+ the tempfile library, but that was a very long time ago, and my assumption
34
+ at this point is that it's no longer true. But, I still prefer this version
35
+ to the one in the Ruby standard library.
36
+
37
+ == JRuby
38
+ The implementation for JRuby uses the Java API, not the C API. The
39
+ temporary file name generated by Java is different than the C version,
40
+ since it uses a GUID instead of the 'XXXXXX' template, but the
41
+ interface is otherwise identical.
42
+
43
+ == MS Windows
44
+ You may need to use the mingw build in order to use this library.
45
+
46
+ Also, there was a bug with the +GetTempFileName+ function on certain versions
47
+ of MS Windows that may cause a failure. However, if you'r patched up you
48
+ should not see it.
49
+
50
+ == License
51
+ Apache-2.0
52
+
53
+ == Copyright
54
+ (C) 2007-2020 Daniel J. Berger
55
+ All Rights Reserved
56
+
57
+ == Warranty
58
+ This library is provided "as is" and without any express or
59
+ implied warranties, including, without limitation, the implied
60
+ warranties of merchantability and fitness for a particular purpose.
61
+
62
+ == Author
63
+ Daniel J. Berger
64
+
65
+ == See also
66
+ tmpfile(), mkstemp(), tmpnam()
data/Rakefile CHANGED
@@ -1,6 +1,6 @@
1
1
  require 'rake'
2
2
  require 'rake/clean'
3
- require 'rake/testtask'
3
+ require 'rspec/core/rake_task'
4
4
 
5
5
  CLEAN.include('**/*.tar', '**/*.zip', '**/*.gz', '**/*.bz2')
6
6
  CLEAN.include('**/*.rbc', '**/*.gem', '**/*.tmp')
@@ -8,59 +8,20 @@ CLEAN.include('**/*.rbc', '**/*.gem', '**/*.tmp')
8
8
  namespace 'gem' do
9
9
  desc 'Create the file-temp gem'
10
10
  task :create => [:clean] do
11
+ require 'rubygems/package'
11
12
  spec = eval(IO.read('file-temp.gemspec'))
12
- if Gem::VERSION < "2.0"
13
- Gem::Builder.new(spec).build
14
- else
15
- require 'rubygems/package'
16
- Gem::Package.build(spec)
17
- end
13
+ spec.signing_key = File.join(Dir.home, '.ssh', 'gem-private_key.pem')
14
+ Gem::Package.build(spec, true)
18
15
  end
19
16
 
20
17
  desc 'Install the file-temp gem'
21
18
  task :install => [:create] do
22
19
  file = Dir["*.gem"].first
23
- sh "gem install #{file}"
20
+ sh "gem install -l #{file}"
24
21
  end
25
22
  end
26
23
 
27
- # Export the contents of the library to an archive. Note that this requires
28
- # presence of the .gitattributes file in order to prevent the .git contents
29
- # from being included.
30
- #
31
- # It also appears that I must add a trailing slash to the prefix manually.
32
- # As of git 1.6.4.3 it does not automaticaly add it, despite what the docs
33
- # say.
34
- #
35
- namespace 'export' do
36
- spec = eval(IO.read('file-temp.gemspec'))
37
- file = 'file-temp-' + spec.version.to_s
38
- pref = file + '/' # Git does not add the trailing slash, despite what the docs say.
24
+ desc 'Run the test suite for the file-temp library'
25
+ RSpec::Core::RakeTask.new(:spec)
39
26
 
40
- desc 'Export to a .tar.gz file'
41
- task :gzip => [:clean] do
42
- file += '.tar'
43
- sh "git archive --prefix #{pref} --output #{file} master"
44
- sh "gzip #{file}"
45
- end
46
-
47
- desc 'Export to a .tar.bz2 file'
48
- task :bzip2 => [:clean] do
49
- file += '.tar'
50
- sh "git archive --prefix #{pref} --output #{file} master"
51
- sh "bzip2 -f #{file}"
52
- end
53
-
54
- desc 'Export to a .zip file'
55
- task :zip => [:clean] do
56
- file += '.zip'
57
- sh "git archive --prefix #{pref} --output #{file} --format zip master"
58
- end
59
- end
60
-
61
- Rake::TestTask.new do |t|
62
- t.verbose = true
63
- t.warning = true
64
- end
65
-
66
- task :default => :test
27
+ task :default => :spec
@@ -0,0 +1,26 @@
1
+ -----BEGIN CERTIFICATE-----
2
+ MIIEcDCCAtigAwIBAgIBATANBgkqhkiG9w0BAQsFADA/MREwDwYDVQQDDAhkamJl
3
+ cmc5NjEVMBMGCgmSJomT8ixkARkWBWdtYWlsMRMwEQYKCZImiZPyLGQBGRYDY29t
4
+ MB4XDTE4MDMxODE1MjIwN1oXDTI4MDMxNTE1MjIwN1owPzERMA8GA1UEAwwIZGpi
5
+ ZXJnOTYxFTATBgoJkiaJk/IsZAEZFgVnbWFpbDETMBEGCgmSJomT8ixkARkWA2Nv
6
+ bTCCAaIwDQYJKoZIhvcNAQEBBQADggGPADCCAYoCggGBALgfaroVM6CI06cxr0/h
7
+ A+j+pc8fgpRgBVmHFaFunq28GPC3IvW7Nvc3Y8SnAW7pP1EQIbhlwRIaQzJ93/yj
8
+ u95KpkP7tA9erypnV7dpzBkzNlX14ACaFD/6pHoXoe2ltBxk3CCyyzx70mTqJpph
9
+ 75IB03ni9a8yqn8pmse+s83bFJOAqddSj009sGPcQO+QOWiNxqYv1n5EHcvj2ebO
10
+ 6hN7YTmhx7aSia4qL/quc4DlIaGMWoAhvML7u1fmo53CYxkKskfN8MOecq2vfEmL
11
+ iLu+SsVVEAufMDDFMXMJlvDsviolUSGMSNRTujkyCcJoXKYYxZSNtIiyd9etI0X3
12
+ ctu0uhrFyrMZXCedutvXNjUolD5r9KGBFSWH1R9u2I3n3SAyFF2yzv/7idQHLJJq
13
+ 74BMnx0FIq6fCpu5slAipvxZ3ZkZpEXZFr3cIBtO1gFvQWW7E/Y3ijliWJS1GQFq
14
+ 058qERadHGu1yu1dojmFRo6W2KZvY9al2yIlbkpDrD5MYQIDAQABo3cwdTAJBgNV
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
26
+ -----END CERTIFICATE-----
@@ -1,24 +1,32 @@
1
1
  require 'rubygems'
2
2
 
3
3
  Gem::Specification.new do |spec|
4
- spec.name = 'file-temp'
5
- spec.version = '1.2.1'
6
- spec.author = 'Daniel J. Berger'
7
- spec.license = 'Artistic 2.0'
8
- spec.email = 'djberg96@gmail.com'
9
- spec.homepage = 'http://github.com/djberg96/file-temp'
10
- spec.summary = 'An alternative way to generate temp files'
11
- spec.test_file = 'test/test_file_temp.rb'
12
- spec.files = Dir['**/*'].delete_if{ |item| item.include?('git') }
4
+ spec.name = 'file-temp'
5
+ spec.version = '1.7.0'
6
+ spec.author = 'Daniel J. Berger'
7
+ spec.license = 'Apache-2.0'
8
+ spec.email = 'djberg96@gmail.com'
9
+ spec.homepage = 'http://github.com/djberg96/file-temp'
10
+ spec.summary = 'An alternative way to generate temp files'
11
+ spec.test_file = 'spec/file_temp_spec.rb'
12
+ spec.files = Dir['**/*'].delete_if{ |item| item.include?('git') }
13
+ spec.cert_chain = Dir['certs/*']
13
14
 
14
- spec.extra_rdoc_files = ['CHANGES', 'README', 'MANIFEST']
15
- spec.rubyforge_project = 'shards'
16
- spec.required_ruby_version = '>= 1.8.6'
15
+ spec.extra_rdoc_files = ['CHANGES.rdoc', 'README.rdoc', 'MANIFEST.rdoc']
17
16
 
18
- spec.add_dependency('ffi', '>= 1.0.0')
19
- spec.add_development_dependency('test-unit')
17
+ spec.add_dependency('ffi', '~> 1.1')
18
+ spec.add_development_dependency('rspec', '~> 3.9')
20
19
  spec.add_development_dependency('rake')
21
20
 
21
+ spec.metadata = {
22
+ 'homepage_uri' => 'https://github.com/djberg96/file-temp',
23
+ 'bug_tracker_uri' => 'https://github.com/djberg96/file-temp/issues',
24
+ 'changelog_uri' => 'https://github.com/djberg96/file-temp/blob/master/CHANGES',
25
+ 'documentation_uri' => 'https://github.com/djberg96/file-temp/wiki',
26
+ 'source_code_uri' => 'https://github.com/djberg96/file-temp',
27
+ 'wiki_uri' => 'https://github.com/djberg96/file-temp/wiki'
28
+ }
29
+
22
30
  spec.description = <<-EOF
23
31
  The file-temp library provides an alternative approach to generating
24
32
  temporary files. Features included improved security, a superior