Skip to content

Instantly share code, notes, and snippets.

@ko1

ko1/f.rb Secret

Created August 16, 2024 08:38
Show Gist options
  • Select an option

  • Save ko1/e15fd4959675db07188e7a67ddc1c2c6 to your computer and use it in GitHub Desktop.

Select an option

Save ko1/e15fd4959675db07188e7a67ddc1c2c6 to your computer and use it in GitHub Desktop.
require_relative 'finder'
class ReqKWwoParenFinder < Finder
def rec node
if node.type == :call_node &&
node.opening_loc.nil? &&
node.arguments &&
node.arguments.arguments.any?{|n| n.type == :keyword_hash_node && n.elements.any?{|e|
e.type == :assoc_node &&
e.operator_loc.nil? &&
e.key.location.start_line != e.value.location.start_line}}
inc :found
puts "# #{nloc(node)}"
puts '> ' + nlines(node).lines.join('> ')
end
node.child_nodes.compact.each{|n|
rec n
}
end
end
Finder.run
# /srv/gems/wechat-shake_around-1.1/lib/wechat/shake_around/beacon_poi_relation.rb:28
> post_json "https://api.weixin.qq.com/shakearound/device/bindlocation?access_token=#{access_token}", body:
> {
> device_identifier: device_identifier,
> poi_id: poi_id.to_i
> }
# /srv/gems/wechat-shake_around-1.1/lib/wechat/shake_around/page.rb:40
> post_json "https://api.weixin.qq.com/shakearound/page/search?access_token=#{access_token}", body:
> {
> type: 2,
> begin: offset.to_i,
> count: limit.to_i
> }
# /srv/gems/wechat-shake_around-1.1/lib/wechat/shake_around/page.rb:80
> post_json "https://api.weixin.qq.com/shakearound/page/search?access_token=#{access_token}", body:
> {
> type: 1,
> page_ids: normalize_page_ids(page_id)
> }
# /srv/gems/wechat-shake_around-1.1/lib/wechat/shake_around/page.rb:102
> post_json "https://api.weixin.qq.com/shakearound/page/delete?access_token=#{access_token}", body:
> {
> page_id: page_id.to_i
> }
# /srv/gems/wechat-shake_around-1.1/lib/wechat/shake_around/page.rb:133
> post_json "https://api.weixin.qq.com/shakearound/page/update?access_token=#{access_token}", body:
> {
> page_id: page_id.to_i,
> title: title,
> description: description,
> page_url: page_link,
> comment: comment,
> icon_url: icon_link
> }
# /srv/gems/wechat-shake_around-1.1/lib/wechat/shake_around/page.rb:168
> post_json "https://api.weixin.qq.com/shakearound/page/add?access_token=#{access_token}", body:
> {
> title: title,
> description: description,
> page_url: page_link,
> comment: comment,
> icon_url: icon_link
> }
# /srv/gems/worthwhile-0.1.2/spec/controllers/curation_concern/generic_files_controller_spec.rb:136
> post :update, id: generic_file, generic_file:
> {title: 'new_title', tag: [''], permissions: { new_user_name: {'archivist1'=>'edit'}}}
# /srv/gems/worthwhile-0.1.2/spec/controllers/curation_concern/generic_files_controller_spec.rb:143
> post :update, id: generic_file, generic_file:
> {title: 'new_title', tag: [''], permissions: { new_user_name: {'archivist1'=>'edit'}}}
# /srv/gems/worthwhile-0.1.2/spec/controllers/curation_concern/generic_files_controller_spec.rb:152
> post :update, id: generic_file, generic_file:
> { title: 'new_title', tag: [''], permissions: { new_group_name: {'group1'=>'read'}, new_user_name: {'user1'=>'edit'}}}
# /srv/gems/worthwhile-0.1.2/spec/controllers/curation_concern/generic_files_controller_spec.rb:163
> post :update, id: generic_file, generic_file:
> { title: 'new_title', tag: [''], permissions: { new_group_name: '', new_user_name: '', group: {'group3' => 'read' }}}
# /srv/gems/xnlogic-1.0.48/lib/xnlogic/cli.rb:60
> method_option "key", type: :string, banner:
> "You must supply an XN key to be able to download the proprietary dependencies needed to boot your application"
# /srv/gems/xnlogic-1.0.48/lib/xnlogic/cli.rb:62
> method_option "cpus", type: :numeric, banner:
> "Number of Virtual CPUs the Development VM should use (default 2)"
# /srv/gems/xnlogic-1.0.48/lib/xnlogic/cli.rb:64
> method_option "memory", type: :numeric, banner:
> "Amount of RAM to allow the Development VM to use (default 2048, in MB)"
# /srv/gems/xnlogic-1.0.48/lib/xnlogic/cli.rb:69
> method_option "root", type: :string, banner:
> "Optionally specify a different root directory name"
# /srv/gems/xnlogic-1.0.48/lib/xnlogic/cli.rb:71
> method_option "provision", type: :boolean, banner:
> "Update the VM with the new provisioning settings"
# /srv/gems/xnlogic-1.0.48/lib/xnlogic/cli.rb:73
> method_option "up", type: :boolean, banner:
> "Start the the VM (will provision automatically only on the first run)"
# /srv/gems/xnlogic-1.0.48/lib/xnlogic/cli.rb:75
> method_option "datomic_version", type: :string, banner:
> "Optionally specify the desired Datomic version number"
# /srv/gems/xnlogic-1.0.48/lib/xnlogic/cli.rb:77
> method_option "datomic_pro", type: :boolean, banner:
> "Use pacer-mcfly-pro instead of pacer-mcfly-free"
# /srv/gems/xnlogic-1.0.48/lib/xnlogic/cli.rb:79
> method_option "datomic_mysql", type: :boolean, banner:
> "Add pacer-mcfly-mysql dependency. Implies datomic-pro."
# /srv/gems/xnlogic-1.0.48/lib/xnlogic/cli.rb:81
> method_option "datomic_username", type: :string, banner:
> "Your my.datomic.com account username, needed for Datomic jar downloads"
# /srv/gems/xnlogic-1.0.48/lib/xnlogic/cli.rb:83
> method_option "datomic_key", type: :string, banner:
> "Your my.datomic.com download key, needed for Datomic jar downloads"
# /srv/gems/xnlogic-1.0.48/lib/xnlogic/cli.rb:85
> method_option "datomic_license", type: :string, banner:
> "File location of your my.datomic.com license key, needed for the Datomic Pro transactor"
# /srv/gems/xnlogic-1.0.48/lib/xnlogic/cli.rb:95
> method_option "vm_config", type: :boolean, default: true, banner:
> "Generate VM configuration files"
# /srv/gems/xnlogic-1.0.48/lib/xnlogic/cli.rb:97
> method_option "same", type: :boolean, default: false, banner:
> "Use previous config (implies --root .)"
# /srv/gems/xnlogic-1.0.48/lib/xnlogic/cli.rb:111
> method_option "name", type: :string, banner:
> "Optionally specify a different project name"
# /srv/gems/xnlogic-1.0.48/lib/xnlogic/cli.rb:118
> method_option "key", type: :string, banner:
> "You must supply an XN key to be able to download the proprietary dependencies needed to boot your application"
# /srv/gems/xnlogic-1.0.48/lib/xnlogic/cli.rb:120
> method_option "format", type: :string, banner:
> "Optionally specify either bundler or rubygems"
# /srv/gems/xnlogic-1.0.48/lib/xnlogic/cli.rb:161
> method_option "ssh_user", type: :string, default: 'deploy', banner:
> "Use a different user account on deploy server"
# /srv/gems/xnlogic-1.0.48/lib/xnlogic/cli.rb:165
> method_option "api_hostname", type: :string, banner:
> "Optional distinct API Hostname"
# /srv/gems/zendesk2-1.15.0/spec/help_center/articles_spec.rb:14
> include_examples 'zendesk#resource',
> collection: -> { client.help_center_articles },
> create_params:
> -> { { title: mock_uuid, locale: 'en-us', section: section, permission_group_id: 0 } },
> update_params: -> { { title: mock_uuid } },
> search_params: -> { Cistern::Hash.slice(create_params, :title) },
> search: true
# /srv/gems/jazzy-0.15.1/lib/jazzy/config.rb:416
> config_attr :min_acl,
> command_line:
> '--min-acl [private | fileprivate | internal | package | public | open]',
> description: 'minimum access control level to document',
> default: 'public',
> parse: ->(acl) do
> SourceDeclaration::AccessControlLevel.from_human_string(acl)
> end
# /srv/gems/arangorb-2.0.1/lib/Document.rb:132
> raise Arango::Error.new err: :attribute_is_not_valid, data:
> {"attribute": attrs, "wrong_value": var}
# /srv/gems/arangorb-2.0.1/lib/Document.rb:141
> raise Arango::Error.new err: :attribute_is_not_valid, data:
> {"attribute": attrs, "wrong_value": var}
# /srv/gems/ass_launcher-0.7.0/lib/ass_launcher/enterprise/cli_def/8.3.12.rb:24
> chose '-FirstConfigurationType',
> 'тип первой конфигурации',
> chose_list:\
> chose_list(
> :MainConfiguration => 'основная конфигурация',
> :DBConfiguration => 'конфигурация базы данных',
> :VendorConfiguration => 'конфигурация поставщика',
> :ExtensionConfiguration => 'расширение конфигурации',
> :ExtensionDBConfiguration => 'расширение конфигурации'\
> ' (база данных)',
> :ConfigurationRepository => 'конфигурация из хранилища',
> :ExtensionConfigurationRepository => 'расширение'\
> ' конфигурации из хранилища',
> :File => 'файл конфигурации(расширения)'
> )
# /srv/gems/wechat-shake_around-1.1/lib/wechat/shake_around/group.rb:37
> post_json "https://api.weixin.qq.com/shakearound/device/group/getlist?access_token=#{access_token}", body:
> {
> begin: offset.to_i,
> count: limit.to_i
> }
# /srv/gems/wechat-shake_around-1.1/lib/wechat/shake_around/group.rb:80
> post_json "https://api.weixin.qq.com/shakearound/device/group/getdetail?access_token=#{access_token}", body:
> {
> group_id: group_id.to_i,
> begin: offset.to_i,
> count: limit.to_i
> }
# /srv/gems/wechat-shake_around-1.1/lib/wechat/shake_around/group.rb:105
> post_json "https://api.weixin.qq.com/shakearound/device/group/delete?access_token=#{access_token}", body:
> {
> group_id: group_id.to_i
> }
# /srv/gems/wechat-shake_around-1.1/lib/wechat/shake_around/group.rb:130
> post_json "https://api.weixin.qq.com/shakearound/device/group/update?access_token=#{access_token}", body:
> {
> group_id: group_id.to_i,
> group_name: name
> }
# /srv/gems/wechat-shake_around-1.1/lib/wechat/shake_around/group.rb:158
> post_json "https://api.weixin.qq.com/shakearound/device/group/add?access_token=#{access_token}", body:
> {
> group_name: name
> }
# /srv/gems/act_a-0.0.2/spec/dummy/config/application.rb:31
> g.test_framework :rspec, fixtures: true, view_specs: false, helper_specs: false, routing_specs:
> false, controller_specs: true, request_specs: true
# /srv/gems/ass_launcher-0.7.0/lib/ass_launcher/enterprise/cli_def/8.3.6.rb:11
> switch '-Dynamic', 'признак использования динамического обновления',
> switch_list:\
> switch_list(
> :+ => 'значение по умолчанию. Сначала выполняется попытка'\
> ' динамического обновления, если она завершена неудачно,'\
> ' будет запущено фоновое обновление',
> :- => 'динамическое обновление запрещено')
# /srv/gems/ass_launcher-0.7.0/lib/ass_launcher/enterprise/cli_def/8.3.6.rb:20
> switch '-Dynamic', 'признак использования динамического обновления',
> switch_list:\
> switch_list(
> :+ => 'значение по умолчанию. Сначала выполняется попытка'\
> ' динамического обновления, если она завершена неудачно,'\
> ' будет запущено фоновое обновление',
> :- => 'динамическое обновление запрещено')
# /srv/gems/authpwn_rails-0.23.0/lib/authpwn_rails/session_controller.rb:163
> redirect_to new_session_url, alert:
> 'Please check your e-mail for instructions'
# /srv/gems/devbootsrap-0.0.7/test/integration/rememberable_test.rb:50
> post user_session_path, authenticity_token: "oops", user:
> { email: "jose.valim@gmail.com", password: "123456", remember_me: "1" }
# /srv/gems/dog_biscuits-0.5.9/lib/dog_biscuits/vocab/generic.rb:8
> term :GenericWork,
> comment:
> 'A work that does not fit into any pre-existing model,
> eg. an unidentified data file.',
> label: 'Generic Work',
> 'rdf:isDefinedBy' => 'http://dlib.york.ac.uk/ontologies/generic#',
> type: 'rdf:Class'
# /srv/gems/dog_biscuits-0.5.9/lib/dog_biscuits/vocab/generic.rb:21
> term :MainFile,
> comment:
> 'A main file. For example, the examined thesis PDF as
> distinguished from additional material such as
> appendices.',
> label: 'Main File',
> 'rdf:isDefinedBy' => 'http://dlib.york.ac.uk/ontologies/generic#',
> type: 'rdf:Class'
# /srv/gems/dog_biscuits-0.5.9/lib/dog_biscuits/vocab/generic.rb:29
> term :Readme,
> comment:
> 'A readme file. Normally a plain text file used to provide
> information about how to use the containing resource.
> Most common use would be for datasets or software.',
> label: 'Readme',
> 'rdf:isDefinedBy' => 'http://dlib.york.ac.uk/ontologies/generic#',
> type: 'rdf:Class'
# /srv/gems/dog_biscuits-0.5.9/lib/dog_biscuits/vocab/generic.rb:39
> property :approved,
> comment:
> 'This property is used to indicate that a term or value
> has been approved.',
> label: 'Approved',
> 'rdf:isDefinedBy' => 'http://dlib.york.ac.uk/ontologies/generic#',
> type: 'rdf:Property'
# /srv/gems/dog_biscuits-0.5.9/lib/dog_biscuits/vocab/generic.rb:46
> property :rules,
> comment:
> 'This property is used to the rule, eg. cataloguing or
> descriptive rules, used to construct the given
> description.',
> label: 'Rules',
> 'rdf:isDefinedBy' => 'http://dlib.york.ac.uk/ontologies/generic#',
> type: 'rdf:Property'
# /srv/gems/dog_biscuits-0.5.9/lib/dog_biscuits/vocab/generic.rb:54
> property :formerIdentifier,
> comment:
> 'This property is used for a former identifier for the given
> object.',
> label: 'Former Identifier',
> 'rdf:isDefinedBy' => 'http://dlib.york.ac.uk/ontologies/generic#',
> subPropertyOf: 'http://dublincore.org/documents/dcmi-terms/identifier',
> type: 'rdf:Property'
# /srv/gems/dog_biscuits-0.5.9/lib/dog_biscuits/vocab/generic.rb:62
> property :preTitle,
> comment:
> 'This property should be used as designated in the NCA
> Rules http://archiveshub.ac.uk/ncarules/.',
> label: 'Pre Title',
> range: 'http://xmlns.com/foaf/0.1/Person',
> 'rdf:isDefinedBy' => 'http://dlib.york.ac.uk/ontologies/generic#',
> type: 'rdf:Property'
# /srv/gems/dog_biscuits-0.5.9/lib/dog_biscuits/vocab/generic.rb:70
> property :datesOfOffice,
> comment:
> 'This property should be used for the dates of office for
> the described Person.',
> label: 'Dates of Office',
> range: 'http://xmlns.com/foaf/0.1/Person',
> 'rdf:isDefinedBy' => 'http://dlib.york.ac.uk/ontologies/generic#',
> subPropertyOf: 'http://data.archiveshub.ac.uk/def/dates',
> type: 'rdf:Property'
# /srv/gems/dog_biscuits-0.5.9/lib/dog_biscuits/vocab/generic.rb:79
> property :groupType,
> comment:
> 'This property is used for the type of Group.
> It is recommended that this property is used with a
> controlled list of values.',
> label: 'Group Type',
> range: 'http://xmlns.com/foaf/0.1/Group',
> 'rdf:isDefinedBy' => 'http://dlib.york.ac.uk/ontologies/generic#',
> type: 'rdf:Property'
# /srv/gems/dog_biscuits-0.5.9/lib/dog_biscuits/vocab/generic.rb:88
> property :qualifier,
> comment:
> 'This property should be used to qualify the name of a
> Group, Organisation or Corporate Body,
> for examples with dates of existence or place.',
> label: 'Qualifier',
> range: 'http://xmlns.com/foaf/0.1/Group',
> 'rdf:isDefinedBy' => 'http://dlib.york.ac.uk/ontologies/generic#',
> type: 'rdf:Property'
# /srv/gems/dog_biscuits-0.5.9/lib/dog_biscuits/vocab/generic.rb:97
> property :isTopConcept,
> comment:
> 'This property is used to indicate that the described
> Concept is at the top of the hierarchy. A value of
> true or false is recommended.',
> label: 'Is Top Concept',
> range: 'http://www.w3.org/2004/02/skos/core#Concept',
> 'rdf:isDefinedBy' => 'http://dlib.york.ac.uk/ontologies/generic#',
> type: 'rdf:Property'
# /srv/gems/trusty-cms-6.2.2.1/app/models/asset.rb:35
> validates :asset,
> presence: true,
> blob:
> {
> content_type: %w[application/zip image/jpg image/jpeg image/png image/gif application/pdf text/css],
> size_range: 1..10.megabytes,
> }
# /srv/gems/vagrant-lxd-0.7.1/lib/vagrant-lxd/driver.rb:451
> fail ContainerDeletionFailure, machine_name: @machine.name, reason:
> if e.reason =~ /(Error cleaning up [^:]+:) (.+)/m
> "#{$1}\n#{$2}"
> else
> e.reason
> end
# /srv/gems/wechat-shake_around-1.1/lib/wechat/shake_around/device_report.rb:47
> post_json "https://api.weixin.qq.com/shakearound/statistics/devicelist?access_token=#{access_token}", body:
> {
> date: normalize_date(date),
> page_index: page_index.to_i
> }
# /srv/gems/worthwhile-0.1.2/app/controllers/concerns/worthwhile/files_controller.rb:74
> redirect_to [:curation_concern, @generic_file], notice:
> "The file #{view_context.link_to(@generic_file, [main_app, :curation_concern, @generic_file])} has been updated."
# /srv/gems/arangorb-2.0.1/lib/Vertex.rb:24
> raise Arango::Error.new err: :collection_does_not_have_a_graph, data:
> {"name_collection": collection.name, "graph": nil}
# /srv/gems/ass_launcher-0.7.0/lib/ass_launcher/enterprise/cli_def/8.3.7.rb:12
> chose '-Format',
> 'формат загрузки файлов при частичной загрузке',
> chose_list:\
> chose_list(:Hierarchical => 'иерархический формат. По умолчанию',
> :Plain => 'линейный формат')
# /srv/gems/ass_launcher-0.7.0/lib/ass_launcher/enterprise/cli_def/8.3.7.rb:19
> chose '-Format',
> 'формат загрузки файлов при частичной загрузке',
> chose_list:\
> chose_list(:Hierarchical => 'иерархический формат. По умолчанию',
> :Plain => 'линейный формат')
# /srv/gems/ass_launcher-0.7.0/lib/ass_launcher/enterprise/cli_def/8.3.9.rb:43
> chose '-FirstConfigurationType',
> 'тип первой конфигурации',
> chose_list:\
> chose_list(
> :MainConfiguration => 'основная конфигурация'\
> ' -FirstConfigurationKey не используется',
> :DBConfiguration => 'конфигурация базы данных'\
> ' -FirstConfigurationKey не используется',
> :VendorConfiguration => 'конфигурация поставщика'\
> ' -FirstConfigurationKey ожидает имя конфигурации',
> :ExtensionConfiguration => 'расширение конфигурации'\
> ' -FirstConfigurationKey ожидает имя расширения',
> :ExtensionDBConfiguration => 'расширение конфигурации (база данных)'\
> ' -FirstConfigurationKey ожидает имя расширения',
> :ConfigurationRepository => 'конфигурация из хранилища'\
> ' -FirstConfigurationKey ожидает версию',
> :File => 'файл конфигурации(расширения)'\
> ' -FirstConfigurationKey ожидает путь к .cf(.cfe) файлу',
> )
# /srv/gems/ass_launcher-0.7.0/lib/ass_launcher/enterprise/cli_def/8.3.9.rb:72
> chose '-SecondConfigurationType',
> 'тип второй конфигурации',
> chose_list:\
> chose_list(
> :MainConfiguration => 'основная конфигурация'\
> ' -SecondConfigurationKey не используется',
> :DBConfiguration => 'конфигурация базы данных'\
> ' -SecondConfigurationKey не используется',
> :VendorConfiguration => 'конфигурация поставщика'\
> ' -SecondConfigurationKey ожидает имя конфигурации',
> :ExtensionConfiguration => 'расширение конфигурации'\
> ' -SecondConfigurationKey ожидает имя расширения',
> :ExtensionDBConfiguration => 'расширение конфигурации (база данных)'\
> ' -SecondConfigurationKey ожидает имя расширения',
> :ConfigurationRepository => 'конфигурация из хранилища'\
> ' -SecondConfigurationKey ожидает версию',
> :File => 'файл конфигурации(расширения)'\
> ' -SecondConfigurationKey ожидает путь к .cf(.cfe) файлу',
> )
# /srv/gems/ass_launcher-0.7.0/lib/ass_launcher/enterprise/cli_def/8.3.9.rb:101
> chose '-MappingRule',
> 'правило установки соответствий объектов для неродственных конфигураций',
> chose_list:\
> chose_list(
> :ByObjectNames => 'по именам (по умолчанию)',
> :ByObjectIDs => 'по идентификаторам')
# /srv/gems/ass_launcher-0.7.0/lib/ass_launcher/enterprise/cli_def/8.3.9.rb:109
> chose '-ReportType', 'тип отчета',
> required: true,
> chose_list:\
> chose_list(
> :Brief => 'краткий',
> :Full => 'полный')
# /srv/gems/ass_launcher-0.7.0/lib/ass_launcher/enterprise/cli_def/8.3.9.rb:122
> chose '-ReportFormat', 'формат файла отчета',
> chose_list:\
> chose_list(
> :txt => 'текстовый',
> :mxl => 'табличный документ')
# /srv/gems/dog_biscuits-0.5.9/lib/dog_biscuits/vocab/borthwick_registers.rb:18
> term :Entry,
> label: 'Entry',
> comment:
> %(A discreet textual entry on a document. This class has been
> devised specifically to describe the entries within an
> Archbishops' Register, but the same concept could apply to
> entries within a diary or calendar.),
> 'rdf:isDefinedBy' => 'http://dlib.york.ac.uk/ontologies/borthwick-registers#'
# /srv/gems/dog_biscuits-0.5.9/lib/dog_biscuits/vocab/borthwick_registers.rb:32
> term :Register,
> label: 'Register',
> comment:
> 'A Register, broadly conceived as a document containing
> entries.',
> 'rdf:isDefinedBy' => 'http://dlib.york.ac.uk/ontologies/borthwick-registers#'
# /srv/gems/dog_biscuits-0.5.9/lib/dog_biscuits/vocab/borthwick_registers.rb:39
> term :HistoricPerson,
> label: 'Historic Person',
> subClassOf: 'http://xmlns.com/foaf/0.1/Person',
> comment:
> 'A person of historical significance, living or dead. Likely to be described with specialist
> metadata, eg. National Archives Council (NCA) Rules.',
> 'rdf:isDefinedBy' => 'http://dlib.york.ac.uk/ontologies/borthwick-registers#'
# /srv/gems/dog_biscuits-0.5.9/lib/dog_biscuits/vocab/borthwick_registers.rb:47
> term :RelatedPlace,
> label: 'Related Place',
> comment:
> 'A place in the context of its relationship to another Object
> Class. This class is not intended to describe Places
> independently.',
> 'rdf:isDefinedBy' => 'http://dlib.york.ac.uk/ontologies/borthwick-registers#'
# /srv/gems/dog_biscuits-0.5.9/lib/dog_biscuits/vocab/borthwick_registers.rb:55
> term :RelatedPersonGroup,
> label: 'Related Person or Group',
> comment:
> 'A person or group in the context of its relationship to another Object
> Class. This class is not intended to describe Person or Group
> independently.',
> 'rdf:isDefinedBy' => 'http://dlib.york.ac.uk/ontologies/borthwick-registers#'
# /srv/gems/dog_biscuits-0.5.9/lib/dog_biscuits/vocab/borthwick_registers.rb:64
> property :asWritten,
> label: 'As Written',
> comment:
> 'This property is used to capture the name of an entity as
> it was expressed in the original resource.',
> 'rdf:isDefinedBy' => 'http://dlib.york.ac.uk/ontologies/borthwick-registers#',
> # doesn't like multiple ranges
> # range: 'http://dlib.york.ac.uk/ontologies/borthwick-registers#EntryDate'.freeze,
> # range: 'http://dlib.york.ac.uk/ontologies/borthwick-registers#RelatedPlace'.freeze,
> # range: 'http://dlib.york.ac.uk/ontologies/borthwick-registers#RelatedPersonGroup'.freeze,
> domain: 'rdf:Literal'
# /srv/gems/dog_biscuits-0.5.9/lib/dog_biscuits/vocab/borthwick_registers.rb:76
> property :descriptorAsWritten,
> label: 'As Written',
> comment:
> 'This property is a sub property of As Written and is used
> to capture a descriptor for an Agent as expressed in the
> original resource.',
> 'rdf:isDefinedBy' => 'http://dlib.york.ac.uk/ontologies/borthwick-registers#',
> subPropertyOf: 'http://dlib.york.ac.uk/ontologies/borthwick-registers#descriptorAsWritten',
> range: 'http://dlib.york.ac.uk/ontologies/borthwick-registers#RelatedPersonGroup',
> domain: 'rdf:Literal'
# /srv/gems/dog_biscuits-0.5.9/lib/dog_biscuits/vocab/borthwick_registers.rb:87
> property :certainty,
> label: 'Certainty',
> comment:
> 'This property is used for the certainty of a date.
> It is recommended that this property is used with a
> controlled list of values.',
> 'rdf:isDefinedBy' => 'http://dlib.york.ac.uk/ontologies/borthwick-registers#',
> range: 'http://dlib.york.ac.uk/ontologies/borthwick-registers#Date'
# /srv/gems/dog_biscuits-0.5.9/lib/dog_biscuits/vocab/borthwick_registers.rb:96
> property :dateType,
> label: 'Date Type',
> comment:
> 'This property is used for the type of date, eg. birth date
> or document date. It is recommended that this property is
> used with a controlled list of values.',
> 'rdf:isDefinedBy' => 'http://dlib.york.ac.uk/ontologies/borthwick-registers#',
> range: 'http://dlib.york.ac.uk/ontologies/borthwick-registers#SingleDate'
# /srv/gems/dog_biscuits-0.5.9/lib/dog_biscuits/vocab/borthwick_registers.rb:105
> property :reference,
> label: 'Reference',
> comment:
> 'This property is used for an archival reference.',
> subPropertyOf: 'dcterms:identifier',
> 'rdf:isDefinedBy' => 'http://dlib.york.ac.uk/ontologies/borthwick-registers#'
# /srv/gems/dog_biscuits-0.5.9/lib/dog_biscuits/vocab/borthwick_registers.rb:112
> property :entryNo,
> label: 'Entry Number',
> comment:
> 'This property is used for the entry number of a
> given Entry.',
> subPropertyOf: 'dcterms:identifier',
> 'rdf:isDefinedBy' => 'http://dlib.york.ac.uk/ontologies/borthwick-registers#',
> range: 'http://dlib.york.ac.uk/ontologies/borthwick-registers#Entry'
# /srv/gems/dog_biscuits-0.5.9/lib/dog_biscuits/vocab/borthwick_registers.rb:121
> property :folioNo,
> label: 'Folio Number',
> comment:
> 'This property is used for the folio or page number.
> It should be used in conjunction with Folio Type where
> anything other than Folios numbers are being captured,
> eg. for a membrane or page.',
> subPropertyOf: 'dcterms:identifier',
> 'rdf:isDefinedBy' => 'http://dlib.york.ac.uk/ontologies/borthwick-registers#',
> range: 'http://dlib.york.ac.uk/ontologies/borthwick-registers#Folio'
# /srv/gems/dog_biscuits-0.5.9/lib/dog_biscuits/vocab/borthwick_registers.rb:132
> property :folioFace,
> label: 'Folio Face',
> comment:
> 'This property is used for the folio face. Commonly recto
> or verso. It is recommended that this property is used with
> a controlled list of values.',
> 'rdf:isDefinedBy' => 'http://dlib.york.ac.uk/ontologies/borthwick-registers#',
> range: 'http://dlib.york.ac.uk/ontologies/borthwick-registers#Folio'
# /srv/gems/dog_biscuits-0.5.9/lib/dog_biscuits/vocab/borthwick_registers.rb:141
> property :folio,
> label: 'Folio',
> comment:
> %(This property is used to associate an entry with the
> folio(s) on which it appears. It's value should be a URI
> for the Folio.),
> 'rdf:isDefinedBy' => 'http://dlib.york.ac.uk/ontologies/borthwick-registers#',
> range: 'http://dlib.york.ac.uk/ontologies/borthwick-registers#Entry',
> domain: 'http://dlib.york.ac.uk/ontologies/borthwick-registers#Folio'
# /srv/gems/dog_biscuits-0.5.9/lib/dog_biscuits/vocab/borthwick_registers.rb:151
> property :continuesOn,
> label: 'Continues On',
> comment:
> 'This property is used to indicate that the described Entry
> continues on the given Folio. Another Entry would be created
> to capture the continued information, related to the given
> Folio with
> http://dlib.york.ac.uk/ontologies/borthwick-registers#folio',
> 'rdf:isDefinedBy' => 'http://dlib.york.ac.uk/ontologies/borthwick-registers#',
> range: 'http://dlib.york.ac.uk/ontologies/borthwick-registers#Entry',
> domain: 'http://dlib.york.ac.uk/ontologies/borthwick-registers#Folio'
# /srv/gems/dog_biscuits-0.5.9/lib/dog_biscuits/vocab/borthwick_registers.rb:171
> property :summary,
> label: 'Summary',
> comment:
> 'This property is used for a brief summary of the
> entry.',
> subPropertyOf: 'dcterms:description',
> 'rdf:isDefinedBy' => 'http://dlib.york.ac.uk/ontologies/borthwick-registers#',
> range: 'http://dlib.york.ac.uk/ontologies/borthwick-registers#Entry',
> domain: 'rdf:Literal'
# /srv/gems/dog_biscuits-0.5.9/lib/dog_biscuits/vocab/borthwick_registers.rb:181
> property :editorialNote,
> label: 'Editorial Note',
> comment:
> 'This property is used for editorial notes, for example
> notes intended to inform those editing and indexing the
> records, rather than information for the
> general user.',
> subPropertyOf: 'dcterms:description',
> 'rdf:isDefinedBy' => 'http://dlib.york.ac.uk/ontologies/borthwick-registers#',
> range: 'http://dlib.york.ac.uk/ontologies/borthwick-registers#Entry',
> domain: 'rdf:Literal'
# /srv/gems/dog_biscuits-0.5.9/lib/dog_biscuits/vocab/borthwick_registers.rb:193
> property :entryType,
> label: 'Entry Type',
> comment:
> 'This property is used for the type of Entry. .
> It is recommended that this property is used with a
> controlled list of values.',
> subPropertyOf: 'dcterms:description',
> 'rdf:isDefinedBy' => 'http://dlib.york.ac.uk/ontologies/borthwick-registers#',
> range: 'http://dlib.york.ac.uk/ontologies/borthwick-registers#Entry',
> domain: 'rdf:Literal'
# /srv/gems/unicorn_relay-0.1.0/lib/unicorn_relay/teardown.rb:37
> memoize method:
> def pid
> pid = pid_file_content.to_i
> pid.nonzero?
> end
# /srv/gems/wechat-shake_around-1.1/lib/wechat/shake_around/page_report.rb:44
> post_json "https://api.weixin.qq.com/shakearound/statistics/pagelist?access_token=#{access_token}", body:
> {
> date: normalize_date(date),
> page_index: page_index.to_i
> }
# /srv/gems/wechat-shake_around-1.1/lib/wechat/shake_around/shaking.rb:36
> post_json "https://api.weixin.qq.com/shakearound/user/getshakeinfo?access_token=#{access_token}", body:
> {
> ticket: ticket,
> need_poi: 1
> }
# /srv/gems/xero-0.0.7/lib/xero/models/invoice.rb:11
> attribute :due_date, type: Date, default:
> lambda { Date.parse(Xero.configuration.invoice_due_days.days.from_now.to_s).to_s }
# /srv/gems/arangorb-2.0.1/lib/Edge.rb:23
> raise Arango::Error.new err: :collection_does_not_have_a_graph, data:
> {"name_collection": collection.name, "graph": nil}
# /srv/gems/ass_launcher-0.7.0/lib/ass_launcher/enterprise/cli_def/8.3.4.rb:4
> chose '/SetPredefinedDataUpdate', 'режим обновления предопределенных данных',
> chose_list:\
> chose_list(:"-Auto" => 'фактическое значение вычисляется автоматически',
> :"-UpdateAutomatically" => 'при реструктуризации информационной базы'\
> ' будет выполняться автоматическое создание предопределенных'\
> ' элементов и обновление существующих значений',
> :"-DoNotUpdateAutomatically" => 'при реструктуризации информационной'\
> ' базы не будет выполняться автоматическое создание предопределенных'\
> ' элементов и обновление существующих значений')
# /srv/gems/ass_launcher-0.7.0/lib/ass_launcher/enterprise/cli_def/8.3.4.rb:22
> chose '-ChangesAllowedRule',
> 'устанавливает правило поддержки для объектов для которых'\
> ' изменения разрешены поставщиком',
> chose_list:\
> chose_list(:ObjectNotEditable => 'объект не редактируется',
> :ObjectIsEditableSupportEnabled =>\
> 'объект редактируется с сохранением поддержки',
> :ObjectNotSupported => 'объект снят с поддержки')
# /srv/gems/ass_launcher-0.7.0/lib/ass_launcher/enterprise/cli_def/8.3.4.rb:30
> chose '-ChangesNotRecommendedRule ',
> 'устанавливает правило поддержки для объектов для которых'\
> ' изменения не рекомендуются поставщиком',
> chose_list:\
> chose_list(:ObjectNotEditable => 'объект не редактируется',
> :ObjectIsEditableSupportEnabled =>\
> 'объект редактируется с сохранением поддержки',
> :ObjectNotSupported => 'объект снят с поддержки')
# /srv/gems/ass_launcher-0.7.0/lib/ass_launcher/enterprise/cli_def/8.3.4.rb:46
> chose 'Rights', 'Права пользователя',
> chose_list:\
> chose_list(:ReadOnly => 'просмотр',
> :LockObjects => 'захват объектов',
> :ManageConfigurationVersions => 'изменение состава версий',
> :Administration => 'административные функции')
# /srv/gems/deviseOne-1.0.0/test/integration/rememberable_test.rb:50
> post user_session_path, authenticity_token: "oops", user:
> { email: "jose.valim@gmail.com", password: "123456", remember_me: "1" }
# /srv/gems/dog_biscuits-0.5.9/lib/dog_biscuits/models/concerns/metadata_properties/archivematica/archivematica.rb:48
> property :aip_current_location,
> predicate:
> DogBiscuits::Vocab::OaisArchivematica.aipCurrentLocation do |index|
> index.as :stored_searchable
> end
# /srv/gems/dog_biscuits-0.5.9/lib/dog_biscuits/models/concerns/metadata_properties/archivematica/archivematica.rb:53
> property :dip_current_location,
> predicate:
> DogBiscuits::Vocab::OaisArchivematica.dipCurrentLocation do |index|
> index.as :stored_searchable
> end
# /srv/gems/fluent-plugin-splunk-http-eventcollector-0.3.0/test/plugin/test_out_splunk-http-eventcollector.rb:129
> assert_requested :post, "https://localhost:8089/services/collector",
> headers: {"Authorization" => "Splunk changeme"},
> body:
> { time: time, source: "test", sourcetype: "fluentd", host: "", index: "main", event: "a" }.to_json +
> { time: time, source: "test", sourcetype: "fluentd", host: "", index: "main", event: "b" }.to_json,
> times: 1
# /srv/gems/hangouts-chat-0.1.0/test/hangouts_chat_test.rb:23
> assert_requested :post, @webhook_url, times: 1, body:
> { text: message }.to_json
# /srv/gems/hangouts-chat-0.1.0/test/hangouts_chat_test.rb:37
> assert_requested :post, @webhook_url, times: 1, body:
> { cards: [header: header, sections: sections] }.to_json
# /srv/gems/hangouts-chat-0.1.0/test/hangouts_chat_test.rb:48
> assert_requested :post, @webhook_url, times: 1, body:
> { text: message, thread: { name: thread} }.to_json
# /srv/gems/hangouts-chat-0.1.0/test/hangouts_chat_test.rb:63
> assert_requested :post, @webhook_url, times: 1, body:
> { cards: [header: header, sections: sections], thread: { name: thread} }.to_json
# /srv/gems/holepunch-1.3.0/lib/holepunch/cli.rb:33
> option :'aws-access-key', aliases: :A, type: :string, default: ENV['AWS_ACCESS_KEY_ID'], desc:
> 'Your AWS Access Key ID'
# /srv/gems/holepunch-1.3.0/lib/holepunch/cli.rb:35
> option :'aws-secret-access-key', aliases: :k, type: :string, default: ENV['AWS_SECRET_ACCESS_KEY'], desc:
> 'Your AWS API Secret Access Key'
# /srv/gems/holepunch-1.3.0/lib/holepunch/cli.rb:37
> option :'aws-region', aliases: :r, type: :string, default: ENV['AWS_REGION'], desc:
> 'Your AWS region'
# /srv/gems/holepunch-1.3.0/lib/holepunch/cli.rb:39
> option :'aws-vpc-id', aliases: :c, type: :string, desc:
> 'Set the VPC ID (for VPC security groups)'
# /srv/gems/holepunch-1.3.0/lib/holepunch/cli.rb:41
> option :env, aliases: :e, type: :string, desc:
> 'Set the environment'
# /srv/gems/holepunch-1.3.0/lib/holepunch/cli.rb:43
> option :file, aliases: :f, type: :string, default: "#{Dir.pwd}/SecurityGroups", desc:
> 'The location of the SecurityGroups file to use'
# /srv/gems/holepunch-1.3.0/lib/holepunch/cli.rb:45
> option :verbose, aliases: :v, type: :boolean, desc:
> 'Enable verbose output'
# /srv/gems/holepunch-1.3.0/lib/holepunch/cli.rb:66
> option :env, aliases: :e, type: :string, desc:
> 'Set the environment'
# /srv/gems/holepunch-1.3.0/lib/holepunch/cli.rb:68
> option :file, aliases: :f, type: :string, default: "#{Dir.pwd}/SecurityGroups", desc:
> 'The location of the SecurityGroups file to use'
# /srv/gems/holepunch-1.3.0/lib/holepunch/cli.rb:70
> option :list, type: :boolean, desc:
> 'List all services instead'
# /srv/gems/holepunch-1.3.0/lib/holepunch/cli.rb:72
> option :verbose, aliases: :v, type: :boolean, desc:
> 'Enable verbose output'
# /srv/gems/jstreebuilder-0.3.2/lib/jstreebuilder.rb:365# /srv/gems/wechat-shake_around-1.1/lib/wechat/shake_around/beacon_page_relation.rb:33
> post_json "https://api.weixin.qq.com/shakearound/device/bindpage?access_token=#{access_token}", body:
> {
> device_identifier: device_identifier,
> page_ids: page_ids,
> bind: 0,
> append: 0
> }
# /srv/gems/wechat-shake_around-1.1/lib/wechat/shake_around/beacon_page_relation.rb:66
> post_json "https://api.weixin.qq.com/shakearound/device/bindpage?access_token=#{access_token}", body:
> {
> device_identifier: device_identifier,
> page_ids: page_ids,
> bind: 1,
> append: 1
> }
# /srv/gems/ass_launcher-0.7.0/lib/ass_launcher/enterprise/cli_def/8.3.8.rb:36
> chose '-Format',
> 'формат выгрузки файлов',
> chose_list:\
> chose_list(:Hierarchical => 'иерархический формат. По умолчанию',
> :Plain => 'линейный формат')
# /srv/gems/ass_launcher-0.7.0/lib/ass_launcher/enterprise/cli_def/8.3.8.rb:134
> chose '/Debug', 'запуск в отладочном режиме', chose_list:\
> chose_list(:'-http' => 'отладка по протоколу HTTP',
> :'-tcp' => 'отладчика по протоколу TCP') do
> flag '-attach', 'автоматическое подключение к отладчику'
> end
# /srv/gems/betterplace-bi-0.7.0/lib/bi/request_analyzer.rb:46
> memoize function:
> def robot_regexp
> combine_patterns(user_agent_configuration&.robot?)
> end
# /srv/gems/betterplace-bi-0.7.0/lib/bi/request_analyzer.rb:51
> memoize function:
> def mobile_regexp
> combine_patterns(user_agent_configuration&.mobile?)
> end
# /srv/gems/brainsome_devise-3.3.0/test/integration/rememberable_test.rb:50
> post user_session_path, authenticity_token: "oops", user:
> { email: "jose.valim@gmail.com", password: "123456", remember_me: "1" }
# /srv/gems/duodealer_api-1.0.0/test/smart_collection_test.rb:15
> fake "products.json?collection_id=1063001432",
> method: :get,
> status: 200,
> body:
> load_fixture('smart_collection_products'),
> extension: false
# /srv/gems/foreman_puppet-6.3.0/test/controllers/foreman_puppet/environments_controller_test.rb:53
> post :obsolete_and_new, params:
> { 'changed' =>
> { 'new' =>
> { 'env1' => '{"a":{"new":{}}}' } } }, session: set_session_user
# /srv/gems/foreman_puppet-6.3.0/test/controllers/foreman_puppet/environments_controller_test.rb:68
> post :obsolete_and_new, params:
> { 'changed' =>
> { 'new' =>
> { 'env1' => '{"a":{"new":{}}}' } } }, session: set_session_user
# /srv/gems/foreman_puppet-6.3.0/test/controllers/foreman_puppet/environments_controller_test.rb:104
> post :obsolete_and_new, params:
> { 'changed' =>
> { 'obsolete' =>
> { 'env3' => '[]' } } }, session: set_session_user
# /srv/gems/foreman_puppet-6.3.0/test/controllers/foreman_puppet/environments_controller_test.rb:126
> post :obsolete_and_new, params:
> { 'changed' =>
> { 'obsolete' =>
> { 'env1' => '["a","b","c","_destroy_"]' } } }, session: set_session_user
# /srv/gems/foreman_puppet-6.3.0/test/controllers/foreman_puppet/environments_controller_test.rb:186
> post :obsolete_and_new, params:
> { 'changed' =>
> { 'new' =>
> { 'new' => '{"a":{"new":{}}}' } } }, session: set_session_user
# /srv/gems/google-cloud-gemserver-0.1.0/lib/google/cloud/gemserver/cli.rb:62
> method_option :use_proj, type: :string, aliases: "-g", desc:
> "Existing project to deploy gemserver to"
# /srv/gems/google-cloud-gemserver-0.1.0/lib/google/cloud/gemserver/cli.rb:64
> method_option :use_inst, type: :string, aliases: "-i", desc:
> "Existing project to deploy gemserver to"
# /srv/gems/google-cloud-gemserver-0.1.0/lib/google/cloud/gemserver/cli.rb:77
> method_option :use_proj, type: :string, aliases: "-g", desc:
> "Existing project to deploy gemserver to"
# /srv/gems/google-cloud-gemserver-0.1.0/lib/google/cloud/gemserver/cli.rb:79
> method_option :use_inst, type: :string, aliases: "-i", desc:
> "Existing Cloud SQL instance to us"
# /srv/gems/google-cloud-gemserver-0.1.0/lib/google/cloud/gemserver/cli.rb:101
> method_option :use_proj, type: :string, aliases: "-g", desc:
> "Project id of GCP project the gemserver was deployed to. Warning:"\
> " parent project and CloudSQL instance will also be deleted"
# /srv/gems/google-cloud-gemserver-0.1.0/lib/google/cloud/gemserver/cli.rb:113
> method_option :permissions, type: :string, aliases: "-p", desc:
> "Options: write, read, both. Default is both."
# /srv/gems/google-cloud-gemserver-0.1.0/lib/google/cloud/gemserver/cli.rb:115
> method_option :remote, type: :string, aliases: "-r", desc:
> "The gemserver URL, i.e. gemserver.com"
# /srv/gems/google-cloud-gemserver-0.1.0/lib/google/cloud/gemserver/cli.rb:117
> method_option :use_proj, type: :string, aliases: "-g", desc:
> "The GCP project the gemserver was deployed to."
# /srv/gems/google-cloud-gemserver-0.1.0/lib/google/cloud/gemserver/cli.rb:131
> method_option :key, type: :string, aliases: "-k", desc:
> "The key to delete"
# /srv/gems/google-cloud-gemserver-0.1.0/lib/google/cloud/gemserver/cli.rb:133
> method_option :remote, type: :string, aliases: "-r", desc:
> "The gemserver URL, i.e. gemserver.com"
# /srv/gems/google-cloud-gemserver-0.1.0/lib/google/cloud/gemserver/cli.rb:135
> method_option :use_proj, type: :string, aliases: "-g", desc:
> "The GCP project the gemserver was deployed to."
# /srv/gems/google-cloud-gemserver-0.1.0/lib/google/cloud/gemserver/cli.rb:156
> method_option :remote, type: :string, aliases: "-r", desc:
> "The gemserver URL, i.e. gemserver.com"
# /srv/gems/google-cloud-gemserver-0.1.0/lib/google/cloud/gemserver/cli.rb:158
> method_option :use_proj, type: :string, aliases: "-g", desc:
> "The GCP project the gemserver was deployed to."
# /srv/gems/google-cloud-spanner-2.22.0/lib/google/cloud/spanner/convert.rb:95
> Google::Protobuf::Value.new list_value:
> Google::Protobuf::ListValue.new(values:
> obj.map { |o| object_to_grpc_value(o, arr_field) })
# /srv/gems/jsspeech2019-0.1.0/lib/jsspeech2019.rb:79
> xml.meta name: "viewport", content: \
> "width=device-width, initial-scale=1"
# /srv/gems/lita-team-2.2.1/spec/lita/handlers/remove_member_from_team_spec.rb:3
> describe Lita::Handlers::RemoveMemberFromTeam,
> lita_handler: true,
> additional_lita_handlers:
> [
> Lita::Handlers::CreateTeam,
> Lita::Handlers::BlockTeam,
> Lita::Handlers::AddMemberToTeam
> ] do
> describe "remove member from team" do
> it "removes a member from the team" do
> send_command "create testing team"
> send_command "testing team add mel"
> send_command "testing team remove mel"
> expect(replies.last).to eq("mel removed from the testing team")
> end
>
> context "me" do
> it "removes current user from the team" do
> send_command "create testing team"
> send_command "testing team add me"
> send_command "testing team remove me"
> expect(replies.last).to eq("#{user.name} removed from the testing team")
> end
> end
>
> context "+1" do
> it "removes current user from the team" do
> send_command "create testing team"
> send_command "testing team +1"
> send_command "testing team -1"
> expect(replies.last).to eq("#{user.name} removed from the testing team")
> end
> end
>
> context "mention" do
> it "uses the lita users database" do
> send_command "create testing team"
> send_command "testing team add @Test"
> send_command "testing team remove @Test"
> expect(replies.last).to eq("Test User removed from the testing team")
> end
>
> it "removes @ from non-existing users" do
> send_command "create testing team"
> send_command "testing team add @james"
> send_command "testing team remove @james"
> expect(replies.last).to eq("james removed from the testing team")
> end
> end
>
> context "there are members in the team" do
> before do
> send_command "create testing team"
> send_command "testing team add john"
> send_command "testing team add james"
> end
> context "there is a member in the team" do
> it "removes the member and displays a message" do
> send_command "testing team remove james"
> expect(replies.last).
> to eq("james removed from the testing team, 1 other is in")
> end
> end
>
> context "there are two or more members in the team" do
> it "adds the member and shows a message" do
> send_command "testing team add robert"
> send_command "testing team remove robert"
> expect(replies.last).
> to eq("robert removed from the testing team, 2 others are in")
> end
> end
> end
>
> context "the member is not in the team" do
> it "does not remove anyone" do
> send_command "create testing team"
> send_command "testing team remove john"
> expect(replies.last).to eq("john is not on the testing team")
> end
> end
>
> context "team does not exist" do
> it "does not remove the member" do
> send_command "testing team remove john"
> expect(replies.last).to eq("testing team does not exist")
> end
> end
>
> context "team blocked" do
> it "does not remove the member" do
> send_command "create testing team"
> send_command "testing team add jhon"
> send_command "block testing team"
> send_command "testing team remove jhon"
> reply =
> "testing team is blocked. You cannot perform this operation"
> expect(replies.last).to eq(reply)
> end
> end
> end
> end
# /srv/gems/ass_launcher-0.7.0/lib/ass_launcher/enterprise/cli_def/8.3.12.rb:39
> chose '-SecondConfigurationType',
> 'тип второй конфигурации',
> chose_list:\
> chose_list(
> :MainConfiguration => 'основная конфигурация',
> :DBConfiguration => 'конфигурация базы данных',
> :VendorConfiguration => 'конфигурация поставщика',
> :ExtensionConfiguration => 'расширение конфигурации',
> :ExtensionDBConfiguration => 'расширение конфигурации'\
> ' (база данных)',
> :ConfigurationRepository => 'конфигурация из хранилища',
> :ExtensionConfigurationRepository => 'расширение'\
> ' конфигурации из хранилища',
> :File => 'файл конфигурации(расширения)'
> )
# /srv/gems/betterdocs-0.12.4/lib/betterdocs/generator/markdown.rb:134
> memoize method:
> def readme_template
> provide_template 'README.md.erb'
> end
# /srv/gems/betterdocs-0.12.4/lib/betterdocs/generator/markdown.rb:139
> memoize method:
> def section_template
> provide_template 'section.md.erb'
> end
# /srv/gems/betterplace-bi-0.7.0/lib/bi/shared_value.rb:22
> memoize function:
> def bp_timestamp
> Hash.new do |_, k|
> raise KeyError, "illegal Attribute name #{k.inspect}"
> end.merge(
> Local: GormTimestamp.new('*time.Time', 'gorm:"type:timestamp;index"'),
> YearLocal: GormTimestamp.new('*int', 'gorm:"type:int;index"'),
> MonthLocal: GormTimestamp.new('*int', 'gorm:"type:int;index"'),
> DayLocal: GormTimestamp.new('*int', 'gorm:"type:int;index"'),
> HourLocal: GormTimestamp.new('*int', 'gorm:"type:int;index"'),
> CWLocal: GormTimestamp.new('*int', 'gorm:"type:int;index"'),
> DateLocal: GormTimestamp.new('*string', 'gorm:"type:varchar;index"'),
> YearMonthLocal: GormTimestamp.new('*string', 'gorm:"type:varchar;index"'),
> YearCWLocal: GormTimestamp.new('*string', 'gorm:"type:varchar;index"'),
> )
> end
# /srv/gems/easy_filter-0.3.0/lib/easy_filter/view_helpers.rb:10
> render partial: 'easy_filter/sort_field',
> locals:
> { column: column.to_s,
> title: title,
> sort_param_name: config[:sort_params][:field],
> direction: dir,
> direction_param_name: config[:sort_params][:direction],
> cleaned_params: cleaned_params
> }
# /srv/gems/fluent-plugin-cloudwatch-ingest-1.7.0/lib/fluent/plugin/in_cloudwatch_ingest.rb:30
> config_param :state_file_name, :string, default: \
> '/var/spool/td-agent/cloudwatch.state'
# /srv/gems/geoblacklight_admin-0.4.1/app/models/document/reference.rb:99
> validates :category, inclusion:
> {in: REFERENCE_VALUES.stringify_keys.keys,
> allow_blank: true,
> message: "%<value>s is not a valid category"}
# /srv/gems/hyper-console-0.1.4/lib/hyperloop/console/hyper_console.rb:81
> render inline:
> "<!DOCTYPE html>\n"\
> "<html>\n"\
> " <head>\n"\
> " <title>Hyperloop Console Loading...</title>\n"\
> " <%= csrf_meta_tags %>\n"\
> " <%= stylesheet_link_tag 'hyper-console-client' %>\n"\
> " <%= javascript_include_tag 'hyper-console-client.min.js' %>\n"\
> " <%= javascript_include_tag 'action_cable' %>\n"\
> " </head>\n"\
> " <body>\n"\
> " <%= react_component '::DebugConsole', #{console_params}, { prerender: false } %>\n"\
> " </body>\n"\
> "</html>\n"
# /srv/gems/jobshop-0.0.179/db/migrate/20171216021853_create_customers.rb:34
> t.references :category, type: :uuid, null: false, foreign_key:
> { to_table: :jobshop_customer_categories }
# /srv/gems/jsmenubuilder-0.3.6/lib/jsmenubuilder.rb:464
> xml.meta name: "viewport", content: \
> "width=device-width, initial-scale=1"
# /srv/gems/moments-0.3.0/spec/lib/moments/difference_spec.rb:666
> include_examples 'in a component',
> when_seconds: 15,
> when_minutes: (12 * 60) + 15,
> when_hours: (8 * 60 * 60) + (12 * 60) + 15,
> when_days: (6 * 24 * 60 * 60) + (8 * 60 * 60) + (12 * 60) + 15,
> when_months:
> ((31 + 28 + 31 + 30) * 24 * 60 * 60) +
> (6 * 24 * 60 * 60) +
> (8 * 60 * 60) +
> (12 * 60) +
> 15,
> when_years:
> (2 * 365 * 24 * 60 * 60) +
> ((31 + 28 + 31 + 30) * 24 * 60 * 60) +
> (6 * 24 * 60 * 60) +
> (8 * 60 * 60) +
> (12 * 60) +
> 15
# /srv/gems/moments-0.3.0/spec/lib/moments/difference_spec.rb:719
> include_examples 'in a component',
> when_seconds: 0,
> when_minutes: 12,
> when_hours: (8 * 60) + 12,
> when_days: (6 * 24 * 60) + (8 * 60) + 12,
> when_months:
> ((31 + 28 + 31 + 30) * 24 * 60) +
> (6 * 24 * 60) +
> (8 * 60) +
> 12,
> when_years:
> (2 * 365 * 24 * 60) +
> ((31 + 28 + 31 + 30) * 24 * 60) +
> (6 * 24 * 60) +
> (8 * 60) +
> 12
# /srv/gems/moments-0.3.0/spec/lib/moments/difference_spec.rb:740
> include_examples 'in a component',
> when_seconds: 0,
> when_minutes: 0,
> when_hours: 8,
> when_days: (6 * 24) + 8,
> when_months:
> ((31 + 28 + 31 + 30) * 24) +
> (6 * 24) +
> 8,
> when_years:
> (2 * 365 * 24) +
> ((31 + 28 + 31 + 30) * 24) +
> (6 * 24) +
> 8
# /srv/gems/moments-0.3.0/spec/lib/moments/difference_spec.rb:759
> include_examples 'in a component',
> when_seconds: 0,
> when_minutes: 0,
> when_hours: 0,
> when_days: 6,
> when_months:
> (31 + 28 + 31 + 30) +
> 6,
> when_years:
> (2 * 365) +
> (31 + 28 + 31 + 30) +
> 6
# /srv/gems/record_store-7.0.0/lib/record_store/record/cname.rb:5
> validates :cname, presence: true, format:
> {
> with: Record::CNAME_REGEX,
> message: 'is not a fully qualified domain name',
> }
[#<SystemStackError: stack level too deep>,
"/srv/gems/script_core-0.3.2/tests/regression/235400.rb"]
# /srv/gems/softwear-lib-3.3.7/lib/softwear/library/controller_authentication.rb:55
> render inline: \
> "<div class='panel panel-danger'>"\
> "<div class='panel-heading'>"\
> "<h3 class='panel-title'>#{error.message}</h3>"\
> "</div>"\
> "<div class='panel-body'>"\
> "Not all site functions will work until the problem is resolved. "\
> "<a href='javascript' onclick='history.go(-1);return false;' class='btn btn-default'>Go back.</a>"\
> "</div>"\
> "</div>"
# /srv/gems/wechat-shake_around-1.1/lib/wechat/shake_around/device_group_relation.rb:28
> post_json "https://api.weixin.qq.com/shakearound/device/group/deletedevice?access_token=#{access_token}", body:
> {
> group_id: group_id.to_i,
> device_identifiers: [ device_identifier ]
> }
# /srv/gems/wechat-shake_around-1.1/lib/wechat/shake_around/device_group_relation.rb:55
> post_json "https://api.weixin.qq.com/shakearound/device/group/adddevice?access_token=#{access_token}", body:
> {
> group_id: group_id.to_i,
> device_identifiers: [ device_identifier ]
> }
# /srv/gems/amorail-0.7.2/lib/amorail/entities/task.rb:17
> validates :element_type, inclusion:
> ELEMENT_TYPES.reject { |type, _| type == :task }.values
# /srv/gems/arangorb-2.0.1/lib/Collection.rb:291
> raise Arango::Error.new err: :wrong_type_instead_of_expected_one, data:
> {"expected_value": type, "received_value": x.type, "wrong_object": x}
# /srv/gems/arangorb-2.0.1/lib/Collection.rb:297
> raise Arango::Error.new err: :wrong_type_instead_of_expected_one, data:
> {"expected_value": type, "received_value": x.type, "wrong_object": x}
# /srv/gems/arangorb-2.0.1/lib/Collection.rb:305
> raise Arango::Error.new err: :wrong_type_instead_of_expected_one, data:
> {"expected_value": type, "received_value": x.collection.type, "wrong_object": x}
# /srv/gems/bitgirder-platform-0.1.27/lib/bitgirder/irb.rb:12
> bg_attr :setup,
> required: false,
> description:
> "Init block to be run in context of irb main object before"
# /srv/gems/blue_print-1.3.1/lib/generators/rails/blue_print_generator.rb:9
> class_option :parent, type: :string, desc:
> 'The parent class for the generated context'
# /srv/gems/blue_print-1.3.1/lib/generators/rails/blue_print_generator.rb:11
> class_option :active_if, type: :array, default: [], desc:
> 'The active_if names for the generated context'
# /srv/gems/brcobranca-11.0.0/lib/brcobranca/boleto/unicred.rb:9
> validates_length_of :agencia, maximum: 4, message:
> 'deve ser menor ou igual a 4 dígitos.'
# /srv/gems/brcobranca-11.0.0/lib/brcobranca/boleto/unicred.rb:11
> validates_length_of :nosso_numero, maximum: 10, message:
> 'deve ser menor ou igual a 10 dígitos.'
# /srv/gems/brcobranca-11.0.0/lib/brcobranca/boleto/unicred.rb:13
> validates_length_of :conta_corrente, maximum: 9, message:
> 'deve ser menor ou igual a 9 dígitos.'
# /srv/gems/brcobranca-11.0.0/lib/brcobranca/boleto/unicred.rb:16
> validates_length_of :carteira, maximum: 2, message:
> 'deve ser menor ou igual a 2 dígitos.'
# /srv/gems/brcobranca-11.0.0/lib/brcobranca/boleto/unicred.rb:18
> validates_length_of :conta_corrente_dv, maximum: 1, message:
> 'deve ser menor ou igual a 1 dígitos.'
# /srv/gems/cbreaker-0.1.1/lib/cbreaker/game.rb:62
> Terminal::Table.new headings:
> ['Rating', 'Name', 'Difficulty', 'Attempts Total', 'Attempts Used', 'Hints Total', 'Hints Used'], rows: rows
# /srv/gems/decidim-enhanced_textwork-1.0.5/db/migrate/20171201115434_create_paragraph_endorsements.rb:13
> add_index :decidim_enhanced_textwork_paragraph_endorsements, "decidim_paragraph_id, decidim_author_id, (coalesce(decidim_user_group_id,-1))", unique: true, name:
> "decidim_enhanced_textwork_paragraph_endorsmt_p_auth_ugrp_uniq"
# /srv/gems/dog_biscuits-0.5.9/lib/dog_biscuits/models/concerns/metadata_properties/frapo/output_of.rb:8
> has_and_belongs_to_many :output_of_resource,
> class_name: 'DogBiscuits::Project',
> predicate:
> DogBiscuits::Vocab::UlccTerms.outputOf
# /srv/gems/hai-0.0.5/app/controllers/hai/rest_controller.rb:5
> render json:
> Hai::Read
> .new(model_class, context)
> .list(
> # TODO: this is a security risk, thanks co-pilot
> # potenntial use attributes types plus AREL_TYPE_CAST
> filter: params[:filter]&.to_unsafe_h,
> limit: params[:limit],
> offset: params[:offset],
> sort: params[:sort]&.to_unsafe_h
> )
> .to_json
# /srv/gems/hai-0.0.5/app/controllers/hai/rest_controller.rb:20
> render json:
> Hai::Read
> .new(model_class, context)
> .read(id: { eq: params[:id] })
> .to_json
# /srv/gems/hai-0.0.5/app/controllers/hai/rest_controller.rb:28
> render json:
> Hai::Create
> .new(model_class, context)
> .execute(**params[params[:model].singularize].permit!)
> .to_json
# /srv/gems/hai-0.0.5/app/controllers/hai/rest_controller.rb:36
> render json:
> Hai::Update
> .new(model_class, context)
> .execute(
> id: params[:id],
> attributes: params[params[:model]].permit!
> )
> .to_json
# /srv/gems/hai-0.0.5/app/controllers/hai/rest_controller.rb:47
> render json:
> Hai::Delete
> .new(model_class, context)
> .execute(id: params[:id])
> .to_json
# /srv/gems/log_toolbox-1.3.11/lib/log_toolbox/log_routes.rb:7
> match 'log/change_level(/:checks)(.:format)', to:
> 'log_toolbox/log#change_level', via: :post
# /srv/gems/log_toolbox-1.3.11/lib/log_toolbox/log_routes.rb:10
> match 'log/test(/:checks)(.:format)', to:
> 'log_toolbox/log#test', via: :get
# /srv/gems/record_store-7.0.0/lib/record_store/record/alias.rb:5
> validates :alias, presence: true, format:
> {
> with: Record::CNAME_REGEX,
> message: 'is not a fully qualified domain name',
> }
[#<SystemStackError: stack level too deep>,
"/srv/gems/script_core-0.3.2/tests/regression/221327.rb"]
# /srv/gems/searchyj-0.6.1/lib/searchyj/cli.rb:7
> class_option \
> :from,
> type: :numeric,
> default: 1,
> aliases: '-f',
> desc: \
> 'The searching process starts ' \
> 'from this number of the search ranking.'
# /srv/gems/searchyj-0.6.1/lib/searchyj/cli.rb:23
> option :key,
> type: :string,
> default: 'title',
> aliases: '-k',
> desc: \
> "The key name of the matching target\n" \
> "This option receives any of 'title' or 'uri'."
# /srv/gems/utils-0.43.0/lib/utils/finder.rb:80
> memoize method:
> def load_paths
> lines = File.readlines(index_path)
> @args[?v] and warn "Loaded index #{index_path.inspect}."
> lines.empty? and raise Errno::ENOENT
> @args[?d] or lines = lines.grep_v(%r{/$})
> lines.map(&:chomp!)
> rescue Errno::ENOENT
> return create_paths
> end
# /srv/gems/wechat-core-1.1/lib/wechat/core/tiny_link.rb:30
> post_json "https://api.weixin.qq.com/cgi-bin/shorturl?access_token=#{access_token}", body:
> {
> action: 'long2short',
> long_url: link
> }
# /srv/gems/wechat-sns-2.1/lib/wechat/sns/user_profile.rb:36
> get_json 'https://api.weixin.qq.com/sns/userinfo', body:
> {
> access_token: access_token,
> openid: open_id,
> lang: language
> }
# /srv/gems/alchemy-solidus-7.3.1/lib/generators/alchemy/solidus/install/install_generator.rb:17
> class_option :skip_alchemy_installer,
> default: false,
> type: :boolean,
> desc:
> "Set true if you don't want to run the Alchemy installer"
# /srv/gems/alchemy-solidus-7.3.1/lib/generators/alchemy/solidus/install/install_generator.rb:22
> class_option :skip_alchemy_devise_installer,
> default: false,
> type: :boolean,
> desc:
> "Set true if you don't want to run the Alchemy Devise installer. NOTE: Automatically skipped if Alchemy::Devise is not available."
# /srv/gems/dog_biscuits-0.5.9/lib/dog_biscuits/vocab/generic.rb:106
> property :readme,
> comment:
> %(This property should be used to provide a textual
> desicption of the given work to facilitate it's
> understanding and use. A README file is common
> parlance in coding.),
> label: 'README',
> 'rdf:isDefinedBy' => 'http://dlib.york.ac.uk/ontologies/generic#',
> type: 'rdf:Property'
# /srv/gems/dog_biscuits-0.5.9/lib/dog_biscuits/vocab/generic.rb:115
> property :forIndexing,
> comment:
> 'This property should be used to store data that does
> not need to be displayed but may be useful for
> searching.',
> label: 'For Index',
> 'rdf:isDefinedBy' => 'http://dlib.york.ac.uk/ontologies/generic#',
> type: 'rdf:Property'
# /srv/gems/dog_biscuits-0.5.9/lib/dog_biscuits/vocab/generic.rb:123
> property :lastAccess,
> comment:
> 'This property should be used to for the date a resource,
> or group of resources, was last accessed.',
> label: 'Date of Last Access',
> 'rdf:isDefinedBy' => 'http://dlib.york.ac.uk/ontologies/generic#',
> type: 'rdf:Property'
# /srv/gems/dog_biscuits-0.5.9/lib/dog_biscuits/vocab/generic.rb:130
> property :status,
> comment:
> 'This property should be used to for the status of the
> given object, eg. workflow status.',
> label: 'Status',
> 'rdf:isDefinedBy' => 'http://dlib.york.ac.uk/ontologies/generic#',
> type: 'rdf:Property'
# /srv/gems/dog_biscuits-0.5.9/lib/dog_biscuits/vocab/generic.rb:143
> property :hasMainFile,
> comment:
> %(This property should be used to create a relationship between an object
> and it's 'main file'. For example, a Thesis/Dissertation and it's PDF file.),
> label: 'Has Main File',
> 'rdf:isDefinedBy' => 'http://dlib.york.ac.uk/ontologies/generic#',
> type: 'rdf:Property'
# /srv/gems/dog_biscuits-0.5.9/lib/dog_biscuits/vocab/generic.rb:150
> property :hasReadmeFile,
> comment:
> %(This property should be used to create a relationship between an object
> and it's 'readme file'.),
> label: 'Has Readme File',
> 'rdf:isDefinedBy' => 'http://dlib.york.ac.uk/ontologies/generic#',
> type: 'rdf:Property'
# /srv/gems/dog_biscuits-0.5.9/lib/dog_biscuits/vocab/generic.rb:157
> property :moduleCode,
> comment:
> 'This property should be used for a course module code, eg. from SITS.',
> label: 'Module Code',
> 'rdf:isDefinedBy' => 'http://dlib.york.ac.uk/ontologies/generic#',
> type: 'rdf:Property'
# /srv/gems/dog_biscuits-0.5.9/lib/dog_biscuits/vocab/generic.rb:163
> property :packages,
> comment:
> 'This property should be used for a the relationship between a Package and the
> Works represented by that package.',
> label: 'Packaged',
> 'rdf:isDefinedBy' => 'http://dlib.york.ac.uk/ontologies/generic#',
> subPropertyOf: 'http://pcdm.org/models#hasRelatedObject',
> type: 'rdf:Property'
# /srv/gems/dog_biscuits-0.5.9/lib/dog_biscuits/vocab/generic.rb:171
> property :packagedBy,
> comment:
> 'This property should is the inverse of packages.',
> label: 'Packaged By',
> 'rdf:isDefinedBy' => 'http://dlib.york.ac.uk/ontologies/generic#',
> subPropertyOf: 'http://pcdm.org/models#relatedObjectOf',
> type: 'rdf:Property'
# /srv/gems/dog_biscuits-0.5.9/lib/dog_biscuits/vocab/generic.rb:178
> property :numberOfDownloads,
> comment:
> "A count of number of downloads of the given object, or it's member files.",
> label: 'Number Of Downloads',
> 'rdf:isDefinedBy' => 'http://dlib.york.ac.uk/ontologies/generic#',
> subPropertyOf: 'http://pcdm.org/models#relatedObjectOf',
> type: 'rdf:Property'
# /srv/gems/dog_biscuits-0.5.9/lib/dog_biscuits/vocab/generic.rb:185
> property :collectionsCategory,
> comment:
> 'A controlled value for the collections categorisation code.',
> label: 'Collections Category',
> 'rdf:isDefinedBy' => 'http://dlib.york.ac.uk/ontologies/generic#',
> subPropertyOf: 'http://pcdm.org/models#relatedObjectOf',
> type: 'rdf:Property'
# /srv/gems/dog_biscuits-0.5.9/lib/dog_biscuits/vocab/generic.rb:194
> term :'',
> comment:
> 'General purpose ontology for York Digital Library. Terms not found in other schemes.',
> 'dc:modified' => '2017',
> 'dc:publisher' => '',
> 'dc:title' => 'York Digital Library Generic Ontology',
> label: 'Generic',
> 'owl:versionInfo' => ''
# /srv/gems/garrison-0.0.1/spec/dummy/config/application.rb:32
> g.test_framework :rspec, fixtures: true, view_specs: false, helper_specs: false, routing_specs:
> false, controller_specs: true, request_specs: true
# /srv/gems/jsautocomplete_builder-0.1.1/lib/jsautocomplete_builder.rb:62
> xml.meta name: "viewport", content: \
> "width=device-width, initial-scale=1"
# /srv/gems/lang_cards-1.0.0/lib/lang_cards.rb:125
> para "Part of speech:", width: 150; @part_of_speech = list_box items:
> [" ", "verb", "noun", "adjective", "adverb", "pronoun",
> "preposition", "conjunction", "interjection"], choose: " "
# /srv/gems/martile-1.7.0/lib/martile.rb:289
> xml.meta name: "viewport", content: \
> "width=device-width, initial-scale=1"
# /srv/gems/matchete-0.5.1/spec/matchete_spec.rb:223
> on e: Integer, f: String, method:
> def play(e:, f:)
> :y
> end
# /srv/gems/op_cart-0.6.0/app/models/op_cart/order.rb:12
> validates :tax_amount, numericality:
> { only_integer: true, greater_than_or_equal_to: 0 }, if: :tax_amount?
# /srv/gems/record_store-7.0.0/lib/record_store/record/mx.rb:5
> validates :preference, presence: true, numericality:
> {
> only_integer: true,
> greater_than_or_equal_to: 0,
> }
# /srv/gems/record_store-7.0.0/lib/record_store/record/mx.rb:10
> validates :exchange, presence: true, format:
> {
> with: Record::FQDN_REGEX,
> message: 'is not a fully qualified domain name',
> }
# /srv/gems/slanger-0.6.1/spec/integration/private_channel_spec.rb:40
> expect(messages).to have_attributes connection_established: true, count: 2, id_present: true, last_event:
> 'pusher:error'
# /srv/gems/chef-encrypted-attributes-0.9.0/lib/chef/knife/encrypted_attribute_delete.rb:36
> option :force,
> short: '-f',
> long: '--force',
> description:
> 'Force the attribute deletion even if you cannot read it',
> boolean: true
# /srv/gems/decidim-core-0.28.1/app/helpers/decidim/endorsable_helper.rb:87
> render partial: "decidim/endorsements/identity", locals:
> { identity: presenter, selected:,
> http_method:,
> create_url: path_to_create_endorsement(resource, user_group),
> destroy_url: path_to_destroy_endorsement(resource, user_group) }
# /srv/gems/gemgento-2.8.0/lib/gemgento/admin/product_import.rb:32
> f.input :root_category_id,
> as: :select,
> include_blank:
> false, collection: Category.all.map { |c| [c.name, c.id] }
# /srv/gems/make_it_so-0.6.0/lib/generators/rails_app_generator.rb:55
> xml.meta name: "viewport", content: \
> "width=device-width, initial-scale=1"
# /srv/gems/krikri-0.15.2/spec/controllers/harvest_sources_controller_spec.rb:43
> post :create,
> institution_id: institution.id,
> harvest_source:
> { name: 'New Source 1', source_type: 'OAI',
> metadata_schema: 'MARC', uri: 'http://example.org/oai1',
> notes: 'Created source one' }
# /srv/gems/krikri-0.15.2/spec/controllers/harvest_sources_controller_spec.rb:52
> post :create,
> institution_id: institution.id,
> harvest_source:
> { name: 'New Source 2', source_type: 'OAI',
> metadata_schema: 'MODS', uri: 'http://example.org/oai2',
> notes: 'Created source two' }
# /srv/gems/locd-0.1.13/lib/locd/cli/command/agent/shared.rb:117
> def_shared :option,
> name: :label,
> groups: :write,
> desc:
> "Agent label, which is also the domain the proxy will serve it at",
> aliases: [ '--name', '-n' ],
> type: :string,
> required: true
# /srv/gems/mayu-live-0.0.6/lib/mayu/configuration.rb:40
> const :alloc_id,
> String,
> default:
> ENV.fetch("FLY_ALLOC_ID", "00000000-0000-0000-0000-000000000000")
# /srv/gems/opencensus-stackdriver-0.4.1/lib/opencensus/trace/exporters/stackdriver/converter.rb:90
> TraceProtos::Span.new \
> name: make_resource_name(@project_id, obj.trace_id, obj.span_id),
> span_id: obj.span_id,
> parent_span_id: obj.parent_span_id || "",
> display_name: convert_truncatable_string(obj.name),
> start_time: convert_time(obj.start_time),
> end_time: convert_time(obj.end_time),
> attributes:
> convert_attributes(obj.attributes,
> obj.dropped_attributes_count,
> include_agent_attribute: true),
> stack_trace:
> convert_stack_trace(obj.stack_trace, obj.dropped_frames_count,
> obj.stack_trace_hash_id),
> time_events:
> convert_time_events(obj.time_events,
> obj.dropped_annotations_count,
> obj.dropped_message_events_count),
> links: convert_links(obj.links, obj.dropped_links_count),
> status: convert_optional_status(obj.status),
> same_process_as_parent_span:
> convert_optional_bool(obj.same_process_as_parent_span),
> child_span_count: convert_optional_int32(obj.child_span_count)
# /srv/gems/opencensus-stackdriver-0.4.1/lib/opencensus/trace/exporters/stackdriver/converter.rb:274
> annotation_proto = TraceProtos::Span::TimeEvent::Annotation.new \
> description: convert_truncatable_string(annotation.description),
> attributes:
> convert_attributes(annotation.attributes,
> annotation.dropped_attributes_count)
# /srv/gems/opencensus-stackdriver-0.4.1/lib/opencensus/trace/exporters/stackdriver/converter.rb:343
> TraceProtos::Span::Link.new \
> trace_id: link.trace_id,
> span_id: link.span_id,
> type: link.type,
> attributes:
> convert_attributes(link.attributes,
> link.dropped_attributes_count)
# /srv/gems/penetration-0.0.7/spec/dummy/config/application.rb:20
> g.test_framework :rspec, fixtures: true, view_specs: false, helper_specs: false, routing_specs:
> false, controller_specs: true, request_specs: true
# /srv/gems/pg_rails-7.0.7/pg_engine/app/controllers/pg_engine/resource_helper.rb:95
> render turbo_stream:
> turbo_stream.update('pg-associable-form', <<~HTML
> <div data-modal-target="response" data-response='#{object.decorate.to_json}'></div>
> HTML
> )
# /srv/gems/pg_rails-7.0.7/pg_engine/app/controllers/pg_engine/resource_helper.rb:116
> render turbo_stream:
> turbo_stream.update('pg-associable-form', partial: 'form', locals: { asociable: true })
# /srv/gems/pg_rails-7.0.7/pg_associable/app/helpers/pg_associable/helpers.rb:14
> render turbo_stream:
> turbo_stream.update("resultados-#{params[:id]}",
> partial:, locals: { collection: @collection })
# /srv/gems/rails_amp-0.2.2/spec/dummy/app/controllers/home_controller.rb:12
> format.json { render json:
> { object_id: RailsAmp.config.object_id, format: RailsAmp.config.format }
# /srv/gems/record_store-7.0.0/lib/record_store/record/ns.rb:5
> validates :nsdname, presence: true, format:
> {
> with: Record::FQDN_REGEX,
> message: 'is not a fully qualified domain name',
> }
# /srv/gems/ruby-jmeter-3.1.08/spec/jmeter_plugins_spec.rb:76
> perfmon_collector name: 'perfmon collector name',
> nodes:
> [
> {server: '1.1.1.1', port: 4444, metric: 'CPU', parameters: ''},
> {server: '2.2.2.2', port: 4444, metric: 'CPU', parameters: ''}
> ],
> filename: 'perf.jtl',
> xml: false
# /srv/gems/sc_core-0.0.7/test/dummy/vendor/bundle/ruby/2.2.0/gems/devise-3.5.2/test/integration/rememberable_test.rb:50
> post user_session_path, authenticity_token: "oops", user:
> { email: "jose.valim@gmail.com", password: "123456", remember_me: "1" }
[#<SystemStackError: stack level too deep>,
"/srv/gems/script_core-0.3.2/tests/regression/224100.rb"]
# /srv/gems/chef-encrypted-attributes-0.9.0/lib/chef/knife/encrypted_attribute_edit.rb:35
> option :input_format,
> short: '-i FORMAT',
> long: '--input-format FORMAT',
> description:
> 'Input (EDITOR) format, supported formats are "plain" '\
> '(default) and "json"'
# /srv/gems/github-to-canvas-quiz-0.1.4/lib/github_to_canvas_quiz/cli.rb:7
> option :directory,
> default: '.',
> desc:
> '(optional) Directory to output markdown files. Defaults to current directory'
# /srv/gems/github-to-canvas-quiz-0.1.4/lib/github_to_canvas_quiz/cli.rb:23
> option :directory,
> default: '.',
> desc:
> '(optional) Directory with markdown files to align. Defaults to current directory'
# /srv/gems/hamburglar-0.3.0/lib/hamburglar/gateways/max_mind.rb:29
> Faraday::Response.register_middleware maxmind:
> ::Hamburglar::Gateways::MaxMind::Base::ResponseParser
# /srv/gems/HDLRuby-3.3.2/lib/HDLRuby/hdr_samples/mei8_bench.rb:28
> bit[7..0][-256].constant mem: # The content of the memory
> ( File.readlines(prog_file).map {|l| l.split[0] }.select do |l|
> ["0","1"].include?(l[2])
> end.map {|l| l[2..9].to_i(2).to_expr.as(bit[8]) } )
# /srv/gems/HDLRuby-3.3.2/lib/HDLRuby/hdr_samples/sw_encrypt_cpusim_bench.rb:156
> code c: [
> "unsigned char mem_read(unsigned char addr) {
> unsigned char res;
> write8(1,",@read_action,");
> wait_cond8(0,",@read_action,");
> return read8(",@value,");
> }
>
> void mem_write(unsigned char val, unsigned char addr) {
> unsigned char res;
> write8(1,",@write_action,");
> write8(val,",@value,");
> wait_cond8(0,",@write_action,");
> }
> "], h:
> "extern unsigned char mem_read(unsigned char addr);
> extern void mem_write(unsigned char val, unsigned char addr);
> "
# /srv/gems/HDLRuby-3.3.2/lib/HDLRuby/std/function_generator.rb:71
> otyp[-lut_size].constant lut:
> initialize_lut(func,otyp,awidth,xrange,yrange)
# /srv/gems/more_math-1.0.1/lib/more_math/numberify_string_function.rb:42
> memoize function:
> def compute_size(n, b)
> i = 0
> while n > 0
> i += 1
> n -= b ** i
> end
> i
> end
# /srv/gems/wechat-core-1.1/lib/wechat/core/access_token.rb:45
> get_json 'https://api.weixin.qq.com/cgi-bin/token', body:
> {
> grant_type: 'client_credential',
> appid: app_id, # Rails.application.secrets.wechat_app_id,
> secret: app_secret, # Rails.application.secrets.wechat_app_secret
> }
# /srv/gems/davinci_crd_test_kit-0.9.0/lib/davinci_crd_test_kit/client_tests/client_fhir_api_create_test.rb:10
> input :create_resources,
> type: 'textarea',
> description:
> 'Provide a list of resources to create. e.g., [json_resource_1, json_resource_2]'
# /srv/gems/davinci_crd_test_kit-0.9.0/lib/davinci_crd_test_kit/client_tests/client_fhir_api_update_test.rb:10
> input :update_resources,
> type: 'textarea',
> description:
> 'Provide a list of resources to update. e.g., [json_resource_1, json_resource_2]'
# /srv/gems/boson-more-0.3.1/lib/boson/console.rb:35
> GLOBAL_OPTIONS.update console:
> {:type=>:boolean,
> :desc=>"Drops into irb with default and explicit libraries loaded"}
# /srv/gems/chef-encrypted-attributes-0.9.0/lib/chef/knife/core/encrypted_attribute_editor_options.rb:53
> option :encrypted_attribute_partial_search,
> short: '-P',
> long: '--disable-partial-search',
> description: 'Disable partial search',
> boolean: true,
> proc:
> (lambda do |_i|
> encrypted_attributes_option_set(:partial_search, false)
> end)
# /srv/gems/chef-encrypted-attributes-0.9.0/lib/chef/knife/core/encrypted_attribute_editor_options.rb:63
> option :encrypted_attribute_client_search,
> short: '-C CLIENT_SEARCH_QUERY',
> long: '--client-search CLIENT_SEARCH_QUERY',
> description:
> 'Client search query. Can be specified multiple times',
> proc:
> (lambda do |i|
> encrypted_attributes_option_push(:client_search, i)
> end)
# /srv/gems/chef-encrypted-attributes-0.9.0/lib/chef/knife/core/encrypted_attribute_editor_options.rb:73
> option :encrypted_attribute_node_search,
> short: '-N NODE_SEARCH_QUERY',
> long: '--node-search NODE_SEARCH_QUERY',
> description:
> 'Node search query. Can be specified multiple times',
> proc:
> ->(i) { encrypted_attributes_option_push(:node_search, i) }
# /srv/gems/chef-encrypted-attributes-0.9.0/lib/chef/knife/core/encrypted_attribute_editor_options.rb:81
> option :encrypted_attribute_users,
> short: '-U USER',
> long: '--encrypted-attribute-user USER',
> description:
> 'User name to allow access to. Can be specified multiple '\
> 'times',
> proc: ->(i) { encrypted_attributes_option_push(:users, i) }
# /srv/gems/fluent-plugin-splunk-http-eventcollector-memb-0.0.1/test/plugin/test_out_splunk-http-eventcollector.rb:129
> assert_requested :post, "https://localhost:8089/services/collector",
> headers: {"Authorization" => "Splunk changeme"},
> body:
> { time: time, source: "test", sourcetype: "fluentd", host: "", index: "main", event: "a" }.to_json +
> { time: time, source: "test", sourcetype: "fluentd", host: "", index: "main", event: "b" }.to_json,
> times: 1
# /srv/gems/health_check_toolbox-1.0.2/lib/health_check_toolbox/health_check_routes.rb:7
> match 'health_check(/:checks)(.:format)', to:
> 'health_check_toolbox/health#health_check', via: :get
# /srv/gems/health_check_toolbox-1.0.2/lib/health_check_toolbox/health_check_routes.rb:10
> match 'service_status(/:checks)(.:format)', to:
> 'health_check_toolbox/health#service_status', via: :get
# /srv/gems/lit-1.1.6/app/controllers/lit/api/v1/localizations_controller.rb:5
> render json:
> @localizations.as_json(
> root: false,
> only: %i[id localization_key_id locale_id],
> methods: %i[value localization_key_str locale_str localization_key_is_deleted],
> )
# /srv/gems/masks-0.4.0/app/controllers/masks/openid/discoveries_controller.rb:17
> render json:
> OpenIDConnect::Discovery::Provider::Config::Response.new(
> issuer: client.issuer,
> authorization_endpoint: openid_authorization_url,
> token_endpoint: openid_token_url,
> userinfo_endpoint: openid_userinfo_url,
> jwks_uri: openid_jwks_url,
> # registration_endpoint: site_url, # TODO
> scopes_supported: client.scopes,
> response_types_supported: client.response_types,
> grant_types_supported: client.grant_types,
> claims_parameter_supported: false,
> request_parameter_supported: false,
> request_uri_parameter_supported: false,
> subject_types_supported: [
> client.pairwise_subject? ? "pairwise" : "public"
> ],
> id_token_signing_alg_values_supported: [:RS256],
> token_endpoint_auth_methods_supported: %w[
> client_secret_basic
> client_secret_post
> ],
> claims_supported: %w[sub iss name email address phone_number]
> )
# /srv/gems/more_math-1.0.1/lib/more_math/sequence.rb:53
> memoize method:
> def variance
> sum_of_squares / size
> end
# /srv/gems/more_math-1.0.1/lib/more_math/sequence.rb:59
> memoize method:
> def sample_variance
> size > 1 ? sum_of_squares / (size - 1.0) : 0.0
> end
# /srv/gems/more_math-1.0.1/lib/more_math/sequence.rb:66
> memoize method:
> def sum_of_squares
> @elements.inject(0.0) { |s, t| s + (t - arithmetic_mean) ** 2 }
> end
# /srv/gems/more_math-1.0.1/lib/more_math/sequence.rb:72
> memoize method:
> def standard_deviation
> Math.sqrt(variance)
> end
# /srv/gems/more_math-1.0.1/lib/more_math/sequence.rb:78
> memoize method:
> def z_score
> self.class.new(elements.map { |t| t.to_f - mean / standard_deviation })
> end
# /srv/gems/more_math-1.0.1/lib/more_math/sequence.rb:85
> memoize method:
> def standard_deviation_percentage
> 100.0 * standard_deviation / arithmetic_mean
> end
# /srv/gems/more_math-1.0.1/lib/more_math/sequence.rb:91
> memoize method:
> def sample_standard_deviation
> Math.sqrt(sample_variance)
> end
# /srv/gems/more_math-1.0.1/lib/more_math/sequence.rb:98
> memoize method:
> def sample_standard_deviation_percentage
> 100.0 * sample_standard_deviation / arithmetic_mean
> end
# /srv/gems/more_math-1.0.1/lib/more_math/sequence.rb:104
> memoize method:
> def sum
> @elements.inject(0.0) { |s, t| s + t }
> end
# /srv/gems/more_math-1.0.1/lib/more_math/sequence.rb:110
> memoize method:
> def arithmetic_mean
> sum / size
> end
# /srv/gems/more_math-1.0.1/lib/more_math/sequence.rb:119
> memoize method:
> def harmonic_mean
> sum = @elements.inject(0.0) { |s, t|
> if t > 0
> s + 1.0 / t
> else
> break nil
> end
> }
> sum ? size / sum : 0 / 0.0
> end
# /srv/gems/more_math-1.0.1/lib/more_math/sequence.rb:133
> memoize method:
> def geometric_mean
> sum = @elements.inject(0.0) { |s, t|
> case
> when t > 0
> s + Math.log(t)
> when t == 0
> break :null
> else
> break nil
> end
> }
> case sum
> when :null
> 0.0
> when Float
> Math.exp(sum / size)
> else
> 0 / 0.0
> end
> end
# /srv/gems/dog_biscuits-0.5.9/lib/dog_biscuits/vocab/borthwick_registers.rb:204
> property :sectionType,
> label: 'Section Type',
> comment:
> 'This property is used for the section type for an Entry.
> It is recommended that this property is used with a
> controlled list of values.',
> subPropertyOf: 'dcterms:description',
> 'rdf:isDefinedBy' => 'http://dlib.york.ac.uk/ontologies/borthwick-registers#',
> range: 'http://dlib.york.ac.uk/ontologies/borthwick-registers#Entry',
> domain: 'rdf:Literal'
# /srv/gems/dog_biscuits-0.5.9/lib/dog_biscuits/vocab/borthwick_registers.rb:215
> property :placeType,
> label: 'Place Type',
> comment:
> 'This property is used for the type of Place. .
> It is recommended that this property is used with a
> controlled list of values.',
> 'rdf:isDefinedBy' => 'http://dlib.york.ac.uk/ontologies/borthwick-registers#'
# /srv/gems/dog_biscuits-0.5.9/lib/dog_biscuits/vocab/borthwick_registers.rb:223
> property :role,
> label: 'Role',
> comment:
> 'This property is used for the role played by the
> described Object Class.
> It is recommended that this property is used with a
> controlled list of values.',
> subPropertyOf: 'http://schema.org/Role',
> 'rdf:isDefinedBy' => 'http://dlib.york.ac.uk/ontologies/borthwick-registers#'
# /srv/gems/dog_biscuits-0.5.9/lib/dog_biscuits/vocab/borthwick_registers.rb:237
> property :descriptor,
> label: 'Descriptor',
> comment:
> 'This property is used for the descriptor of the described
> Agent. A descriptor might be the occupation, status or
> other significant qualification.
> It is recommended that this property is used with a
> controlled list of values.',
> 'rdf:isDefinedBy' => 'http://dlib.york.ac.uk/ontologies/borthwick-registers#',
> range: 'http://dlib.york.ac.uk/ontologies/borthwick-registers#RelatedPersonGroup'
# /srv/gems/dog_biscuits-0.5.9/lib/dog_biscuits/vocab/borthwick_registers.rb:248
> property :isBlank,
> label: 'Is Blank',
> comment:
> 'This property is used to capture if the described Folio
> is blank.
> A true or false value is recommended.',
> 'rdf:isDefinedBy' => 'http://dlib.york.ac.uk/ontologies/borthwick-registers#',
> domain: 'rdf:Literal',
> range: 'http://dlib.york.ac.uk/ontologies/borthwick-registers#Folio'
# /srv/gems/dog_biscuits-0.5.9/lib/dog_biscuits/vocab/borthwick_registers.rb:258
> property :isMissing,
> label: 'Is Missing',
> comment:
> 'This property is used to capture if a Folio should exist,
> but is missing from the sequence.
> A true or false value is recommended.',
> 'rdf:isDefinedBy' => 'http://dlib.york.ac.uk/ontologies/borthwick-registers#',
> domain: 'rdf:Literal',
> range: 'http://dlib.york.ac.uk/ontologies/borthwick-registers#Folio'
# /srv/gems/dog_biscuits-0.5.9/lib/dog_biscuits/vocab/borthwick_registers.rb:268
> property :relatedAgentFor,
> label: 'Related Agent For',
> comment:
> 'This property creates a link from the described Agent to
> the Object Class it is related to, for example
> a Person related to an Entry.',
> 'rdf:isDefinedBy' => 'http://dlib.york.ac.uk/ontologies/borthwick-registers#',
> domain: 'http://dlib.york.ac.uk/ontologies/borthwick-registers#Entry',
> range: 'http://dlib.york.ac.uk/ontologies/borthwick-registers#RelatedPersonGroup'
# /srv/gems/dog_biscuits-0.5.9/lib/dog_biscuits/vocab/borthwick_registers.rb:278
> property :relatedPlaceFor,
> label: 'Related Place For',
> comment:
> 'This property creates a link from the described Place
> to the Object Class it is related to, for example
> a Place related to a Person.',
> 'rdf:isDefinedBy' => 'http://dlib.york.ac.uk/ontologies/borthwick-registers#',
> # doesn't like multiples
> # domain: 'http://dlib.york.ac.uk/ontologies/borthwick-registers#Entry'.freeze,
> # domain: 'http://dlib.york.ac.uk/ontologies/borthwick-registers#RelatedPersonGroup'.freeze,
> range: 'http://dlib.york.ac.uk/ontologies/borthwick-registers#RelatedPlace'
# /srv/gems/dog_biscuits-0.5.9/lib/dog_biscuits/vocab/borthwick_registers.rb:290
> property :entryDateFor,
> label: 'Entry Date For',
> comment:
> 'This property creates a link from the described Date to the
> Object Class it is related to, for example
> a Date related to an Entry.',
> 'rdf:isDefinedBy' => 'http://dlib.york.ac.uk/ontologies/borthwick-registers#',
> range: 'http://dlib.york.ac.uk/ontologies/borthwick-registers#EntryDate',
> domain: 'http://dlib.york.ac.uk/ontologies/borthwick-registers#Entry'
# /srv/gems/dog_biscuits-0.5.9/lib/dog_biscuits/vocab/borthwick_registers.rb:300
> property :dateFor,
> label: 'Date For',
> comment:
> 'This property creates a link from the described Single Date
> to the Entry Date it is related to.',
> 'rdf:isDefinedBy' => 'http://dlib.york.ac.uk/ontologies/borthwick-registers#',
> range: 'http://dlib.york.ac.uk/ontologies/borthwick-registers#SingleDate',
> domain: 'http://dlib.york.ac.uk/ontologies/borthwick-registers#EntryDate'
# /srv/gems/dog_biscuits-0.5.9/lib/dog_biscuits/vocab/borthwick_registers.rb:310
> term :'',
> comment:
> 'Borthwick Institute for Archives
> ontology for Registers.',
> 'dc:modified' => '2017',
> 'dc:publisher' => '',
> 'dc:title' => 'Borthwick Registers Ontology',
> label: 'Borthwick Registers',
> 'owl:versionInfo' => ''
# /srv/gems/foreman_scc_manager-3.0.0/test/controllers/scc_accounts_controller_test.rb:69
> post :create, params:
> { :scc_account => { :name => account.name, :login => account.login, :password => account.password, :organization_id => organization.id } },
> session: set_session_user
# /srv/gems/quantitative-0.3.3/lib/quant/indicators/atr.rb:64
> p0.inst_stoch = stochastic :value, period:
> p0.stoch = three_pole_super_smooth(:inst_stoch, previous: :stoch, period:).clamp(0, 100)
# /srv/gems/HDLRuby-3.3.2/lib/HDLRuby/hdr_samples/mei8.rb:28
> bit[7..0][-256].constant mem: # The content of the memory
> File.readlines(prog_file).map {|l| l.split[0].to_i(2)}
# /srv/gems/maintenance_tasks-2.7.0/lib/maintenance_tasks.rb:73
> mattr_accessor :error_handler, default:
> ->(_error, _task_context, _errored_element) {}
# /srv/gems/middleman-galley-0.0.3/lib/middleman/galley/templates/collage_plus.rb:11
> content_tag :script, src:
> 'http://code.jquery.com/jquery-latest.min.js' do
> nil
> end
# /srv/gems/nrser-0.3.12/spec/lib/nrser/types/selector_spec.rb:67
> WHEN "querying for members of any of a list of groups",
> selector: \
> t[ groups: ( t.has( 'b' ) | t.has( 'c' ) ) ] do
> it { is_expected.to \
> eq %w(journal notebook paper).to_set }; end
# /srv/gems/nrser-0.3.12/spec/lib/nrser/types/selector_spec.rb:101# /srv/gems/alchemy-solidus-7.3.1/lib/generators/alchemy/solidus/install/install_generator.rb:27
> class_option :skip_spree_custom_user_generator,
> default: false,
> type: :boolean,
> desc:
> "Set true if you don't want to run the Solidus custom user generator. NOTE: Automatically skipped if Alchemy::Devise is not available."
# /srv/gems/alchemy-solidus-7.3.1/lib/generators/alchemy/solidus/install/install_generator.rb:32
> class_option :skip_alchemy_user_generator,
> default: false,
> type: :boolean,
> desc:
> "Set true if you don't want to generate an admin user. NOTE: Automatically skipped if Alchemy::Devise is not available."
# /srv/gems/card-mod-edit-0.16.0/set/right/input_type.rb:14
> super.merge "data-update-foreign-slot":
> ".card-slot.quick_edit-view.RIGHT-Xcontent_option_view"
# /srv/gems/card-mod-search-0.16.0/set/right/mates.rb:1
> include_set Abstract::VirtualSearch,
> cql_content: { plus: "_left", sort_by: "name" },
> raw_help_text:
> 'If there is a card named "X+{{_left|name}}", ' \
> "then X is a mate of {{_left|name}}."
# /srv/gems/decidim-admin-0.28.1/app/controllers/decidim/admin/newsletters_controller.rb:29
> enforce_permission_to :read, :newsletter, newsletter:
>
> NewsletterMailer.newsletter(current_user, newsletter).deliver_later
# /srv/gems/foreman_docker-5.0.0/test/functionals/image_search_controller_test.rb:57
> get :search_repository, params:
> { registry: search_types.sample, search: term,
> id: compute_resource, format: :html },
> session: set_session_user, xhr: true
# /srv/gems/hoe-manns-2.1.8/lib/hoe/manns.rb:71
> task run_before_release:
> %w[git:manifest bundler:gemfile bundler:gemfile_lock gem:spec_remove bundle_audit:run copy_master] do
> puts 'Ready to run rake release VERSION=x.y.z'.color(:green)
> end
# /srv/gems/origen_arm-0.1.2/lib/origen_arm/cores/cortexm/cm33/cm33_registers.rb:34
> r.bit 5, :c_snapstall, description:
> [
> 'Snap stall control.',
> 'Setting this bit to 1 allows a debugger to request an imprecise entry to Debug state. Writing 1 to this makes the state of the memory system UNPREDICTABLE. Therefore if a debugger writes 1 to this bit it must reset the system before leaving Debug state.', 'Allow imprecise entry to Debug state.',
> 'The effect of setting this bit to 1 is UNPREDICTABLE unless the DHCSR write also sets C_DEBUGEN and C_HALT to 1. This means that if the PE is not already in Debug state, it enters Debug state when the stalled instruction completes.',
> 'If the Security Extension is implemented, then writes to this bit are ignored when DHCSR.S_SDE == 0.',
> 'If DHCSR.C_DEBUGEN == 0 or HaltingDebugAllowed() == FALSE, the PE ignores this bit and behaves as if it is set to 0.',
> 'If the Main Extension is not implemented, this bit is RES0.',
> '0 -> No action.',
> '1 -> Allows imprecise entry to Debug state, for example by forcing any stalled load or store instruction to be abandoned.'
> ].join("\n")
# /srv/gems/origen_arm-0.1.2/lib/origen_arm/cores/cortexm/cm33/cm33_registers.rb:46
> r.bit 3, :c_maskints, description:
> [
> 'Mask interrupts control. When debug is enabled, the debugger can write to this bit to mask PendSV, SysTick and external configurable interrupts.',
> 'The effect of any single write to DHCSR that changes the value of this bit is UNPREDICTABLE unless one of:',
> 'Before the write, DHCSR.{S_HALT,C_HALT} are both set to 1 and the write also writes 1 to DHCSR.C_HALT.',
> 'Before the write, DHCSR.C_DEBUGEN == 0 or HaltingDebugAllowed() == FALSE, and the write writes 0 to DHCSR.C_MASKINTS. This means that a single write to DHCSR must not clear DHCSR.C_HALT to 0 and change the value of the C_MASKINTS bit.',
> 'If the Security Extension is implemented and DHCSR.S_SDE == 0, this bit does not affect
> interrupts targeting Secure state.',
> 'If DHCSR.C_DEBUGEN == 0 or HaltingDebugAllowed() == FALSE, the PE ignores this bit and behaves as if it is set to 0.',
> 'If DHCSR.C_DEBUGEN == 0 this but reads as an UNKNOWN value.',
> 'This bit resets to an UNKNOWN value on a Cold reset.',
> '0 -> Do not mask.',
> '1 -> Mask PendSV, SysTick and external configurable interrupts.'
> ].join("\n")
# /srv/gems/origen_arm-0.1.2/lib/origen_arm/cores/cortexm/cm33/cm33_registers.rb:60
> r.bit 2, :c_step, reset: 0, description:
> [
> 'Step control. Enable single instruction step.',
> 'The effect of a single write to DHCSR that changes the value of this bit is UNPREDICTABLE unless one of:',
> 'Before the write, DHCSR.{S_HALT,C_HALT} are both set to 1.',
> 'Before the write, DHCSR.C_DEBUGEN == 0 or HaltingDebugAllowed() == FALSE, and the write writes 0 to DHCSR.C_STEP.',
> 'The PE ignores this bit and behaves as if it set to 0 if any of:',
> 'DHCSR.C_DEBUGEN == 0 or HaltingDebugAllowed() == FALSE.',
> 'The Security Extension is implemented, DHCSR.S_SDE == 0 and the PE is in Secure state.',
> 'If DHCSR.C_DEBUGEN == 0 this bit reads as an UNKNOWN',
> '0 -> No effect.',
> '1 -> Single step enabled.'
> ].join("\n")
# /srv/gems/origen_arm-0.1.2/lib/origen_arm/cores/cortexm/cm33/cm33_registers.rb:73
> r.bit 1, :c_halt, reset: 0, description:
> [
> 'Halt control. PE to enter Debug state halt request.',
> 'The PE sets C_HALT to 1 when a debug event pends an entry to Debug state.',
> 'The PE ignores this bit and behaves as if it is set to 0 if any of:',
> 'DHCSR.C_DEBUGEN == 0 or HaltingDebugAllowed() == FALSE.',
> 'The Security Extension is implemented, DHCSR.S_SDE == 0 and the PE is in Secure state.',
> 'If DHCSR.C_DEBUGEN == 0 this bit reads as an UNKNOWN value.',
> 'This bit resets to zero on a Warm reset.',
> '0 -> Causes the PE to leave Debug state, if in Debug state.',
> '1 -> Halt the PE.'
> ].join("\n")
# /srv/gems/origen_arm-0.1.2/lib/origen_arm/cores/cortexm/cm33/cm33_registers.rb:85
> r.bit 0, :c_debugen, reset: 0, description:
> [
> 'Debug enable control. Enable Halting debug.',
> 'The possible values of this bit are:',
> 'If a debugger writes to DHCSR to change the value of this bit from 0 to 1, it must also write 0 to the C_MASKINTS bit, otherwise behavior is UNPREDICTABLE.',
> 'If this bit is set to 0:',
> 'The PE behaves as if DHCSR.{C_MASKINTS, C_STEP, C_HALT} are all set to 0.',
> 'DHCSR.{S_RESTART_ST, C_MASKINTS, C_STEP, C_HALT} are UNKNOWN on reads of DHCSR.',
> 'This bit is read/write to the debugger. Writes from software are ignored.',
> 'This bit resets to zero on a Cold reset.',
> '0 -> Disabled.',
> '1 -> Enabled.'
> ].join("\n")
# /srv/gems/origen_arm-0.1.2/lib/origen_arm/cores/cortexm/cm33/cm33_registers.rb:102
> r.bit 16, :regwnr, description:
> [
> 'Register write/not-read. Specifies the access type for the transfer.',
> '0 -> Read.',
> '1 -> Write.'
> ].join("\n")
# /srv/gems/origen_arm-0.1.2/lib/origen_arm/cores/cortexm/cm33/cm33_registers.rb:160
> r.bit 6..0, :reg_sel, description:
> [
> 'Register selector.',
> 'Specifies the general-purpose register, special-purpose register, or Floating-point Extension register to transfer.'
> ].join("\n")
# /srv/gems/origen_arm-0.1.2/lib/origen_arm/cores/cortexm/cm33/cm33_registers.rb:168
> r.bits 31..0, :dbgtmp, description:
> [
> 'Data temporary buffer. Provides debug access for reading and writing the general-purpose registers, ' \
> 'special-purpose registers, and Floating-point Extension registers.',
>
> 'The value of this register is UNKNOWN if the PE is in Debug state, the debugger has written to ' \
> 'DCRSR since entering Debug state and DHCSR.S_REGRDY is set to 0. The value of this register ' \
> 'is UNKNOWN if the Main Extension is not implemented and the PE is in Non-debug state.',
>
> 'This field resets to an UNKNOWN value on a Warm reset.',
> 'Any written contents will be overwritten on a successful core-register read attempt.'
> ].join("\n")
# /srv/gems/origen_arm-0.1.2/lib/origen_arm/cores/cortexm/cm33/cm33_registers.rb:184
> r.bits 24, :trcena, description:
> [
> 'Trace enable. Global enable for all DWT and ITM features.',
>
> 'If the DWT and ITM units are not implemented, this bit is RES0. See the descriptions of DWT and ' \
> 'ITM for details of which features this bit controls.',
>
> 'Setting this bit to 0 might not stop all events. To ensure that all events are stopped, software must ' \
> 'set all DWT and ITM feature enable bits to 0, and ensure that all trace generated by the DWT and ' \
> 'ITM has been flushed, before setting this bit to 0.',
>
> 'It is IMPLEMENTATION DEFINED whether this bit affects how the system processes trace. ' \
> 'Arm recommends that this bit is set to 1 when using an ETM even if any implemented DWT and ' \
> 'ITM are not being used.',
>
> 'This bit resets to zero on a Cold reset.',
>
> '0 -> DWT and ITM features disabled.',
> '1 -> DWT and ITM features enabled.'
> ].join("\n")
# /srv/gems/origen_arm-0.1.2/lib/origen_arm/cores/cortexm/cm33/cm33_registers.rb:205
> r.bits 20, :sdme, description:
> [
> 'Secure DebugMonitor enable. Indicates whether the DebugMonitor targets the Secure or the ' \
> 'Non-secure state and whether debug events are allowed in Secure state.',
>
> 'When DebugMonitor exception is not pending or active, this bit reflects the value of ' \
> 'SecureDebugMonitorAllowed(), otherwise, the previous value is retained.',
>
> 'This bit is read-only.',
>
> 'If the Security Extension is not implemented, this bit is RES0. ' \
> 'If the Main Extension is not implemented, this bit is RES0.',
>
> '0 -> Debug events prohibited in Secure state and the DebugMonitor exception targets Non-secure state.',
> '1 -> Debug events allowed in Secure state and the DebugMonitor exception targets Secure state.'
> ].join("\n")
# /srv/gems/origen_arm-0.1.2/lib/origen_arm/cores/cortexm/cm33/cm33_registers.rb:221
> r.bits 19, :mon_req, description:
> [
> 'Monitor request. DebugMonitor semaphore bit.',
>
> 'The PE does not use this bit. The monitor software defines the meaning and use of this bit.',
>
> 'If the Main Extension is not implemented, this bit is RES0.',
>
> 'This bit resets to zero on a Warm reset.'
> ].join("\n")
# /srv/gems/origen_arm-0.1.2/lib/origen_arm/cores/cortexm/cm33/cm33_registers.rb:231
> r.bits 18, :mon_step, description:
> [
> 'Monitor step. Enable DebugMonitor exception stepping.',
>
> 'The effect of changing this bit at an execution priority that is lower than the priority of the ' \
> 'DebugMonitor exception is UNPREDICTABLE.',
>
> 'If the Main Extension is not implemented, this bit is RES0.',
>
> 'This bit resets to zero on a Warm reset.',
>
> '0 -> Stepping disabled.',
> '1 -> Stepping enabled.'
> ].join("\n")
# /srv/gems/origen_arm-0.1.2/lib/origen_arm/cores/cortexm/cm33/cm33_registers.rb:245
> r.bits 17, :mon_pend, description:
> [
> 'Monitor pend. Sets or clears the pending state of the DebugMonitor exception.',
>
> 'When the DebugMonitor exception is pending it becomes active subject to the exception priority ' \
> 'rules. The effect of setting this bit to 1 is not affected by the value of the MON_EN bit. This means ' \
> 'that software or a debugger can set MON_PEND to 1 and pend a DebugMonitor exception, even ' \
> 'when MON_EN is set to 0.',
>
> 'If the Main Extension is not implemented, this bit is RES0.',
>
> 'This bit resets to zero on a Warm reset.',
>
> '0 -> Clear the status of the DebugMonitor exception to not pending.',
> '1 -> Set the status of the DebugMonitor exception to pending.'
> ].join("\n")
# /srv/gems/origen_arm-0.1.2/lib/origen_arm/cores/cortexm/cm33/cm33_registers.rb:261
> r.bits 16, :mon_en, description:
> [
> 'Monitor enable. Enable the DebugMonitor exception.',
>
> 'If a debug event halts the PE, the PE ignores the value of this bit.',
> 'If DEMCR.SDME is one this bit is RAZ/WI from Non-secure state',
>
> 'If the Main Extension is not implemented, this bit is RES0.',
>
> 'This bit resets to zero on a Warm reset.',
>
> '0 -> DebugMonitor exception disabled.',
> '1 -> DebugMonitor exception enabled.'
> ].join("\n")
# /srv/gems/origen_arm-0.1.2/lib/origen_arm/cores/cortexm/cm33/cm33_registers.rb:276
> r.bits 11, :vc_sferr, description:
> [
> 'Vector Catch SecureFault. SecureFault exception Halting debug vector catch enable.',
>
> 'The PE ignores the value of this bit if DHCSR.C_DEBUGEN == 0, HaltingDebugAllowed() == ' \
> 'FALSE, or DHCSR.S_SDE == 0.',
>
> 'If the Security Extension is not implemented, this bit is RES0.',
> 'If the Main Extension is not implemented, this bit is RES0.',
> 'If Halting debug is not implemented, this bit is RES0.',
>
> 'This bit resets to zero on a Cold reset.',
>
> '0 -> Halting debug trap on SecureFault disabled.',
> '1 -> Halting debug trap on SecureFault enabled.'
> ].join("\n")
# /srv/gems/origen_arm-0.1.2/lib/origen_arm/cores/cortexm/cm33/cm33_registers.rb:292
> r.bits 10, :vc_harderr, description:
> [
> 'Vector Catch HardFault errors. HardFault exception Halting debug vector catch enable.',
>
> 'The PE ignores the value of this bit if DHCSR.C_DEBUGEN == 0, HaltingDebugAllowed() == ' \
> 'FALSE, or the Security Extension is implemented, DHCSR.S_SDE == 0 and the exception targets ' \
> 'Secure state.',
>
> 'If Halting debug is not implemented, this bit is RES0.',
>
> 'This bit resets to zero on a Cold reset.',
>
> '0 -> Halting debug trap on HardFault disabled.',
> '1 -> Halting debug trap on HardFault enabled.'
> ].join("\n")
# /srv/gems/wechat-shake_around-1.1/lib/wechat/shake_around/device_daily_report.rb:40
> post_json "https://api.weixin.qq.com/shakearound/statistics/device?access_token=#{access_token}", body:
> {
> device_identifier: device_identifier,
> begin_date: normalize_date(date_range.min),
> end_date: normalize_date(date_range.max)
> }
# /srv/gems/wechat-shake_around-1.1/lib/wechat/shake_around/page_daily_report.rb:38
> post_json "https://api.weixin.qq.com/shakearound/statistics/page?access_token=#{access_token}", body:
> {
> page_id: page_id.to_i,
> begin_date: normalize_date(date_range.min),
> end_date: normalize_date(date_range.max)
> }
# /srv/gems/cieloz-0.0.21/test/unit/validations_test.rb:373
> must_ensure_inclusion_of :capturar, in_array: ["true", "false"], message:
> I18n.t('activemodel.errors.models.cieloz/requisicao_transacao.attributes.capturar.inclusion')
# /srv/gems/hangouts-chat-0.1.0/test/hangouts_chat/http_test.rb:27
> assert_requested :post, @url, times: 1, body: payload.to_json, headers:
> { 'Content-Type' => 'application/json' }
# /srv/gems/jsajax_wizard-0.3.1/lib/jsajax_wizard.rb:208
> xml.meta name: "viewport", content: \
> "width=device-width, initial-scale=1"
# /srv/gems/phillipug-foodie-0.1.0/.vendor/ruby/3.0.0/gems/aruba-2.0.0/lib/aruba/configuration.rb:54
> option_accessor :log_level,
> type:
> Aruba::Contracts::Enum[:fatal, :warn, :debug, :info,
> :error, :unknown, :silent],
> default: :info
# /srv/gems/pretest-1.12.0/lib/pretest/structure/clone.rb:8
> argument :name, type: :string, desc:
> 'Project Name'
# /srv/gems/pretest-1.12.0/lib/pretest/structure/clone.rb:10
> argument :web, type: :string, desc:
> 'Set Project Structure to Web Automation'
# /srv/gems/pretest-1.12.0/lib/pretest/structure/clone.rb:12
> argument :web_scaffold, type: :string, desc:
> 'Set Project Structure to Web Automation and Creates some examples'
# /srv/gems/pretest-1.12.0/lib/pretest/structure/clone.rb:14
> argument :api, type: :string, desc:
> 'Set Project Structure to API Automation'
# /srv/gems/pretest-1.12.0/lib/pretest/structure/clone.rb:16
> argument :api_scaffold, type: :string, desc:
> 'Set Project Structure to API Automation and Creates some examples'
# /srv/gems/pretest-1.12.0/lib/pretest/structure/clone.rb:18
> argument :clean_install, type: :string, desc:
> 'Set a Clean Project Structure to Web Automation'
# /srv/gems/pretest-1.12.0/lib/pretest/structure/clone.rb:20
> argument :ios, type: :string, desc:
> 'Set Project Structure to iOS Mobile Automation'
# /srv/gems/pretest-1.12.0/lib/pretest/structure/clone.rb:22
> argument :android, type: :string, desc:
> 'Set Project Structure to Android Mobile Automation'
# /srv/gems/pretest-1.12.0/lib/pretest/cli.rb:9
> method_option :web, type: :boolean, desc:
> 'Create a Web Automation Project Structure'
# /srv/gems/pretest-1.12.0/lib/pretest/cli.rb:11
> method_option :web_scaffold, type: :boolean, desc:
> 'Creates a Web Automation Project Structure with some steps,' \
> ' pages and features already created'
# /srv/gems/pretest-1.12.0/lib/pretest/cli.rb:14
> method_option :api, type: :boolean, desc:
> 'Create a API Automation Project Structure'
# /srv/gems/pretest-1.12.0/lib/pretest/cli.rb:16
> method_option :api_scaffold, type: :boolean, desc:
> 'Creates a API Automation Project Structure with some steps ' \
> 'and features already created'
# /srv/gems/pretest-1.12.0/lib/pretest/cli.rb:19
> method_option :clean_install, type: :boolean, desc:
> 'Creates a Clean Web Automation Project Structure'
# /srv/gems/pretest-1.12.0/lib/pretest/cli.rb:21
> method_option :ios, type: :boolean, desc:
> 'Create a iOS Mobile Automation Project Structure'
# /srv/gems/pretest-1.12.0/lib/pretest/cli.rb:23
> method_option :android, type: :boolean, desc:
> 'Create a Android Mobile Automation Project Structure'
# /srv/gems/slim_validation-0.0.3/spec/dummy/config/application.rb:31
> g.test_framework :rspec, fixtures: true, view_specs: false, helper_specs: false, routing_specs:
> false, controller_specs: true, request_specs: true
# /srv/gems/social_networking-0.13.3/app/controllers/social_networking/profile_answers_controller.rb:22
> render json:
> Serializers::ProfileAnswerSerializer.new(answer).to_serialized
# /srv/gems/tdiary-5.3.0/lib/tdiary/cli.rb:14
> method_option "skip-bundle", type: :boolean, banner:
> "don't run bundle and .htpasswd generation"
# /srv/gems/tdiary-5.3.0/lib/tdiary/cli.rb:37
> method_option "skip-bundle", type: :boolean, banner:
> "don't run bundle"
# /srv/gems/tdiary-5.3.0/lib/tdiary/cli.rb:90
> method_option "rack", type: :string, banner:
> "start server with rack interface (default)"
# /srv/gems/tdiary-5.3.0/lib/tdiary/cli.rb:92
> method_option "cgi", type: :string, banner:
> "start server with cgi interface"
# /srv/gems/tdiary-5.3.0/lib/tdiary/cli.rb:94
> method_option "bind", aliases: "b", type: :string, default: "0.0.0.0", banner:
> "bind to the IP"
# /srv/gems/tdiary-5.3.0/lib/tdiary/cli.rb:96
> method_option "port", aliases: "p", type: :numeric, default: 19292, banner:
> "use PORT"
# /srv/gems/tdiary-5.3.0/lib/tdiary/cli.rb:98
> method_option "log", aliases: "l", type: :string, banner:
> "File to redirect output"
# /srv/gems/neetob-0.4.31/lib/neetob/cli/github/commands.rb:49
> option :repos, type: :array, aliases: "-r",
> desc:
> "Github repo names. Can be matched using the '*' wildcard. Example: \"neeto*\" \"neeto-cal-web\", also providing \"all\" as value matches all neeto repos.",
> required: true
# /srv/gems/neetob-0.4.31/lib/neetob/cli/github/commands.rb:59
> option :repos, type: :array, aliases: "-r",
> desc:
> "Github repo names. Can be matched using the '*' wildcard. Example: \"neeto*\" \"neeto-cal-web\", also providing \"all\" as value matches all neeto repos.",
> required: true
# /srv/gems/chef-encrypted-attributes-0.9.0/lib/chef/knife/encrypted_attribute_create.rb:35
> option :input_format,
> short: '-i FORMAT',
> long: '--input-format FORMAT',
> description:
> 'Input (EDITOR) format, supported formats are "plain" '\
> '(default) and "json"'
# /srv/gems/decidim-proposals-0.28.1/db/migrate/20171201115434_create_proposal_endorsements.rb:13
> add_index :decidim_proposals_proposal_endorsements, "decidim_proposal_id, decidim_author_id, (coalesce(decidim_user_group_id,-1))", unique: true, name:
> "decidim_proposals_proposal_endorsmt_proposal_auth_ugroup_uniq"
# /srv/gems/eaternet-1.4.2/lib/eaternet/lives_1_0/business.rb:65
> validates :latitude,
> numericality:
> {
> greater_than_or_equal_to: -90,
> less_than_or_equal_to: 90
> },
> allow_nil: true
# /srv/gems/eaternet-1.4.2/lib/eaternet/lives_1_0/business.rb:73
> validates :longitude,
> numericality:
> {
> greater_than_or_equal_to: -180,
> less_than_or_equal_to: 180
> },
> allow_nil: true
# /srv/gems/parser_combinator_dsl-1.0.3/test/test_recipe_parser.rb:19
> assert_parses parser, with:
> "Rezept Tomatensahne
>
> Zutaten
> 1 kg, Tomaten
> 100g, Zwiebeln
> 30g, Butter
> 1, Knoblauchzehe
> 1 EL, Mehl
> 2-3 EL, Tomatenmark
> 2 EL, Tomatenketchup
> 1/4 L, Brühe
> 1/4 L, Schlagsahne
>
> Salz
> Cayennepfeffer
> 1 TL, Zucker
> 1 TL, Zitronensaft
> 1 Bd., Basilikum
>
>
>
> Anweisungen
> Zwiebeln fein würfeln.
> Tomaten häuten und würfeln.
> Zwiebeln glasig dünsten, Knoblauch dazupressen.
> Mit Mehl überstäuben, kurz anschwitzen.
> Tomatenmark und -ketchup zugeben. Mit Brühe und Sahne auffüllen.
> Sauce unter Rühren 5 Min. kochen.
> Inzwischen Nudeln kochen, am besten Linguine.
> Tomaten in der Sauce 5 Min. garen.
> Mit Salz, Cayennepfeffer, Zucker und Zitronensaft herzhaft würzen.
> Basilikumblätter abzupfen, in Streifen schneiden und auf die Sauce streuen.",
> remaining: "",
> output:
> [["Tomatensahne"], ["Zutaten", ["1 kg, Tomaten", "100g, Zwiebeln", "30g, Butter", "1, Knoblauchzehe", "1 EL, Mehl", "2-3 EL, Tomatenmark", "2 EL, Tomatenketchup", "1/4 L, Brühe", "1/4 L, Schlagsahne", "Salz", "Cayennepfeffer", "1 TL, Zucker", "1 TL, Zitronensaft", "1 Bd., Basilikum"]], ["Anweisungen", ["Zwiebeln fein würfeln.", "Tomaten häuten und würfeln.", "Zwiebeln glasig dünsten, Knoblauch dazupressen.", "Mit Mehl überstäuben, kurz anschwitzen.", "Tomatenmark und -ketchup zugeben. Mit Brühe und Sahne auffüllen.", "Sauce unter Rühren 5 Min. kochen.", "Inzwischen Nudeln kochen, am besten Linguine.", "Tomaten in der Sauce 5 Min. garen.", "Mit Salz, Cayennepfeffer, Zucker und Zitronensaft herzhaft würzen.", "Basilikumblätter abzupfen, in Streifen schneiden und auf die Sauce streuen."]]]
# /srv/gems/origen_arm-0.1.2/lib/origen_arm/cores/cortexm/cm33/cm33_registers.rb:307
> r.bits 9, :vc_interr, description:
> [
> 'Vector Catch interrupt errors. Enable Halting debug vector catch for faults arising in lazy state ' \
> 'preservation and during exception entry or return.',
>
> 'The PE ignores the value of this bit if DHCSR.C_DEBUGEN == 0, HaltingDebugAllowed() == ' \
> 'FALSE, or the Security Extension is implemented, DHCSR.S_SDE == 0 and the exception targets Secure state.',
>
> 'If the Main Extension is not implemented, this bit is RES0.',
> 'If Halting debug is not implemented, this bit is RES0.',
>
> 'This bit resets to zero on a Cold reset.',
>
> '0 -> Halting debug trap on faults disabled.',
> '1 -> Halting debug trap on faults enabled.'
> ].join("\n")
# /srv/gems/origen_arm-0.1.2/lib/origen_arm/cores/cortexm/cm33/cm33_registers.rb:323
> r.bits 8, :vc_buserr, description:
> [
> 'Vector Catch BusFault errors. BusFault exception Halting debug vector catch enable.',
>
> 'The PE ignores the value of this bit if DHCSR.C_DEBUGEN == 0, HaltingDebugAllowed() == ' \
> 'FALSE, or the Security Extension is implemented, DHCSR.S_SDE == 0 and the exception targets ' \
> 'Secure state.',
>
> 'If the Main Extension is not implemented, this bit is RES0.',
> 'If Halting debug is not implemented, this bit is RES0.',
>
> 'This bit resets to zero on a Cold reset.',
>
> '0 -> Halting debug trap on BusFault disabled.',
> '1 -> Halting debug trap on BusFault enabled.'
> ].join("\n")
# /srv/gems/origen_arm-0.1.2/lib/origen_arm/cores/cortexm/cm33/cm33_registers.rb:339
> r.bits 7, :vc_staterr, description:
> [
> 'Vector Catch state errors. Enable Halting debug trap on a UsageFault exception caused by a state ' \
> 'information error, for example an Undefined Instruction exception.',
>
> 'The PE ignores the value of this bit if DHCSR.C_DEBUGEN == 0, HaltingDebugAllowed() == ' \
> 'FALSE, or the Security Extension is implemented, DHCSR.S_SDE == 0 and the exception targets ' \
> 'Secure state.',
>
> 'If the Main Extension is not implemented, this bit is RES0.',
> 'If Halting debug is not implemented, this bit is RES0.',
>
> 'This bit resets to zero on a Cold reset.',
>
> '0 -> Halting debug trap on UsageFault caused by state information error disabled.',
> '1 -> Halting debug trap on UsageFault caused by state information error enabled.'
> ].join("\n")
# /srv/gems/origen_arm-0.1.2/lib/origen_arm/cores/cortexm/cm33/cm33_registers.rb:356
> r.bits 6, :vc_chkerr, description:
> [
> 'Vector Catch check errors. Enable Halting debug trap on a UsageFault exception caused by a ' \
> 'checking error, for example an alignment check error.',
>
> 'The PE ignores the value of this bit if DHCSR.C_DEBUGEN == 0, HaltingDebugAllowed() == ' \
> 'FALSE, or the Security Extension is implemented, DHCSR.S_SDE == 0 and the exception targets ' \
> 'Secure state.',
>
> 'If the Main Extension is not implemented, this bit is RES0.',
> 'If Halting debug is not implemented, this bit is RES0.',
>
> 'This bit resets to zero on a Cold reset.',
>
> '0 -> Halting debug trap on UsageFault caused by checking error disabled.',
> '1 -> Halting debug trap on UsageFault caused by checking error enabled.'
> ].join("\n")
# /srv/gems/origen_arm-0.1.2/lib/origen_arm/cores/cortexm/cm33/cm33_registers.rb:373
> r.bits 5, :vc_nocperr, description:
> [
> 'Vector Catch NOCP errors. Enable Halting debug trap on a UsageFault caused by an access to a coprocessor.',
>
> 'The PE ignores the value of this bit if DHCSR.C_DEBUGEN == 0, HaltingDebugAllowed() == ' \
> 'FALSE, or the Security Extension is implemented, DHCSR.S_SDE == 0 and the exception targets ' \
> 'Secure state.',
>
> 'If the Main Extension is not implemented, this bit is RES0.',
> 'If Halting debug is not implemented, this bit is RES0.',
>
> 'This bit resets to zero on a Cold reset.',
>
> '0 -> Halting debug trap on UsageFault caused by access to a coprocessor disabled.',
> '1 -> Halting debug trap on UsageFault caused by access to a coprocessor enabled.'
> ].join("\n")
# /srv/gems/origen_arm-0.1.2/lib/origen_arm/cores/cortexm/cm33/cm33_registers.rb:389
> r.bits 4, :vc_mmerr, description:
> [
> 'Vector Catch MemManage errors. Enable Halting debug trap on a MemManage exception.',
>
> 'The PE ignores the value of this bit if DHCSR.C_DEBUGEN == 0, HaltingDebugAllowed() == ' \
> 'FALSE, or the Security Extension is implemented, DHCSR.S_SDE == 0 and the exception targets ' \
> 'Secure state.',
>
> 'If the Main Extension is not implemented, this bit is RES0.',
> 'If Halting debug is not implemented, this bit is RES0.',
>
> 'This bit resets to zero on a Cold reset.',
>
> '0 -> Halting debug trap on MemManage disabled.',
> '1 -> Halting debug trap on MemManage enabled.'
> ].join("\n")
# /srv/gems/origen_arm-0.1.2/lib/origen_arm/cores/cortexm/cm33/cm33_registers.rb:406
> r.bits 0, :rv_corereset, description:
> [
> 'Vector Catch Core reset. Enable Reset Vector Catch. This causes a Warm reset to halt a running system.',
>
> 'If DHCSR.C_DEBUGEN == 0 or HaltingDebugAllowed() == FALSE, the PE ignores the value of ' \
> 'this bit. Otherwise, when this bit is set to 1 a Warm reset will pend a Vector Catch debug event. The ' \
> 'debug event is pended even the PE resets into Secure state and DHCSR.S_SDE == 0.',
>
> 'If Halting debug is not implemented, this bit is RES0.',
>
> 'This bit resets to zero on a Cold reset.',
>
> '0 -> Halting debug trap on reset disabled.',
> '1 -> Halting debug trap on reset enabled.'
> ].join("\n")
# /srv/gems/pg_easy_replicate-0.2.6/lib/pg_easy_replicate/cli.rb:11
> method_option :special_user_role,
> aliases: "-s",
> desc:
> "Name of the role that has superuser permissions. Usually useful for AWS (rds_superuser) or GCP (cloudsqlsuperuser)."
# /srv/gems/pg_easy_replicate-0.2.6/lib/pg_easy_replicate/cli.rb:19
> method_option :tables,
> aliases: "-t",
> default: "",
> desc:
> "Comma separated list of table names. Default: All tables"
# /srv/gems/pg_easy_replicate-0.2.6/lib/pg_easy_replicate/cli.rb:24
> method_option :schema_name,
> aliases: "-s",
> desc:
> "Name of the schema tables are in, only required if passing list of tables"
# /srv/gems/pg_easy_replicate-0.2.6/lib/pg_easy_replicate/cli.rb:43
> method_option :special_user_role,
> aliases: "-s",
> desc:
> "Name of the role that has superuser permissions. Usually useful with AWS (rds_superuser) or GCP (cloudsqlsuperuser)."
# /srv/gems/pg_easy_replicate-0.2.6/lib/pg_easy_replicate/cli.rb:62# /srv/gems/twilio_conference-0.1.4/app/controllers/twilio_conference/conferences_controller.rb:6
> render text:
> "<Response>
> <Say>Joining a conference room</Say>
> <Dial>
> <Conference>#{params[:friendly_name]}</Conference>
> </Dial>
> </Response>"
# /srv/gems/wechat-shake_around-1.1/lib/wechat/shake_around/registration.rb:57
> message = post_json "https://api.weixin.qq.com/shakearound/account/register?access_token=#{access_token}", body:
> {
> name: name,
> phone_number: phone_number,
> email: email,
> industry_id: industry_id,
> qualification_cert_urls: qualification_links,
> apply_reason: apply_reason
> }
# /srv/gems/wechat-shake_around-1.1/lib/wechat/shake_around/beacon.rb:85
> post_json "https://api.weixin.qq.com/shakearound/device/search?access_token=#{access_token}", body:
> {
> type: 1,
> device_identifiers: [ device_identifier ]
> }
# /srv/gems/wechat-shake_around-1.1/lib/wechat/shake_around/beacon.rb:111
> post_json "https://api.weixin.qq.com/shakearound/device/update?access_token=#{access_token}", body:
> {
> device_identifier: device_identifier,
> comment: comment
> }
# /srv/gems/aws-sdk-s3-1.152.0/lib/aws-sdk-s3/encryption/client.rb:236
> deprecated :initialize,
> message:
> '[MAINTENANCE MODE] This version of the S3 Encryption client is currently in maintenance mode. ' \
> 'AWS strongly recommends upgrading to the Aws::S3::EncryptionV2::Client, ' \
> 'which provides updated data security best practices. ' \
> 'See documentation for Aws::S3::EncryptionV2::Client.'
# /srv/gems/dog_biscuits-0.5.9/lib/dog_biscuits/vocab/ulcc_terms.rb:8
> property :ConferenceItem,
> comment:
> 'A document created for delivery or presentation at a conference, for example a paper, presentation, workshop or poster.',
> label: 'Conference Item',
> 'rdf:isDefinedBy' => 'http://london.ac.uk/ontologies/terms#',
> type: 'rdf:Class',
> subClassOf: "schema:CreativeWork"
# /srv/gems/dog_biscuits-0.5.9/lib/dog_biscuits/vocab/ulcc_terms.rb:15
> property :PublishedWork,
> comment:
> 'A single published work, eg. a book, report, monograph etc.',
> label: 'Published Work',
> 'rdf:isDefinedBy' => 'http://london.ac.uk/ontologies/terms#',
> type: 'rdf:Class',
> subClassOf: "schema:CreativeWork"
# /srv/gems/dog_biscuits-0.5.9/lib/dog_biscuits/vocab/ulcc_terms.rb:24
> property :refereed,
> comment:
> 'This property is used to indicate that a a resource has undergone peer review.',
> label: 'Refereed',
> 'rdf:isDefinedBy' => 'http://london.ac.uk/ontologies/terms#',
> type: 'rdf:Property'
# /srv/gems/dog_biscuits-0.5.9/lib/dog_biscuits/vocab/ulcc_terms.rb:30
> property :outputOf,
> comment:
> 'This property is used for to link an output with the endeavour out of which it was
> created, for example a funded project.',
> label: 'Output Of',
> 'rdf:isDefinedBy' => 'http://london.ac.uk/ontologies/terms#',
> type: 'rdf:Property'
# /srv/gems/dog_biscuits-0.5.9/lib/dog_biscuits/vocab/ulcc_terms.rb:37
> property :dateSubmitted,
> comment:
> 'The date of submission, eg. to a journal.',
> label: 'Date Submitted',
> 'rdf:isDefinedBy' => 'http://london.ac.uk/ontologies/terms#',
> type: 'rdf:Property'
# /srv/gems/dog_biscuits-0.5.9/lib/dog_biscuits/vocab/ulcc_terms.rb:45
> term :'',
> comment:
> 'General purpose ontology for ULCC repository.',
> 'dc:modified' => '2017',
> 'dc:publisher' => 'http://www.london.ac.uk/',
> 'dc:title' => 'UlCC Terms Ontology',
> label: 'Generic',
> 'owl:versionInfo' => ''
# /srv/gems/record_store-7.0.0/lib/record_store/zone.rb:9
> validates :name, presence: true, format:
> {
> with: Record::FQDN_REGEX,
> message: 'is not a fully qualified domain name',
> }
# /srv/gems/spina-admin-conferences-2.2.0/app/controllers/spina/admin/conferences/presentations_controller.rb:101
> @conferences = Conference.all.to_json methods: %i[name],
> include:
> { presentation_types:
> { methods: [:name], include: { sessions: { methods: [:name] } } } }
# /srv/gems/wechat-core-1.1/lib/wechat/core/follower_profile.rb:39
> post_json "https://api.weixin.qq.com/cgi-bin/user/info/batchget?access_token=#{access_token}", body:
> {
> user_list: followers
> }
# /srv/gems/wechat-core-1.1/lib/wechat/core/follower_profile.rb:71
> get_json 'https://api.weixin.qq.com/cgi-bin/user/info', body:
> {
> access_token: access_token,
> openid: open_id,
> lang: language
> }
# /srv/gems/wechat-sns-2.1/lib/wechat/sns/access_token.rb:30
> get_json 'https://api.weixin.qq.com/sns/auth', body:
> {
> access_token: access_token,
> openid: opend_id
> }
# /srv/gems/wechat-sns-2.1/lib/wechat/sns/access_token.rb:60
> get_json 'https://api.weixin.qq.com/sns/oauth2/refresh_token', body:
> {
> appid: app_id,
> grant_type: 'refresh_token',
> refresh_token: refresh_token
> }
# /srv/gems/wechat-sns-2.1/lib/wechat/sns/access_token.rb:91
> get_json 'https://api.weixin.qq.com/sns/oauth2/access_token', body:
> {
> appid: app_id,
> secret: app_secret,
> code: code,
> grant_type: grant_type
> }
# /srv/gems/aruba-2.2.0/lib/aruba/configuration.rb:54
> option_accessor :log_level,
> type:
> Aruba::Contracts::Enum[:fatal, :warn, :debug, :info,
> :error, :unknown, :silent],
> default: :info
# /srv/gems/confidant-0.1.0/lib/confidant/cli.rb:17
> flag 'config-files', default_value:
> Confidant::Configurator::DEFAULT_OPTS[:config_files].join(',')
# /srv/gems/confidant-0.1.0/lib/confidant/cli.rb:21
> flag 'profile', default_value:
> Confidant::Configurator::DEFAULT_OPTS[:profile]
# /srv/gems/confidant-0.1.0/lib/confidant/cli.rb:25
> flag 'log-level', default_value:
> Confidant::Configurator::DEFAULT_OPTS[:log_level]
# /srv/gems/fluent-plugin-splunk-http-eventcollector-test-0.3.0.1/test/plugin/test_out_splunk-http-eventcollector.rb:129
> assert_requested :post, "https://localhost:8089/services/collector",
> headers: {"Authorization" => "Splunk changeme"},
> body:
> { time: time, source: "test", sourcetype: "fluentd", host: "", index: "main", event: "a" }.to_json +
> { time: time, source: "test", sourcetype: "fluentd", host: "", index: "main", event: "b" }.to_json,
> times: 1
# /srv/gems/reiformslive-ruby-0.1.0/lib/reiformslive/form.rb:99
> self.new data:
> REIformslive::Session
> .get(path: path)
> .parse_json
# /srv/gems/renalware-core-2.1.1/app/models/renalware/pathology/requests/global_rule/request_result.rb:10
> validates :param_comparison_operator, inclusion:
> { in: PARAM_COMPARISON_OPERATORS, allow_nil: false }
# /srv/gems/scarpe-0.4.0/examples/legacy/not_checked/shoes3-tests/plot/gr5.rb:17
> @grf = plot widget_width, widget_height, title: "Shoes Https downloads", caption:
> "popularity " , font: "Helvetica", auto_grid: true,
> default: "skip", background: white, chart: "pie", percent: true,
> colors: [yellow, olive]
# /srv/gems/pg_online_schema_change-0.9.8/lib/pg_online_schema_change/cli.rb:42
> method_option :password,
> aliases: "-w",
> type: :string,
> required: false,
> default: "",
> desc:
> "DEPRECATED: Password for the Database. Please pass PGPASSWORD environment variable instead."
# /srv/gems/pg_online_schema_change-0.9.8/lib/pg_online_schema_change/cli.rb:59
> method_option :kill_backends,
> aliases: "-k",
> type: :boolean,
> default: false,
> desc:
> "Kill other competing queries/backends when trying to acquire lock for the shadow table creation and swap. It will wait for --wait-time-for-lock duration before killing backends and try upto 3 times."
# /srv/gems/pg_online_schema_change-0.9.8/lib/pg_online_schema_change/cli.rb:65
> method_option :wait_time_for_lock,
> aliases: "-w",
> type: :numeric,
> default: 10,
> desc:
> "Time to wait before killing backends to acquire lock and/or retrying upto 3 times. It will kill backends if --kill-backends is true, otherwise try upto 3 times and exit if it cannot acquire a lock."
# /srv/gems/pg_online_schema_change-0.9.8/lib/pg_online_schema_change/cli.rb:71
> method_option :copy_statement,
> aliases: "-c",
> type: :string,
> required: false,
> default: "",
> desc:
> "Takes a .sql file location where you can provide a custom query to be played (ex: backfills) when pgosc copies data from the primary to the shadow table. More examples in README."
# /srv/gems/pg_online_schema_change-0.9.8/lib/pg_online_schema_change/cli.rb:78
> method_option :pull_batch_count,
> aliases: "-b",
> type: :numeric,
> required: false,
> default: PULL_BATCH_COUNT,
> desc:
> "Number of rows to be replayed on each iteration after copy. This can be tuned for faster catch up and swap. Best used with delta-count."
# /srv/gems/pg_online_schema_change-0.9.8/lib/pg_online_schema_change/cli.rb:85
> method_option :delta_count,
> aliases: "-e",
> type: :numeric,
> required: false,
> default: DELTA_COUNT,
> desc:
> "Indicates how many rows should be remaining before a swap should be performed. This can be tuned for faster catch up and swap, especially on highly volume tables. Best used with pull-batch-count."
# /srv/gems/pg_online_schema_change-0.9.8/lib/pg_online_schema_change/cli.rb:92
> method_option :skip_foreign_key_validation,
> aliases: "-o",
> type: :boolean,
> required: false,
> default: false,
> desc:
> "Skip foreign key validation after swap. You shouldn't need this unless you have a very specific use case, like manually validating foreign key constraints after swap."
# /srv/gems/record_store-7.0.0/lib/record_store/record/srv.rb:5
> validates :priority, presence: true, numericality:
> {
> only_integer: true,
> greater_than_or_equal_to: 0,
> }
# /srv/gems/record_store-7.0.0/lib/record_store/record/srv.rb:10
> validates :port, presence: true, numericality:
> {
> only_integer: true,
> greater_than_or_equal_to: 0,
> }
# /srv/gems/record_store-7.0.0/lib/record_store/record/srv.rb:15
> validates :weight, presence: true, numericality:
> {
> only_integer: true,
> greater_than_or_equal_to: 0,
> }
# /srv/gems/record_store-7.0.0/lib/record_store/record/srv.rb:20
> validates :target, presence: true, format:
> {
> with: Record::CNAME_REGEX,
> message: 'is not a fully qualified domain name',
> }
# /srv/gems/record_store-7.0.0/lib/record_store/record/caa.rb:8
> validates :flags, presence: true, numericality:
> {
> only_integer: true,
> greater_than_or_equal_to: 0,
> less_than_or_equal_to: 255
> }
# /srv/gems/slangerq-0.6.3/spec/integration/private_channel_spec.rb:40
> expect(messages).to have_attributes connection_established: true, count: 2, id_present: true, last_event:
> 'pusher:error'
# /srv/gems/card-mod-content-0.16.0/set/right/default.rb:10
> super.merge "data-update-foreign-slot":
> ".card-slot.quick_edit-view.RIGHT-Xinput_type,"\
> ".card-slot.quick_edit-view.RIGHT-Xcontent_option"\
> ".card-slot.quick_edit-view.RIGHT-Xcontent_option_view"
# /srv/gems/card-mod-search-0.16.0/set/right/children.rb:1
> include_set Abstract::VirtualSearch,
> cql_content: { part: "_left", sort_by: "name" },
> raw_help_text:
> 'Cards formed by "mating" {{_left|name}} with another card. ' \
> 'eg: "{{_left|name}}+mate".'
# /srv/gems/fluent-plugin-vmware-loginsight-1.4.2/lib/fluent/plugin/out_vmware_loginsight.rb:85
> config_param :shorten_keys, :hash, value_type: :string, default:
> {
> 'kubernetes_':'k8s_',
> 'namespace':'ns',
> 'labels_':'',
> '_name':'',
> '_hash':'',
> 'container_':''
> }
# /srv/gems/git-story-workflow-1.7.1/lib/git/story/app.rb:532
> memoize method:
> def fetch_tags
> sh 'git fetch --tags'
> end
# /srv/gems/git-story-workflow-1.7.1/lib/git/story/app.rb:537
> memoize method:
> def fetch_commits
> sh 'git fetch'
> end
# /srv/gems/quby-5.6.4/spec/requests/quby/answers_spec.rb:59
> put "/quby/questionnaires/honos/answers/#{answer.id}", params:
> {answer: {v_1: nil},
> return_url: return_url,
> return_token: return_token}
# /srv/gems/quby-5.6.4/spec/requests/quby/answers_spec.rb:68
> put "/quby/questionnaires/honos/answers/#{answer.id}", params:
> {answer: {v_1: nil},
> return_url: return_url + "?a=b",
> return_token: return_token}
# /srv/gems/quby-5.6.4/spec/requests/quby/answers_spec.rb:77
> put "/quby/questionnaires/honos/answers/#{answer.id}", params:
> {answer: {v_1: nil},
> return_url: return_url,
> return_token: return_token,
> abort: true}
# /srv/gems/quby-5.6.4/spec/requests/quby/answers_spec.rb:87
> put "/quby/questionnaires/honos/answers/#{answer.id}", params:
> {answer: {v_1: nil},
> return_url: return_url,
> return_token: return_token,
> previous_questionnaire: true}
# /srv/gems/ruby-push-notifications-1.3.0/spec/factories/notifications.rb:23
> data a:
> {
> notification: {
> title: 'Greetings Test',
> body: 'Remember to test! ALOT!',
> forceStart: 1,
> sound: 'default',
> vibrate: 'true',
> icon: 'fcm_push_icon'
> },
> android: {
> priority: 'high',
> vibrate: 'true'
> },
> data: {
> url: 'https://www.google.com'
> },
> webpush: {
> headers: {
> TTL: '60'
> }
> },
> priority: 'high'
> }
# /srv/gems/spina-admin-conferences-fork-3.0.0/app/controllers/spina/admin/conferences/presentations_controller.rb:89
> @conferences = Conference.all.to_json methods: %i[name],
> include:
> { presentation_types:
> { methods: [:name], include: { sessions: { methods: [:name] } } } }
# /srv/gems/teleporter-2.0.11/lib/generators/teleport/redactor_rails.rb:38{:FILES=>2945839, :FAILED=>15205, :found=>469}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment