moticons 1.0.0 → 1.1.0

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
- SHA1:
3
- metadata.gz: 1f01ac054af566c91caf391eed771acd6261c6e4
4
- data.tar.gz: 5e9ed3b5903e2bdbf7126813469bd15a106eb0b8
2
+ SHA256:
3
+ metadata.gz: 6acb9c02b0e35c72a3200bb3e088860dfe72700b39eeef27eb27b717ab0b5338
4
+ data.tar.gz: 4bb98b84a801c3db6ee5566c4e0a50d6c2b00349093dc2f43f8366af79efeda9
5
5
  SHA512:
6
- metadata.gz: 1cf2dd0bd78bf99387026b7d7015e589c1bf1a2839b4260bed140c9b2419a105169a1622ace0128730f6904203000d5bc9d1abfc3dcbd513997b3c396b8fc644
7
- data.tar.gz: 5532bc0cf22b32c8d2c3e51414ca4ebe2931b7de5df511701f395166e7b763eb92f41f8d937063dd4ae5e59b0859a0f2626b462a3d438ebc39ae682a1d58cc3b
6
+ metadata.gz: d7bb7cd2e7fc9d363bff6ea986a0dde1c1e26376d930aecc94d12f3e11a7b1e203176d02a1569237f1ea167a0b8b4752d92e2892dc9286b47668d6e92f24e3f6
7
+ data.tar.gz: 2b53c95e6a9922ee38b4a06ce37b6dcfcfb6ab8d18af88e3f4937d2b321dbdb464ed1d7b0e6e1135cd48f8f6e5151d80d50b71580abdea8533527ae07c5636d3
data/README.md CHANGED
@@ -4,12 +4,15 @@ Moticons is the easiest way to add icons to your RubyMotion project. It provides
4
4
 
5
5
  Moticons is a wrapper around the [FontAwesomeKit CocoaPod](https://github.com/PrideChung/FontAwesomeKit).
6
6
 
7
- Supported icon collections include:
7
+ Currently Moticons supports **6** different icon fonts.
8
+
9
+ - [FontAwesome 4.7](http://fontawesome.io) Our old friend, contains **675** icons
10
+ - [Foundation icons](http://zurb.com/playground/foundation-icon-fonts-3) Contains **283** icons.
11
+ - [Zocial](http://zocial.smcllns.com/) Contains **99** social icons.
12
+ - [ionicons 2.0.0](http://ionicons.com/) Contains **733** icons, lots of iOS 7 style outlined icons.
13
+ - [Octicons 2.4.1](https://octicons.github.com/) Contains **206** icons, built with love by Github.
14
+ - [Material 2.0.0](https://google.github.io/material-design-icons/) Contains **743** icons, built by Google for Material design.
8
15
 
9
- * [Font Awesome](http://fortawesome.github.io/Font-Awesome/)
10
- * [Foundation](http://zurb.com/playground/foundation-icon-fonts-3)
11
- * [Zocial](http://zocial.smcllns.com)
12
- * [Ionicons](http://ionicons.com)
13
16
 
14
17
  ## Installation
15
18
 
@@ -21,7 +24,7 @@ gem 'moticons'
21
24
 
22
25
  And then execute:
23
26
 
24
- $ bundle
27
+ $ bundle && rake pod:install
25
28
 
26
29
  ## Usage
27
30
 
@@ -35,6 +38,8 @@ The collection names are:
35
38
  * Foundation - `:foundation`
36
39
  * Zocial - `:zocial`
37
40
  * Ionicons - `:ion`
41
+ * Octicons - `:octicon`
42
+ * Material - `:material`
38
43
 
39
44
  The icon names are the typical, Ruby snake-cased version of the original name. For example, you would refer to the Font Awesome `cart-arrow-down` icon as `cart_arrow_down`.
40
45
 
data/Rakefile CHANGED
@@ -1,14 +1,17 @@
1
1
  $:.unshift("/Library/RubyMotion/lib")
2
- case ENV.fetch('platform', 'ios') # allow setting from the command line, default to iOS
3
- when 'ios' then require 'motion/project/template/ios'
4
- when 'osx' then require 'motion/project/template/osx'
5
- when 'android' then require 'motion/project/template/android'
6
- else raise "Unsupported platform #{ENV['platform']}"
7
- end
2
+ $:.unshift("~/.rubymotion/rubymotion-templates")
3
+
4
+ # case ENV.fetch('platform', 'ios') # allow setting from the command line, default to iOS
5
+ # when 'ios' then require 'motion/project/template/ios'
6
+ # when 'osx' then require 'motion/project/template/osx'
7
+ # when 'android' then require 'motion/project/template/android'
8
+ # else raise "Unsupported platform #{ENV['platform']}"
9
+ # end
8
10
 
11
+ require 'motion/project/template/ios'
12
+ require 'motion/project/template/gem/gem_tasks'
9
13
  require 'bundler'
10
14
  Bundler.require
11
- require "bundler/gem_tasks"
12
15
 
13
16
  Motion::Project::App.setup do |app|
14
17
  app.name = 'moticons'
@@ -7,6 +7,6 @@ require "motion-cocoapods"
7
7
  Motion::Project::App.setup do |app|
8
8
  app.files += Dir.glob(File.join(File.dirname(__FILE__), "moticons", "**", "*.rb"))
9
9
  app.pods do
10
- pod "FontAwesomeKit", "~> 2.2"
10
+ pod "FontAwesomeKit", "~> 2.2.1"
11
11
  end
12
12
  end
@@ -1,10 +1,12 @@
1
1
  module Moticons
2
2
  class Icon
3
3
  COLLECTION_CLASSES = {
4
- awesome: :FAKFontAwesome,
4
+ awesome: :FAKFontAwesome,
5
5
  foundation: :FAKFoundationIcons,
6
- ion: :FAKIonIcons,
7
- zocial: :FAKZocial
6
+ ion: :FAKIonIcons,
7
+ zocial: :FAKZocial,
8
+ octicon: :FAKOcticons,
9
+ material: :FAKMaterialIcons
8
10
  }
9
11
 
10
12
  attr_reader :collection, :name, :size, :color
@@ -4,12 +4,12 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = "moticons"
7
- spec.version = "1.0.0"
7
+ spec.version = "1.1.0"
8
8
  spec.authors = ["Andrew Havens"]
9
9
  spec.email = ["email@andrewhavens.com"]
10
10
 
11
- spec.summary = %q{Easy icons generators for your RubyMotion app.}
12
- spec.description = %q{Easy icons generators for your RubyMotion app.}
11
+ spec.summary = %q{The easiest way to add icons to your RubyMotion app.}
12
+ spec.description = %q{The easiest way to add icons to your RubyMotion app.}
13
13
  spec.homepage = "https://github.com/andrewhavens/moticons"
14
14
  spec.license = "MIT"
15
15
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: moticons
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Havens
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-07-08 00:00:00.000000000 Z
11
+ date: 2018-10-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: motion-cocoapods
@@ -66,7 +66,7 @@ dependencies:
66
66
  - - ">="
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
- description: Easy icons generators for your RubyMotion app.
69
+ description: The easiest way to add icons to your RubyMotion app.
70
70
  email:
71
71
  - email@andrewhavens.com
72
72
  executables: []
@@ -104,8 +104,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
104
104
  version: '0'
105
105
  requirements: []
106
106
  rubyforge_project:
107
- rubygems_version: 2.4.5
107
+ rubygems_version: 2.7.6
108
108
  signing_key:
109
109
  specification_version: 4
110
- summary: Easy icons generators for your RubyMotion app.
110
+ summary: The easiest way to add icons to your RubyMotion app.
111
111
  test_files: []