bable 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +15 -6
- data/bable.gemspec +2 -0
- data/lib/bable/version.rb +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: b6e37b28c00f6965d3cfa0bdc3831361d58ea6c1
|
4
|
+
data.tar.gz: e0f3c6e2733ad047028c6aac3c8eac187934c8a7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 987cbdb6007c0afcb4c50450f65e6f87f6d19248ecd5d9766f1cae4bb9e979840e7e913ecd7d346fd9475eafa91e8df32fc2b399a0be11d909967045393484a2
|
7
|
+
data.tar.gz: 4cc18d457706bede81376d6d185445875a7e9b99f274302ef37c0b0002eaef3e35cdbd26df8b2db7dd55d4831512b3b44c0a7180a79b84b3b1b177f3729eb314
|
data/README.md
CHANGED
@@ -1,4 +1,7 @@
|
|
1
|
+
[![Gem Version](https://badge.fury.io/rb/bable.svg)](http://badge.fury.io/rb/bable)
|
1
2
|
[![Build Status](https://travis-ci.org/danimashu/bable.svg?branch=master)](https://travis-ci.org/danimashu/bable)
|
3
|
+
[![Code Climate](https://codeclimate.com/github/danimashu/bable/badges/gpa.svg)](https://codeclimate.com/github/danimashu/bable)
|
4
|
+
[![Inch CI](https://inch-ci.org/github/danimashu/bable.svg?branch=master)](https://inch-ci.org/github/danimashu/bable)
|
2
5
|
|
3
6
|
# Bable: Text readability indexes calculator
|
4
7
|
|
@@ -6,6 +9,8 @@ Bable is a library that will allow you calculate quantitative readability indexe
|
|
6
9
|
|
7
10
|
Besides calculating indexes (currently available: `Automated Readability Index` and `Coleman-Liau index`), it will help you build your own index calculator, giving you the structure and the helper methods for making the process smoother.
|
8
11
|
|
12
|
+
_Did you know? Bable [ˈbaβle] is an endangered Romance language from the Iberian peninsula._
|
13
|
+
|
9
14
|
## Installation
|
10
15
|
|
11
16
|
Add this line to your application’s Gemfile:
|
@@ -16,7 +21,7 @@ gem "bable"
|
|
16
21
|
|
17
22
|
And then execute:
|
18
23
|
|
19
|
-
$ bundle
|
24
|
+
$ bundle install
|
20
25
|
|
21
26
|
Or install it yourself as:
|
22
27
|
|
@@ -62,11 +67,15 @@ Bable.index("text", index: :my_new_index).calc
|
|
62
67
|
|
63
68
|
## Contributing
|
64
69
|
|
65
|
-
1.
|
66
|
-
2.
|
67
|
-
3.
|
68
|
-
4.
|
69
|
-
5.
|
70
|
+
1. Check for issues of your interest or create a new one.
|
71
|
+
2. Fork the repo ( http://github.com/danimashu/bable/fork ).
|
72
|
+
3. Create your feature branch `git checkout -b my-new-feature`.
|
73
|
+
4. Implement a test covering what you're going to do.
|
74
|
+
5. Commit your changes `git commit -am "Add some feature"` referencing the GitHub issue.
|
75
|
+
6. Push to the branch `git push origin my-new-feature`.
|
76
|
+
7. Create a new Pull Request.
|
77
|
+
|
78
|
+
Many thanks!
|
70
79
|
|
71
80
|
## License
|
72
81
|
|
data/bable.gemspec
CHANGED
@@ -17,6 +17,8 @@ Gem::Specification.new do |s|
|
|
17
17
|
s.executables = s.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
18
18
|
s.require_paths = ["lib"]
|
19
19
|
|
20
|
+
s.required_ruby_version = ">= 2.0.0"
|
21
|
+
|
20
22
|
s.add_runtime_dependency "activesupport", "~> 4.2.4"
|
21
23
|
|
22
24
|
s.add_development_dependency "bundler", "~> 1.10"
|
data/lib/bable/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bable
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daniel Madrid
|
@@ -145,7 +145,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
145
145
|
requirements:
|
146
146
|
- - ">="
|
147
147
|
- !ruby/object:Gem::Version
|
148
|
-
version:
|
148
|
+
version: 2.0.0
|
149
149
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
150
150
|
requirements:
|
151
151
|
- - ">="
|