lib/github_changelog_generator/octo_fetcher.rb
def commits_before(start_time)
      commits = []
      iterate_pages(@client, "commits_before", start_time.to_datetime.to_s) do |new_commits|
        commits.concat(new_commits)
      end
      commits
    end
# Fetch all commits before certain point
#
# @return [String]
Fetch all commits before certain point
Fetch all commits before certain point
def commits_before(start_time)
      commits = []
      iterate_pages(@client, "commits_before", start_time.to_datetime.to_s) do |new_commits|
        commits.concat(new_commits)
      end
      commits
    end
def commits_before ( start_time ) commits = [ ] iterate_pages ( @client , "commits_before" , start_time . to_datetime . to_s ) do | new_commits | commits . concat ( new_commits ) end commits end
Fetch all commits before certain point
Fetch all commits before certain point
None
String
start_time