Lint: frozen-string-literal

This commit is contained in:
Olle Jonsson 2016-09-22 19:16:29 +02:00
parent f226343233
commit 04215618a2
15 changed files with 15 additions and 0 deletions

View File

@ -1,4 +1,5 @@
#! /usr/bin/env ruby #! /usr/bin/env ruby
# frozen_string_literal: true
require_relative "../lib/github_changelog_generator" require_relative "../lib/github_changelog_generator"
GitHubChangelogGenerator::ChangelogGenerator.new.run GitHubChangelogGenerator::ChangelogGenerator.new.run

View File

@ -1,4 +1,5 @@
#! /usr/bin/env ruby #! /usr/bin/env ruby
# frozen_string_literal: true
require_relative "../lib/github_changelog_generator" require_relative "../lib/github_changelog_generator"
GitHubChangelogGenerator::ChangelogGenerator.new.run GitHubChangelogGenerator::ChangelogGenerator.new.run

View File

@ -1,4 +1,5 @@
#!/usr/bin/env ruby #!/usr/bin/env ruby
# frozen_string_literal: true
require "github_api" require "github_api"
require "json" require "json"

View File

@ -1,3 +1,4 @@
# frozen_string_literal: true
module GitHubChangelogGenerator module GitHubChangelogGenerator
# A Fetcher responsible for all requests to GitHub and all basic manipulation with related data # A Fetcher responsible for all requests to GitHub and all basic manipulation with related data
# (such as filtering, validating, e.t.c) # (such as filtering, validating, e.t.c)

View File

@ -1,3 +1,4 @@
# frozen_string_literal: true
require_relative "../fetcher" require_relative "../fetcher"
require_relative "generator_generation" require_relative "generator_generation"
require_relative "generator_fetcher" require_relative "generator_fetcher"

View File

@ -1,3 +1,4 @@
# frozen_string_literal: true
module GitHubChangelogGenerator module GitHubChangelogGenerator
class Generator class Generator
# Fetch event for issues and pull requests # Fetch event for issues and pull requests

View File

@ -1,3 +1,4 @@
# frozen_string_literal: true
module GitHubChangelogGenerator module GitHubChangelogGenerator
class Generator class Generator
# Main function to start change log generation # Main function to start change log generation

View File

@ -1,3 +1,4 @@
# frozen_string_literal: true
module GitHubChangelogGenerator module GitHubChangelogGenerator
class Generator class Generator
# delete all labels with labels from @options[:exclude_labels] array # delete all labels with labels from @options[:exclude_labels] array

View File

@ -1,3 +1,4 @@
# frozen_string_literal: true
module GitHubChangelogGenerator module GitHubChangelogGenerator
class Generator class Generator
# fetch, filter tags, fetch dates and sort them in time order # fetch, filter tags, fetch dates and sort them in time order

View File

@ -1,3 +1,4 @@
# frozen_string_literal: true
require "logger" require "logger"
require "rainbow" require "rainbow"

View File

@ -1,4 +1,5 @@
#!/usr/bin/env ruby #!/usr/bin/env ruby
# frozen_string_literal: true
require "optparse" require "optparse"
require "pp" require "pp"
require_relative "version" require_relative "version"

View File

@ -1,3 +1,4 @@
# frozen_string_literal: true
require "pathname" require "pathname"
module GitHubChangelogGenerator module GitHubChangelogGenerator

View File

@ -1,3 +1,4 @@
# frozen_string_literal: true
# #
# Author:: Enrico Stahn <mail@enricostahn.com> # Author:: Enrico Stahn <mail@enricostahn.com>
# #

View File

@ -1,3 +1,4 @@
# frozen_string_literal: true
require "rake" require "rake"
require "rake/tasklib" require "rake/tasklib"
require "github_changelog_generator" require "github_changelog_generator"

View File

@ -1,3 +1,4 @@
# frozen_string_literal: true
module GitHubChangelogGenerator module GitHubChangelogGenerator
VERSION = "1.13.1" VERSION = "1.13.1"
end end