motion-smarticons 0.1 → 0.2

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # motion-smarticons
1
+ # motion-smarticons for [RubyMotion](http://rubymotion.com)
2
2
 
3
3
  motion-smarticons lets you overlay information text like commit hash and version number on top of RubyMotion app icons:
4
4
 
@@ -31,6 +31,16 @@ class SmartIconsConfig
31
31
  private
32
32
  def create_icons
33
33
  icons = @config.icons
34
+
35
+ # Handle the case where #icons isn't explicitly set
36
+ if icons.empty?
37
+ ["Icon.png", "Icon@2x.png"].each {|i|
38
+ [i, i.downcase].each { |filename|
39
+ icons << filename if File.exists? File.join(@config.resources_dirs, filename)
40
+ }
41
+ }
42
+ end
43
+
34
44
  files = icons.map {|i|
35
45
  [File.join(@config.resources_dirs, i),
36
46
  File.join(@config.resources_dirs, "_smart_#{i}")]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: motion-smarticons
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.1'
4
+ version: '0.2'
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-03-09 00:00:00.000000000 Z
12
+ date: 2013-03-11 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rmagick
@@ -52,7 +52,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
52
52
  version: '0'
53
53
  segments:
54
54
  - 0
55
- hash: -86646653972963520
55
+ hash: 3955371259987374412
56
56
  required_rubygems_version: !ruby/object:Gem::Requirement
57
57
  none: false
58
58
  requirements:
@@ -61,7 +61,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
61
61
  version: '0'
62
62
  segments:
63
63
  - 0
64
- hash: -86646653972963520
64
+ hash: 3955371259987374412
65
65
  requirements: []
66
66
  rubyforge_project:
67
67
  rubygems_version: 1.8.23