Skip to content

Commit

Permalink
Manage as a gem
Browse files Browse the repository at this point in the history
  • Loading branch information
mokuzon committed Oct 31, 2024
1 parent be4f093 commit ea76e82
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 3 deletions.
19 changes: 17 additions & 2 deletions lib/line/bot.rb
Original file line number Diff line number Diff line change
@@ -1,21 +1,36 @@
# Copyright 2016 LINE
# Copyright 2016-2024 LINE
#
# LINE Corporation licenses this file to you under the Apache License,
# version 2.0 (the "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at:
#
# http://www.apache.org/licenses/LICENSE-2.0
# http://www.apache.org/licenses/LICENSE_2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.

# V1
require 'line/bot/util'
require 'line/bot/client'
require 'line/bot/event'
require 'line/bot/api/errors'
require 'line/bot/api'
require 'line/bot/httpclient'
require 'line/bot/api/version'

# V2
require 'line/bot/v2/webhook_parser'

## OpenAPI
require 'line/bot/v2/channel_access_token/core'
require 'line/bot/v2/insight/core'
require 'line/bot/v2/liff/core'
require 'line/bot/v2/manage_audience/core'
require 'line/bot/v2/messaging_api/core'
require 'line/bot/v2/module/core'
require 'line/bot/v2/module_attach/core'
require 'line/bot/v2/shop/core'
require 'line/bot/v2/webhook/core'
2 changes: 1 addition & 1 deletion line-bot-api.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Gem::Specification.new do |spec|
spec.homepage = "https://github.com/line/line-bot-sdk-ruby"
spec.license = "Apache-2.0"

spec.files = %w(CONTRIBUTING.md LICENSE README.md line-bot-api.gemspec) + Dir['lib/**/*.rb']
spec.files = %w(CONTRIBUTING.md LICENSE README.md line-bot-api.gemspec) + Dir['lib/**/*.rb'] + Dir['sig/**/*.rbs']
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ["lib"]

Expand Down

0 comments on commit ea76e82

Please sign in to comment.