nexusmotion 0.0.1.beta → 0.0.2.beta

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: 74f602f6c45f8a521b460a0280c66f7c3e68fb06
4
- data.tar.gz: cd0d0fbc7655bc274186ad21cadb694b218cd54a
3
+ metadata.gz: ad2cd08d42a11bcf46807174165e4136d540af9d
4
+ data.tar.gz: c5a7818df0bdf4e951ed96d94087860d5a9ddd2c
5
5
  SHA512:
6
- metadata.gz: 4db5931b35c058eb686fd1a42373aaf46b5e6286cb498e904341a8c2737e78026e329820fccd6ba63f1f4498a1828e7e9d6cced4a7fc1ba18233c644122300e5
7
- data.tar.gz: ba88f55fc1798b5468621691b955fc87a74778745f12b0fba17452eaeb90db3d33264a5db1d4e3d4d33a494feb1f0fe147c060bb86109e788f6c301b0384c008
6
+ metadata.gz: 3f06303d91f79a4f6b8acaed5596ceb1ce09c4abd7c881ba25e864419d4ad71099619cda03d75f9456e74c3f49f07f176b8b8c4bf74e595de4e745482d540cef
7
+ data.tar.gz: 5f4de7f4649eaa3502910acce8538817a9e10e65beb369f36a68becf92589c59ce5f1a4c7624134eac5aab720deabada196b92a21ed7af999f6ca2505802aed6
data/Gemfile CHANGED
@@ -2,3 +2,5 @@ source 'https://rubygems.org'
2
2
 
3
3
  # Specify your gem's dependencies in nexusmotion.gemspec
4
4
  gemspec
5
+
6
+ gem 'bacon'
data/README.md CHANGED
@@ -12,19 +12,32 @@ Please feel free to send suggestions or pull requests.
12
12
 
13
13
  ## Installation
14
14
 
15
+ Please ensure you have the most recent version of RubyMotion beta:
16
+
17
+ ```
18
+ sudo motion update --pre
19
+ ```
20
+
15
21
  Add this line to your application's Gemfile:
16
22
 
17
23
  ```ruby
18
- gem 'nexusmotion'
24
+ gem 'nexusmotion', ">= 0.0.2.beta"
19
25
  ```
20
26
 
27
+ Add this line in your rake file:
28
+
29
+ ```
30
+ require 'nexusmotion'
31
+ ```
32
+
33
+
21
34
  And then execute:
22
35
 
23
36
  $ bundle
24
37
 
25
38
  Or install it yourself as:
26
39
 
27
- $ gem install nexusmotion
40
+ $ gem install nexusmotion --pre
28
41
 
29
42
  ## Usage
30
43
 
data/Rakefile CHANGED
@@ -1,2 +1,54 @@
1
1
  require "bundler/gem_tasks"
2
+ $:.unshift("/Library/RubyMotionPre/lib")
3
+ require 'motion/project/template/android'
4
+ require 'bundler'
5
+ Bundler.require(:development)
6
+ require 'bacon'
7
+ require "nexusmotion"
8
+ # require 'nexusmotion'
9
+ # require 'bacon'
2
10
 
11
+ # task :spec do
12
+
13
+ # Motion::Project::App.setup do |app|
14
+ # app.specs_dir = 'spec/'
15
+ # end
16
+
17
+ # #Dir.glob('./spec/**/*.rb').each {|file| require file }
18
+ # puts `bacon spec/*`
19
+
20
+ # # App.config.spec_mode = true
21
+ # # spec_files = App.config.spec_files - Dir.glob('./spec/**/*.rb')
22
+ # # App
23
+ # # App.config.instance_variable_set("@spec_files", spec_files)
24
+ # # bacon spec_files
25
+ # # Rake::Task["simulator"].invoke
26
+
27
+ # end
28
+
29
+ Motion::Project::App.setup do |app|
30
+ app.name = 'nexusmotion'
31
+ app.detect_dependencies = true
32
+ end
33
+
34
+ task :testing do
35
+ $:.unshift("/Library/RubyMotionPre/lib")
36
+ require 'motion/project/template/android'
37
+ require "nexusmotion"
38
+ require "nexusmotion/client"
39
+ require "nexusmotion/gap_junction"
40
+ require "nexusmotion/global_result"
41
+ require "webstub"
42
+ require 'bacon'
43
+
44
+ App.config_without_setup.spec_mode = true
45
+ # ENV['debug'] ||= '1'
46
+ # Rake::Task["device"].invoke
47
+
48
+ Bacon.summary_on_exit
49
+ files = Dir.glob('./spec/**/*.rb')
50
+ files.each { |file|
51
+ load file
52
+ }
53
+
54
+ end
@@ -1,3 +1,3 @@
1
1
  module Nexusmotion
2
- VERSION = "0.0.1.beta"
2
+ VERSION = "0.0.2.beta"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nexusmotion
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1.beta
4
+ version: 0.0.2.beta
5
5
  platform: ruby
6
6
  authors:
7
7
  - TigerWolf
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-10-08 00:00:00.000000000 Z
11
+ date: 2014-10-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler