remote_model 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile CHANGED
@@ -1,4 +1,6 @@
1
1
  source "http://rubygems.org"
2
2
 
3
+ gem 'bubble-wrap'
4
+
3
5
  # Specify your gem's dependencies in remote_model.gemspec
4
6
  gemspec
data/Rakefile CHANGED
@@ -1 +1,14 @@
1
- require "bundler/gem_tasks"
1
+ #!/usr/bin/env rake
2
+ $:.unshift("/Library/RubyMotion/lib")
3
+ require 'motion/project'
4
+ require "bundler/gem_tasks"
5
+ Bundler.setup
6
+ Bundler.require
7
+
8
+ $:.unshift("./lib/")
9
+ require './lib/remote_model'
10
+
11
+ Motion::Project::App.setup do |app|
12
+ # Use `rake config' to see complete project settings.
13
+ app.name = 'RemoteModel'
14
+ end
@@ -1,3 +1,3 @@
1
1
  module RemoteModel
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
data/lib/remote_model.rb CHANGED
@@ -1,12 +1,5 @@
1
1
  require "remote_model/version"
2
- require "bubble-wrap"
3
-
4
- unless defined?(Motion::Project::Config)
5
- raise "This file must be required within a RubyMotion project Rakefile."
6
- end
7
-
8
- Motion::Project::App.setup do |app|
9
- Dir.glob(File.join(File.dirname(__FILE__), 'remote_model/*.rb')).each do |file|
10
- app.files.unshift(file)
11
- end
12
- end
2
+ require 'bubble-wrap'
3
+ Dir.glob(File.join(File.dirname(__FILE__), 'remote_model/*.rb')).each do |file|
4
+ BW.require file
5
+ end
data/remote_model.gemspec CHANGED
@@ -15,4 +15,5 @@ Gem::Specification.new do |s|
15
15
  s.require_paths = ["lib"]
16
16
 
17
17
  s.add_dependency "bubble-wrap"
18
+ s.add_development_dependency 'rake'
18
19
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: remote_model
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.1
5
+ version: 0.0.2
6
6
  platform: ruby
7
7
  authors:
8
8
  - Clay Allsopp
@@ -10,11 +10,10 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2012-05-23 00:00:00 Z
13
+ date: 2012-06-08 00:00:00 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: bubble-wrap
17
- prerelease: false
18
17
  requirement: &id001 !ruby/object:Gem::Requirement
19
18
  none: false
20
19
  requirements:
@@ -22,7 +21,19 @@ dependencies:
22
21
  - !ruby/object:Gem::Version
23
22
  version: "0"
24
23
  type: :runtime
24
+ prerelease: false
25
25
  version_requirements: *id001
26
+ - !ruby/object:Gem::Dependency
27
+ name: rake
28
+ requirement: &id002 !ruby/object:Gem::Requirement
29
+ none: false
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: "0"
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: *id002
26
37
  description: JSON API <-> NSObject via RubyMotion. Create REST-aware models.
27
38
  email:
28
39
  - clay.allsopp@gmail.com
@@ -74,12 +85,18 @@ required_ruby_version: !ruby/object:Gem::Requirement
74
85
  requirements:
75
86
  - - ">="
76
87
  - !ruby/object:Gem::Version
88
+ hash: -1050755329021550183
89
+ segments:
90
+ - 0
77
91
  version: "0"
78
92
  required_rubygems_version: !ruby/object:Gem::Requirement
79
93
  none: false
80
94
  requirements:
81
95
  - - ">="
82
96
  - !ruby/object:Gem::Version
97
+ hash: -1050755329021550183
98
+ segments:
99
+ - 0
83
100
  version: "0"
84
101
  requirements: []
85
102