motion.h 0.0.5 → 0.0.6

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.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +6 -0
  3. data/lib/motion.h.rb +3 -1
  4. data/motion.h.gemspec +3 -3
  5. metadata +4 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f1b8b25851ba972e8ffcbc21bfa7d56100ecb3ae
4
- data.tar.gz: 9a35878e0f8b949ab027d727a08ab421831bc737
3
+ metadata.gz: 2ce7667a186a28ed1a3117b631bbe7527d077d51
4
+ data.tar.gz: a480f3d51bb53ff0998d9a50880845db6215bd95
5
5
  SHA512:
6
- metadata.gz: 48d984f3aa2c329d7e3ebf98f8b170621992e3b0358005764d984132a52e413023e0f2fafd537182a5575014a81a7ef88cdf61692cce6e05dc1ed6c8f3c5d708
7
- data.tar.gz: 48e3021449d08ce4b9cede3c0f30b75c2860f2b2e860221aae89420ed8e329abbe93f6339ce567fa99850038f24d3704f96d33a284684b18e5c21a81dc96b07b
6
+ metadata.gz: 22c558eec476622b3fa2c996a9e9f764e41cfa6fb315fc4e3663ad805236b523c8b71abdb6c3166f2b6f61525c53aff29934b7d5d4e738e638a017dd98b7abef
7
+ data.tar.gz: d79ba2638bc0241361967aaca59ee2126e05418e919f9df6954abe03bad7a4130c42ee4602b538c57c958cfa4888a8c346ad710001de6560745828741bb31108
data/Rakefile CHANGED
@@ -1 +1,7 @@
1
1
  require "bundler/gem_tasks"
2
+
3
+ task :default do
4
+ system 'gem uninstall -ax motion.h'
5
+ system 'gem build motion.h.gemspec'
6
+ system 'gem install ./motion.h-0.0.6.gem'
7
+ end
@@ -68,7 +68,9 @@ class MotionHeader
68
68
  "--64-bit"
69
69
  end
70
70
  end
71
- `/Library/RubyMotion/bin/gen_bridge_metadata --format complete #{flag} --cflags '-I#{include_path} -F#{frameworks_path}' #{@header_file} > #{bridgesupport_file}`
71
+ Bundler.with_clean_env do
72
+ `/Library/RubyMotion/bin/gen_bridge_metadata --format complete #{flag} --cflags '-I#{include_path} -F#{frameworks_path}' #{@header_file} > #{bridgesupport_file}`
73
+ end
72
74
  end
73
75
 
74
76
  def include_path
@@ -1,11 +1,11 @@
1
1
  # coding: utf-8
2
2
  Gem::Specification.new do |spec|
3
3
  spec.name = "motion.h"
4
- spec.version = '0.0.5'
4
+ spec.version = '0.0.6'
5
5
  spec.authors = ["Dave Lee"]
6
6
  spec.email = ['dave@kastiglione.com']
7
- spec.description = 'Expose iOS system C libraries in RubyMotion'
8
- spec.summary = 'Expose iOS system C libraries in RubyMotion'
7
+ spec.description = 'Expose iOS system C libraries in RubyMotion.'
8
+ spec.summary = 'Expose iOS system C libraries in RubyMotion.'
9
9
  spec.homepage = 'https://github.com/kastiglione/motion.h'
10
10
  spec.license = "MIT"
11
11
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: motion.h
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dave Lee
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-01-05 00:00:00.000000000 Z
11
+ date: 2018-03-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -38,7 +38,7 @@ dependencies:
38
38
  - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
- description: Expose iOS system C libraries in RubyMotion
41
+ description: Expose iOS system C libraries in RubyMotion.
42
42
  email:
43
43
  - dave@kastiglione.com
44
44
  executables: []
@@ -75,5 +75,5 @@ rubyforge_project:
75
75
  rubygems_version: 2.5.1
76
76
  signing_key:
77
77
  specification_version: 4
78
- summary: Expose iOS system C libraries in RubyMotion
78
+ summary: Expose iOS system C libraries in RubyMotion.
79
79
  test_files: []