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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/android/resource.rb +2 -2
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c8833781b8ded09312c57fcf8b963b2948fb386e
4
- data.tar.gz: ee66f7ceea2419e6e7e39372843ab5eb94898072
3
+ metadata.gz: e64d7b155b3ba1c4c780f8484fc0876c82296a2e
4
+ data.tar.gz: 0e0d61515e4cbcdee6587d7a817db9ce4da27229
5
5
  SHA512:
6
- metadata.gz: 068726a9d09d8b5e811240c22498b77444eac4a53881032ee0b40906abe9f579bead6465d7d8348abee9620bd2c4fc218145fe3529d193f2ca8451e00203458c
7
- data.tar.gz: f9a27ae24d816c68752230568053f10b4748688a6b6340f92b1a3ad2d6c475e42f710c30c8ebbb682eae21e178ebe8f940d38ba3b1aeadd7c404d0e94ca311ee
6
+ metadata.gz: 5a5c36a8b511f8d717bea910a7fb01d8d31ed592debbc8dcc514ee8d04b631597e394d29a28cd44925620b8bb401ca30e9df2c08f62552e20807d04da8d8ff91
7
+ data.tar.gz: 703fe15b4c1ea19f2c459926ae5973731c1c2630d9fdb723ebac918d706c301b94a51c2e1379b4f2a6412450da5bcc14c1ba7f2946c018623b867d323d8333c8
@@ -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.6
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-20 00:00:00.000000000 Z
13
+ date: 2015-03-02 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rubyzip