teacup 2.1.13 → 2.1.14

Sign up to get free protection for your applications and to get access to all the features.
Files changed (67) hide show
  1. data/lib/teacup-ios/handler.rb +1 -1
  2. data/lib/teacup-osx/handler.rb +1 -1
  3. data/lib/teacup/calculations.rb +2 -2
  4. data/lib/teacup/core_extensions/view_getters.rb +2 -2
  5. data/lib/teacup/layout.rb +1 -1
  6. data/lib/teacup/stylesheet_extensions/constraints.rb +14 -2
  7. data/lib/teacup/teacup_controller.rb +1 -1
  8. data/lib/teacup/teacup_view.rb +3 -3
  9. data/lib/teacup/version.rb +1 -1
  10. data/spec/ios/calculations_spec.rb +5 -1
  11. data/spec/ios/layout_module_spec.rb +2 -2
  12. metadata +24 -79
  13. data/.gitignore +0 -8
  14. data/.travis.yml +0 -3
  15. data/CHANGES.md +0 -26
  16. data/Gemfile +0 -9
  17. data/Gemfile.lock +0 -18
  18. data/LICENSE +0 -26
  19. data/README.md +0 -1527
  20. data/Rakefile +0 -18
  21. data/resources/Default-568h@2x.png +0 -0
  22. data/samples/README.md +0 -15
  23. data/samples/ios/AutoLayout/Gemfile +0 -1
  24. data/samples/ios/AutoLayout/Gemfile.lock +0 -13
  25. data/samples/ios/AutoLayout/Rakefile +0 -13
  26. data/samples/ios/AutoLayout/app/app_delegate.rb +0 -12
  27. data/samples/ios/AutoLayout/app/root_controller.rb +0 -16
  28. data/samples/ios/AutoLayout/app/styles/root.rb +0 -29
  29. data/samples/ios/AutoLayout/lib/dummy.rb +0 -2
  30. data/samples/ios/AutoLayout/lib/handlers.rb +0 -3
  31. data/samples/ios/AutoLayout/lib/styles/base.rb +0 -33
  32. data/samples/ios/Hai/.gitignore +0 -5
  33. data/samples/ios/Hai/Gemfile +0 -1
  34. data/samples/ios/Hai/Gemfile.lock +0 -13
  35. data/samples/ios/Hai/Rakefile +0 -12
  36. data/samples/ios/Hai/app/app_delegate.rb +0 -9
  37. data/samples/ios/Hai/app/hai_controller.rb +0 -13
  38. data/samples/ios/Hai/app/styles/iphone.rb +0 -47
  39. data/samples/ios/Hai/resources/Default-568h@2x.png +0 -0
  40. data/samples/ios/sweettea-example/Gemfile +0 -5
  41. data/samples/ios/sweettea-example/Gemfile.lock +0 -23
  42. data/samples/ios/sweettea-example/Rakefile +0 -11
  43. data/samples/ios/sweettea-example/app/app_delegate.rb +0 -43
  44. data/samples/ios/sweettea-example/resources/Default-568h@2x.png +0 -0
  45. data/samples/osx/Tweets/Gemfile +0 -1
  46. data/samples/osx/Tweets/Gemfile.lock +0 -13
  47. data/samples/osx/Tweets/README +0 -7
  48. data/samples/osx/Tweets/Rakefile +0 -10
  49. data/samples/osx/Tweets/app/app_delegate.rb +0 -18
  50. data/samples/osx/Tweets/app/data_parser.rb +0 -10
  51. data/samples/osx/Tweets/app/json_parser.rb +0 -12
  52. data/samples/osx/Tweets/app/main_window.rb +0 -99
  53. data/samples/osx/Tweets/app/menu.rb +0 -108
  54. data/samples/osx/Tweets/app/stylesheet.rb +0 -21
  55. data/samples/osx/Tweets/app/tweet.rb +0 -11
  56. data/samples/osx/Tweets/resources/Credits.rtf +0 -29
  57. data/samples/osx/simple/.gitignore +0 -1
  58. data/samples/osx/simple/Gemfile +0 -1
  59. data/samples/osx/simple/Gemfile.lock +0 -16
  60. data/samples/osx/simple/Rakefile +0 -9
  61. data/samples/osx/simple/app/app_delegate.rb +0 -21
  62. data/samples/osx/simple/app/controller.rb +0 -11
  63. data/samples/osx/simple/app/menu.rb +0 -108
  64. data/samples/osx/simple/app/window.rb +0 -12
  65. data/samples/osx/simple/resources/Credits.rtf +0 -29
  66. data/samples/osx/simple/resources/teacup.png +0 -0
  67. 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
- }
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