teacup 2.1.13 → 2.1.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/teacup-ios/handler.rb +1 -1
- data/lib/teacup-osx/handler.rb +1 -1
- data/lib/teacup/calculations.rb +2 -2
- data/lib/teacup/core_extensions/view_getters.rb +2 -2
- data/lib/teacup/layout.rb +1 -1
- data/lib/teacup/stylesheet_extensions/constraints.rb +14 -2
- data/lib/teacup/teacup_controller.rb +1 -1
- data/lib/teacup/teacup_view.rb +3 -3
- data/lib/teacup/version.rb +1 -1
- data/spec/ios/calculations_spec.rb +5 -1
- data/spec/ios/layout_module_spec.rb +2 -2
- metadata +24 -79
- data/.gitignore +0 -8
- data/.travis.yml +0 -3
- data/CHANGES.md +0 -26
- data/Gemfile +0 -9
- data/Gemfile.lock +0 -18
- data/LICENSE +0 -26
- data/README.md +0 -1527
- data/Rakefile +0 -18
- data/resources/Default-568h@2x.png +0 -0
- data/samples/README.md +0 -15
- data/samples/ios/AutoLayout/Gemfile +0 -1
- data/samples/ios/AutoLayout/Gemfile.lock +0 -13
- data/samples/ios/AutoLayout/Rakefile +0 -13
- data/samples/ios/AutoLayout/app/app_delegate.rb +0 -12
- data/samples/ios/AutoLayout/app/root_controller.rb +0 -16
- data/samples/ios/AutoLayout/app/styles/root.rb +0 -29
- data/samples/ios/AutoLayout/lib/dummy.rb +0 -2
- data/samples/ios/AutoLayout/lib/handlers.rb +0 -3
- data/samples/ios/AutoLayout/lib/styles/base.rb +0 -33
- data/samples/ios/Hai/.gitignore +0 -5
- data/samples/ios/Hai/Gemfile +0 -1
- data/samples/ios/Hai/Gemfile.lock +0 -13
- data/samples/ios/Hai/Rakefile +0 -12
- data/samples/ios/Hai/app/app_delegate.rb +0 -9
- data/samples/ios/Hai/app/hai_controller.rb +0 -13
- data/samples/ios/Hai/app/styles/iphone.rb +0 -47
- data/samples/ios/Hai/resources/Default-568h@2x.png +0 -0
- data/samples/ios/sweettea-example/Gemfile +0 -5
- data/samples/ios/sweettea-example/Gemfile.lock +0 -23
- data/samples/ios/sweettea-example/Rakefile +0 -11
- data/samples/ios/sweettea-example/app/app_delegate.rb +0 -43
- data/samples/ios/sweettea-example/resources/Default-568h@2x.png +0 -0
- data/samples/osx/Tweets/Gemfile +0 -1
- data/samples/osx/Tweets/Gemfile.lock +0 -13
- data/samples/osx/Tweets/README +0 -7
- data/samples/osx/Tweets/Rakefile +0 -10
- data/samples/osx/Tweets/app/app_delegate.rb +0 -18
- data/samples/osx/Tweets/app/data_parser.rb +0 -10
- data/samples/osx/Tweets/app/json_parser.rb +0 -12
- data/samples/osx/Tweets/app/main_window.rb +0 -99
- data/samples/osx/Tweets/app/menu.rb +0 -108
- data/samples/osx/Tweets/app/stylesheet.rb +0 -21
- data/samples/osx/Tweets/app/tweet.rb +0 -11
- data/samples/osx/Tweets/resources/Credits.rtf +0 -29
- data/samples/osx/simple/.gitignore +0 -1
- data/samples/osx/simple/Gemfile +0 -1
- data/samples/osx/simple/Gemfile.lock +0 -16
- data/samples/osx/simple/Rakefile +0 -9
- data/samples/osx/simple/app/app_delegate.rb +0 -21
- data/samples/osx/simple/app/controller.rb +0 -11
- data/samples/osx/simple/app/menu.rb +0 -108
- data/samples/osx/simple/app/window.rb +0 -12
- data/samples/osx/simple/resources/Credits.rtf +0 -29
- data/samples/osx/simple/resources/teacup.png +0 -0
- data/teacup.gemspec +0 -25
@@ -1,12 +0,0 @@
|
|
1
|
-
class MainWindowController < TeacupWindowController
|
2
|
-
|
3
|
-
layout do |view|
|
4
|
-
@table_view_controller = MainTableController.new
|
5
|
-
|
6
|
-
subview(@table_view_controller.view,
|
7
|
-
frame: [[10, 10], [460, 340]],
|
8
|
-
autoresizingMask: NSViewWidthSizable | NSViewHeightSizable,
|
9
|
-
)
|
10
|
-
end
|
11
|
-
|
12
|
-
end
|
@@ -1,29 +0,0 @@
|
|
1
|
-
{\rtf0\ansi{\fonttbl\f0\fswiss Helvetica;}
|
2
|
-
{\colortbl;\red255\green255\blue255;}
|
3
|
-
\paperw9840\paperh8400
|
4
|
-
\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural
|
5
|
-
|
6
|
-
\f0\b\fs24 \cf0 Engineering:
|
7
|
-
\b0 \
|
8
|
-
Some people\
|
9
|
-
\
|
10
|
-
|
11
|
-
\b Human Interface Design:
|
12
|
-
\b0 \
|
13
|
-
Some other people\
|
14
|
-
\
|
15
|
-
|
16
|
-
\b Testing:
|
17
|
-
\b0 \
|
18
|
-
Hopefully not nobody\
|
19
|
-
\
|
20
|
-
|
21
|
-
\b Documentation:
|
22
|
-
\b0 \
|
23
|
-
Whoever\
|
24
|
-
\
|
25
|
-
|
26
|
-
\b With special thanks to:
|
27
|
-
\b0 \
|
28
|
-
Mom\
|
29
|
-
}
|
Binary file
|
data/teacup.gemspec
DELETED
@@ -1,25 +0,0 @@
|
|
1
|
-
# -*- encoding: utf-8 -*-
|
2
|
-
require File.expand_path('../lib/teacup/version.rb', __FILE__)
|
3
|
-
|
4
|
-
Gem::Specification.new do |gem|
|
5
|
-
gem.name = 'teacup'
|
6
|
-
gem.version = Teacup::VERSION
|
7
|
-
gem.licenses = ['BSD']
|
8
|
-
|
9
|
-
gem.authors = ['the rubymotion community']
|
10
|
-
|
11
|
-
gem.description = <<-DESC
|
12
|
-
Teacup is a community-driven DSL for making CSS-like styling, and layouts for
|
13
|
-
complex and simple iOS apps with RubyMotion.
|
14
|
-
|
15
|
-
By aiming at making RubyMotion less tedious, Teacup makes RubyMotion feel like
|
16
|
-
interface builder, and work like a CSS stylesheet.
|
17
|
-
DESC
|
18
|
-
|
19
|
-
gem.summary = 'A community-driven DSL for creating user interfaces on iOS.'
|
20
|
-
gem.homepage = 'https://github.com/rubymotion/teacup'
|
21
|
-
|
22
|
-
gem.files = `git ls-files`.split($\).reject { |file| file =~ /^app\// }
|
23
|
-
gem.require_paths = ['lib']
|
24
|
-
gem.test_files = gem.files.grep(%r{^spec/})
|
25
|
-
end
|