franc 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 380a458fdd11b1aa8514848152de0fe981170ac7
4
- data.tar.gz: cdcb9b654bf1e77486ad24081f81ec926260d882
3
+ metadata.gz: 02568133540cccdfc4b762b134dde0e1a601589a
4
+ data.tar.gz: fec1646e7538d1dea9bf45adf6c89e78437bf2de
5
5
  SHA512:
6
- metadata.gz: 8d9cf459dfa3a1ea2db4c87abcddaa142463a939dd421621eca77c96cea4ed3b66f636b971937be0d879cfccbf543506e419bcaab58c80456574a941f0ca4b1d
7
- data.tar.gz: d1832cd6034bc6f8e930f5742de4fc41cea2c738a84d285119a8118b93901f35512094b44e343b703c5e5d7370be95e4053965b34a5ab72d0a51c4f37c85f909
6
+ metadata.gz: 324d8eb80a698bd021593b850536f23bfac7b21567ab25dbae09fd7704c818b4995a4eb18bfdfa534f530a10c0466cef01f1945ba369114375d5c0ca8afff901
7
+ data.tar.gz: 0b5c5118189f876fa90137cd2b2931d1331697f6ddcd600f8eed92549a97adff047629be0f7d31d33e0bd1398d94cd12b892e6d30193061dc0ffb9778f4147df
data/README.md CHANGED
@@ -1,4 +1,5 @@
1
1
  # Franc
2
+ [![Gem Version](https://badge.fury.io/rb/franc.svg)](https://badge.fury.io/rb/franc)
2
3
 
3
4
  A simple ruby wrapper to Titus Wormer's awesome javascript language detection called [Franc](https://github.com/wooorm/franc).
4
5
 
@@ -6,12 +7,14 @@ A simple ruby wrapper to Titus Wormer's awesome javascript language detection ca
6
7
 
7
8
  At this time, this gem depends on a system wide npm installation of franc and runs a bash command within ruby to invoke the franc javascript.
8
9
 
9
- If you do not have franc installed, this gem will install it for you on the first run.
10
+ If you do not have franc installed, this gem will install it for you on the first run by using npm. If you don't have npm installed or are not sure what it is, check out the [docs](https://docs.npmjs.com/).
11
+
12
+ Here are [all supported languages](https://github.com/wooorm/franc/blob/master/Supported-Languages.md).
10
13
 
11
14
  ## Installation
12
15
 
13
16
  ```
14
- gem install franc
17
+ $ gem install franc
15
18
 
16
19
  ```
17
20
 
data/lib/franc.rb CHANGED
@@ -22,8 +22,8 @@ module Franc
22
22
  return if ['no', 'n'].include?(str)
23
23
  puts 'installing...'
24
24
  `npm install -g franc`
25
- puts "\nnpm successfully installed."
26
- true # Just for looks, better than returning nil.
25
+ puts "\nnpm successfully installed franc."
26
+ true # Just for looks really, better than returning nil.
27
27
  end
28
28
  end
29
29
 
data/lib/franc/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Franc
2
- VERSION = '0.0.1'
2
+ VERSION = '0.0.2'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: franc
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - John Mason