forked from rubymotion-community/sugarcube
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsugarcube.gemspec
34 lines (26 loc) · 1.23 KB
/
sugarcube.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
29
30
31
32
33
34
# -*- encoding: utf-8 -*-
require File.expand_path('../lib/sugarcube/version.rb', __FILE__)
Gem::Specification.new do |gem|
gem.name = 'sugarcube'
gem.version = SugarCube::Version
gem.email = ['[email protected]']
gem.authors = ['Colin Thomas-Arnold', 'Fusionbox']
gem.summary = %{Extensions for Ruby to make Rubymotion development more enjoyable, and hopefully more rubyesque!}
gem.description = <<-DESC
CocoaTouch/iOS is a *verbose* framework. These extensions hope to make
development in rubymotion more enjoyable by tacking "UI" methods onto the
base classes (String, Fixnum, Float). With sugarcube, you can create a
color from an integer or symbol, or create a UIFont or UIImage from a
string.
Some UI classes are opened up as well, like adding the '<<' operator to a
UIView instance, instead of view.addSubview(subview), you can use the more
idiomatic: view << subview.
DESC
gem.homepage = 'https://github.com/rubymotion/sugarcube'
gem.files = `git ls-files`.split($\)
gem.executables = gem.files.grep(%r{^bin/}).map { |f| File.basename(f) }
gem.test_files = gem.files.grep(%r{^spec/})
gem.require_paths = ['lib']
gem.add_dependency 'rake'
gem.add_development_dependency 'rspec'
end