nexusmotion 0.0.1.beta → 0.0.2.beta
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.
- checksums.yaml +4 -4
- data/Gemfile +2 -0
- data/README.md +15 -2
- data/Rakefile +52 -0
- data/lib/nexusmotion/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ad2cd08d42a11bcf46807174165e4136d540af9d
|
|
4
|
+
data.tar.gz: c5a7818df0bdf4e951ed96d94087860d5a9ddd2c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3f06303d91f79a4f6b8acaed5596ceb1ce09c4abd7c881ba25e864419d4ad71099619cda03d75f9456e74c3f49f07f176b8b8c4bf74e595de4e745482d540cef
|
|
7
|
+
data.tar.gz: 5f4de7f4649eaa3502910acce8538817a9e10e65beb369f36a68becf92589c59ce5f1a4c7624134eac5aab720deabada196b92a21ed7af999f6ca2505802aed6
|
data/Gemfile
CHANGED
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
|
data/lib/nexusmotion/version.rb
CHANGED
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.
|
|
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-
|
|
11
|
+
date: 2014-10-09 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|