githubissues-port 0.3.1 → 0.3.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- OGFmYTNjYWE3OTE3MmE2YTk0MmRjNGIyM2VmZTk1ZmNhYWViODk1ZA==
4
+ ODA2ZmEwZmZiMzhlZGI2NGJiZTQ3ZjZiNGJlMTAwNzlkOGZmNDgyZg==
5
5
  data.tar.gz: !binary |-
6
- OTM2ODFiYjRkZjEyNjlhYzA5YThjY2RmOTI2NzcwY2ZjZTBhMzQ2Yg==
6
+ MThjMjNmMGQzMTlmMzUwNzg3ZjIxNmZmNzQzYWEyYjNkY2VhOTNhZQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- ZTRkNTc3ZDlkZmMxZmFkNDYzMTE3YWU5ZTU4MzAyOWRjMWVlOTk1M2QxZGFm
10
- YWZkZDQxOWZjYTRjNWQwY2E0MTc5Y2VlMWRiMWVlZTc1YzJhNjYzOTkzNDk2
11
- ZWZhNWY4YWQxYWFhODM3Mzc1ZTBmOGM4MWE4ODc0ZjVjZDA0MjE=
9
+ ZDg4OGMzZThjMDQ3NDQ1OGNkZjVlZWE3YzdkMGY5NGFmNDkxMzQ1NDc2YzZl
10
+ YmM4MGExMDllZTMzZWU3NzFlMWRlMGQ3ZDc3MDZlYTRmYTBiYWU4YTkyZDRj
11
+ N2Y1NzZjNGNkZjNmNTE1YWEwOTI2OTcxOWFiYzhmZTFkNjVkNzI=
12
12
  data.tar.gz: !binary |-
13
- OWRlMGQ3N2U2ZTE3MWQ2MDhkY2RkMzZkMTg2NzE0NmY4MzcxMWU4ZWUwZjQ5
14
- N2MwMTM2OTNhM2Q5Y2RlZGI2NjUzMmE5ZWMyMTgxOGQ4NDVhNWE3ZTlmMGVm
15
- NWUwN2FhNjAxYzlhNzZkYzQyNmM5YzZkMDFmZWIzYjMxNzk4NjI=
13
+ MDFlMGE1ZTdjNWU4ZDNjNTdhYzQ1YTNjNDk3ZjhiZjA4MGQzZWFiY2ExODNj
14
+ MTc4NjZiNWYyY2NkZjFjNDEyMWU3YzdhZDljM2YxYzQyNGJhMjQ2NjVlMDUy
15
+ MGZjMTRhOTdiM2ZiNmQ1MTAyOWY0ZmE5NWM2MjE2OGNhZWQyZWU=
data/.travis.yml ADDED
@@ -0,0 +1,4 @@
1
+ language: ruby
2
+ rvm:
3
+ - "1.9.3"
4
+ - "2.0.0"
@@ -1,21 +1,27 @@
1
- {<img src="https://badge.fury.io/rb/githubissues-port.png" alt="Gem Version" />}[http://badge.fury.io/rb/githubissues-port]
1
+ [![Build Status](https://travis-ci.org/github-issues-port/githubissues-port.png?branch=master)](https://travis-ci.org/github-issues-port/githubissues-port)[![Gem Version](https://badge.fury.io/rb/githubissues-port.png)](http://badge.fury.io/rb/githubissues-port)[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/ankit8898/githubissues-port/trend.png)](https://bitdeli.com/free "Bitdeli Badge")
2
2
 
3
- = githubissues-port, an Excel import/export extension for github issues in Ruby
3
+ # Github Issues Port
4
4
 
5
- githubissues-port is a Ruby gem that facilittes easy import and export of Github Issues in Ruby and Ruyb on Rails.
5
+ Ever Felt the need of Exporting your Github Issues or Importing the issues in Github via a Excel. **githubissues-port** is your answer. :neckbeard:.
6
6
 
7
+ **githubissues-port** can be used from the command line or as part of a Ruby web framework.
7
8
 
8
- == Installation
9
+ #### Sample Application
9
10
 
10
- githubissues-port can be used from the command line or as part of a Ruby web framework. To install the gem using terminal, run the following command:
11
+ [Sample Application with usage can be found here](http://mysterious-springs-2093.herokuapp.com/)
12
+
13
+ ### Installation
14
+
15
+ To install the gem using terminal, run the following command:
11
16
 
12
17
  gem install githubissues-port
13
18
 
14
- To use it in Rails, add this line to your Gemfile:
19
+ To use it in rails application add the gem to the Gemfile:
20
+
21
+ gem "githubissues-port"
15
22
 
16
- gem "githubissues-port"
23
+ ### Basic Usage
17
24
 
18
- == Basic Usage
19
25
  githubissues-port can simply import or export issues from an Excel file.:
20
26
 
21
27
  require 'githubissues-port'
@@ -30,12 +36,14 @@ githubissues-port can simply import or export issues from an Excel file.:
30
36
  connection = Github.new(basic_auth: "#{your_github_username}:#{your_github_password}")
31
37
 
32
38
  # The import mudule will import issues from Excel, creates an issue if the number blank, otherwise, updating an existing issue by looking up the issue number.
39
+
33
40
  Githubissues::Port::Import.new(connection, owner, repo, 'import.xlsx', fields: ['title', 'labels'])
34
41
 
35
42
  # The export module will export issues to Excel.
43
+
36
44
  Githubissues::Port::Export.new(connection, owner, repo, 'export.xlsx', fields: ['number', 'title', 'body', 'labels'])
37
45
 
38
- == Contributing
46
+ ### Contributing
39
47
 
40
48
  Contributions are welcomed. You can fork a repository, add your code changes to the forked branch, ensure all existing unit tests pass, create new unit tests cover your new changes and finally create a pull request.
41
49
 
@@ -47,14 +55,14 @@ to install the development gem dependecies:
47
55
 
48
56
  githubissues-port this is complete, you should be able to run the test suite:
49
57
 
50
- rake
58
+ rake spec
51
59
 
52
60
 
53
- == Bug Reporting
61
+ ### Bug Reporting
54
62
 
55
- Please use the {Issues}[https://github.com/githubissues-port/githubissues-port/issues] page to report bugs or suggest new enhancements.
63
+ Please use the [Issues](https://github.com/githubissues-port/githubissues-port/issues) page to report bugs or suggest new enhancements.
56
64
 
57
65
 
58
- == License
66
+ ### License
59
67
 
60
- Creek has been published under {MIT License}[https://github.com/githubissues-port/githubissues-port/blob/master/LICENSE.txt]
68
+ githubissues-port has been published under [MIT License](https://github.com/githubissues-port/githubissues-port/blob/master/LICENSE.txt])
@@ -20,7 +20,6 @@ Gem::Specification.new do |spec|
20
20
  spec.required_ruby_version = '>= 1.9.2'
21
21
 
22
22
  spec.add_dependency 'github_api'
23
- spec.add_dependency 'faraday','0.8.0'
24
23
  spec.add_dependency 'creek'
25
24
  spec.add_dependency 'axlsx','~> 2.0.1'
26
25
  spec.add_development_dependency 'rake', '~>10.1.1'
@@ -1,5 +1,5 @@
1
1
  module Githubissues
2
2
  module Port
3
- VERSION = "0.3.1"
3
+ VERSION = "0.3.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: githubissues-port
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ramtin Vaziri
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2014-02-01 00:00:00.000000000 Z
13
+ date: 2014-02-03 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: github_api
@@ -26,20 +26,6 @@ dependencies:
26
26
  - - ! '>='
27
27
  - !ruby/object:Gem::Version
28
28
  version: '0'
29
- - !ruby/object:Gem::Dependency
30
- name: faraday
31
- requirement: !ruby/object:Gem::Requirement
32
- requirements:
33
- - - '='
34
- - !ruby/object:Gem::Version
35
- version: 0.8.0
36
- type: :runtime
37
- prerelease: false
38
- version_requirements: !ruby/object:Gem::Requirement
39
- requirements:
40
- - - '='
41
- - !ruby/object:Gem::Version
42
- version: 0.8.0
43
29
  - !ruby/object:Gem::Dependency
44
30
  name: creek
45
31
  requirement: !ruby/object:Gem::Requirement
@@ -103,10 +89,11 @@ extensions: []
103
89
  extra_rdoc_files: []
104
90
  files:
105
91
  - .gitignore
92
+ - .travis.yml
106
93
  - Gemfile
107
94
  - LICENSE.txt
108
- - README.rdoc
109
95
  - Rakefile
96
+ - Readme.md
110
97
  - export.xlsx
111
98
  - githubissues-port.gemspec
112
99
  - lib/githubissues-port.rb