madison 0.2.0 → 0.3.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.
- data/README.md +13 -5
- data/VERSION +1 -1
- data/madison.gemspec +1 -1
- metadata +2 -2
data/README.md
CHANGED
|
@@ -4,23 +4,31 @@
|
|
|
4
4
|
|
|
5
5
|
A dirt simple Ruby gem for working with US state names and abbreviations.
|
|
6
6
|
|
|
7
|
-
This is the Ruby version of Node.js [madison](http://github.com/mdb/madison) and was built as an example gem for other developers.
|
|
8
|
-
|
|
9
|
-
Note that it's currently unpublished.
|
|
7
|
+
This is the Ruby version of the Node.js [madison](http://github.com/mdb/madison) and was built as an example gem for other developers.
|
|
10
8
|
|
|
11
9
|
## Installation
|
|
12
10
|
|
|
13
|
-
|
|
14
|
-
|
|
11
|
+
The released gem (recommended):
|
|
12
|
+
|
|
13
|
+
gem install madison
|
|
14
|
+
|
|
15
|
+
Alternatively, from source code:
|
|
16
|
+
|
|
17
|
+
git clone https://github.com/mdb/madison.rb
|
|
18
|
+
cd madison.rb
|
|
15
19
|
bundle install
|
|
16
20
|
rake install
|
|
17
21
|
|
|
18
22
|
## Run Rspec tests
|
|
19
23
|
|
|
24
|
+
(Assuming you've installed from source code)
|
|
25
|
+
|
|
20
26
|
rake
|
|
21
27
|
|
|
22
28
|
## View code coverage after running Rspec tests
|
|
23
29
|
|
|
30
|
+
(Again, assuming you've installed from source code)
|
|
31
|
+
|
|
24
32
|
open coverage/index.html
|
|
25
33
|
|
|
26
34
|
## Usage
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.
|
|
1
|
+
0.3.0
|
data/madison.gemspec
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: madison
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.3.0
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -143,7 +143,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
143
143
|
version: '0'
|
|
144
144
|
segments:
|
|
145
145
|
- 0
|
|
146
|
-
hash:
|
|
146
|
+
hash: 2177336480880133851
|
|
147
147
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
148
148
|
none: false
|
|
149
149
|
requirements:
|