ion_in_motion 0.0.4 → 0.0.5
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 +4 -4
- data/README.md +5 -9
- data/ion_in_motion.gemspec +1 -1
- 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: 10faab3b4979ae152518a1d0a8ef39edec1f04f2
|
4
|
+
data.tar.gz: 7248513e1bc7b73719ef49dc477f4406dfc60802
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4ceb33e6dc91ae8daf9c71e62b7513ef69366d37bbd2255909a459e9d6d79813cf6ea31d7a2f0cae6e1e403b7476971c869f339243dadb7bd3afccf8fb5e2fde
|
7
|
+
data.tar.gz: 0847907642097e06ce52e87d5420c9ed8b51b76d8dad01e07d0fec6f4c96933693c1f919458066b6a23610a63281bf6742962b6044fbf84b29a67dc5f4a5aae9
|
data/README.md
CHANGED
@@ -1,19 +1,15 @@
|
|
1
1
|
# Ion In Motion
|
2
2
|
|
3
|
-
**Update (2/5)** *Good news, everyone!* This gem actually works now! The earlier errors were because I'm a moron and didn't actually *include* my files in the gem when it was build. Chalk it up to my first time publishing a gem? Oops!
|
4
3
|
|
4
|
+
This gem is a thin wrapper which makes it easy to use the wonderful IonIcons in a RubyMotion project.
|
5
5
|
|
6
|
-
|
7
|
-
|
8
|
-
This gem is a thin wrapped which makes it easy to use the wonderful IonIcons in a RubyMotion project.
|
9
|
-
|
10
|
-
You can browse the available IonIcons [here](http://ionicons.com/)
|
6
|
+
Browse the available IonIcons [here](http://ionicons.com/)
|
11
7
|
|
12
8
|
The gem relies on the [IonIcons CocoaPod](https://github.com/sweetmandm/ionicons-iOS).
|
13
9
|
|
14
10
|
## Usage
|
15
11
|
|
16
|
-
|
12
|
+
Use **Ion in Motion** to quickly return a UILabel, UIImage, UIButton or UIFont.
|
17
13
|
|
18
14
|
**UILabel**
|
19
15
|
Use `Ion.label` to create UILabels. The icon name is required, and it takes `size` and `color` as optional parameters. The default is for a 18 pt font and black text
|
@@ -46,13 +42,13 @@ Returns a UIFont instance. I'm not sure what use this is outside of `image` and
|
|
46
42
|
font = Ion.font(size)
|
47
43
|
|
48
44
|
####Icon Names
|
49
|
-
I've shortened the names of the icons used by the IonIcons Cocoapod to make them a little easier to use.
|
45
|
+
I've shortened the names of the icons used by the IonIcons Cocoapod to make them a little easier to use. None are prefixed by `ion_`. You can browse the list in [lib/icon_codes.md](https://github.com/Brian-Egan/ion_in_motion/blob/master/lib/ion/icon_codes.md).
|
50
46
|
|
51
47
|
To visually browse IonIcons, check out their [homepage](http://ionicons.com/), to translate those names simply replace dashes (-) with underscores (_) and remove the `ion` prefix. i.e. `ion-chevron-right` would be `chevron_right`. It's simpler and cleaner this way.
|
52
48
|
|
53
49
|
---
|
54
50
|
### Installation
|
55
|
-
Easy
|
51
|
+
Easy-peasy.
|
56
52
|
1. Add `gem 'ion_in_motion', :git => 'git://github.com/Brian-Egan/ion_in_motion.git'` to your project's Gemfile.
|
57
53
|
3. Run `bundle install`.
|
58
54
|
4. Enjoy!
|
data/ion_in_motion.gemspec
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
2
|
Gem::Specification.new do |gem|
|
3
3
|
gem.name = "ion_in_motion"
|
4
|
-
gem.version = '0.0.
|
4
|
+
gem.version = '0.0.5'
|
5
5
|
gem.summary = "Easy use of IonIcons in RubyMotion projects"
|
6
6
|
gem.description = "Easily create UILabels, UIImages and UIButtons containing IonIcons in RubyMotion projects."
|
7
7
|
gem.files = `git ls-files`.split("\n")
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ion_in_motion
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brian Egan
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-02-
|
11
|
+
date: 2015-02-10 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Easily create UILabels, UIImages and UIButtons containing IonIcons in
|
14
14
|
RubyMotion projects.
|