repo
stringlengths
5
92
file_url
stringlengths
80
287
file_path
stringlengths
5
197
content
stringlengths
0
32.8k
language
stringclasses
1 value
license
stringclasses
7 values
commit_sha
stringlengths
40
40
retrieved_at
stringdate
2026-01-04 15:37:27
2026-01-04 17:58:21
truncated
bool
2 classes
prontolabs/pronto
https://github.com/prontolabs/pronto/blob/efeae7d71803af25b662ffee1c515303d65e2e51/lib/pronto/clients/bitbucket_server_client.rb
lib/pronto/clients/bitbucket_server_client.rb
# frozen_string_literal: true require 'ostruct' class BitbucketServerClient include HTTParty def initialize(username, password, endpoint) self.class.base_uri(endpoint) self.class.basic_auth(username, password) @headers = { 'Content-Type' => 'application/json' } end def pull_comments(slug, pull_i...
ruby
MIT
efeae7d71803af25b662ffee1c515303d65e2e51
2026-01-04T15:53:40.586894Z
false
Netflix-Skunkworks/Scumblr
https://github.com/Netflix-Skunkworks/Scumblr/blob/66ed69a91c65527010f970a746a87557bf9b0856/app/serializers/system_metadata_serializer.rb
app/serializers/system_metadata_serializer.rb
class SystemMetadataSerializer < ActiveModel::Serializer attributes :id, :key, :metadata end
ruby
Apache-2.0
66ed69a91c65527010f970a746a87557bf9b0856
2026-01-04T15:53:47.123643Z
false
Netflix-Skunkworks/Scumblr
https://github.com/Netflix-Skunkworks/Scumblr/blob/66ed69a91c65527010f970a746a87557bf9b0856/app/serializers/result_serializer.rb
app/serializers/result_serializer.rb
# Copyright 2016 Netflix, Inc. # # Licensed 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 # # Unless required by applicable law...
ruby
Apache-2.0
66ed69a91c65527010f970a746a87557bf9b0856
2026-01-04T15:53:47.123643Z
false
Netflix-Skunkworks/Scumblr
https://github.com/Netflix-Skunkworks/Scumblr/blob/66ed69a91c65527010f970a746a87557bf9b0856/app/serializers/status_serializer.rb
app/serializers/status_serializer.rb
# Copyright 2016 Netflix, Inc. # # Licensed 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 # # Unless required by applicable law...
ruby
Apache-2.0
66ed69a91c65527010f970a746a87557bf9b0856
2026-01-04T15:53:47.123643Z
false
Netflix-Skunkworks/Scumblr
https://github.com/Netflix-Skunkworks/Scumblr/blob/66ed69a91c65527010f970a746a87557bf9b0856/app/serializers/flag_serializer.rb
app/serializers/flag_serializer.rb
# Copyright 2016 Netflix, Inc. # # Licensed 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 # # Unless required by applicable law...
ruby
Apache-2.0
66ed69a91c65527010f970a746a87557bf9b0856
2026-01-04T15:53:47.123643Z
false
Netflix-Skunkworks/Scumblr
https://github.com/Netflix-Skunkworks/Scumblr/blob/66ed69a91c65527010f970a746a87557bf9b0856/app/serializers/user_serializer.rb
app/serializers/user_serializer.rb
# Copyright 2016 Netflix, Inc. # # Licensed 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 # # Unless required by applicable law...
ruby
Apache-2.0
66ed69a91c65527010f970a746a87557bf9b0856
2026-01-04T15:53:47.123643Z
false
Netflix-Skunkworks/Scumblr
https://github.com/Netflix-Skunkworks/Scumblr/blob/66ed69a91c65527010f970a746a87557bf9b0856/app/serializers/task_serializer.rb
app/serializers/task_serializer.rb
# Copyright 2016 Netflix, Inc. # # Licensed 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 # # Unless required by applicable law...
ruby
Apache-2.0
66ed69a91c65527010f970a746a87557bf9b0856
2026-01-04T15:53:47.123643Z
false
Netflix-Skunkworks/Scumblr
https://github.com/Netflix-Skunkworks/Scumblr/blob/66ed69a91c65527010f970a746a87557bf9b0856/app/serializers/tag_serializer.rb
app/serializers/tag_serializer.rb
# Copyright 2016 Netflix, Inc. # # Licensed 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 # # Unless required by applicable law...
ruby
Apache-2.0
66ed69a91c65527010f970a746a87557bf9b0856
2026-01-04T15:53:47.123643Z
false
Netflix-Skunkworks/Scumblr
https://github.com/Netflix-Skunkworks/Scumblr/blob/66ed69a91c65527010f970a746a87557bf9b0856/app/workers/task_runner.rb
app/workers/task_runner.rb
# Copyright 2016 Netflix, Inc. # # Licensed 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 # # Unless required by applicable law...
ruby
Apache-2.0
66ed69a91c65527010f970a746a87557bf9b0856
2026-01-04T15:53:47.123643Z
false
Netflix-Skunkworks/Scumblr
https://github.com/Netflix-Skunkworks/Scumblr/blob/66ed69a91c65527010f970a746a87557bf9b0856/app/workers/screenshot_runner.rb
app/workers/screenshot_runner.rb
# Copyright 2016 Netflix, Inc. # # Licensed 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 # # Unless required by applicable law...
ruby
Apache-2.0
66ed69a91c65527010f970a746a87557bf9b0856
2026-01-04T15:53:47.123643Z
false
Netflix-Skunkworks/Scumblr
https://github.com/Netflix-Skunkworks/Scumblr/blob/66ed69a91c65527010f970a746a87557bf9b0856/app/workers/screenshot_sync_task_runner.rb
app/workers/screenshot_sync_task_runner.rb
# Copyright 2016 Netflix, Inc. # # Licensed 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 # # Unless required by applicable law...
ruby
Apache-2.0
66ed69a91c65527010f970a746a87557bf9b0856
2026-01-04T15:53:47.123643Z
false
Netflix-Skunkworks/Scumblr
https://github.com/Netflix-Skunkworks/Scumblr/blob/66ed69a91c65527010f970a746a87557bf9b0856/app/workers/task_worker.rb
app/workers/task_worker.rb
# Copyright 2016 Netflix, Inc. # # Licensed 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 # # Unless required by applicable law...
ruby
Apache-2.0
66ed69a91c65527010f970a746a87557bf9b0856
2026-01-04T15:53:47.123643Z
false
Netflix-Skunkworks/Scumblr
https://github.com/Netflix-Skunkworks/Scumblr/blob/66ed69a91c65527010f970a746a87557bf9b0856/app/helpers/system_metadata_helper.rb
app/helpers/system_metadata_helper.rb
module SystemMetadataHelper end
ruby
Apache-2.0
66ed69a91c65527010f970a746a87557bf9b0856
2026-01-04T15:53:47.123643Z
false
Netflix-Skunkworks/Scumblr
https://github.com/Netflix-Skunkworks/Scumblr/blob/66ed69a91c65527010f970a746a87557bf9b0856/app/helpers/user_saved_filters_helper.rb
app/helpers/user_saved_filters_helper.rb
# Copyright 2016 Netflix, Inc. # # Licensed 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 # # Unless required by applicable law...
ruby
Apache-2.0
66ed69a91c65527010f970a746a87557bf9b0856
2026-01-04T15:53:47.123643Z
false
Netflix-Skunkworks/Scumblr
https://github.com/Netflix-Skunkworks/Scumblr/blob/66ed69a91c65527010f970a746a87557bf9b0856/app/helpers/searches_helper.rb
app/helpers/searches_helper.rb
# Copyright 2016 Netflix, Inc. # # Licensed 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 # # Unless required by applicable law...
ruby
Apache-2.0
66ed69a91c65527010f970a746a87557bf9b0856
2026-01-04T15:53:47.123643Z
false
Netflix-Skunkworks/Scumblr
https://github.com/Netflix-Skunkworks/Scumblr/blob/66ed69a91c65527010f970a746a87557bf9b0856/app/helpers/users_helper.rb
app/helpers/users_helper.rb
# Copyright 2016 Netflix, Inc. # # Licensed 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 # # Unless required by applicable law...
ruby
Apache-2.0
66ed69a91c65527010f970a746a87557bf9b0856
2026-01-04T15:53:47.123643Z
false
Netflix-Skunkworks/Scumblr
https://github.com/Netflix-Skunkworks/Scumblr/blob/66ed69a91c65527010f970a746a87557bf9b0856/app/helpers/application_helper.rb
app/helpers/application_helper.rb
# Copyright 2016 Netflix, Inc. # # Licensed 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 # # Unless required by applicable law...
ruby
Apache-2.0
66ed69a91c65527010f970a746a87557bf9b0856
2026-01-04T15:53:47.123643Z
false
Netflix-Skunkworks/Scumblr
https://github.com/Netflix-Skunkworks/Scumblr/blob/66ed69a91c65527010f970a746a87557bf9b0856/app/helpers/statuses_helper.rb
app/helpers/statuses_helper.rb
# Copyright 2016 Netflix, Inc. # # Licensed 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 # # Unless required by applicable law...
ruby
Apache-2.0
66ed69a91c65527010f970a746a87557bf9b0856
2026-01-04T15:53:47.123643Z
false
Netflix-Skunkworks/Scumblr
https://github.com/Netflix-Skunkworks/Scumblr/blob/66ed69a91c65527010f970a746a87557bf9b0856/app/helpers/events_helper.rb
app/helpers/events_helper.rb
# Copyright 2016 Netflix, Inc. # # Licensed 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 # # Unless required by applicable law...
ruby
Apache-2.0
66ed69a91c65527010f970a746a87557bf9b0856
2026-01-04T15:53:47.123643Z
false
Netflix-Skunkworks/Scumblr
https://github.com/Netflix-Skunkworks/Scumblr/blob/66ed69a91c65527010f970a746a87557bf9b0856/app/helpers/results_helper.rb
app/helpers/results_helper.rb
# Copyright 2016 Netflix, Inc. # # Licensed 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 # # Unless required by applicable law...
ruby
Apache-2.0
66ed69a91c65527010f970a746a87557bf9b0856
2026-01-04T15:53:47.123643Z
false
Netflix-Skunkworks/Scumblr
https://github.com/Netflix-Skunkworks/Scumblr/blob/66ed69a91c65527010f970a746a87557bf9b0856/app/helpers/saved_filters_helper.rb
app/helpers/saved_filters_helper.rb
# Copyright 2016 Netflix, Inc. # # Licensed 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 # # Unless required by applicable law...
ruby
Apache-2.0
66ed69a91c65527010f970a746a87557bf9b0856
2026-01-04T15:53:47.123643Z
false
Netflix-Skunkworks/Scumblr
https://github.com/Netflix-Skunkworks/Scumblr/blob/66ed69a91c65527010f970a746a87557bf9b0856/app/helpers/flags_helper.rb
app/helpers/flags_helper.rb
# Copyright 2016 Netflix, Inc. # # Licensed 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 # # Unless required by applicable law...
ruby
Apache-2.0
66ed69a91c65527010f970a746a87557bf9b0856
2026-01-04T15:53:47.123643Z
false
Netflix-Skunkworks/Scumblr
https://github.com/Netflix-Skunkworks/Scumblr/blob/66ed69a91c65527010f970a746a87557bf9b0856/app/controllers/results_controller.rb
app/controllers/results_controller.rb
# Copyright 2016 Netflix, Inc. # # Licensed 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 # # Unless required by applicable law...
ruby
Apache-2.0
66ed69a91c65527010f970a746a87557bf9b0856
2026-01-04T15:53:47.123643Z
true
Netflix-Skunkworks/Scumblr
https://github.com/Netflix-Skunkworks/Scumblr/blob/66ed69a91c65527010f970a746a87557bf9b0856/app/controllers/user_saved_filters_controller.rb
app/controllers/user_saved_filters_controller.rb
# Copyright 2016 Netflix, Inc. # # Licensed 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 # # Unless required by applicable law...
ruby
Apache-2.0
66ed69a91c65527010f970a746a87557bf9b0856
2026-01-04T15:53:47.123643Z
false
Netflix-Skunkworks/Scumblr
https://github.com/Netflix-Skunkworks/Scumblr/blob/66ed69a91c65527010f970a746a87557bf9b0856/app/controllers/home_controller.rb
app/controllers/home_controller.rb
# Copyright 2016 Netflix, Inc. # # Licensed 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 # # Unless required by applicable law...
ruby
Apache-2.0
66ed69a91c65527010f970a746a87557bf9b0856
2026-01-04T15:53:47.123643Z
false
Netflix-Skunkworks/Scumblr
https://github.com/Netflix-Skunkworks/Scumblr/blob/66ed69a91c65527010f970a746a87557bf9b0856/app/controllers/tags_controller.rb
app/controllers/tags_controller.rb
# Copyright 2016 Netflix, Inc. # # Licensed 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 # # Unless required by applicable law...
ruby
Apache-2.0
66ed69a91c65527010f970a746a87557bf9b0856
2026-01-04T15:53:47.123643Z
false
Netflix-Skunkworks/Scumblr
https://github.com/Netflix-Skunkworks/Scumblr/blob/66ed69a91c65527010f970a746a87557bf9b0856/app/controllers/system_metadata_controller.rb
app/controllers/system_metadata_controller.rb
class SystemMetadataController < ApplicationController before_action :set_system_metadatum, only: [:show, :edit, :update, :destroy, :autocomplete] #serialize :metadata, JSON # GET /system_metadata # GET /system_metadata.json authorize_resource class: "SystemMetadata" def index @system_metadata = System...
ruby
Apache-2.0
66ed69a91c65527010f970a746a87557bf9b0856
2026-01-04T15:53:47.123643Z
false
Netflix-Skunkworks/Scumblr
https://github.com/Netflix-Skunkworks/Scumblr/blob/66ed69a91c65527010f970a746a87557bf9b0856/app/controllers/users_controller.rb
app/controllers/users_controller.rb
# Copyright 2016 Netflix, Inc. # # Licensed 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 # # Unless required by applicable law...
ruby
Apache-2.0
66ed69a91c65527010f970a746a87557bf9b0856
2026-01-04T15:53:47.123643Z
false
Netflix-Skunkworks/Scumblr
https://github.com/Netflix-Skunkworks/Scumblr/blob/66ed69a91c65527010f970a746a87557bf9b0856/app/controllers/events_controller.rb
app/controllers/events_controller.rb
# Copyright 2016 Netflix, Inc. # # Licensed 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 # # Unless required by applicable law...
ruby
Apache-2.0
66ed69a91c65527010f970a746a87557bf9b0856
2026-01-04T15:53:47.123643Z
false
Netflix-Skunkworks/Scumblr
https://github.com/Netflix-Skunkworks/Scumblr/blob/66ed69a91c65527010f970a746a87557bf9b0856/app/controllers/saved_filters_controller.rb
app/controllers/saved_filters_controller.rb
# Copyright 2016 Netflix, Inc. # # Licensed 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 # # Unless required by applicable law...
ruby
Apache-2.0
66ed69a91c65527010f970a746a87557bf9b0856
2026-01-04T15:53:47.123643Z
false
Netflix-Skunkworks/Scumblr
https://github.com/Netflix-Skunkworks/Scumblr/blob/66ed69a91c65527010f970a746a87557bf9b0856/app/controllers/statuses_controller.rb
app/controllers/statuses_controller.rb
# Copyright 2016 Netflix, Inc. # # Licensed 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 # # Unless required by applicable law...
ruby
Apache-2.0
66ed69a91c65527010f970a746a87557bf9b0856
2026-01-04T15:53:47.123643Z
false
Netflix-Skunkworks/Scumblr
https://github.com/Netflix-Skunkworks/Scumblr/blob/66ed69a91c65527010f970a746a87557bf9b0856/app/controllers/status_controller.rb
app/controllers/status_controller.rb
# Copyright 2016 Netflix, Inc. # # Licensed 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 # # Unless required by applicable law...
ruby
Apache-2.0
66ed69a91c65527010f970a746a87557bf9b0856
2026-01-04T15:53:47.123643Z
false
Netflix-Skunkworks/Scumblr
https://github.com/Netflix-Skunkworks/Scumblr/blob/66ed69a91c65527010f970a746a87557bf9b0856/app/controllers/tasks_controller.rb
app/controllers/tasks_controller.rb
# Copyright 2016 Netflix, Inc. # # Licensed 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 # # Unless required by applicable law...
ruby
Apache-2.0
66ed69a91c65527010f970a746a87557bf9b0856
2026-01-04T15:53:47.123643Z
false
Netflix-Skunkworks/Scumblr
https://github.com/Netflix-Skunkworks/Scumblr/blob/66ed69a91c65527010f970a746a87557bf9b0856/app/controllers/task_types_controller.rb
app/controllers/task_types_controller.rb
# Copyright 2016 Netflix, Inc. # # Licensed 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 # # Unless required by applicable law...
ruby
Apache-2.0
66ed69a91c65527010f970a746a87557bf9b0856
2026-01-04T15:53:47.123643Z
false
Netflix-Skunkworks/Scumblr
https://github.com/Netflix-Skunkworks/Scumblr/blob/66ed69a91c65527010f970a746a87557bf9b0856/app/controllers/application_controller.rb
app/controllers/application_controller.rb
# Copyright 2016 Netflix, Inc. # # Licensed 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 # # Unless required by applicable law...
ruby
Apache-2.0
66ed69a91c65527010f970a746a87557bf9b0856
2026-01-04T15:53:47.123643Z
false
Netflix-Skunkworks/Scumblr
https://github.com/Netflix-Skunkworks/Scumblr/blob/66ed69a91c65527010f970a746a87557bf9b0856/app/controllers/flags_controller.rb
app/controllers/flags_controller.rb
# Copyright 2016 Netflix, Inc. # # Licensed 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 # # Unless required by applicable law...
ruby
Apache-2.0
66ed69a91c65527010f970a746a87557bf9b0856
2026-01-04T15:53:47.123643Z
false
Netflix-Skunkworks/Scumblr
https://github.com/Netflix-Skunkworks/Scumblr/blob/66ed69a91c65527010f970a746a87557bf9b0856/app/models/user_saved_filter.rb
app/models/user_saved_filter.rb
# Copyright 2016 Netflix, Inc. # # Licensed 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 # # Unless required by applicable law...
ruby
Apache-2.0
66ed69a91c65527010f970a746a87557bf9b0856
2026-01-04T15:53:47.123643Z
false
Netflix-Skunkworks/Scumblr
https://github.com/Netflix-Skunkworks/Scumblr/blob/66ed69a91c65527010f970a746a87557bf9b0856/app/models/tag.rb
app/models/tag.rb
# Copyright 2016 Netflix, Inc. # # Licensed 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 # # Unless required by applicable law...
ruby
Apache-2.0
66ed69a91c65527010f970a746a87557bf9b0856
2026-01-04T15:53:47.123643Z
false
Netflix-Skunkworks/Scumblr
https://github.com/Netflix-Skunkworks/Scumblr/blob/66ed69a91c65527010f970a746a87557bf9b0856/app/models/task.rb
app/models/task.rb
# Copyright 2016 Netflix, Inc. # # Licensed 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 # # Unless required by applicable law...
ruby
Apache-2.0
66ed69a91c65527010f970a746a87557bf9b0856
2026-01-04T15:53:47.123643Z
false
Netflix-Skunkworks/Scumblr
https://github.com/Netflix-Skunkworks/Scumblr/blob/66ed69a91c65527010f970a746a87557bf9b0856/app/models/event.rb
app/models/event.rb
# Copyright 2016 Netflix, Inc. # # Licensed 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 # # Unless required by applicable law...
ruby
Apache-2.0
66ed69a91c65527010f970a746a87557bf9b0856
2026-01-04T15:53:47.123643Z
false
Netflix-Skunkworks/Scumblr
https://github.com/Netflix-Skunkworks/Scumblr/blob/66ed69a91c65527010f970a746a87557bf9b0856/app/models/system_metadata.rb
app/models/system_metadata.rb
# Copyright 2016 Netflix, Inc. # # Licensed 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 # # Unless required by applicable law...
ruby
Apache-2.0
66ed69a91c65527010f970a746a87557bf9b0856
2026-01-04T15:53:47.123643Z
false
Netflix-Skunkworks/Scumblr
https://github.com/Netflix-Skunkworks/Scumblr/blob/66ed69a91c65527010f970a746a87557bf9b0856/app/models/ability.rb
app/models/ability.rb
# Copyright 2016 Netflix, Inc. # # Licensed 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 # # Unless required by applicable law...
ruby
Apache-2.0
66ed69a91c65527010f970a746a87557bf9b0856
2026-01-04T15:53:47.123643Z
false
Netflix-Skunkworks/Scumblr
https://github.com/Netflix-Skunkworks/Scumblr/blob/66ed69a91c65527010f970a746a87557bf9b0856/app/models/result.rb
app/models/result.rb
# Copyright 2016 Netflix, Inc. # # Licensed 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 # # Unless required by applicable law...
ruby
Apache-2.0
66ed69a91c65527010f970a746a87557bf9b0856
2026-01-04T15:53:47.123643Z
false
Netflix-Skunkworks/Scumblr
https://github.com/Netflix-Skunkworks/Scumblr/blob/66ed69a91c65527010f970a746a87557bf9b0856/app/models/flag.rb
app/models/flag.rb
# Copyright 2016 Netflix, Inc. # # Licensed 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 # # Unless required by applicable law...
ruby
Apache-2.0
66ed69a91c65527010f970a746a87557bf9b0856
2026-01-04T15:53:47.123643Z
false
Netflix-Skunkworks/Scumblr
https://github.com/Netflix-Skunkworks/Scumblr/blob/66ed69a91c65527010f970a746a87557bf9b0856/app/models/saved_filter.rb
app/models/saved_filter.rb
# Copyright 2016 Netflix, Inc. # # Licensed 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 # # Unless required by applicable law...
ruby
Apache-2.0
66ed69a91c65527010f970a746a87557bf9b0856
2026-01-04T15:53:47.123643Z
false
Netflix-Skunkworks/Scumblr
https://github.com/Netflix-Skunkworks/Scumblr/blob/66ed69a91c65527010f970a746a87557bf9b0856/app/models/result_attachment.rb
app/models/result_attachment.rb
# Copyright 2016 Netflix, Inc. # # Licensed 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 # # Unless required by applicable law...
ruby
Apache-2.0
66ed69a91c65527010f970a746a87557bf9b0856
2026-01-04T15:53:47.123643Z
false
Netflix-Skunkworks/Scumblr
https://github.com/Netflix-Skunkworks/Scumblr/blob/66ed69a91c65527010f970a746a87557bf9b0856/app/models/comment.rb
app/models/comment.rb
# Copyright 2016 Netflix, Inc. # # Licensed 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 # # Unless required by applicable law...
ruby
Apache-2.0
66ed69a91c65527010f970a746a87557bf9b0856
2026-01-04T15:53:47.123643Z
false
Netflix-Skunkworks/Scumblr
https://github.com/Netflix-Skunkworks/Scumblr/blob/66ed69a91c65527010f970a746a87557bf9b0856/app/models/result_flag.rb
app/models/result_flag.rb
# Copyright 2016 Netflix, Inc. # # Licensed 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 # # Unless required by applicable law...
ruby
Apache-2.0
66ed69a91c65527010f970a746a87557bf9b0856
2026-01-04T15:53:47.123643Z
false
Netflix-Skunkworks/Scumblr
https://github.com/Netflix-Skunkworks/Scumblr/blob/66ed69a91c65527010f970a746a87557bf9b0856/app/models/subscriber.rb
app/models/subscriber.rb
# Copyright 2016 Netflix, Inc. # # Licensed 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 # # Unless required by applicable law...
ruby
Apache-2.0
66ed69a91c65527010f970a746a87557bf9b0856
2026-01-04T15:53:47.123643Z
false
Netflix-Skunkworks/Scumblr
https://github.com/Netflix-Skunkworks/Scumblr/blob/66ed69a91c65527010f970a746a87557bf9b0856/app/models/task_result.rb
app/models/task_result.rb
# Copyright 2016 Netflix, Inc. # # Licensed 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 # # Unless required by applicable law...
ruby
Apache-2.0
66ed69a91c65527010f970a746a87557bf9b0856
2026-01-04T15:53:47.123643Z
false
Netflix-Skunkworks/Scumblr
https://github.com/Netflix-Skunkworks/Scumblr/blob/66ed69a91c65527010f970a746a87557bf9b0856/app/models/event_change.rb
app/models/event_change.rb
# Copyright 2016 Netflix, Inc. # # Licensed 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 # # Unless required by applicable law...
ruby
Apache-2.0
66ed69a91c65527010f970a746a87557bf9b0856
2026-01-04T15:53:47.123643Z
false
Netflix-Skunkworks/Scumblr
https://github.com/Netflix-Skunkworks/Scumblr/blob/66ed69a91c65527010f970a746a87557bf9b0856/app/models/tagging.rb
app/models/tagging.rb
# Copyright 2016 Netflix, Inc. # # Licensed 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 # # Unless required by applicable law...
ruby
Apache-2.0
66ed69a91c65527010f970a746a87557bf9b0856
2026-01-04T15:53:47.123643Z
false
Netflix-Skunkworks/Scumblr
https://github.com/Netflix-Skunkworks/Scumblr/blob/66ed69a91c65527010f970a746a87557bf9b0856/app/models/summary.rb
app/models/summary.rb
# Copyright 2016 Netflix, Inc. # # Licensed 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 # # Unless required by applicable law...
ruby
Apache-2.0
66ed69a91c65527010f970a746a87557bf9b0856
2026-01-04T15:53:47.123643Z
false
Netflix-Skunkworks/Scumblr
https://github.com/Netflix-Skunkworks/Scumblr/blob/66ed69a91c65527010f970a746a87557bf9b0856/app/models/status.rb
app/models/status.rb
# Copyright 2016 Netflix, Inc. # # Licensed 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 # # Unless required by applicable law...
ruby
Apache-2.0
66ed69a91c65527010f970a746a87557bf9b0856
2026-01-04T15:53:47.123643Z
false
Netflix-Skunkworks/Scumblr
https://github.com/Netflix-Skunkworks/Scumblr/blob/66ed69a91c65527010f970a746a87557bf9b0856/app/models/user.rb
app/models/user.rb
# Copyright 2016 Netflix, Inc. # # Licensed 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 # # Unless required by applicable law...
ruby
Apache-2.0
66ed69a91c65527010f970a746a87557bf9b0856
2026-01-04T15:53:47.123643Z
false
Netflix-Skunkworks/Scumblr
https://github.com/Netflix-Skunkworks/Scumblr/blob/66ed69a91c65527010f970a746a87557bf9b0856/app/views/results/_summary_data.html.rb
app/views/results/_summary_data.html.rb
ruby
Apache-2.0
66ed69a91c65527010f970a746a87557bf9b0856
2026-01-04T15:53:47.123643Z
false
Netflix-Skunkworks/Scumblr
https://github.com/Netflix-Skunkworks/Scumblr/blob/66ed69a91c65527010f970a746a87557bf9b0856/app/mailers/notification_mailer.rb
app/mailers/notification_mailer.rb
# Copyright 2016 Netflix, Inc. # # Licensed 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 # # Unless required by applicable law...
ruby
Apache-2.0
66ed69a91c65527010f970a746a87557bf9b0856
2026-01-04T15:53:47.123643Z
false
Netflix-Skunkworks/Scumblr
https://github.com/Netflix-Skunkworks/Scumblr/blob/66ed69a91c65527010f970a746a87557bf9b0856/app/mailers/summary_mailer.rb
app/mailers/summary_mailer.rb
# Copyright 2016 Netflix, Inc. # # Licensed 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 # # Unless required by applicable law...
ruby
Apache-2.0
66ed69a91c65527010f970a746a87557bf9b0856
2026-01-04T15:53:47.123643Z
false
Netflix-Skunkworks/Scumblr
https://github.com/Netflix-Skunkworks/Scumblr/blob/66ed69a91c65527010f970a746a87557bf9b0856/db/schema.rb
db/schema.rb
# encoding: UTF-8 # This file is auto-generated from the current state of the database. Instead # of editing this file, please use the migrations feature of Active Record to # incrementally modify your database, and then regenerate this schema definition. # # Note that this schema.rb definition is the authoritative sou...
ruby
Apache-2.0
66ed69a91c65527010f970a746a87557bf9b0856
2026-01-04T15:53:47.123643Z
false
Netflix-Skunkworks/Scumblr
https://github.com/Netflix-Skunkworks/Scumblr/blob/66ed69a91c65527010f970a746a87557bf9b0856/db/migrate/20170622205314_add_frequency_to_task.rb
db/migrate/20170622205314_add_frequency_to_task.rb
class AddFrequencyToTask < ActiveRecord::Migration def change add_column :tasks, :frequency, :string, default: "" end end
ruby
Apache-2.0
66ed69a91c65527010f970a746a87557bf9b0856
2026-01-04T15:53:47.123643Z
false
Netflix-Skunkworks/Scumblr
https://github.com/Netflix-Skunkworks/Scumblr/blob/66ed69a91c65527010f970a746a87557bf9b0856/db/migrate/20160629192755_add_ability_to_store_columns_for_saved_filters.rb
db/migrate/20160629192755_add_ability_to_store_columns_for_saved_filters.rb
class AddAbilityToStoreColumnsForSavedFilters < ActiveRecord::Migration def change add_column :saved_filters, :store_index_columns, :boolean add_column :saved_filters, :index_columns, :text end end
ruby
Apache-2.0
66ed69a91c65527010f970a746a87557bf9b0856
2026-01-04T15:53:47.123643Z
false
Netflix-Skunkworks/Scumblr
https://github.com/Netflix-Skunkworks/Scumblr/blob/66ed69a91c65527010f970a746a87557bf9b0856/db/migrate/20150626175252_add_finger_print_to_result_attachments.rb
db/migrate/20150626175252_add_finger_print_to_result_attachments.rb
class AddFingerPrintToResultAttachments < ActiveRecord::Migration def change add_column :result_attachments, :attachment_fingerprint, :string end end
ruby
Apache-2.0
66ed69a91c65527010f970a746a87557bf9b0856
2026-01-04T15:53:47.123643Z
false
Netflix-Skunkworks/Scumblr
https://github.com/Netflix-Skunkworks/Scumblr/blob/66ed69a91c65527010f970a746a87557bf9b0856/db/migrate/20150610174010_add_key_and_class_to_event_changes.rb
db/migrate/20150610174010_add_key_and_class_to_event_changes.rb
class AddKeyAndClassToEventChanges < ActiveRecord::Migration def change add_column :event_changes, :old_value_key, :integer add_column :event_changes, :new_value_key, :integer add_column :event_changes, :value_class, :string end end
ruby
Apache-2.0
66ed69a91c65527010f970a746a87557bf9b0856
2026-01-04T15:53:47.123643Z
false
Netflix-Skunkworks/Scumblr
https://github.com/Netflix-Skunkworks/Scumblr/blob/66ed69a91c65527010f970a746a87557bf9b0856/db/migrate/20150727171144_change_result_metadata_to_json.rb
db/migrate/20150727171144_change_result_metadata_to_json.rb
class ChangeResultMetadataToJson < ActiveRecord::Migration def up rename_column :results, :metadata, :metadata_archive add_column :results, :metadata, :jsonb i = 0 total = Result.all.count Result.all.each do |r| if(i%100 == 0) puts "#{i}/#{total} results complete" end ...
ruby
Apache-2.0
66ed69a91c65527010f970a746a87557bf9b0856
2026-01-04T15:53:47.123643Z
false
Netflix-Skunkworks/Scumblr
https://github.com/Netflix-Skunkworks/Scumblr/blob/66ed69a91c65527010f970a746a87557bf9b0856/db/migrate/20150611181533_rename_searches_to_tasks.rb
db/migrate/20150611181533_rename_searches_to_tasks.rb
class RenameSearchesToTasks < ActiveRecord::Migration def change rename_table :searches, :tasks rename_column :tasks, :provider, :task_type Tagging.where(:taggable_type=>"Search").each do |t| t.update_attributes(taggable_type: "Task") end SavedFilter.all.each do |f| f.query["tasks_id...
ruby
Apache-2.0
66ed69a91c65527010f970a746a87557bf9b0856
2026-01-04T15:53:47.123643Z
false
Netflix-Skunkworks/Scumblr
https://github.com/Netflix-Skunkworks/Scumblr/blob/66ed69a91c65527010f970a746a87557bf9b0856/db/migrate/20150803212059_add_metadata_hash_attribute_to_result.rb
db/migrate/20150803212059_add_metadata_hash_attribute_to_result.rb
class AddMetadataHashAttributeToResult < ActiveRecord::Migration def up add_column :results, :metadata_hash, :string num_results = Result.count Result.all.each_with_index do |r,i| puts "Updating #{i}/#{num_results}" if i%10 == 0 r.update_columns(metadata_hash: r.metadata.hash.to_s) ...
ruby
Apache-2.0
66ed69a91c65527010f970a746a87557bf9b0856
2026-01-04T15:53:47.123643Z
false
Netflix-Skunkworks/Scumblr
https://github.com/Netflix-Skunkworks/Scumblr/blob/66ed69a91c65527010f970a746a87557bf9b0856/db/migrate/20160218172906_create_system_metadata.rb
db/migrate/20160218172906_create_system_metadata.rb
class CreateSystemMetadata < ActiveRecord::Migration def change create_table :system_metadata do |t| t.string :key t.timestamps end add_column :system_metadata, :metadata, :jsonb end end
ruby
Apache-2.0
66ed69a91c65527010f970a746a87557bf9b0856
2026-01-04T15:53:47.123643Z
false
Netflix-Skunkworks/Scumblr
https://github.com/Netflix-Skunkworks/Scumblr/blob/66ed69a91c65527010f970a746a87557bf9b0856/db/migrate/20150609203030_remove_change_fields_from_event.rb
db/migrate/20150609203030_remove_change_fields_from_event.rb
class RemoveChangeFieldsFromEvent < ActiveRecord::Migration def change remove_column :events, :new_value remove_column :events, :old_value remove_column :events, :recipient end end
ruby
Apache-2.0
66ed69a91c65527010f970a746a87557bf9b0856
2026-01-04T15:53:47.123643Z
false
Netflix-Skunkworks/Scumblr
https://github.com/Netflix-Skunkworks/Scumblr/blob/66ed69a91c65527010f970a746a87557bf9b0856/db/migrate/20140922200438_add_default_flag_to_status.rb
db/migrate/20140922200438_add_default_flag_to_status.rb
class AddDefaultFlagToStatus < ActiveRecord::Migration def change add_column :statuses, :default, :boolean, :default=>false end end
ruby
Apache-2.0
66ed69a91c65527010f970a746a87557bf9b0856
2026-01-04T15:53:47.123643Z
false
Netflix-Skunkworks/Scumblr
https://github.com/Netflix-Skunkworks/Scumblr/blob/66ed69a91c65527010f970a746a87557bf9b0856/db/migrate/20150528174243_make_events_polymorphic.rb
db/migrate/20150528174243_make_events_polymorphic.rb
class MakeEventsPolymorphic < ActiveRecord::Migration def change add_column :events, :eventable_type, :string, index: true rename_column :events, :result_id, :eventable_id end end
ruby
Apache-2.0
66ed69a91c65527010f970a746a87557bf9b0856
2026-01-04T15:53:47.123643Z
false
Netflix-Skunkworks/Scumblr
https://github.com/Netflix-Skunkworks/Scumblr/blob/66ed69a91c65527010f970a746a87557bf9b0856/db/migrate/20160804194709_add_sessions_table.rb
db/migrate/20160804194709_add_sessions_table.rb
class AddSessionsTable < ActiveRecord::Migration def change create_table :sessions do |t| t.string :session_id, :null => false t.text :data t.timestamps end add_index :sessions, :session_id, :unique => true add_index :sessions, :updated_at end end
ruby
Apache-2.0
66ed69a91c65527010f970a746a87557bf9b0856
2026-01-04T15:53:47.123643Z
false
Netflix-Skunkworks/Scumblr
https://github.com/Netflix-Skunkworks/Scumblr/blob/66ed69a91c65527010f970a746a87557bf9b0856/db/migrate/20150727201922_add_metadata_to_task.rb
db/migrate/20150727201922_add_metadata_to_task.rb
class AddMetadataToTask < ActiveRecord::Migration def change add_column :tasks, :metadata, :jsonb end end
ruby
Apache-2.0
66ed69a91c65527010f970a746a87557bf9b0856
2026-01-04T15:53:47.123643Z
false
Netflix-Skunkworks/Scumblr
https://github.com/Netflix-Skunkworks/Scumblr/blob/66ed69a91c65527010f970a746a87557bf9b0856/db/migrate/20150609203000_create_event_changes.rb
db/migrate/20150609203000_create_event_changes.rb
class CreateEventChanges < ActiveRecord::Migration def change create_table :event_changes do |t| t.references :event, index: true t.string :field t.text :new_value t.text :old_value t.timestamps end end end
ruby
Apache-2.0
66ed69a91c65527010f970a746a87557bf9b0856
2026-01-04T15:53:47.123643Z
false
Netflix-Skunkworks/Scumblr
https://github.com/Netflix-Skunkworks/Scumblr/blob/66ed69a91c65527010f970a746a87557bf9b0856/db/migrate/20170517173248_update_github_search_task_options.rb
db/migrate/20170517173248_update_github_search_task_options.rb
class UpdateGithubSearchTaskOptions < ActiveRecord::Migration def up Task.where(task_type: "ScumblrTask::GithubAnalyzer").each do |t| if(t.options[:members] == "1") t.options[:members] = "both" t.save end if(t.options[:members] == "0") t.options[:members] = "organization...
ruby
Apache-2.0
66ed69a91c65527010f970a746a87557bf9b0856
2026-01-04T15:53:47.123643Z
false
Netflix-Skunkworks/Scumblr
https://github.com/Netflix-Skunkworks/Scumblr/blob/66ed69a91c65527010f970a746a87557bf9b0856/db/migrate/20150528201240_make_saved_filters_polymorphic.rb
db/migrate/20150528201240_make_saved_filters_polymorphic.rb
class MakeSavedFiltersPolymorphic < ActiveRecord::Migration def change add_column :saved_filters, :saved_filter_type, :string SavedFilter.all.each do |f| f.saved_filter_type = "Result" f.save end end end
ruby
Apache-2.0
66ed69a91c65527010f970a746a87557bf9b0856
2026-01-04T15:53:47.123643Z
false
Netflix-Skunkworks/Scumblr
https://github.com/Netflix-Skunkworks/Scumblr/blob/66ed69a91c65527010f970a746a87557bf9b0856/db/migrate/20150603213217_add_enabled_to_searches.rb
db/migrate/20150603213217_add_enabled_to_searches.rb
class AddEnabledToSearches < ActiveRecord::Migration def change add_column :searches, :enabled, :boolean, default: true end end
ruby
Apache-2.0
66ed69a91c65527010f970a746a87557bf9b0856
2026-01-04T15:53:47.123643Z
false
Netflix-Skunkworks/Scumblr
https://github.com/Netflix-Skunkworks/Scumblr/blob/66ed69a91c65527010f970a746a87557bf9b0856/db/migrate/20170705165950_add_run_type_to_task.rb
db/migrate/20170705165950_add_run_type_to_task.rb
class AddRunTypeToTask < ActiveRecord::Migration def up add_column :tasks, :run_type, :string, default: "scheduled" Task.all.each do |t| if(Task.task_type_valid?(t.task_type)) task_type = t.task_type.constantize if(task_type.respond_to?(:callback_task?) && task_...
ruby
Apache-2.0
66ed69a91c65527010f970a746a87557bf9b0856
2026-01-04T15:53:47.123643Z
false
Netflix-Skunkworks/Scumblr
https://github.com/Netflix-Skunkworks/Scumblr/blob/66ed69a91c65527010f970a746a87557bf9b0856/db/migrate/20160115230746_add_metadata_to_user.rb
db/migrate/20160115230746_add_metadata_to_user.rb
class AddMetadataToUser < ActiveRecord::Migration def change add_column :users, :metadata, :jsonb end end
ruby
Apache-2.0
66ed69a91c65527010f970a746a87557bf9b0856
2026-01-04T15:53:47.123643Z
false
Netflix-Skunkworks/Scumblr
https://github.com/Netflix-Skunkworks/Scumblr/blob/66ed69a91c65527010f970a746a87557bf9b0856/db/migrate/20150324190835_migrate_users_to_openid_connect.rb
db/migrate/20150324190835_migrate_users_to_openid_connect.rb
class MigrateUsersToOpenidConnect < ActiveRecord::Migration def change add_column :users, :first_name, :string add_column :users, :last_name, :string add_column :users, :thumbnail, :text reversible do |dir| dir.up do # add a CHECK constraint execute <<-SQL UPDATE use...
ruby
Apache-2.0
66ed69a91c65527010f970a746a87557bf9b0856
2026-01-04T15:53:47.123643Z
false
Netflix-Skunkworks/Scumblr
https://github.com/Netflix-Skunkworks/Scumblr/blob/66ed69a91c65527010f970a746a87557bf9b0856/db/migrate/20151216190245_add_created_at_index_to_events.rb
db/migrate/20151216190245_add_created_at_index_to_events.rb
class AddCreatedAtIndexToEvents < ActiveRecord::Migration def change add_index :events, :created_at end end
ruby
Apache-2.0
66ed69a91c65527010f970a746a87557bf9b0856
2026-01-04T15:53:47.123643Z
false
Netflix-Skunkworks/Scumblr
https://github.com/Netflix-Skunkworks/Scumblr/blob/66ed69a91c65527010f970a746a87557bf9b0856/db/migrate/20150526174549_create_events.rb
db/migrate/20150526174549_create_events.rb
class CreateEvents < ActiveRecord::Migration def change create_table :events do |t| t.string :recipient, index: true t.string :action, index: true t.string :old_value, index: true t.string :new_value, index: true t.string :source, index: true t.text :details t.datetime :d...
ruby
Apache-2.0
66ed69a91c65527010f970a746a87557bf9b0856
2026-01-04T15:53:47.123643Z
false
Netflix-Skunkworks/Scumblr
https://github.com/Netflix-Skunkworks/Scumblr/blob/66ed69a91c65527010f970a746a87557bf9b0856/db/migrate/20150603213235_add_group_to_searches.rb
db/migrate/20150603213235_add_group_to_searches.rb
class AddGroupToSearches < ActiveRecord::Migration def change add_column :searches, :group, :integer, default: 1 end end
ruby
Apache-2.0
66ed69a91c65527010f970a746a87557bf9b0856
2026-01-04T15:53:47.123643Z
false
Netflix-Skunkworks/Scumblr
https://github.com/Netflix-Skunkworks/Scumblr/blob/66ed69a91c65527010f970a746a87557bf9b0856/db/migrate/20170714205623_update_vulnerability_statuses.rb
db/migrate/20170714205623_update_vulnerability_statuses.rb
class UpdateVulnerabilityStatuses < ActiveRecord::Migration def up Result.where("(results.metadata #>> '{vulnerabilities}' != '')").each do |result| vulnerabilities = result.metadata.try(:[],"vulnerabilities") if(vulnerabilities.present?) vulnerabilities.each do |v| if(v["status"].to...
ruby
Apache-2.0
66ed69a91c65527010f970a746a87557bf9b0856
2026-01-04T15:53:47.123643Z
false
Netflix-Skunkworks/Scumblr
https://github.com/Netflix-Skunkworks/Scumblr/blob/66ed69a91c65527010f970a746a87557bf9b0856/test/test_helper.rb
test/test_helper.rb
require 'simplecov' # SimpleCov.start :rails do # add_group "Custom", "#{SimpleCov.root + '/../custom/'}" # end SimpleCov.profiles.define 'scumblr' do load_profile 'rails' filters.clear add_filter do |src| root_filter ||= /\A#{Regexp.escape(SimpleCov.root)}/io !(src.filename =~ root_filter) end a...
ruby
Apache-2.0
66ed69a91c65527010f970a746a87557bf9b0856
2026-01-04T15:53:47.123643Z
false
Netflix-Skunkworks/Scumblr
https://github.com/Netflix-Skunkworks/Scumblr/blob/66ed69a91c65527010f970a746a87557bf9b0856/test/tasks/vulnerability_cleaner_test.rb
test/tasks/vulnerability_cleaner_test.rb
require "test_helper" class VulnerabilityCleanerTest < ActiveSupport::TestCase test "execute confirm it removes vulns based on task id" do result = Result.where(id: 2).first task = Task.where(id: 89).first assert_equal(2, result.metadata["vulnerabilities"].count) task.perform_task result = Resul...
ruby
Apache-2.0
66ed69a91c65527010f970a746a87557bf9b0856
2026-01-04T15:53:47.123643Z
false
Netflix-Skunkworks/Scumblr
https://github.com/Netflix-Skunkworks/Scumblr/blob/66ed69a91c65527010f970a746a87557bf9b0856/test/tasks/vulnerability_helper_test.rb
test/tasks/vulnerability_helper_test.rb
require "test_helper" class VulnerabilityHelperTest < ActiveSupport::TestCase test "Check for duplicate vulnerabilities which have complex query, should pass" do require_relative "#{Rails.root.join('lib', 'helpers', 'vulnerability_helpers')}" # The params and values are in a differnet order, but this should s...
ruby
Apache-2.0
66ed69a91c65527010f970a746a87557bf9b0856
2026-01-04T15:53:47.123643Z
false
Netflix-Skunkworks/Scumblr
https://github.com/Netflix-Skunkworks/Scumblr/blob/66ed69a91c65527010f970a746a87557bf9b0856/test/tasks/github_event_analyzer_test.rb
test/tasks/github_event_analyzer_test.rb
require "test_helper" class GithubEventAnalyzerTest < ActiveSupport::TestCase # Class Method Tests test "execute callback on github_event and ensure it creates vulnerabilities" do task_params = Rails.root.join('test', 'data', 'github_event.json').read # Run TaskRunner.new.perform(70, task_params) g...
ruby
Apache-2.0
66ed69a91c65527010f970a746a87557bf9b0856
2026-01-04T15:53:47.123643Z
false
Netflix-Skunkworks/Scumblr
https://github.com/Netflix-Skunkworks/Scumblr/blob/66ed69a91c65527010f970a746a87557bf9b0856/test/tasks/github_analyzer_test.rb
test/tasks/github_analyzer_test.rb
require "test_helper" require "byebug" class GithubAnalyzerTest < ActiveSupport::TestCase # Load Fixtured Event github_term_metadata = SystemMetadata.where(id: 2).first github_org_metadata = SystemMetadata.where(id: 3).first # Class Method Tests test "execute saved github search task with public members" d...
ruby
Apache-2.0
66ed69a91c65527010f970a746a87557bf9b0856
2026-01-04T15:53:47.123643Z
false
Netflix-Skunkworks/Scumblr
https://github.com/Netflix-Skunkworks/Scumblr/blob/66ed69a91c65527010f970a746a87557bf9b0856/test/support/reporters.rb
test/support/reporters.rb
# Minitest::Reporters adds color and progress bar to the test runner require "minitest/reporters" Minitest::Reporters.use!( Minitest::Reporters::ProgressReporter.new, ENV, Minitest.backtrace_filter )
ruby
Apache-2.0
66ed69a91c65527010f970a746a87557bf9b0856
2026-01-04T15:53:47.123643Z
false
Netflix-Skunkworks/Scumblr
https://github.com/Netflix-Skunkworks/Scumblr/blob/66ed69a91c65527010f970a746a87557bf9b0856/test/support/sidekiq.rb
test/support/sidekiq.rb
# Use Sidekiq's test fake that pushes all jobs into a jobs array # require "sidekiq/testing" # Sidekiq::Testing.fake!
ruby
Apache-2.0
66ed69a91c65527010f970a746a87557bf9b0856
2026-01-04T15:53:47.123643Z
false
Netflix-Skunkworks/Scumblr
https://github.com/Netflix-Skunkworks/Scumblr/blob/66ed69a91c65527010f970a746a87557bf9b0856/test/support/aws_test.rb
test/support/aws_test.rb
require "test_helper" require "byebug" require "aws-sdk" class AwsTest < ActiveSupport::TestCase # S3 SDK Tests test "can conect and list S3" do if ENV['AWS_ACCESS_KEY_ID'].present? s3 = Aws::S3::Client.new(region: "us-east-1") assert_equal(true, s3.list_buckets.successful?) else skip("No...
ruby
Apache-2.0
66ed69a91c65527010f970a746a87557bf9b0856
2026-01-04T15:53:47.123643Z
false
Netflix-Skunkworks/Scumblr
https://github.com/Netflix-Skunkworks/Scumblr/blob/66ed69a91c65527010f970a746a87557bf9b0856/test/controllers/results_controller_test.rb
test/controllers/results_controller_test.rb
require 'test_helper' class ResultsControllerTest < ActionDispatch::IntegrationTest test "should get redirected to login" do host! 'localhost:3000' get '/' assert_response :redirect end test "results index page loads html" do sign_in get results_path assert_response :success end ...
ruby
Apache-2.0
66ed69a91c65527010f970a746a87557bf9b0856
2026-01-04T15:53:47.123643Z
false
Netflix-Skunkworks/Scumblr
https://github.com/Netflix-Skunkworks/Scumblr/blob/66ed69a91c65527010f970a746a87557bf9b0856/test/controllers/task_controller_test.rb
test/controllers/task_controller_test.rb
require 'test_helper' class TasksControllerTest < ActionDispatch::IntegrationTest test "verfiy expand_all tasks no error rendering" do sign_in res = Task.all ids = "" res.each do |r| if ids != "" ids += "," end ids += r.id.to_s end xhr :get, "/tasks/expandall.js?re...
ruby
Apache-2.0
66ed69a91c65527010f970a746a87557bf9b0856
2026-01-04T15:53:47.123643Z
false
Netflix-Skunkworks/Scumblr
https://github.com/Netflix-Skunkworks/Scumblr/blob/66ed69a91c65527010f970a746a87557bf9b0856/test/models/tag_test.rb
test/models/tag_test.rb
require "test_helper" require "byebug" class TagTest < ActiveSupport::TestCase # Association Tests should have_many(:taggings) should have_many(:taggables).through(:taggings).source(:taggable) # set_fixture_class system_metadata: SystemMetadata fixture_tag = Tag.first # Instance Method Tests test "shoul...
ruby
Apache-2.0
66ed69a91c65527010f970a746a87557bf9b0856
2026-01-04T15:53:47.123643Z
false
Netflix-Skunkworks/Scumblr
https://github.com/Netflix-Skunkworks/Scumblr/blob/66ed69a91c65527010f970a746a87557bf9b0856/test/models/user_test.rb
test/models/user_test.rb
require "test_helper" require "byebug" class UserTest < ActiveSupport::TestCase # Validations Tests should allow_value("test@netflix.com").for(:email) should_not allow_value("testnetflix.com").for(:email) # Association Tests should have_many(:saved_filters) should have_many(:user_saved_filters) should h...
ruby
Apache-2.0
66ed69a91c65527010f970a746a87557bf9b0856
2026-01-04T15:53:47.123643Z
false
Netflix-Skunkworks/Scumblr
https://github.com/Netflix-Skunkworks/Scumblr/blob/66ed69a91c65527010f970a746a87557bf9b0856/test/models/task_result_test.rb
test/models/task_result_test.rb
require "test_helper" require "byebug" class TaskResultTest < ActiveSupport::TestCase # Validations Tests should validate_uniqueness_of(:result_id).scoped_to(:task_id) # Association Tests should belong_to(:result) should belong_to(:task) should delegate_method(:task_type).to(:task) should delegate_metho...
ruby
Apache-2.0
66ed69a91c65527010f970a746a87557bf9b0856
2026-01-04T15:53:47.123643Z
false
Netflix-Skunkworks/Scumblr
https://github.com/Netflix-Skunkworks/Scumblr/blob/66ed69a91c65527010f970a746a87557bf9b0856/test/models/saved_filter_test.rb
test/models/saved_filter_test.rb
require "test_helper" require "byebug" class SavedFilterTest < ActiveSupport::TestCase # Association Tests should have_many(:user_saved_filters).dependent(:delete_all) should have_many(:users).through(:user_saved_filters) should have_many(:subscribers) should have_many (:summaries) # Validation Tests sh...
ruby
Apache-2.0
66ed69a91c65527010f970a746a87557bf9b0856
2026-01-04T15:53:47.123643Z
false
Netflix-Skunkworks/Scumblr
https://github.com/Netflix-Skunkworks/Scumblr/blob/66ed69a91c65527010f970a746a87557bf9b0856/test/models/results_test.rb
test/models/results_test.rb
require "test_helper" require "byebug" class ResultTest < ActiveSupport::TestCase # Validations Tests should validate_presence_of(:url) should_not allow_value("blah/www.foo.com").for(:url) should allow_value("http://www.foo.com").for(:url) should validate_uniqueness_of(:url) # Association Tests should b...
ruby
Apache-2.0
66ed69a91c65527010f970a746a87557bf9b0856
2026-01-04T15:53:47.123643Z
false
Netflix-Skunkworks/Scumblr
https://github.com/Netflix-Skunkworks/Scumblr/blob/66ed69a91c65527010f970a746a87557bf9b0856/test/models/event_change_test.rb
test/models/event_change_test.rb
require "test_helper" require "byebug" class EventChangeTest < ActiveSupport::TestCase # Association Tests should belong_to(:event) end
ruby
Apache-2.0
66ed69a91c65527010f970a746a87557bf9b0856
2026-01-04T15:53:47.123643Z
false
Netflix-Skunkworks/Scumblr
https://github.com/Netflix-Skunkworks/Scumblr/blob/66ed69a91c65527010f970a746a87557bf9b0856/test/models/flags_test.rb
test/models/flags_test.rb
require "test_helper" class FlagTest < ActiveSupport::TestCase # Validations Tests should validate_presence_of(:name) should validate_uniqueness_of(:name) # Association Tests should have_many(:result_flags) should have_many(:results).through(:result_flags) should have_many(:subscribers) should belong...
ruby
Apache-2.0
66ed69a91c65527010f970a746a87557bf9b0856
2026-01-04T15:53:47.123643Z
false