24 lines
536 B
Ruby
24 lines
536 B
Ruby
|
#encoding: utf-8
|
|||
|
|
|||
|
require('json')
|
|||
|
package = JSON.parse(File.read('package.json'))
|
|||
|
|
|||
|
gemspec = Gem::Specification.new do |s|
|
|||
|
s.name = 'react-source'
|
|||
|
s.version = package['version']
|
|||
|
s.license = 'Apache-2.0'
|
|||
|
|
|||
|
s.homepage = 'https://github.com/facebook/react.js'
|
|||
|
s.summary = 'Ruby bridge to JSX & the React JavaScript library.'
|
|||
|
|
|||
|
s.authors = ['Paul O’Shannessy']
|
|||
|
s.email = ['paul@oshannessy.com']
|
|||
|
|
|||
|
s.files = Dir[
|
|||
|
'build/react.js',
|
|||
|
'build/react.min.js',
|
|||
|
'build/JSXTransformer.js',
|
|||
|
'lib/react/source.rb'
|
|||
|
]
|
|||
|
end
|