motion-kit 0.11.2 → 0.12.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (36) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +15 -12
  3. data/lib/motion-kit-cocoa/constraints/{constraints_layout.rb → constraints_helpers.rb} +2 -2
  4. data/lib/motion-kit-cocoa/layouts/{cagradientlayer_layout.rb → cagradientlayer_helpers.rb} +3 -3
  5. data/lib/motion-kit-cocoa/layouts/{calayer_layout.rb → calayer_helpers.rb} +2 -2
  6. data/lib/motion-kit-cocoa/layouts/sugarcube_compat.rb +1 -1
  7. data/lib/motion-kit-ios/deprecated.rb +31 -0
  8. data/lib/motion-kit-ios/layouts/{constraints_layout.rb → constraints_helpers.rb} +2 -2
  9. data/lib/motion-kit-ios/layouts/{uibutton_layout.rb → uibutton_helpers.rb} +3 -3
  10. data/lib/motion-kit-ios/layouts/{uiview_layout.rb → uiview_helpers.rb} +2 -2
  11. data/lib/motion-kit-ios/layouts/uiview_layout_autoresizing.rb +2 -2
  12. data/lib/motion-kit-ios/layouts/uiview_layout_constraints.rb +2 -2
  13. data/lib/motion-kit-ios/layouts/uiview_layout_frame.rb +2 -2
  14. data/lib/motion-kit-ios/layouts/uiview_layout_gradient.rb +2 -2
  15. data/lib/motion-kit-osx/deprecated.rb +52 -0
  16. data/lib/motion-kit-osx/layouts/{constraints_layout.rb → constraints_helpers.rb} +2 -2
  17. data/lib/motion-kit-osx/layouts/nsmenu_extensions.rb +2 -2
  18. data/lib/motion-kit-osx/layouts/{nsmenu_layout.rb → nsmenu_helpers.rb} +2 -2
  19. data/lib/motion-kit-osx/layouts/nsmenuitem_extensions.rb +2 -2
  20. data/lib/motion-kit-osx/layouts/{nstablecolumn_layout.rb → nstablecolumn_helpers.rb} +2 -2
  21. data/lib/motion-kit-osx/layouts/{nstableview_layout.rb → nstableview_helpers.rb} +3 -3
  22. data/lib/motion-kit-osx/layouts/{nsview_layout.rb → nsview_helpers.rb} +2 -2
  23. data/lib/motion-kit-osx/layouts/nsview_layout_autoresizing.rb +2 -2
  24. data/lib/motion-kit-osx/layouts/nsview_layout_constraints.rb +2 -2
  25. data/lib/motion-kit-osx/layouts/nsview_layout_frame.rb +2 -2
  26. data/lib/motion-kit-osx/layouts/nswindow_frame.rb +2 -2
  27. data/lib/motion-kit-osx/layouts/{nswindow_layout.rb → nswindow_helpers.rb} +2 -2
  28. data/lib/motion-kit/layouts/base_layout.rb +1 -1
  29. data/lib/motion-kit/version.rb +1 -1
  30. data/spec/ios/layer_layout_spec.rb +3 -3
  31. data/spec/ios/layout_extensions_spec.rb +1 -1
  32. data/spec/osx/constraints_helpers/simple_constraints_spec.rb +166 -159
  33. data/spec/osx/menu_extensions_spec.rb +2 -2
  34. data/spec/osx/{constraints_helpers/table_view_spec.rb → table_view_spec.rb} +1 -1
  35. metadata +17 -17
  36. data/spec/osx/constraints_helper_spec.rb +0 -0
@@ -1,7 +1,7 @@
1
- describe 'NSMenuLayout extensions' do
1
+ describe 'NSMenuHelpers extensions' do
2
2
 
3
3
  before do
4
- @subject = MK::NSMenuLayout.new
4
+ @subject = MK::NSMenuHelpers.new
5
5
  end
6
6
 
7
7
  it 'should have an `app_name` method' do
@@ -1,4 +1,4 @@
1
- describe MotionKit::NSTableViewLayout do
1
+ describe MotionKit::NSTableViewHelpers do
2
2
 
3
3
  before do
4
4
  @layout = TestTableColumnLayout.new.build
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: motion-kit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.2
4
+ version: 0.12.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Colin T.A. Gray
@@ -50,36 +50,38 @@ files:
50
50
  - lib/motion-kit/version.rb
51
51
  - lib/motion-kit-cocoa/constraints/constraint.rb
52
52
  - lib/motion-kit-cocoa/constraints/constraint_placeholder.rb
53
- - lib/motion-kit-cocoa/constraints/constraints_layout.rb
53
+ - lib/motion-kit-cocoa/constraints/constraints_helpers.rb
54
54
  - lib/motion-kit-cocoa/constraints/constraints_target.rb
55
55
  - lib/motion-kit-cocoa/layouts/accessibility_compat.rb
56
- - lib/motion-kit-cocoa/layouts/cagradientlayer_layout.rb
57
- - lib/motion-kit-cocoa/layouts/calayer_layout.rb
56
+ - lib/motion-kit-cocoa/layouts/cagradientlayer_helpers.rb
57
+ - lib/motion-kit-cocoa/layouts/calayer_helpers.rb
58
58
  - lib/motion-kit-cocoa/layouts/sugarcube_compat.rb
59
+ - lib/motion-kit-ios/deprecated.rb
59
60
  - lib/motion-kit-ios/dummy.rb
60
61
  - lib/motion-kit-ios/ios_util.rb
61
- - lib/motion-kit-ios/layouts/constraints_layout.rb
62
+ - lib/motion-kit-ios/layouts/constraints_helpers.rb
62
63
  - lib/motion-kit-ios/layouts/layout_device.rb
63
64
  - lib/motion-kit-ios/layouts/layout_orientation.rb
64
- - lib/motion-kit-ios/layouts/uibutton_layout.rb
65
- - lib/motion-kit-ios/layouts/uiview_layout.rb
65
+ - lib/motion-kit-ios/layouts/uibutton_helpers.rb
66
+ - lib/motion-kit-ios/layouts/uiview_helpers.rb
66
67
  - lib/motion-kit-ios/layouts/uiview_layout_autoresizing.rb
67
68
  - lib/motion-kit-ios/layouts/uiview_layout_constraints.rb
68
69
  - lib/motion-kit-ios/layouts/uiview_layout_frame.rb
69
70
  - lib/motion-kit-ios/layouts/uiview_layout_gradient.rb
71
+ - lib/motion-kit-osx/deprecated.rb
70
72
  - lib/motion-kit-osx/dummy.rb
71
- - lib/motion-kit-osx/layouts/constraints_layout.rb
73
+ - lib/motion-kit-osx/layouts/constraints_helpers.rb
72
74
  - lib/motion-kit-osx/layouts/nsmenu_extensions.rb
73
- - lib/motion-kit-osx/layouts/nsmenu_layout.rb
75
+ - lib/motion-kit-osx/layouts/nsmenu_helpers.rb
74
76
  - lib/motion-kit-osx/layouts/nsmenuitem_extensions.rb
75
- - lib/motion-kit-osx/layouts/nstablecolumn_layout.rb
76
- - lib/motion-kit-osx/layouts/nstableview_layout.rb
77
- - lib/motion-kit-osx/layouts/nsview_layout.rb
77
+ - lib/motion-kit-osx/layouts/nstablecolumn_helpers.rb
78
+ - lib/motion-kit-osx/layouts/nstableview_helpers.rb
79
+ - lib/motion-kit-osx/layouts/nsview_helpers.rb
78
80
  - lib/motion-kit-osx/layouts/nsview_layout_autoresizing.rb
79
81
  - lib/motion-kit-osx/layouts/nsview_layout_constraints.rb
80
82
  - lib/motion-kit-osx/layouts/nsview_layout_frame.rb
81
83
  - lib/motion-kit-osx/layouts/nswindow_frame.rb
82
- - lib/motion-kit-osx/layouts/nswindow_layout.rb
84
+ - lib/motion-kit-osx/layouts/nswindow_helpers.rb
83
85
  - lib/motion-kit-osx/osx_util.rb
84
86
  - lib/motion-kit.rb
85
87
  - README.md
@@ -126,11 +128,9 @@ files:
126
128
  - spec/ios/uitextfield_spec.rb
127
129
  - spec/ios/view_attr_spec.rb
128
130
  - spec/osx/autoresizing_helper_spec.rb
129
- - spec/osx/constraints_helper_spec.rb
130
131
  - spec/osx/constraints_helpers/orientation_lookup_spec.rb
131
132
  - spec/osx/constraints_helpers/simple_constraints_spec.rb
132
133
  - spec/osx/constraints_helpers/size_constraints_spec.rb
133
- - spec/osx/constraints_helpers/table_view_spec.rb
134
134
  - spec/osx/create_menu_spec.rb
135
135
  - spec/osx/create_via_extensions_spec.rb
136
136
  - spec/osx/custom_root_layout_spec.rb
@@ -141,6 +141,7 @@ files:
141
141
  - spec/osx/menu_layout_spec.rb
142
142
  - spec/osx/menu_spec.rb
143
143
  - spec/osx/root_menu_spec.rb
144
+ - spec/osx/table_view_spec.rb
144
145
  homepage: https://github.com/rubymotion/motion-kit
145
146
  licenses:
146
147
  - BSD
@@ -209,11 +210,9 @@ test_files:
209
210
  - spec/ios/uitextfield_spec.rb
210
211
  - spec/ios/view_attr_spec.rb
211
212
  - spec/osx/autoresizing_helper_spec.rb
212
- - spec/osx/constraints_helper_spec.rb
213
213
  - spec/osx/constraints_helpers/orientation_lookup_spec.rb
214
214
  - spec/osx/constraints_helpers/simple_constraints_spec.rb
215
215
  - spec/osx/constraints_helpers/size_constraints_spec.rb
216
- - spec/osx/constraints_helpers/table_view_spec.rb
217
216
  - spec/osx/create_menu_spec.rb
218
217
  - spec/osx/create_via_extensions_spec.rb
219
218
  - spec/osx/custom_root_layout_spec.rb
@@ -224,3 +223,4 @@ test_files:
224
223
  - spec/osx/menu_layout_spec.rb
225
224
  - spec/osx/menu_spec.rb
226
225
  - spec/osx/root_menu_spec.rb
226
+ - spec/osx/table_view_spec.rb
File without changes