ruby_android 0.7.6 → 0.7.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/android/resource.rb +2 -2
- 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: e64d7b155b3ba1c4c780f8484fc0876c82296a2e
|
4
|
+
data.tar.gz: 0e0d61515e4cbcdee6587d7a817db9ce4da27229
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5a5c36a8b511f8d717bea910a7fb01d8d31ed592debbc8dcc514ee8d04b631597e394d29a28cd44925620b8bb401ca30e9df2c08f62552e20807d04da8d8ff91
|
7
|
+
data.tar.gz: 703fe15b4c1ea19f2c459926ae5973731c1c2630d9fdb723ebac918d706c301b94a51c2e1379b4f2a6412450da5bcc14c1ba7f2946c018623b867d323d8333c8
|
data/lib/android/resource.rb
CHANGED
@@ -123,7 +123,7 @@ module Android
|
|
123
123
|
# @option opts [String] :contry cantry code like 'jp'...
|
124
124
|
# @raise [ArgumentError] invalid id format
|
125
125
|
# @note
|
126
|
-
# This method only support string and drawable resource for now.
|
126
|
+
# This method only support string and drawable/mipmap resource for now.
|
127
127
|
# @note
|
128
128
|
# Always return nil if assign not string type res id.
|
129
129
|
#
|
@@ -135,7 +135,7 @@ module Android
|
|
135
135
|
case type(tid)
|
136
136
|
when 'string'
|
137
137
|
return find_res_string(key, opts)
|
138
|
-
when 'drawable'
|
138
|
+
when 'drawable', 'mipmap'
|
139
139
|
drawables = []
|
140
140
|
@types[tid].each do |type|
|
141
141
|
unless type[key].nil?
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby_android
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michal Tajchert
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2015-02
|
13
|
+
date: 2015-03-02 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rubyzip
|