-
Notifications
You must be signed in to change notification settings - Fork 55
/
php-serialize.gemspec
28 lines (24 loc) · 962 Bytes
/
php-serialize.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
lib = File.expand_path("../lib", __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require "php/serialize/version"
Gem::Specification.new do |spec|
spec.name = "php-serialize"
spec.version = PHP::Serialize::VERSION
spec.license = "MIT"
spec.author = "Thomas Hurst"
spec.email = "tom@hur.st"
spec.summary = "Ruby analogs to PHP's serialize() and unserialize() functions"
spec.description = <<-EOF
This module provides two methods: PHP.serialize() and PHP.unserialize(), both
of which should be compatible with the similarly named functions in PHP.
It can also serialize and unserialize PHP sessions.
EOF
spec.files = Dir["lib/*.rb"]
spec.require_path = "lib/"
spec.homepage = "https://github.com/jqr/php-serialize"
spec.test_files = Dir["test/*_test.rb"]
spec.has_rdoc = true
spec.add_development_dependency "bundler", "~> 1.15"
spec.add_development_dependency "rake", "~> 10.0"
spec.required_ruby_version = '>= 2.4'
end