twitter_ruby 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 880bf7d5729f1f8da9e4576b27b8dffe13c68e063c90be9d35965bec24c99765
4
+ data.tar.gz: 6e2172b0fdab4f0b8fd607ee3ce73afbda786e5d7a731f42f7afab564af94b88
5
+ SHA512:
6
+ metadata.gz: f7d0b5ae1bd6ecd715d41fa3d1bdd7cb97af9fe5a0b19732e0211f1b9aa9f45abd9be07d000e368efedcdac62c03b955c0161ca939658427d301b226b21f25b6
7
+ data.tar.gz: 5150d0b2ac25a341b68e0daeaf7be23503ab81c3ab12568e8d15852c8dddf4af42301cdcc9f49a8f31e686dbc9a7bee669d6f79059b1b34d4b7eec3aed310b8d
@@ -0,0 +1,11 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /_yardoc/
4
+ /coverage/
5
+ /doc/
6
+ /pkg/
7
+ /spec/reports/
8
+ /tmp/
9
+
10
+ # rspec failure tracking
11
+ .rspec_status
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --format documentation
2
+ --color
3
+ --require spec_helper
@@ -0,0 +1,191 @@
1
+ AllCops:
2
+ EnabledByDefault: true
3
+
4
+ Style/AndOr:
5
+ Enabled: false
6
+
7
+ Style/ClassAndModuleChildren:
8
+ Enabled: false
9
+
10
+ Style/AsciiComments:
11
+ Enabled: false
12
+
13
+ Style/SymbolArray:
14
+ Enabled: false
15
+
16
+ Style/WordArray:
17
+ Enabled: false
18
+
19
+ Style/MixinGrouping:
20
+ Enabled: false
21
+
22
+ Style/RescueStandardError:
23
+ Enabled: false
24
+
25
+ Style/MethodCallWithArgsParentheses:
26
+ Enabled: false
27
+
28
+ Style/DocumentationMethod:
29
+ Enabled: false
30
+
31
+ Style/CollectionMethods:
32
+ PreferredMethods:
33
+ detect: "detect"
34
+ find: "detect"
35
+ inject: "inject"
36
+ reduce: "inject"
37
+
38
+ Style/Documentation:
39
+ Enabled: false
40
+
41
+ Style/DoubleNegation:
42
+ Enabled: false
43
+
44
+ Lint/ConstantResolution:
45
+ Enabled: false
46
+
47
+ Layout/DotPosition:
48
+ EnforcedStyle: trailing
49
+
50
+
51
+ Layout/EmptyLineAfterGuardClause:
52
+ Enabled: false
53
+
54
+ Style/EmptyElse:
55
+ EnforcedStyle: empty
56
+
57
+ Layout/ExtraSpacing:
58
+ Exclude:
59
+ - "db/migrate/*.rb"
60
+ - "*.gemspec"
61
+
62
+ Style/FormatString:
63
+ EnforcedStyle: percent
64
+
65
+ Style/MissingElse:
66
+ Enabled: false
67
+
68
+ Style/StringHashKeys:
69
+ Exclude:
70
+ - "spec/queries/*.rb"
71
+ - "*.gemspec"
72
+
73
+ Style/GuardClause:
74
+ MinBodyLength: 5
75
+
76
+ Style/HashSyntax:
77
+ EnforcedStyle: ruby19
78
+ Exclude:
79
+ - "**/*.rake"
80
+ - "Rakefile"
81
+
82
+ Style/IfUnlessModifier:
83
+ Enabled: false
84
+
85
+ Style/PreferredHashMethods:
86
+ EnforcedStyle: short
87
+
88
+ Style/Lambda:
89
+ Enabled: false
90
+
91
+ Style/NumericLiterals:
92
+ MinDigits: 7
93
+
94
+ Style/PerlBackrefs:
95
+ AutoCorrect: false
96
+
97
+ Style/RedundantSelf:
98
+ Enabled: false
99
+
100
+ Style/FrozenStringLiteralComment:
101
+ Enabled: false
102
+
103
+ Style/RedundantReturn:
104
+ AllowMultipleReturnValues: true
105
+
106
+ Style/Semicolon:
107
+ Exclude:
108
+ - "spec/**/*"
109
+
110
+ Style/SignalException:
111
+ EnforcedStyle: only_raise
112
+
113
+ Style/MethodDefParentheses:
114
+ Enabled: false
115
+
116
+ Style/StringLiterals:
117
+ EnforcedStyle: double_quotes
118
+
119
+ Style/StringLiteralsInInterpolation:
120
+ Enabled: false
121
+
122
+ Style/SingleLineBlockParams:
123
+ Enabled: false
124
+
125
+ Lint/UnderscorePrefixedVariableName:
126
+ Enabled: false
127
+
128
+ Lint/UnusedMethodArgument:
129
+ Enabled: false
130
+
131
+
132
+ Metrics/AbcSize:
133
+ Enabled: false
134
+
135
+ Metrics/CyclomaticComplexity:
136
+ Max: 10
137
+
138
+ Metrics/PerceivedComplexity:
139
+ Enabled: false
140
+
141
+ Metrics/BlockLength:
142
+ Enabled: false
143
+
144
+ Layout/LineLength:
145
+ Enabled: false
146
+
147
+
148
+ Metrics/MethodLength:
149
+ Enabled: false
150
+
151
+ Metrics/ClassLength:
152
+ Enabled: false
153
+
154
+ Naming/HeredocDelimiterNaming:
155
+ Enabled: false
156
+
157
+ Naming/AccessorMethodName:
158
+ Enabled: false
159
+
160
+ Metrics/ModuleLength:
161
+ Enabled: false
162
+
163
+ Lint/UnusedBlockArgument:
164
+ Enabled: false
165
+
166
+ Lint/RescueException:
167
+ Enabled: false
168
+
169
+ Naming/RescuedExceptionsVariableName:
170
+ Enabled: false
171
+
172
+ Bundler/GemComment:
173
+ Enabled: false
174
+
175
+ Style/SafeNavigation:
176
+ Enabled: false
177
+
178
+ Lint/NumberConversion:
179
+ Enabled: false
180
+ Style/ConstantVisibility:
181
+ Enabled: false
182
+ Style/MutableConstant:
183
+ Enabled: false
184
+ Style/Copyright:
185
+ Enabled: false
186
+ Style/MultilineTernaryOperator:
187
+ Enabled: false
188
+ Layout/MultilineAssignmentLayout:
189
+ Enabled: false
190
+ Style/Send:
191
+ Enabled: false
@@ -0,0 +1,6 @@
1
+ ---
2
+ language: ruby
3
+ cache: bundler
4
+ rvm:
5
+ - 2.7.1
6
+ before_install: gem install bundler -v 2.1.4
data/Gemfile ADDED
@@ -0,0 +1,8 @@
1
+ source "https://rubygems.org"
2
+
3
+ # Specify your gem's dependencies in twitter_ruby.gemspec
4
+ gemspec
5
+
6
+ gem "rake", "~> 12.0"
7
+ gem "rspec", "~> 3.0"
8
+ gem "twitter", "~> 7.0.0"
@@ -0,0 +1,77 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ twitter_ruby (0.1.0)
5
+
6
+ GEM
7
+ remote: https://rubygems.org/
8
+ specs:
9
+ addressable (2.7.0)
10
+ public_suffix (>= 2.0.2, < 5.0)
11
+ buftok (0.2.0)
12
+ diff-lcs (1.4.4)
13
+ domain_name (0.5.20190701)
14
+ unf (>= 0.0.5, < 1.0.0)
15
+ equalizer (0.0.11)
16
+ ffi (1.13.1)
17
+ ffi-compiler (1.0.1)
18
+ ffi (>= 1.0.0)
19
+ rake
20
+ http (4.4.1)
21
+ addressable (~> 2.3)
22
+ http-cookie (~> 1.0)
23
+ http-form_data (~> 2.2)
24
+ http-parser (~> 1.2.0)
25
+ http-cookie (1.0.3)
26
+ domain_name (~> 0.5)
27
+ http-form_data (2.3.0)
28
+ http-parser (1.2.1)
29
+ ffi-compiler (>= 1.0, < 2.0)
30
+ http_parser.rb (0.6.0)
31
+ memoizable (0.4.2)
32
+ thread_safe (~> 0.3, >= 0.3.1)
33
+ multipart-post (2.1.1)
34
+ naught (1.1.0)
35
+ public_suffix (4.0.6)
36
+ rake (12.3.3)
37
+ rspec (3.9.0)
38
+ rspec-core (~> 3.9.0)
39
+ rspec-expectations (~> 3.9.0)
40
+ rspec-mocks (~> 3.9.0)
41
+ rspec-core (3.9.3)
42
+ rspec-support (~> 3.9.3)
43
+ rspec-expectations (3.9.2)
44
+ diff-lcs (>= 1.2.0, < 2.0)
45
+ rspec-support (~> 3.9.0)
46
+ rspec-mocks (3.9.1)
47
+ diff-lcs (>= 1.2.0, < 2.0)
48
+ rspec-support (~> 3.9.0)
49
+ rspec-support (3.9.3)
50
+ simple_oauth (0.3.1)
51
+ thread_safe (0.3.6)
52
+ twitter (7.0.0)
53
+ addressable (~> 2.3)
54
+ buftok (~> 0.2.0)
55
+ equalizer (~> 0.0.11)
56
+ http (~> 4.0)
57
+ http-form_data (~> 2.0)
58
+ http_parser.rb (~> 0.6.0)
59
+ memoizable (~> 0.4.0)
60
+ multipart-post (~> 2.0)
61
+ naught (~> 1.0)
62
+ simple_oauth (~> 0.3.0)
63
+ unf (0.1.4)
64
+ unf_ext
65
+ unf_ext (0.0.7.7)
66
+
67
+ PLATFORMS
68
+ ruby
69
+
70
+ DEPENDENCIES
71
+ rake (~> 12.0)
72
+ rspec (~> 3.0)
73
+ twitter (~> 7.0.0)
74
+ twitter_ruby!
75
+
76
+ BUNDLED WITH
77
+ 2.1.4
@@ -0,0 +1,36 @@
1
+ # TwitterRuby
2
+
3
+ Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/twitter_ruby`. To experiment with that code, run `bin/console` for an interactive prompt.
4
+
5
+ TODO: Delete this and the text above, and describe your gem
6
+
7
+ ## Installation
8
+
9
+ Add this line to your application's Gemfile:
10
+
11
+ ```ruby
12
+ gem 'twitter_ruby'
13
+ ```
14
+
15
+ And then execute:
16
+
17
+ $ bundle install
18
+
19
+ Or install it yourself as:
20
+
21
+ $ gem install twitter_ruby
22
+
23
+ ## Usage
24
+
25
+ TODO: Write usage instructions here
26
+
27
+ ## Development
28
+
29
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
30
+
31
+ 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).
32
+
33
+ ## Contributing
34
+
35
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/twitter_ruby.
36
+
@@ -0,0 +1,6 @@
1
+ require "bundler/gem_tasks"
2
+ require "rspec/core/rake_task"
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+
6
+ task :default => :spec
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "twitter_ruby"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require "irb"
14
+ IRB.start(__FILE__)
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,6 @@
1
+ require "twitter_ruby/version"
2
+
3
+ module TwitterRuby
4
+ class Error < StandardError; end
5
+ # Your code goes here...
6
+ end
@@ -0,0 +1,3 @@
1
+ module TwitterRuby
2
+ VERSION = "0.1.0"
3
+ end
@@ -0,0 +1,28 @@
1
+ require_relative "lib/twitter_ruby/version"
2
+
3
+ Gem::Specification.new do |spec|
4
+ spec.name = "twitter_ruby"
5
+ spec.version = TwitterRuby::VERSION
6
+ spec.authors = ["FUMI-POPPIN"]
7
+ spec.email = ["fumitake.kawasaki@el-soul.com"]
8
+
9
+ spec.summary = "Twitter Ruby wrapper for Microservice"
10
+ spec.description = "Twitter Ruby wrapper for Microservice."
11
+ spec.homepage = "https://github.com/elsoul/twitter_ruby"
12
+ spec.license = "Apache-2.0"
13
+ spec.metadata = { "source_code_uri" => "https://github.com/elsoul/twitter_ruby" }
14
+ spec.required_ruby_version = ">= 2.7.0"
15
+
16
+ spec.metadata["homepage_uri"] = spec.homepage
17
+ spec.metadata["source_code_uri"] = "https://github.com/elsoul/twitter_ruby"
18
+ spec.metadata["changelog_uri"] = "https://github.com/elsoul/twitter_ruby"
19
+
20
+ # Specify which files should be added to the gem when it is released.
21
+ # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
22
+ spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
23
+ `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
24
+ end
25
+ spec.bindir = "exe"
26
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
27
+ spec.require_paths = ["lib"]
28
+ end
metadata ADDED
@@ -0,0 +1,59 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: twitter_ruby
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - FUMI-POPPIN
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2020-10-22 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description: Twitter Ruby wrapper for Microservice.
14
+ email:
15
+ - fumitake.kawasaki@el-soul.com
16
+ executables: []
17
+ extensions: []
18
+ extra_rdoc_files: []
19
+ files:
20
+ - ".gitignore"
21
+ - ".rspec"
22
+ - ".rubocop.yml"
23
+ - ".travis.yml"
24
+ - Gemfile
25
+ - Gemfile.lock
26
+ - README.md
27
+ - Rakefile
28
+ - bin/console
29
+ - bin/setup
30
+ - lib/twitter_ruby.rb
31
+ - lib/twitter_ruby/version.rb
32
+ - twitter_ruby.gemspec
33
+ homepage: https://github.com/elsoul/twitter_ruby
34
+ licenses:
35
+ - Apache-2.0
36
+ metadata:
37
+ source_code_uri: https://github.com/elsoul/twitter_ruby
38
+ homepage_uri: https://github.com/elsoul/twitter_ruby
39
+ changelog_uri: https://github.com/elsoul/twitter_ruby
40
+ post_install_message:
41
+ rdoc_options: []
42
+ require_paths:
43
+ - lib
44
+ required_ruby_version: !ruby/object:Gem::Requirement
45
+ requirements:
46
+ - - ">="
47
+ - !ruby/object:Gem::Version
48
+ version: 2.7.0
49
+ required_rubygems_version: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - ">="
52
+ - !ruby/object:Gem::Version
53
+ version: '0'
54
+ requirements: []
55
+ rubygems_version: 3.1.4
56
+ signing_key:
57
+ specification_version: 4
58
+ summary: Twitter Ruby wrapper for Microservice
59
+ test_files: []