purplish-frame 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8508914604e8b8c0380028b06cc97fb6818f36e9
4
- data.tar.gz: f34a12725401df4cfaa74eebfe9d55130932138d
3
+ metadata.gz: a975811211dbbab81c240d1ef92861fe446e19c7
4
+ data.tar.gz: c4cb7e58b861f52622131b4bd53c283bc921832e
5
5
  SHA512:
6
- metadata.gz: dfaaa538f6be23d6c8f3e8b0e279e81c3fe9b523e4ea2b33b01e77241b3189c94aa1f3d45f765b5cd76c3951893db7775d4ed37b06f6f886fecc51533c3afc76
7
- data.tar.gz: cda73faedb015bdcbc9a9097e3b37d0ba42e1bb2cd7cbf77443c1a2cdb06b7ca3f8db670783d42ce7696924df740d091ab74c7f3dd6f873cd0292ac242c5778a
6
+ metadata.gz: eae0bb7e101db47bbb349d52e4355706cd2cb987f01f929e73c5683fc87981b2e132d3e7f77800a513c02fa13a5e38e279f95e73266bddd3099849cec12160b6
7
+ data.tar.gz: 117f71e65fe3f4b4f495aff2529f1cc08eb96e0897ae9e8dd8fb3bb1ca6f76631dfbb008ebdc416f969f94f37de20b22c9f8441b97e8509088e8857ead511c78
@@ -1,3 +1,3 @@
1
- class NSImage
1
+ class UIImage
2
2
  include PurplishFrame::HasSizeWidthHeight
3
3
  end
@@ -1,3 +1,3 @@
1
- class UIImage
1
+ class NSImage
2
2
  include PurplishFrame::HasSizeWidthHeight
3
3
  end
@@ -1,3 +1,3 @@
1
1
  module PurplishFrame
2
- VERSION = '0.0.6'
2
+ VERSION = '0.0.7'
3
3
  end
@@ -6,4 +6,21 @@ Motion::Project::App.setup do |app|
6
6
  Dir.glob(File.join(File.dirname(__FILE__), 'purplish-frame/**/*.rb')).each do |file|
7
7
  app.files.unshift(file)
8
8
  end
9
+
10
+ #Just to be safe. Did not work reliably with ENV['experimental_dependency']=1
11
+ core_lib = File.join(File.dirname(__FILE__), 'purplish-frame')
12
+ app.files_dependencies({
13
+ "#{core_lib}/ui/ios/ui_screen.rb" => [ "#{core_lib}/ui/ios/cocoa_touch_view.rb"],
14
+ "#{core_lib}/ui/ios/ui_view.rb" => [ "#{core_lib}/ui/ios/cocoa_touch_view.rb"],
15
+
16
+ "#{core_lib}/ui/osx/ns_view.rb" => [ "#{core_lib}/ui/osx/cocoa_view.rb"],
17
+ "#{core_lib}/ui/osx/ns_screen.rb" => [ "#{core_lib}/ui/osx/cocoa_view.rb"],
18
+ "#{core_lib}/ui/osx/ns_window.rb" => [ "#{core_lib}/ui/osx/cocoa_view.rb"],
19
+
20
+ "#{core_lib}/non-ui/cg_size.rb" => [ "#{core_lib}/non-ui/can_scale_width_height.rb"],
21
+ "#{core_lib}/non-ui/osx/ns_size.rb" => [ "#{core_lib}/non-ui/can_scale_width_height.rb"],
22
+
23
+ "#{core_lib}/non-ui/ios/ui_image.rb" => [ "#{core_lib}/non-ui/has_size_width_height.rb"],
24
+ "#{core_lib}/non-ui/osx/ns_image.rb" => [ "#{core_lib}/non-ui/has_size_width_height.rb"],
25
+ })
9
26
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: purplish-frame
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hwee-Boon Yar
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-12-31 00:00:00.000000000 Z
11
+ date: 2016-01-08 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Make working with rects, sizes and points more convenient with RubyMotion
14
14
  for iOS & OS X