Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 30 lines (22 sloc) 1.248 kb
c8a7a75 Kirill Lashuk Fix 'already initialized constant VERSION' warning on 1.8.7.
KL-7 authored
1 $:.unshift File.join(File.dirname(__FILE__), 'lib')
2 require 'twitter_cldr/version'
d08023c Fixing gem package task, moving version into version.rb instead of versi...
Cameron Dutro authored
3
5fc211e Cameron Dutro Beginning the cldr gem
camertron authored
4 Gem::Specification.new do |s|
ba54b06 Kirill Lashuk Include only versioned files in gemspec.
KL-7 authored
5 s.name = "twitter_cldr"
6 s.version = ::TwitterCldr::VERSION
7 s.authors = ["Cameron Dutro"]
8 s.email = ["cdutro@twitter.com"]
5fc211e Cameron Dutro Beginning the cldr gem
camertron authored
9 s.homepage = "http://twitter.com"
ba54b06 Kirill Lashuk Include only versioned files in gemspec.
KL-7 authored
10
1cfb0d9 Removing javascript compiler stuff, which has been moved to twitter-cldr...
Cameron Dutro authored
11 s.description = s.summary = "Ruby implementation of the ICU (International Components for Unicode) that uses the Common Locale Data Repository to format dates, plurals, and more."
5fc211e Cameron Dutro Beginning the cldr gem
camertron authored
12
13 s.platform = Gem::Platform::RUBY
14 s.has_rdoc = true
1cfb0d9 Removing javascript compiler stuff, which has been moved to twitter-cldr...
Cameron Dutro authored
15 s.summary = "Ruby implementation of the ICU (International Components for Unicode) that uses the Common Locale Data Repository to format dates, plurals, and more."
5fc211e Cameron Dutro Beginning the cldr gem
camertron authored
16
c72f114 Removing any version requirements for the json gem
Cameron Dutro authored
17 s.add_dependency 'json'
4594f0b Cameron Dutro Switching to eprun
camertron authored
18 s.add_dependency 'camertron-eprun'
22ef5f1 Adding better timezone formatting support for dates/times
Cameron Dutro authored
19 s.add_dependency 'tzinfo'
8735081 Cameron Dutro Upgrading plurals to CLDR v26
camertron authored
20 s.add_dependency 'cldr-plurals-runtime-rb', '~> 1.0.0'
3825038 Beginning to add js support, dates done
Cameron Dutro authored
21
5fc211e Cameron Dutro Beginning the cldr gem
camertron authored
22 s.require_path = 'lib'
ba54b06 Kirill Lashuk Include only versioned files in gemspec.
KL-7 authored
23
5112166 Removing other vestiges of js stuff
Cameron Dutro authored
24 gem_files = Dir["{lib,spec,resources}/**/*", "Gemfile", "History.txt", "LICENSE", "NOTICE", "README.md", "Rakefile", "twitter_cldr.gemspec"]
861d220 Kirill Lashuk Add normalization and collation tests.
KL-7 authored
25 excluded_files = %w[spec/collation/CollationTest_CLDR_NON_IGNORABLE.txt spec/normalization/NormalizationTest.txt]
062d452 Kirill Lashuk Add History.txt and gemspec to gemspec.
KL-7 authored
26 versioned_files = `git ls-files`.split("\n")
ba54b06 Kirill Lashuk Include only versioned files in gemspec.
KL-7 authored
27
861d220 Kirill Lashuk Add normalization and collation tests.
KL-7 authored
28 s.files = (gem_files - excluded_files) & versioned_files
5fc211e Cameron Dutro Beginning the cldr gem
camertron authored
29 end
Something went wrong with that request. Please try again.