furik 0.1.2 → 0.1.3

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: 9e5a3d3d93c769cd9aadb6fde7db720e0a54d6d8
4
- data.tar.gz: 784c73f9167f0e05a3d9e78b223f98dc0468a18a
3
+ metadata.gz: 03d9a75e83c44b537927645de036dd5ced4452a8
4
+ data.tar.gz: 1e81eab81ae2898acfdfb3b1af2ced50a2e3467c
5
5
  SHA512:
6
- metadata.gz: de3e517b8b288dd5c1a43ced0be96d0bddf8ff7677fc549dcbb488235e0e3f07f906eec96e00a0c65389bb297c0bedd4ed213d8f7aa89ad4511cc39bca1ff801
7
- data.tar.gz: 9a3998d9ed51efa27414215f56c9a4fd81713e9813effbc2fffed163784d62390ae02024b920fa60acf009f3dcc10c01ab18aa940c6a8f0c406122cac77d190a
6
+ metadata.gz: bff7963050cf79551cb76ecfec28f59840db213295f7a50b4dddebc1fea98862a7501d396189389d121ba2203f66b6a43edcb66c4fbd189a07004707cf28d934
7
+ data.tar.gz: 3b68506f454a0ee3bf10d00b87d8495bf1fa68793f2b477819aae9fe8c52df956efcc36f61166cf02d4a37335cd251c7de099f8084e356bffde98cf01fd25a6e
@@ -3,5 +3,6 @@ rvm:
3
3
  - 2.0.0
4
4
  - 2.1
5
5
  - 2.2
6
- - 2.3
7
6
  before_install: gem install bundler -v 1.10.6
7
+ script:
8
+ - bundle exec rake test
data/Gemfile CHANGED
@@ -1,3 +1,7 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
3
  gemspec
4
+
5
+ group :test do
6
+ gem 'webmock'
7
+ end
data/LICENSE ADDED
@@ -0,0 +1,19 @@
1
+ Copyright (c) 2015- GMO Pepabo, Inc.
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining a copy
4
+ of this software and associated documentation files (the "Software"), to deal
5
+ in the Software without restriction, including without limitation the rights
6
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7
+ copies of the Software, and to permit persons to whom the Software is
8
+ furnished to do so, subject to the following conditions:
9
+
10
+ The above copyright notice and this permission notice shall be included in
11
+ all copies or substantial portions of the Software.
12
+
13
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19
+ THE SOFTWARE.
data/README.md CHANGED
@@ -2,6 +2,12 @@
2
2
 
3
3
  Furik is summary generator for your GitHub activities.
4
4
 
5
+ [![ruby gem](https://img.shields.io/gem/v/furik.svg?style=flat-square)][gem]
6
+ [![Travis](https://img.shields.io/travis/pepabo/furik.svg?style=flat-square)][travis]
7
+
8
+ [gem]: https://rubygems.org/gems/furik
9
+ [travis]: https://travis-ci.org/pepabo/furik
10
+
5
11
  ## Installation
6
12
 
7
13
  Install it yourself as:
@@ -58,3 +64,9 @@ After checking out the repo, run `bin/setup` to install dependencies. Then, run
58
64
  ## Contributing
59
65
 
60
66
  Bug reports and pull requests are welcome on GitHub at https://github.com/pepabo/furik.
67
+
68
+ ## LICENSE
69
+
70
+ The MIT License (MIT)
71
+
72
+ Copyright (c) 2015- GMO Pepabo, Inc.
@@ -62,10 +62,11 @@ module Furik
62
62
  end
63
63
 
64
64
  def all_repo_names
65
- names = self.user_repo_names
66
- names.concat self.orgs_repo_names
65
+ self.user_repo_names.concat(self.orgs_repo_names).uniq
67
66
  end
68
67
 
68
+ # It contains repositories of your organization, If you are a public member
69
+ # of the organization.
69
70
  def user_repo_names
70
71
  @client.repos.map(&:full_name)
71
72
  end
@@ -74,6 +75,7 @@ module Furik
74
75
  @client.orgs.map(&:login)
75
76
  end
76
77
 
78
+ # It contains all repositories for your organization.
77
79
  def org_repo_names(org_name)
78
80
  @client.org_repos(org_name).map(&:full_name)
79
81
  end
@@ -1,3 +1,3 @@
1
1
  module Furik
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: furik
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - linyows
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2015-11-19 00:00:00.000000000 Z
12
+ date: 2015-12-21 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: octokit
@@ -107,6 +107,7 @@ files:
107
107
  - ".gitignore"
108
108
  - ".travis.yml"
109
109
  - Gemfile
110
+ - LICENSE
110
111
  - README.md
111
112
  - Rakefile
112
113
  - bin/console
@@ -139,7 +140,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
139
140
  version: '0'
140
141
  requirements: []
141
142
  rubyforge_project:
142
- rubygems_version: 2.4.5
143
+ rubygems_version: 2.4.5.1
143
144
  signing_key:
144
145
  specification_version: 4
145
146
  summary: A summary generator of GitHub activity for retrospective.