Skip to content

Commit

Permalink
convert to gemspec
Browse files Browse the repository at this point in the history
  • Loading branch information
joenoon committed Sep 24, 2012
1 parent da9ef76 commit e85ace9
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 30 deletions.
30 changes: 0 additions & 30 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -1,30 +0,0 @@
require 'rake/gempackagetask'

Version = 1.2

GemSpec = Gem::Specification.new do |spec|
spec.name = 'motion-testflight'
spec.summary = 'TestFlight integration for RubyMotion projects'
spec.description = "motion-testflight allows RubyMotion projects to easily embed the TestFlight SDK and be submitted to the TestFlight platform."
spec.author = 'Laurent Sansonetti'
spec.email = '[email protected]'
spec.homepage = 'http://www.rubymotion.com'
spec.version = Version

files = []
files << 'README.rdoc'
files << 'LICENSE'
files.concat(Dir.glob('lib/**/*.rb'))
spec.files = files
end

Rake::GemPackageTask.new(GemSpec) do |pkg|
pkg.need_zip = false
pkg.need_tar = true
end

task :default => :gem

task :clean do
FileUtils.rm_rf 'pkg'
end
19 changes: 19 additions & 0 deletions motion-testflight.gemspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# -*- encoding: utf-8 -*-

Version = "1.2.1"

Gem::Specification.new do |spec|
spec.name = 'motion-testflight'
spec.summary = 'TestFlight integration for RubyMotion projects'
spec.description = "motion-testflight allows RubyMotion projects to easily embed the TestFlight SDK and be submitted to the TestFlight platform."
spec.author = 'Laurent Sansonetti'
spec.email = '[email protected]'
spec.homepage = 'http://www.rubymotion.com'
spec.version = Version

files = []
files << 'README.rdoc'
files << 'LICENSE'
files.concat(Dir.glob('lib/**/*.rb'))
spec.files = files
end

0 comments on commit e85ace9

Please sign in to comment.