volley_motion 0.0.4 → 0.0.5

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ea280cdc56217cb2a240a33ecb36b0826623717c
4
- data.tar.gz: f8213234b3922346872e57f3397d8baf0846bcce
3
+ metadata.gz: 00587634848b7ebc9fbe10ce7f9b13eddb02b6f9
4
+ data.tar.gz: 49d634ab7400ba6f6f1d3aa88cdbdd85dee57c82
5
5
  SHA512:
6
- metadata.gz: 725cd80848c3ee7985fed8054878984dd0e2892e26a818517b600361fec6d53ce4e2f569c0608a081c72c3c773155e5da7ed31efabd30cf691fa4a84fc09f509
7
- data.tar.gz: cee081d04a5e69fd51c8b243dc04eb2aa64e93ee575f0047a70fdbaf9d7a2f853f7206276445943a189847fea730db2ba89b9fa372dcc7ce2cb10d0f392f2c3a
6
+ metadata.gz: 5d7c05fa80c13c7166b38300f0026426f947be7463359c4aeaa2707c08db3f647be19c5ba95d238bfe4478097c6842014e491b96f74c259e2f0882abbef0b847
7
+ data.tar.gz: c44bb6cb289a7df245551dd2b3967e1d38991936f63a04ed9a84d5ebdcd0c79301b6341145ffdbc2aea9f8869e147f336bc14db2f57e74b5004ee4ec63c0f0c3
data/README.md CHANGED
@@ -18,6 +18,12 @@ Or install it yourself as:
18
18
 
19
19
  $ gem install volley_motion
20
20
 
21
+ Note: There appears to be some issues with the gem and downloading from RubyGems.
22
+
23
+ If you have any problems, try using:
24
+
25
+ $ bundle install --path vendor/bundle
26
+
21
27
  ## Setup
22
28
 
23
29
  Inside a RubyMotion Android project
data/Rakefile ADDED
@@ -0,0 +1,17 @@
1
+ require "bundler/gem_tasks"
2
+
3
+ RM_VERSION = "3.3"
4
+ unless File.exist?("/Library/RubyMotion#{RM_VERSION}/lib")
5
+ abort "Couldn't find RubyMotion #{RM_VERSION}. Run `sudo motion update --cache-version=#{RM_VERSION}`."
6
+ end
7
+ $:.unshift("/Library/RubyMotion#{RM_VERSION}/lib")
8
+ require 'motion/project/template/android'
9
+ require 'bundler'
10
+ Bundler.require(:development)
11
+
12
+ $:.unshift("./lib/")
13
+ require './lib/volley_motion'
14
+
15
+ Motion::Project::App.setup do |app|
16
+
17
+ end
@@ -1,5 +1,16 @@
1
1
  module VolleyMotion
2
2
  class ErrorListener
3
+
4
+ class << self
5
+ def build
6
+ ErrorListener.new
7
+ # error_listener = Com::Android::Volley::Response::ErrorListener.new
8
+ end
9
+ end
10
+
11
+ def initialize
12
+ end
13
+
3
14
  def onErrorResponse(error)
4
15
  if error.toString == "com.android.volley.AuthFailureError"
5
16
  p "Authentication error"
@@ -1,3 +1,3 @@
1
1
  module VolleyMotion
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
Binary file
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: volley_motion
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - TigerWolf
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-31 00:00:00.000000000 Z
11
+ date: 2015-02-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -47,12 +47,14 @@ extra_rdoc_files: []
47
47
  files:
48
48
  - LICENSE.txt
49
49
  - README.md
50
+ - Rakefile
50
51
  - lib/volley_motion.rb
51
52
  - lib/volley_motion/error_listener.rb
52
53
  - lib/volley_motion/json_array_request.rb
53
54
  - lib/volley_motion/request_listener.rb
54
55
  - lib/volley_motion/request_queue.rb
55
56
  - lib/volley_motion/version.rb
57
+ - vendor/volley/volley-1.0.10.jar
56
58
  homepage: https://github.com/TigerWolf/volley_motion
57
59
  licenses:
58
60
  - MIT
@@ -73,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
73
75
  version: '0'
74
76
  requirements: []
75
77
  rubyforge_project:
76
- rubygems_version: 2.4.5
78
+ rubygems_version: 2.4.3
77
79
  signing_key:
78
80
  specification_version: 4
79
81
  summary: Volley Android Library for RubyMotion