android_query 0.0.3 → 0.0.4

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: a8eaba0c930e02757017c647a91bf1c21c50cf65
4
- data.tar.gz: 840eeeb4db49b19a0c2565e9b74ea1342abcf51b
3
+ metadata.gz: 17844db6657c5dc25029a6ed1c13797a3b054bc0
4
+ data.tar.gz: a6459ae1d7bdec869b05f952e3bf874c56680eef
5
5
  SHA512:
6
- metadata.gz: 6291413ac392623a9b8d3743484d1ec5d730e739b38874ec74b6c9f882732338da939b59b3a569e3afda665ca1a881efb9f8fe02e5d47d2ff587faf691bc90cf
7
- data.tar.gz: b057a43f47ad82da703b208950d4f66351ce7020c4cc062266321ad2833606322fc0b01e74ea1b097163bae60cf40ecfe3a97adf98a0f97a77d7ba2efa67320c
6
+ metadata.gz: 155b2c8cc1f22e5b94c4d924d2ffa44d3dd54afac25467840c429dbef642ea6d44ed6d9a0ab5cfc0419e7205eca4f263795ae6e05ac4acde04eee7e03e193230
7
+ data.tar.gz: f53af793423a174ac1d0a1eda864d19ca5f07177f34e060c9b4da737a4044099fa1e64ccd71a526dfba6402c651bde2e59049cbb48d685e428d7cd557a88b59b
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2017 Abdullah Esmail
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md CHANGED
@@ -15,7 +15,7 @@ It's intended for developers who prefer to code their UIs rather than use a GUI
15
15
  Add this line to your application's Gemfile:
16
16
 
17
17
  ```ruby
18
- gem 'android_query', '~> 0.0.1'
18
+ gem 'android_query', '~> 0.0.4'
19
19
  ```
20
20
 
21
21
  And then execute:
@@ -1,3 +1,3 @@
1
1
  module AndroidQuery
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
data/lib/android_query.rb CHANGED
@@ -1,11 +1,14 @@
1
1
  # coding: utf-8
2
2
 
3
+ require 'rubygems'
4
+
3
5
  unless defined?(Motion::Project::Config)
4
- raise "This gem works only within a RubyMotion android project."
6
+ raise "This file must be required within a RubyMotion project Rakefile."
5
7
  end
6
8
 
7
- lib_dir_path = File.dirname(File.expand_path(__FILE__))
8
-
9
9
  Motion::Project::App.setup do |app|
10
- app.files.unshift(Dir.glob(File.join(lib_dir_path, "android_query/**/*.rb")))
10
+ Dir.glob(File.join(File.dirname(__FILE__), "android_query/**/*.rb")).each do |file|
11
+ app.files.unshift(file)
12
+ app.api_version = '21'
13
+ end
11
14
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: android_query
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Abdullah Esmail
@@ -10,34 +10,20 @@ bindir: bin
10
10
  cert_chain: []
11
11
  date: 2017-11-03 00:00:00.000000000 Z
12
12
  dependencies:
13
- - !ruby/object:Gem::Dependency
14
- name: bundler
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - "~>"
18
- - !ruby/object:Gem::Version
19
- version: '1.15'
20
- type: :development
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - "~>"
25
- - !ruby/object:Gem::Version
26
- version: '1.15'
27
13
  - !ruby/object:Gem::Dependency
28
14
  name: rake
29
15
  requirement: !ruby/object:Gem::Requirement
30
16
  requirements:
31
- - - "~>"
17
+ - - ">="
32
18
  - !ruby/object:Gem::Version
33
- version: '10.0'
19
+ version: '0'
34
20
  type: :development
35
21
  prerelease: false
36
22
  version_requirements: !ruby/object:Gem::Requirement
37
23
  requirements:
38
- - - "~>"
24
+ - - ">="
39
25
  - !ruby/object:Gem::Version
40
- version: '10.0'
26
+ version: '0'
41
27
  description: Making RubyMotion android development easy and enjoyable
42
28
  email:
43
29
  - abdullah.esmail@gmail.com
@@ -45,6 +31,7 @@ executables: []
45
31
  extensions: []
46
32
  extra_rdoc_files: []
47
33
  files:
34
+ - LICENSE.txt
48
35
  - README.md
49
36
  - lib/android_query.rb
50
37
  - lib/android_query/android_query.rb