qiita_trend 0.1.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.
- checksums.yaml +7 -0
- data/.circleci/config.yml +78 -0
- data/.commit_template +32 -0
- data/.gitignore +13 -0
- data/.rspec +3 -0
- data/.rubocop.yml +68 -0
- data/Gemfile +6 -0
- data/Gemfile.lock +75 -0
- data/LICENSE.txt +8 -0
- data/README.md +25 -0
- data/Rakefile +8 -0
- data/bin/console +15 -0
- data/bin/setup +8 -0
- data/lib/qiita_trend/trend.rb +45 -0
- data/lib/qiita_trend/version.rb +5 -0
- data/lib/qiita_trend.rb +7 -0
- data/qiita_trend.gemspec +49 -0
- metadata +185 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: d976be8d40fa8a10277ab3dbd74a75083dcb4e678afaf5aec35eb588d78e637f
|
4
|
+
data.tar.gz: 7b4d9ece84fb7699dee8a11b24cf70abab20e580bad744fc855dbd0d2e3520b7
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 569be16b4557ed51a46cd87d64a3d0b3aa6ab3457b7a590a440f4ed9d7c68b74bfe068ffb511f01391f8f9cf0d3f4c3cc095e79bf28a51e110fc95f1b73b3f25
|
7
|
+
data.tar.gz: 76067b55858cba110a05872207ce405a92b73a66d78705b9646d1878dca24c39d5f88459cee1f7322f5fdc048635d3f18bcb00a52e548394453bcc99fd6be339
|
@@ -0,0 +1,78 @@
|
|
1
|
+
# Ruby CircleCI 2.0 configuration file
|
2
|
+
#
|
3
|
+
# Check https://circleci.com/docs/2.0/language-ruby/ for more details
|
4
|
+
#
|
5
|
+
version: 2
|
6
|
+
jobs:
|
7
|
+
build:
|
8
|
+
docker:
|
9
|
+
# specify the version you desire here
|
10
|
+
- image: circleci/ruby:2.6.0-node-browsers
|
11
|
+
environment:
|
12
|
+
BUNDLER_VERSION: 2.0.1
|
13
|
+
|
14
|
+
# Specify service dependencies here if necessary
|
15
|
+
# CircleCI maintains a library of pre-built images
|
16
|
+
# documented at https://circleci.com/docs/2.0/circleci-images/
|
17
|
+
# - image: circleci/postgres:9.4
|
18
|
+
|
19
|
+
working_directory: ~/repo
|
20
|
+
|
21
|
+
steps:
|
22
|
+
- checkout
|
23
|
+
|
24
|
+
# Download and cache dependencies
|
25
|
+
- restore_cache:
|
26
|
+
keys:
|
27
|
+
- v1-dependencies-{{ checksum "Gemfile.lock" }}
|
28
|
+
# fallback to using the latest cache if no exact match is found
|
29
|
+
- v1-dependencies-
|
30
|
+
|
31
|
+
# install Bundler!
|
32
|
+
# ref:https://discuss.circleci.com/t/using-bundler-2-0-during-ci-fails/27411
|
33
|
+
- run:
|
34
|
+
name: install bundler
|
35
|
+
command: |
|
36
|
+
sudo gem update --system
|
37
|
+
sudo gem uninstall bundler
|
38
|
+
sudo rm /usr/local/bin/bundle
|
39
|
+
sudo rm /usr/local/bin/bundler
|
40
|
+
sudo gem install bundler
|
41
|
+
|
42
|
+
# install gem!
|
43
|
+
- run:
|
44
|
+
name: install gem
|
45
|
+
command: |
|
46
|
+
# jobs=4は並列処理をして高速化するための設定(4つのjobで実行するって意味)
|
47
|
+
bundle check --path=vendor/bundle || bundle install --path=vendor/bundle --jobs=4 --retry=3
|
48
|
+
|
49
|
+
- save_cache:
|
50
|
+
paths:
|
51
|
+
- ./vendor/bundle
|
52
|
+
key: v1-dependencies-{{ checksum "Gemfile.lock" }}
|
53
|
+
|
54
|
+
# run tests!
|
55
|
+
- run:
|
56
|
+
name: run tests
|
57
|
+
command: |
|
58
|
+
mkdir /tmp/test-results
|
59
|
+
TEST_FILES="$(circleci tests glob "spec/**/*_spec.rb" | circleci tests split --split-by=timings)"
|
60
|
+
bundle exec rspec \
|
61
|
+
--format progress \
|
62
|
+
--format RspecJunitFormatter \
|
63
|
+
--out /tmp/test-results/rspec.xml \
|
64
|
+
--format progress \
|
65
|
+
$TEST_FILES
|
66
|
+
|
67
|
+
# run rubocop!
|
68
|
+
- run:
|
69
|
+
name: run rubocop
|
70
|
+
command: |
|
71
|
+
bundle exec rubocop
|
72
|
+
|
73
|
+
# collect reports
|
74
|
+
- store_test_results:
|
75
|
+
path: /tmp/test-results
|
76
|
+
- store_artifacts:
|
77
|
+
path: /tmp/test-results
|
78
|
+
destination: test-results
|
data/.commit_template
ADDED
@@ -0,0 +1,32 @@
|
|
1
|
+
|
2
|
+
|
3
|
+
# ======== Emoji Prefix ========
|
4
|
+
# 🎉 :tada: Initial commit.
|
5
|
+
# ✨ :sparkles: New features.
|
6
|
+
# 🔧 :wrench: Changing configuration files.
|
7
|
+
# 💄 :lipstick: Updating the UI and style files.
|
8
|
+
# ✏ :pencil2: Fixing typos.
|
9
|
+
# 📝 :memo: Writing docs.
|
10
|
+
# 🔥 :fire: Removing code or files.
|
11
|
+
# 🐛 :bug: Fixing a bug.
|
12
|
+
# ♻ :recycle: Refactoring code.
|
13
|
+
# 🚨 :rotating_light: Removing linter warnings.
|
14
|
+
# 🚧 :construction: Work in progress.
|
15
|
+
|
16
|
+
# ==== Format ====
|
17
|
+
# :emoji: Subject
|
18
|
+
#
|
19
|
+
# Commit body...
|
20
|
+
|
21
|
+
# ==== The Seven Rules ====
|
22
|
+
# 1. Separate subject from body with a blank line
|
23
|
+
# 2. Limit the subject line to 50 characters
|
24
|
+
# 3. Capitalize the subject line
|
25
|
+
# 4. Do not end the subject line with a period
|
26
|
+
# 5. Use the imperative mood in the subject line
|
27
|
+
# 6. Wrap the body at 72 characters
|
28
|
+
# 7. Use the body to explain what and why vs. how
|
29
|
+
#
|
30
|
+
# How to Write a Git Commit Message http://chris.beams.io/posts/git-commit/
|
31
|
+
|
32
|
+
# for http://memo.goodpatch.co/2016/07/beautiful-commits-with-emojis/
|
data/.gitignore
ADDED
data/.rspec
ADDED
data/.rubocop.yml
ADDED
@@ -0,0 +1,68 @@
|
|
1
|
+
# Rspec用のrubocopの読み込み
|
2
|
+
require: rubocop-rspec
|
3
|
+
|
4
|
+
AllCops:
|
5
|
+
# Rubyのバージョン指定
|
6
|
+
TargetRubyVersion: 2.3.7
|
7
|
+
|
8
|
+
# クラス名Moduleの説明をなしでもOKとする
|
9
|
+
Style/Documentation:
|
10
|
+
Enabled: false
|
11
|
+
|
12
|
+
# 日本語でのコメントを許可
|
13
|
+
AsciiComments:
|
14
|
+
Enabled: false
|
15
|
+
|
16
|
+
# メソッドの引数の文字数を2文字以上とする
|
17
|
+
Naming/UncommunicativeMethodParamName:
|
18
|
+
MinNameLength: 2
|
19
|
+
|
20
|
+
# 1行の長さのMAXを150文字とする
|
21
|
+
Metrics/LineLength:
|
22
|
+
Max: 150
|
23
|
+
|
24
|
+
# メソッドの行数をコメントを除いて50行までとする
|
25
|
+
MethodLength:
|
26
|
+
CountComments: true
|
27
|
+
Max: 50
|
28
|
+
|
29
|
+
# if文の実行結果が4行以上の場合にチェックするように設定する
|
30
|
+
GuardClause:
|
31
|
+
MinBodyLength: 4
|
32
|
+
|
33
|
+
IfUnlessModifier:
|
34
|
+
Enabled: false
|
35
|
+
|
36
|
+
# メソッドの複雑度を7→18に変更
|
37
|
+
# ※複雑度の計算方法は「https://github.com/bbatsov/rubocop/blob/master/lib/rubocop/cop/metrics/perceived_complexity.rb」
|
38
|
+
Metrics/PerceivedComplexity:
|
39
|
+
Max: 18
|
40
|
+
|
41
|
+
# メソッドの循環的複雑度を6→15に変更
|
42
|
+
# ※循環的複雑度の計算方法は「https://github.com/bbatsov/rubocop/blob/master/lib/rubocop/cop/metrics/cyclomatic_complexity.rb」
|
43
|
+
Metrics/CyclomaticComplexity:
|
44
|
+
Max: 15
|
45
|
+
|
46
|
+
# メソッドのABC sizeチェックの合計ポイントを15→40に変更
|
47
|
+
# ABC sizeチェックの計算方法は「https://github.com/rubocop-hq/rubocop/blob/master/lib/rubocop/cop/metrics/abc_size.rb」
|
48
|
+
Metrics/AbcSize:
|
49
|
+
Max: 40
|
50
|
+
|
51
|
+
# ブロックの長さの制限をRspecは除外する
|
52
|
+
# ※RspecはDSLのため1つのブロックで行数が増えてしまうのはしょうがないため
|
53
|
+
Metrics/BlockLength:
|
54
|
+
Max: 30
|
55
|
+
Exclude:
|
56
|
+
- 'spec/**/*'
|
57
|
+
|
58
|
+
# クラスの行数(コメントは除いて)を100→150に変更
|
59
|
+
Metrics/ClassLength:
|
60
|
+
Max: 150
|
61
|
+
|
62
|
+
# モジュールの行数(コメントは除いて)を100→150に変更
|
63
|
+
Metrics/ModuleLength:
|
64
|
+
Max: 150
|
65
|
+
|
66
|
+
# Rspec句のitの行数を5→10に変更
|
67
|
+
RSpec/ExampleLength:
|
68
|
+
Max: 10
|
data/Gemfile
ADDED
data/Gemfile.lock
ADDED
@@ -0,0 +1,75 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
qiita_trend (0.1.0)
|
5
|
+
nokogiri (~> 1.9)
|
6
|
+
|
7
|
+
GEM
|
8
|
+
remote: https://rubygems.org/
|
9
|
+
specs:
|
10
|
+
addressable (2.6.0)
|
11
|
+
public_suffix (>= 2.0.2, < 4.0)
|
12
|
+
ast (2.4.0)
|
13
|
+
crack (0.4.3)
|
14
|
+
safe_yaml (~> 1.0.0)
|
15
|
+
diff-lcs (1.3)
|
16
|
+
hashdiff (1.0.0)
|
17
|
+
jaro_winkler (1.5.3)
|
18
|
+
mini_portile2 (2.4.0)
|
19
|
+
nokogiri (1.10.3)
|
20
|
+
mini_portile2 (~> 2.4.0)
|
21
|
+
parallel (1.17.0)
|
22
|
+
parser (2.6.3.0)
|
23
|
+
ast (~> 2.4.0)
|
24
|
+
public_suffix (3.1.1)
|
25
|
+
rainbow (3.0.0)
|
26
|
+
rake (10.5.0)
|
27
|
+
rspec (3.8.0)
|
28
|
+
rspec-core (~> 3.8.0)
|
29
|
+
rspec-expectations (~> 3.8.0)
|
30
|
+
rspec-mocks (~> 3.8.0)
|
31
|
+
rspec-core (3.8.2)
|
32
|
+
rspec-support (~> 3.8.0)
|
33
|
+
rspec-expectations (3.8.4)
|
34
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
35
|
+
rspec-support (~> 3.8.0)
|
36
|
+
rspec-mocks (3.8.1)
|
37
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
38
|
+
rspec-support (~> 3.8.0)
|
39
|
+
rspec-support (3.8.2)
|
40
|
+
rspec_junit_formatter (0.4.1)
|
41
|
+
rspec-core (>= 2, < 4, != 2.12.0)
|
42
|
+
rubocop (0.73.0)
|
43
|
+
jaro_winkler (~> 1.5.1)
|
44
|
+
parallel (~> 1.10)
|
45
|
+
parser (>= 2.6)
|
46
|
+
rainbow (>= 2.2.2, < 4.0)
|
47
|
+
ruby-progressbar (~> 1.7)
|
48
|
+
unicode-display_width (>= 1.4.0, < 1.7)
|
49
|
+
rubocop-rspec (1.33.0)
|
50
|
+
rubocop (>= 0.60.0)
|
51
|
+
ruby-progressbar (1.10.1)
|
52
|
+
safe_yaml (1.0.5)
|
53
|
+
unicode-display_width (1.6.0)
|
54
|
+
vcr (5.0.0)
|
55
|
+
webmock (3.6.0)
|
56
|
+
addressable (>= 2.3.6)
|
57
|
+
crack (>= 0.3.2)
|
58
|
+
hashdiff (>= 0.4.0, < 2.0.0)
|
59
|
+
|
60
|
+
PLATFORMS
|
61
|
+
ruby
|
62
|
+
|
63
|
+
DEPENDENCIES
|
64
|
+
bundler (~> 2.0)
|
65
|
+
qiita_trend!
|
66
|
+
rake (~> 10.0)
|
67
|
+
rspec (~> 3.0)
|
68
|
+
rspec_junit_formatter
|
69
|
+
rubocop (~> 0.62)
|
70
|
+
rubocop-rspec
|
71
|
+
vcr
|
72
|
+
webmock
|
73
|
+
|
74
|
+
BUNDLED WITH
|
75
|
+
2.0.1
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,8 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
Copyright (c) 2019 dodonki1223
|
3
|
+
|
4
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
5
|
+
|
6
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
7
|
+
|
8
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,25 @@
|
|
1
|
+
# QiitaTrend
|
2
|
+
|
3
|
+
QiitaのDailyのトレンドを取得することができます(**Weekly、Monthlyは対応していません**)
|
4
|
+
|
5
|
+
## 概要
|
6
|
+
|
7
|
+
[Qiita](https://qiita.com/)のTOPページをスクレイピングしDailyのトレンドを取得します
|
8
|
+
|
9
|
+
## インストール
|
10
|
+
|
11
|
+
Add this line to your application's Gemfile:
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
gem 'qiita_trend'
|
15
|
+
```
|
16
|
+
|
17
|
+
And then execute:
|
18
|
+
|
19
|
+
$ bundle
|
20
|
+
|
21
|
+
Or install it yourself as:
|
22
|
+
|
23
|
+
$ gem install qiita_trend
|
24
|
+
|
25
|
+
## 使用方法
|
data/Rakefile
ADDED
data/bin/console
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
# frozen_string_literal: true
|
3
|
+
|
4
|
+
require 'bundler/setup'
|
5
|
+
require 'qiita_trend'
|
6
|
+
|
7
|
+
# You can add fixtures and/or initialization code here to make experimenting
|
8
|
+
# with your gem easier. You can also use a different console, if you like.
|
9
|
+
|
10
|
+
# (If you use this, don't forget to add pry to your Gemfile!)
|
11
|
+
# require "pry"
|
12
|
+
# Pry.start
|
13
|
+
|
14
|
+
require 'irb'
|
15
|
+
IRB.start(__FILE__)
|
data/bin/setup
ADDED
@@ -0,0 +1,45 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'nokogiri'
|
4
|
+
require 'open-uri'
|
5
|
+
require 'json'
|
6
|
+
|
7
|
+
module QiitaTrend
|
8
|
+
# Qiitaトレンドクラス
|
9
|
+
# Qiitaのトレンド機能を提供する
|
10
|
+
class Trend
|
11
|
+
attr_reader :data
|
12
|
+
|
13
|
+
QIITA_URI = 'https://qiita.com/'
|
14
|
+
USER_AGENT = 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36'
|
15
|
+
|
16
|
+
def initialize
|
17
|
+
html = URI.parse(QIITA_URI)
|
18
|
+
html = html.read('User-Agent' => USER_AGENT)
|
19
|
+
char = html.charset
|
20
|
+
parsed_html = Nokogiri::HTML.parse(html, nil, char)
|
21
|
+
|
22
|
+
trends_data = JSON.parse(parsed_html.xpath('//div[@data-hyperapp-app="Trend"]')[0]['data-hyperapp-props'])
|
23
|
+
@data = trends_data['trend']['edges']
|
24
|
+
end
|
25
|
+
|
26
|
+
def items
|
27
|
+
@data.each_with_object([]) do |trend, value|
|
28
|
+
result = {}
|
29
|
+
result['title'] = trend['node']['title']
|
30
|
+
result['user_name'] = trend['node']['author']['urlName']
|
31
|
+
result['user_image'] = trend['node']['author']['profileImageUrl']
|
32
|
+
result['likes_count'] = trend['node']['likesCount']
|
33
|
+
result['is_new_arrival'] = trend['isNewArrival']
|
34
|
+
result['article'] = "#{QIITA_URI}#{trend['node']['author']['urlName']}/items/#{trend['node']['uuid']}"
|
35
|
+
value << result
|
36
|
+
end
|
37
|
+
end
|
38
|
+
|
39
|
+
def new_items
|
40
|
+
items.select do |trend|
|
41
|
+
trend['is_new_arrival'] == true
|
42
|
+
end
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
data/lib/qiita_trend.rb
ADDED
data/qiita_trend.gemspec
ADDED
@@ -0,0 +1,49 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
lib = File.expand_path('lib', __dir__)
|
4
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
5
|
+
require 'qiita_trend/version'
|
6
|
+
|
7
|
+
Gem::Specification.new do |spec|
|
8
|
+
spec.name = 'qiita_trend'
|
9
|
+
spec.version = QiitaTrend::VERSION
|
10
|
+
spec.authors = ['dodonki1223']
|
11
|
+
spec.email = ['make.an.effort.wish.come.true@gmail.com']
|
12
|
+
|
13
|
+
spec.summary = 'Get Qiita Trend'
|
14
|
+
spec.description = 'Get Qiita Trend'
|
15
|
+
spec.homepage = 'https://github.com/dodonki1223/qiita_trend'
|
16
|
+
spec.license = 'MIT'
|
17
|
+
|
18
|
+
# # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
|
19
|
+
# # to allow pushing to a single host or delete this section to allow pushing to any host.
|
20
|
+
# if spec.respond_to?(:metadata)
|
21
|
+
# spec.metadata["allowed_push_host"] = "TODO: Set to 'http://mygemserver.com'"
|
22
|
+
|
23
|
+
# spec.metadata["homepage_uri"] = spec.homepage
|
24
|
+
# spec.metadata["source_code_uri"] = "TODO: Put your gem's public repo URL here."
|
25
|
+
# spec.metadata["changelog_uri"] = "TODO: Put your gem's CHANGELOG.md URL here."
|
26
|
+
# else
|
27
|
+
# raise "RubyGems 2.0 or newer is required to protect against " \
|
28
|
+
# "public gem pushes."
|
29
|
+
# end
|
30
|
+
|
31
|
+
# Specify which files should be added to the gem when it is released.
|
32
|
+
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
33
|
+
spec.files = Dir.chdir(File.expand_path(__dir__)) do
|
34
|
+
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
35
|
+
end
|
36
|
+
spec.bindir = 'exe'
|
37
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
38
|
+
spec.require_paths = ['lib']
|
39
|
+
|
40
|
+
spec.add_dependency 'nokogiri', '~> 1.9'
|
41
|
+
spec.add_development_dependency 'bundler', '~> 2.0'
|
42
|
+
spec.add_development_dependency 'rake', '~> 10.0'
|
43
|
+
spec.add_development_dependency 'rspec', '~> 3.0'
|
44
|
+
spec.add_development_dependency 'rspec_junit_formatter'
|
45
|
+
spec.add_development_dependency 'rubocop', '~> 0.62'
|
46
|
+
spec.add_development_dependency 'rubocop-rspec'
|
47
|
+
spec.add_development_dependency 'vcr'
|
48
|
+
spec.add_development_dependency 'webmock'
|
49
|
+
end
|
metadata
ADDED
@@ -0,0 +1,185 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: qiita_trend
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- dodonki1223
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2019-07-23 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: nokogiri
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.9'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.9'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: bundler
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '2.0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '2.0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rake
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '10.0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '10.0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: rspec
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '3.0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '3.0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: rspec_junit_formatter
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: rubocop
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0.62'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0.62'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: rubocop-rspec
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ">="
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ">="
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: vcr
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - ">="
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - ">="
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: webmock
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - ">="
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '0'
|
132
|
+
type: :development
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - ">="
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '0'
|
139
|
+
description: Get Qiita Trend
|
140
|
+
email:
|
141
|
+
- make.an.effort.wish.come.true@gmail.com
|
142
|
+
executables: []
|
143
|
+
extensions: []
|
144
|
+
extra_rdoc_files: []
|
145
|
+
files:
|
146
|
+
- ".circleci/config.yml"
|
147
|
+
- ".commit_template"
|
148
|
+
- ".gitignore"
|
149
|
+
- ".rspec"
|
150
|
+
- ".rubocop.yml"
|
151
|
+
- Gemfile
|
152
|
+
- Gemfile.lock
|
153
|
+
- LICENSE.txt
|
154
|
+
- README.md
|
155
|
+
- Rakefile
|
156
|
+
- bin/console
|
157
|
+
- bin/setup
|
158
|
+
- lib/qiita_trend.rb
|
159
|
+
- lib/qiita_trend/trend.rb
|
160
|
+
- lib/qiita_trend/version.rb
|
161
|
+
- qiita_trend.gemspec
|
162
|
+
homepage: https://github.com/dodonki1223/qiita_trend
|
163
|
+
licenses:
|
164
|
+
- MIT
|
165
|
+
metadata: {}
|
166
|
+
post_install_message:
|
167
|
+
rdoc_options: []
|
168
|
+
require_paths:
|
169
|
+
- lib
|
170
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
171
|
+
requirements:
|
172
|
+
- - ">="
|
173
|
+
- !ruby/object:Gem::Version
|
174
|
+
version: '0'
|
175
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
176
|
+
requirements:
|
177
|
+
- - ">="
|
178
|
+
- !ruby/object:Gem::Version
|
179
|
+
version: '0'
|
180
|
+
requirements: []
|
181
|
+
rubygems_version: 3.0.3
|
182
|
+
signing_key:
|
183
|
+
specification_version: 4
|
184
|
+
summary: Get Qiita Trend
|
185
|
+
test_files: []
|