e_invoice 0.1.0 → 0.1.4

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/LICENSE.txt CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2016 JasonYCHuang
3
+ Copyright (c) 2016 JasonYCHuang / Lucas Yang(tilumi)
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
data/README.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # EInvoice
2
2
 
3
+ [![Code Climate](https://codeclimate.com/github/JasonYCHuang/e_invoice/badges/gpa.svg)](https://codeclimate.com/github/JasonYCHuang/e_invoice)
4
+ [![Coverage Status](https://coveralls.io/repos/github/JasonYCHuang/e_invoice/badge.svg?branch=master)](https://coveralls.io/github/JasonYCHuang/e_invoice?branch=master)
5
+ [![Issue Count](https://codeclimate.com/github/JasonYCHuang/e_invoice/badges/issue_count.svg)](https://codeclimate.com/github/JasonYCHuang/e_invoice)
6
+ [![Build Status](https://travis-ci.org/JasonYCHuang/e_invoice.svg?branch=master)](https://travis-ci.org/JasonYCHuang/e_invoice)
7
+ [![Dependency Status](https://gemnasium.com/JasonYCHuang/e_invoice.svg)](https://gemnasium.com/JasonYCHuang/e_invoice)
8
+
9
+
3
10
  With EASYCARD number and code, you can import electronic invoice from E-invoice platform, Ministry of Finance, Taiwan.
4
11
 
5
12
 
@@ -21,10 +28,19 @@ Or install it yourself as:
21
28
 
22
29
  ## Usage
23
30
 
24
- TODO: Write usage instructions here
31
+ Generate the initializer file.
32
+
33
+ ```shell
34
+ $ rails generate e_invoice
35
+ ```
36
+
37
+ Update APPID & UUID in ```config/initailizers/e_invoice.rb```
38
+
25
39
 
26
40
  ## Development
27
41
 
42
+ TODO:
43
+
28
44
  After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake rspec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
29
45
 
30
46
  To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).