apion 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +5 -0
  3. data/apion.gemspec +2 -2
  4. data/lib/apion.rb +5 -0
  5. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8cc053ecce089de70f26278c6e54847318554381
4
- data.tar.gz: fe37cf2d63c93cced1ee1a2de11032ea6334a8b4
3
+ metadata.gz: 6ac78f5b35d5cedc2649166d09599fc8012971af
4
+ data.tar.gz: 79f5b31987b66c7981ae91a6f67a9456bef85356
5
5
  SHA512:
6
- metadata.gz: d177f752d1b49e4382d731642bffcbc4dddd647f9c82c062ec07e53154689c78d8ed0b0954c96dd2369d9ab43df21b18bc988a6507292e038d4b4f1bd786cb2d
7
- data.tar.gz: d9441bd0a0de34ac698ec2a96abb4b8358077b905a5c48c10508c5bc17b1bbb49f8501e85ae103a04ae73fe2c57095d8f407b58809eb92d04c5b900b759e5583
6
+ metadata.gz: 7178097ad0ea3ae3c40f82a91b8a9c20001acdbe9275806bf6e4f1273fa2298e5e40af984f9b365191fb765d2b6fda52d36498c5ef1bc931fef387fec111f131
7
+ data.tar.gz: c2ca46590b5a04b7bd3e1ccef021e1bdb05552bf5fb3a0b6358dfd4b3438ff3c48becbb2a6516d6b1f38f18d5bb2ae4c479a0e58eda70bf7e287e9d482ffcef6
data/README.md CHANGED
@@ -35,7 +35,12 @@ irb(main):005:0> apion("Un chat toudouchoubidou")
35
35
  => ["œ̃", "ʃa", "tuduʃubidu"]
36
36
  ~~~
37
37
 
38
+ *Read files*
38
39
 
40
+ ~~~
41
+ irb(main):006:0> apion_read("mylife.txt")
42
+ => ["ʒɛm", "lœ", "kyri"]
43
+ ~~~
39
44
 
40
45
 
41
46
  ***Important : All IPA characters can't be displayed in this README, so the translation can be slightly off***
data/apion.gemspec CHANGED
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'apion'
3
- s.version = '0.1.1'
4
- s.date = '2013-08-24'
3
+ s.version = '0.1.2'
4
+ s.date = '2013-08-25'
5
5
  s.summary = "Apion"
6
6
  s.description = "Easy-to-use Fr/Api translator"
7
7
  s.authors = ["Galaad Gauthier"]
data/lib/apion.rb CHANGED
@@ -28,3 +28,8 @@ def apion(texte)
28
28
  end
29
29
  end
30
30
  end
31
+
32
+ def apion_read(path)
33
+ return apion(File.read(path))
34
+ end
35
+
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: apion
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Galaad Gauthier
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-08-24 00:00:00.000000000 Z
11
+ date: 2013-08-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json