prompt
stringlengths
77
6.9k
completion
stringlengths
1
3.38k
text
stringlengths
163
9.03k
commit
stringlengths
40
40
old_file
stringlengths
4
264
new_file
stringlengths
4
264
lang
stringclasses
277 values
<|file_sep|>original/app/views/articles/index.html.slim - @articles.each do |a| article.article header.article__header time.article__published_on= a.published_on.strftime('%Y-%m-%d (%a)') h2.article__title= link_to a.title, "#{a.published_on.strftime('%Y/%m/%d')}/#{a.slug}.html" - if a.eye_catching_image_url? = image_tag a.eye_catching_image_url, class: "article__header__eye_catching" .article__body== CommonMarker.render_html(a.body, :UNSAFE) = paginate @articles <|file_sep|>current/app/views/articles/index.html.slim - @articles.each do |a| article.article header.article__header time.article__published_on= a.published_on.strftime('%Y-%m-%d (%a)') h2.article__title= link_to a.title, "#{a.published_on.strftime('%Y/%m/%d')}/#{a.slug}.html" - if a.eye_catching_image_url? = image_tag a.eye_catching_image_url, class: "article__header__eye_catching" .article__body== CommonMarker.render_html(a.body, :UNSAFE) = paginate @articles <|file_sep|>updated/app/views/articles/index.html.slim
- @articles.each do |a| article.article header.article__header time.article__published_on= a.published_on.strftime('%Y-%m-%d (%a)') h2.article__title= link_to a.title, article_url(a) - if a.eye_catching_image_url? = image_tag a.eye_catching_image_url, class: "article__header__eye_catching" .article__body== CommonMarker.render_html(a.body, :UNSAFE) = paginate @articles
<|file_sep|>original/app/views/articles/index.html.slim - @articles.each do |a| article.article header.article__header time.article__published_on= a.published_on.strftime('%Y-%m-%d (%a)') h2.article__title= link_to a.title, "#{a.published_on.strftime('%Y/%m/%d')}/#{a.slug}.html" - if a.eye_catching_image_url? = image_tag a.eye_catching_image_url, class: "article__header__eye_catching" .article__body== CommonMarker.render_html(a.body, :UNSAFE) = paginate @articles <|file_sep|>current/app/views/articles/index.html.slim - @articles.each do |a| article.article header.article__header time.article__published_on= a.published_on.strftime('%Y-%m-%d (%a)') h2.article__title= link_to a.title, "#{a.published_on.strftime('%Y/%m/%d')}/#{a.slug}.html" - if a.eye_catching_image_url? = image_tag a.eye_catching_image_url, class: "article__header__eye_catching" .article__body== CommonMarker.render_html(a.body, :UNSAFE) = paginate @articles <|file_sep|>updated/app/views/articles/index.html.slim - @articles.each do |a| article.article header.article__header time.article__published_on= a.published_on.strftime('%Y-%m-%d (%a)') h2.article__title= link_to a.title, article_url(a) - if a.eye_catching_image_url? = image_tag a.eye_catching_image_url, class: "article__header__eye_catching" .article__body== CommonMarker.render_html(a.body, :UNSAFE) = paginate @articles
182b0d3ce42266f4d40396e2a7bf7e501e1f6a15
app/views/articles/index.html.slim
app/views/articles/index.html.slim
Slim
<|file_sep|>app/views/devise/sessions/_new_ldap.html.haml.diff original: = text_field_tag :username, nil, { class: "form-control top", title: "This field is required.", autofocus: "autofocus", data: { qa_selector: 'username_field' } required: true } updated: = text_field_tag :username, nil, { class: "form-control top", title: "This field is required.", autofocus: "autofocus", data: { qa_selector: 'username_field' }, required: true } <|file_sep|>original/app/views/devise/sessions/_new_ldap.html.haml - server = local_assigns.fetch(:server) = form_tag(omniauth_callback_path(:user, server['provider_name']), id: 'new_ldap_user', class: "gl-show-field-errors") do .form-group = label_tag :username, "#{server['label']} Username" = text_field_tag :username, nil, { class: "form-control top", title: "This field is required.", autofocus: "autofocus", data: { qa_selector: 'username_field' } required: true } .form-group = label_tag :password = password_field_tag :password, nil, { class: "form-control bottom", title: "This field is required.", data: { qa_selector: 'password_field' }required: true } - if devise_mapping.rememberable? .remember-me %label{ for: "remember_me" } = check_box_tag :remember_me, '1', false, id: 'remember_me' %span Remember me = submit_tag "Sign in", class: "btn-success btn", data: { qa_selector: 'sign_in_button' } <|file_sep|>current/app/views/devise/sessions/_new_ldap.html.haml - server = local_assigns.fetch(:server) = form_tag(omniauth_callback_path(:user, server['provider_name']), id: 'new_ldap_user', class: "gl-show-field-errors") do .form-group = label_tag :username, "#{server['label']} Username" = text_field_tag :username, nil, { class: "form-control top", title: "This field is required.", autofocus: "autofocus", data: { qa_selector: 'username_field' }, required: true } .form-group = label_tag :password = password_field_tag :password, nil, { class: "form-control bottom", title: "This field is required.", data: { qa_selector: 'password_field' }required: true } - if devise_mapping.rememberable? .remember-me %label{ for: "remember_me" } = check_box_tag :remember_me, '1', false, id: 'remember_me' %span Remember me = submit_tag "Sign in", class: "btn-success btn", data: { qa_selector: 'sign_in_button' } <|file_sep|>updated/app/views/devise/sessions/_new_ldap.html.haml
- server = local_assigns.fetch(:server) = form_tag(omniauth_callback_path(:user, server['provider_name']), id: 'new_ldap_user', class: "gl-show-field-errors") do .form-group = label_tag :username, "#{server['label']} Username" = text_field_tag :username, nil, { class: "form-control top", title: "This field is required.", autofocus: "autofocus", data: { qa_selector: 'username_field' }, required: true } .form-group = label_tag :password = password_field_tag :password, nil, { class: "form-control bottom", title: "This field is required.", data: { qa_selector: 'password_field' }, required: true } - if devise_mapping.rememberable? .remember-me %label{ for: "remember_me" } = check_box_tag :remember_me, '1', false, id: 'remember_me' %span Remember me = submit_tag "Sign in", class: "btn-success btn", data: { qa_selector: 'sign_in_button' }
<|file_sep|>app/views/devise/sessions/_new_ldap.html.haml.diff original: = text_field_tag :username, nil, { class: "form-control top", title: "This field is required.", autofocus: "autofocus", data: { qa_selector: 'username_field' } required: true } updated: = text_field_tag :username, nil, { class: "form-control top", title: "This field is required.", autofocus: "autofocus", data: { qa_selector: 'username_field' }, required: true } <|file_sep|>original/app/views/devise/sessions/_new_ldap.html.haml - server = local_assigns.fetch(:server) = form_tag(omniauth_callback_path(:user, server['provider_name']), id: 'new_ldap_user', class: "gl-show-field-errors") do .form-group = label_tag :username, "#{server['label']} Username" = text_field_tag :username, nil, { class: "form-control top", title: "This field is required.", autofocus: "autofocus", data: { qa_selector: 'username_field' } required: true } .form-group = label_tag :password = password_field_tag :password, nil, { class: "form-control bottom", title: "This field is required.", data: { qa_selector: 'password_field' }required: true } - if devise_mapping.rememberable? .remember-me %label{ for: "remember_me" } = check_box_tag :remember_me, '1', false, id: 'remember_me' %span Remember me = submit_tag "Sign in", class: "btn-success btn", data: { qa_selector: 'sign_in_button' } <|file_sep|>current/app/views/devise/sessions/_new_ldap.html.haml - server = local_assigns.fetch(:server) = form_tag(omniauth_callback_path(:user, server['provider_name']), id: 'new_ldap_user', class: "gl-show-field-errors") do .form-group = label_tag :username, "#{server['label']} Username" = text_field_tag :username, nil, { class: "form-control top", title: "This field is required.", autofocus: "autofocus", data: { qa_selector: 'username_field' }, required: true } .form-group = label_tag :password = password_field_tag :password, nil, { class: "form-control bottom", title: "This field is required.", data: { qa_selector: 'password_field' }required: true } - if devise_mapping.rememberable? .remember-me %label{ for: "remember_me" } = check_box_tag :remember_me, '1', false, id: 'remember_me' %span Remember me = submit_tag "Sign in", class: "btn-success btn", data: { qa_selector: 'sign_in_button' } <|file_sep|>updated/app/views/devise/sessions/_new_ldap.html.haml - server = local_assigns.fetch(:server) = form_tag(omniauth_callback_path(:user, server['provider_name']), id: 'new_ldap_user', class: "gl-show-field-errors") do .form-group = label_tag :username, "#{server['label']} Username" = text_field_tag :username, nil, { class: "form-control top", title: "This field is required.", autofocus: "autofocus", data: { qa_selector: 'username_field' }, required: true } .form-group = label_tag :password = password_field_tag :password, nil, { class: "form-control bottom", title: "This field is required.", data: { qa_selector: 'password_field' }, required: true } - if devise_mapping.rememberable? .remember-me %label{ for: "remember_me" } = check_box_tag :remember_me, '1', false, id: 'remember_me' %span Remember me = submit_tag "Sign in", class: "btn-success btn", data: { qa_selector: 'sign_in_button' }
41e2be78b58f63d5637ea97093118ab0fb5fdcd5
app/views/devise/sessions/_new_ldap.html.haml
app/views/devise/sessions/_new_ldap.html.haml
Haml
<|file_sep|>original/requirements-dev.txt black==21.6b0 coveralls==3.2.0 ddt==1.4.4 flake8-import-order==0.18.1 pytest==5.4.3 pytest-cov==3.0.0 pytest-json==0.4.0 pytest-pythonpath==0.7.3 pylama==7.7.1 mock==4.0.3 tox==3.24.4 mypy==0.910 <|file_sep|>current/requirements-dev.txt black==21.6b0 coveralls==3.2.0 ddt==1.4.4 flake8-import-order==0.18.1 pytest==5.4.3 pytest-cov==3.0.0 pytest-json==0.4.0 pytest-pythonpath==0.7.3 pylama==7.7.1 mock==4.0.3 tox==3.24.4 mypy==0.910 <|file_sep|>updated/requirements-dev.txt
black==21.9b0 coveralls==3.2.0 ddt==1.4.4 flake8-import-order==0.18.1 pytest==5.4.3 pytest-cov==3.0.0 pytest-json==0.4.0 pytest-pythonpath==0.7.3 pylama==7.7.1 mock==4.0.3 tox==3.24.4 mypy==0.910
<|file_sep|>original/requirements-dev.txt black==21.6b0 coveralls==3.2.0 ddt==1.4.4 flake8-import-order==0.18.1 pytest==5.4.3 pytest-cov==3.0.0 pytest-json==0.4.0 pytest-pythonpath==0.7.3 pylama==7.7.1 mock==4.0.3 tox==3.24.4 mypy==0.910 <|file_sep|>current/requirements-dev.txt black==21.6b0 coveralls==3.2.0 ddt==1.4.4 flake8-import-order==0.18.1 pytest==5.4.3 pytest-cov==3.0.0 pytest-json==0.4.0 pytest-pythonpath==0.7.3 pylama==7.7.1 mock==4.0.3 tox==3.24.4 mypy==0.910 <|file_sep|>updated/requirements-dev.txt black==21.9b0 coveralls==3.2.0 ddt==1.4.4 flake8-import-order==0.18.1 pytest==5.4.3 pytest-cov==3.0.0 pytest-json==0.4.0 pytest-pythonpath==0.7.3 pylama==7.7.1 mock==4.0.3 tox==3.24.4 mypy==0.910
6d672c44aedd81eb0c1b282caeb15a184a283619
requirements-dev.txt
requirements-dev.txt
Text
<|file_sep|>original/features/org.wso2.carbon.identity.scim2.common.feature/resources/org.wso2.carbon.identity.scim2.common.feature.default.json { "scim2.enable_schema_extension": true, "scim2.enable_custom_schema_extension": true, "scim2.custom_user_schema_uri": "urn:scim:custom:schema", "scim2.max_bulk_operations": "1000", "scim2.max_bulk_payload": "1048576", "scim2.documentation_uri": "https://docs.wso2.com/display/IS580/Using+the+SCIM+2.0+REST+APIs", "scim2.oauth_bearer.primary": true, "scim2.http_basic.primary": false, "scim2.basic_auth_documentation_uri": "$ref{scim2.documentation_uri}", "scim2.oauth_bearer_auth_documentation_uri": "$ref{scim2.documentation_uri}" } <|file_sep|>current/features/org.wso2.carbon.identity.scim2.common.feature/resources/org.wso2.carbon.identity.scim2.common.feature.default.json { "scim2.enable_schema_extension": true, "scim2.enable_custom_schema_extension": true, "scim2.custom_user_schema_uri": "urn:scim:custom:schema", "scim2.max_bulk_operations": "1000", "scim2.max_bulk_payload": "1048576", "scim2.documentation_uri": "https://docs.wso2.com/display/IS580/Using+the+SCIM+2.0+REST+APIs", "scim2.oauth_bearer.primary": true, "scim2.http_basic.primary": false, "scim2.basic_auth_documentation_uri": "$ref{scim2.documentation_uri}", "scim2.oauth_bearer_auth_documentation_uri": "$ref{scim2.documentation_uri}" } <|file_sep|>updated/features/org.wso2.carbon.identity.scim2.common.feature/resources/org.wso2.carbon.identity.scim2.common.feature.default.json
{ "scim2.enable_schema_extension": true, "scim2.enable_custom_schema_extension": true, "scim2.custom_user_schema_uri": "urn:scim:wso2:schema", "scim2.max_bulk_operations": "1000", "scim2.max_bulk_payload": "1048576", "scim2.documentation_uri": "https://docs.wso2.com/display/IS580/Using+the+SCIM+2.0+REST+APIs", "scim2.oauth_bearer.primary": true, "scim2.http_basic.primary": false, "scim2.basic_auth_documentation_uri": "$ref{scim2.documentation_uri}", "scim2.oauth_bearer_auth_documentation_uri": "$ref{scim2.documentation_uri}" }
<|file_sep|>original/features/org.wso2.carbon.identity.scim2.common.feature/resources/org.wso2.carbon.identity.scim2.common.feature.default.json { "scim2.enable_schema_extension": true, "scim2.enable_custom_schema_extension": true, "scim2.custom_user_schema_uri": "urn:scim:custom:schema", "scim2.max_bulk_operations": "1000", "scim2.max_bulk_payload": "1048576", "scim2.documentation_uri": "https://docs.wso2.com/display/IS580/Using+the+SCIM+2.0+REST+APIs", "scim2.oauth_bearer.primary": true, "scim2.http_basic.primary": false, "scim2.basic_auth_documentation_uri": "$ref{scim2.documentation_uri}", "scim2.oauth_bearer_auth_documentation_uri": "$ref{scim2.documentation_uri}" } <|file_sep|>current/features/org.wso2.carbon.identity.scim2.common.feature/resources/org.wso2.carbon.identity.scim2.common.feature.default.json { "scim2.enable_schema_extension": true, "scim2.enable_custom_schema_extension": true, "scim2.custom_user_schema_uri": "urn:scim:custom:schema", "scim2.max_bulk_operations": "1000", "scim2.max_bulk_payload": "1048576", "scim2.documentation_uri": "https://docs.wso2.com/display/IS580/Using+the+SCIM+2.0+REST+APIs", "scim2.oauth_bearer.primary": true, "scim2.http_basic.primary": false, "scim2.basic_auth_documentation_uri": "$ref{scim2.documentation_uri}", "scim2.oauth_bearer_auth_documentation_uri": "$ref{scim2.documentation_uri}" } <|file_sep|>updated/features/org.wso2.carbon.identity.scim2.common.feature/resources/org.wso2.carbon.identity.scim2.common.feature.default.json { "scim2.enable_schema_extension": true, "scim2.enable_custom_schema_extension": true, "scim2.custom_user_schema_uri": "urn:scim:wso2:schema", "scim2.max_bulk_operations": "1000", "scim2.max_bulk_payload": "1048576", "scim2.documentation_uri": "https://docs.wso2.com/display/IS580/Using+the+SCIM+2.0+REST+APIs", "scim2.oauth_bearer.primary": true, "scim2.http_basic.primary": false, "scim2.basic_auth_documentation_uri": "$ref{scim2.documentation_uri}", "scim2.oauth_bearer_auth_documentation_uri": "$ref{scim2.documentation_uri}" }
0411eb1507c30d83d062cda0293489a3397a6ade
features/org.wso2.carbon.identity.scim2.common.feature/resources/org.wso2.carbon.identity.scim2.common.feature.default.json
features/org.wso2.carbon.identity.scim2.common.feature/resources/org.wso2.carbon.identity.scim2.common.feature.default.json
JSON
<|file_sep|>defprogramming/settings_production.py.diff original: updated: import os <|file_sep|>original/defprogramming/settings_production.py from defprogramming.settings import * ALLOWED_HOSTS = ['*'] DEBUG = False TEMPLATE_DEBUG = DEBUG # Update database configuration with $DATABASE_URL. import dj_database_url db_from_env = dj_database_url.config(conn_max_age=500) DATABASES['default'].update(db_from_env) # SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https') # MIDDLEWARE_CLASSES += ('sslify.middleware.SSLifyMiddleware',) PREPEND_WWW = True <|file_sep|>current/defprogramming/settings_production.py import os from defprogramming.settings import * ALLOWED_HOSTS = ['*'] DEBUG = False TEMPLATE_DEBUG = DEBUG # Update database configuration with $DATABASE_URL. import dj_database_url db_from_env = dj_database_url.config(conn_max_age=500) DATABASES['default'].update(db_from_env) # SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https') # MIDDLEWARE_CLASSES += ('sslify.middleware.SSLifyMiddleware',) PREPEND_WWW = True <|file_sep|>updated/defprogramming/settings_production.py
import os from defprogramming.settings import * ALLOWED_HOSTS = ['*'] DEBUG = False TEMPLATE_DEBUG = DEBUG # Update database configuration with $DATABASE_URL. import dj_database_url db_from_env = dj_database_url.config(conn_max_age=500) DATABASES['default'].update(db_from_env) # SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https') # MIDDLEWARE_CLASSES += ('sslify.middleware.SSLifyMiddleware',) PREPEND_WWW = True SECRET_KEY = os.environ['SECRET_KEY']
<|file_sep|>defprogramming/settings_production.py.diff original: updated: import os <|file_sep|>original/defprogramming/settings_production.py from defprogramming.settings import * ALLOWED_HOSTS = ['*'] DEBUG = False TEMPLATE_DEBUG = DEBUG # Update database configuration with $DATABASE_URL. import dj_database_url db_from_env = dj_database_url.config(conn_max_age=500) DATABASES['default'].update(db_from_env) # SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https') # MIDDLEWARE_CLASSES += ('sslify.middleware.SSLifyMiddleware',) PREPEND_WWW = True <|file_sep|>current/defprogramming/settings_production.py import os from defprogramming.settings import * ALLOWED_HOSTS = ['*'] DEBUG = False TEMPLATE_DEBUG = DEBUG # Update database configuration with $DATABASE_URL. import dj_database_url db_from_env = dj_database_url.config(conn_max_age=500) DATABASES['default'].update(db_from_env) # SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https') # MIDDLEWARE_CLASSES += ('sslify.middleware.SSLifyMiddleware',) PREPEND_WWW = True <|file_sep|>updated/defprogramming/settings_production.py import os from defprogramming.settings import * ALLOWED_HOSTS = ['*'] DEBUG = False TEMPLATE_DEBUG = DEBUG # Update database configuration with $DATABASE_URL. import dj_database_url db_from_env = dj_database_url.config(conn_max_age=500) DATABASES['default'].update(db_from_env) # SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https') # MIDDLEWARE_CLASSES += ('sslify.middleware.SSLifyMiddleware',) PREPEND_WWW = True SECRET_KEY = os.environ['SECRET_KEY']
38ae4ddab1a5b94d03941c4080df72fea4e750bc
defprogramming/settings_production.py
defprogramming/settings_production.py
Python
<|file_sep|>original/app/views/yogo_data/new.html.erb <H3><%= @model.name.demodulize.titleize.singularize %></H3> <br /> <%- form_for(@item, :url => project_yogo_data_index_path(@project, @model.name.demodulize), :builder => YogoDataFormBuilder, :html => { :method => :post, :enctype => 'multipart/form-data' } ) do |f| -%> <table> <thead> </thead> <tbody> <%- @model.properties.each do |p| %> <% if p.name != :id %> <tr> <td><%= f.label(p.name, p.name.to_s.titleize) %>: </td> <td><%= f.field_for_param(p) %></td> </tr> <%- end -%> <%- end %> </tbody> </table> <br /> <%= f.submit %> <|file_sep|>current/app/views/yogo_data/new.html.erb <H3><%= @model.name.demodulize.titleize.singularize %></H3> <br /> <%- form_for(@item, :url => project_yogo_data_index_path(@project, @model.name.demodulize), :builder => YogoDataFormBuilder, :html => { :method => :post, :enctype => 'multipart/form-data' } ) do |f| -%> <table> <thead> </thead> <tbody> <%- @model.properties.each do |p| %> <% if p.name != :id %> <tr> <td><%= f.label(p.name, p.name.to_s.titleize) %>: </td> <td><%= f.field_for_param(p) %></td> </tr> <%- end -%> <%- end %> </tbody> </table> <br /> <%= f.submit %> <|file_sep|>updated/app/views/yogo_data/new.html.erb
<H3><%= @model.name.demodulize.titleize.singularize %></H3> <br /> <%- form_for(@item, :url => project_yogo_data_index_path(@project, @model.name.demodulize), :builder => YogoDataFormBuilder, :html => { :method => :post, :enctype => 'multipart/form-data' } ) do |f| -%> <%- for error in @item.errors -%> <%= error %> <%- end -%> <table> <thead> </thead> <tbody> <%- @model.properties.each do |p| %> <% if p.name != :id %> <tr> <td><%= f.label(p.name, p.name.to_s.titleize) %>: </td> <td><%= f.field_for_param(p) %></td> </tr> <%- end -%>
<|file_sep|>original/app/views/yogo_data/new.html.erb <H3><%= @model.name.demodulize.titleize.singularize %></H3> <br /> <%- form_for(@item, :url => project_yogo_data_index_path(@project, @model.name.demodulize), :builder => YogoDataFormBuilder, :html => { :method => :post, :enctype => 'multipart/form-data' } ) do |f| -%> <table> <thead> </thead> <tbody> <%- @model.properties.each do |p| %> <% if p.name != :id %> <tr> <td><%= f.label(p.name, p.name.to_s.titleize) %>: </td> <td><%= f.field_for_param(p) %></td> </tr> <%- end -%> <%- end %> </tbody> </table> <br /> <%= f.submit %> <|file_sep|>current/app/views/yogo_data/new.html.erb <H3><%= @model.name.demodulize.titleize.singularize %></H3> <br /> <%- form_for(@item, :url => project_yogo_data_index_path(@project, @model.name.demodulize), :builder => YogoDataFormBuilder, :html => { :method => :post, :enctype => 'multipart/form-data' } ) do |f| -%> <table> <thead> </thead> <tbody> <%- @model.properties.each do |p| %> <% if p.name != :id %> <tr> <td><%= f.label(p.name, p.name.to_s.titleize) %>: </td> <td><%= f.field_for_param(p) %></td> </tr> <%- end -%> <%- end %> </tbody> </table> <br /> <%= f.submit %> <|file_sep|>updated/app/views/yogo_data/new.html.erb <H3><%= @model.name.demodulize.titleize.singularize %></H3> <br /> <%- form_for(@item, :url => project_yogo_data_index_path(@project, @model.name.demodulize), :builder => YogoDataFormBuilder, :html => { :method => :post, :enctype => 'multipart/form-data' } ) do |f| -%> <%- for error in @item.errors -%> <%= error %> <%- end -%> <table> <thead> </thead> <tbody> <%- @model.properties.each do |p| %> <% if p.name != :id %> <tr> <td><%= f.label(p.name, p.name.to_s.titleize) %>: </td> <td><%= f.field_for_param(p) %></td> </tr> <%- end -%>
6cb0c8dd49d707aab821128c0ed14f66f5e1bc57
app/views/yogo_data/new.html.erb
app/views/yogo_data/new.html.erb
HTML+ERB
<|file_sep|>original/src/js/Helpers/Collapse.d.ts import * as React from 'react'; import { Props } from '../index'; export interface CollapseProps extends Props { defaultStyle?: React.CSSProperties; collapsed: boolean; springConfig: Object; children?: React.ReactElement<any>; animate?: boolean; } declare const Collapse: React.ComponentClass<CollapseProps>; export default Collapse; <|file_sep|>current/src/js/Helpers/Collapse.d.ts import * as React from 'react'; import { Props } from '../index'; export interface CollapseProps extends Props { defaultStyle?: React.CSSProperties; collapsed: boolean; springConfig: Object; children?: React.ReactElement<any>; animate?: boolean; } declare const Collapse: React.ComponentClass<CollapseProps>; export default Collapse; <|file_sep|>updated/src/js/Helpers/Collapse.d.ts
import * as React from 'react'; import { Props } from '../index'; export interface CollapseProps extends Props { defaultStyle?: React.CSSProperties; collapsed: boolean; springConfig?: Object; children?: React.ReactElement<any>; animate?: boolean; } declare const Collapse: React.ComponentClass<CollapseProps>; export default Collapse;
<|file_sep|>original/src/js/Helpers/Collapse.d.ts import * as React from 'react'; import { Props } from '../index'; export interface CollapseProps extends Props { defaultStyle?: React.CSSProperties; collapsed: boolean; springConfig: Object; children?: React.ReactElement<any>; animate?: boolean; } declare const Collapse: React.ComponentClass<CollapseProps>; export default Collapse; <|file_sep|>current/src/js/Helpers/Collapse.d.ts import * as React from 'react'; import { Props } from '../index'; export interface CollapseProps extends Props { defaultStyle?: React.CSSProperties; collapsed: boolean; springConfig: Object; children?: React.ReactElement<any>; animate?: boolean; } declare const Collapse: React.ComponentClass<CollapseProps>; export default Collapse; <|file_sep|>updated/src/js/Helpers/Collapse.d.ts import * as React from 'react'; import { Props } from '../index'; export interface CollapseProps extends Props { defaultStyle?: React.CSSProperties; collapsed: boolean; springConfig?: Object; children?: React.ReactElement<any>; animate?: boolean; } declare const Collapse: React.ComponentClass<CollapseProps>; export default Collapse;
b6b47ac07a27f7b8c4b4d8c96c2c4f5c1858ec95
src/js/Helpers/Collapse.d.ts
src/js/Helpers/Collapse.d.ts
TypeScript
<|file_sep|>src/foremast/app/aws.py.diff original: from foremast.app.base import BaseApp updated: from foremast.app import base <|file_sep|>original/src/foremast/app/aws.py """AWS Spinnaker Application.""" from pprint import pformat from foremast.app.base import BaseApp from foremast.utils import wait_for_task class SpinnakerApp(BaseApp): """Create AWS Spinnaker Application.""" def create(self): """Send a POST to spinnaker to create a new application with class variables. Raises: AssertionError: Application creation failed. """ self.appinfo['accounts'] = self.get_accounts() self.log.debug('Pipeline Config\n%s', pformat(self.pipeline_config)) self.log.debug('App info:\n%s', pformat(self.appinfo)) jsondata = self.retrieve_template() wait_for_task(jsondata) <|file_sep|>current/src/foremast/app/aws.py """AWS Spinnaker Application.""" from pprint import pformat from foremast.app import base from foremast.utils import wait_for_task class SpinnakerApp(BaseApp): """Create AWS Spinnaker Application.""" def create(self): """Send a POST to spinnaker to create a new application with class variables. Raises: AssertionError: Application creation failed. """ self.appinfo['accounts'] = self.get_accounts() self.log.debug('Pipeline Config\n%s', pformat(self.pipeline_config)) self.log.debug('App info:\n%s', pformat(self.appinfo)) jsondata = self.retrieve_template() <|file_sep|>updated/src/foremast/app/aws.py
"""AWS Spinnaker Application.""" from pprint import pformat from foremast.app import base from foremast.utils import wait_for_task class SpinnakerApp(base.BaseApp): """Create AWS Spinnaker Application.""" def create(self): """Send a POST to spinnaker to create a new application with class variables. Raises: AssertionError: Application creation failed. """ self.appinfo['accounts'] = self.get_accounts() self.log.debug('Pipeline Config\n%s', pformat(self.pipeline_config)) self.log.debug('App info:\n%s', pformat(self.appinfo)) jsondata = self.retrieve_template()
<|file_sep|>src/foremast/app/aws.py.diff original: from foremast.app.base import BaseApp updated: from foremast.app import base <|file_sep|>original/src/foremast/app/aws.py """AWS Spinnaker Application.""" from pprint import pformat from foremast.app.base import BaseApp from foremast.utils import wait_for_task class SpinnakerApp(BaseApp): """Create AWS Spinnaker Application.""" def create(self): """Send a POST to spinnaker to create a new application with class variables. Raises: AssertionError: Application creation failed. """ self.appinfo['accounts'] = self.get_accounts() self.log.debug('Pipeline Config\n%s', pformat(self.pipeline_config)) self.log.debug('App info:\n%s', pformat(self.appinfo)) jsondata = self.retrieve_template() wait_for_task(jsondata) <|file_sep|>current/src/foremast/app/aws.py """AWS Spinnaker Application.""" from pprint import pformat from foremast.app import base from foremast.utils import wait_for_task class SpinnakerApp(BaseApp): """Create AWS Spinnaker Application.""" def create(self): """Send a POST to spinnaker to create a new application with class variables. Raises: AssertionError: Application creation failed. """ self.appinfo['accounts'] = self.get_accounts() self.log.debug('Pipeline Config\n%s', pformat(self.pipeline_config)) self.log.debug('App info:\n%s', pformat(self.appinfo)) jsondata = self.retrieve_template() <|file_sep|>updated/src/foremast/app/aws.py """AWS Spinnaker Application.""" from pprint import pformat from foremast.app import base from foremast.utils import wait_for_task class SpinnakerApp(base.BaseApp): """Create AWS Spinnaker Application.""" def create(self): """Send a POST to spinnaker to create a new application with class variables. Raises: AssertionError: Application creation failed. """ self.appinfo['accounts'] = self.get_accounts() self.log.debug('Pipeline Config\n%s', pformat(self.pipeline_config)) self.log.debug('App info:\n%s', pformat(self.appinfo)) jsondata = self.retrieve_template()
ebe21ef2014b9b6c6d77c1254a87546d5096642f
src/foremast/app/aws.py
src/foremast/app/aws.py
Python
<|file_sep|>original/tests/modules/fail_union_atype.aug module Fail_union_atype = (* This is illegal, otherwise we don't know which alternative *) (* to take for a tree { "a" = "?" } *) let del_str (s:string) = del s s let lns = [ key /a/ . store /b/ . del_str " (l)" | [ key /a/ . store /c/ . del_str " (r)" ] (* To make this a passing test, make sure that this also works: *) (* test lns put "ac (r)" after set "a" "b" = "ab (l)" *) (* Local Variables: *) (* mode: caml *) (* End: *) <|file_sep|>current/tests/modules/fail_union_atype.aug module Fail_union_atype = (* This is illegal, otherwise we don't know which alternative *) (* to take for a tree { "a" = "?" } *) let del_str (s:string) = del s s let lns = [ key /a/ . store /b/ . del_str " (l)" | [ key /a/ . store /c/ . del_str " (r)" ] (* To make this a passing test, make sure that this also works: *) (* test lns put "ac (r)" after set "a" "b" = "ab (l)" *) (* Local Variables: *) (* mode: caml *) (* End: *) <|file_sep|>updated/tests/modules/fail_union_atype.aug
module Fail_union_atype = (* This is illegal, otherwise we don't know which alternative *) (* to take for a tree { "a" = "?" } *) let del_str (s:string) = del s s let lns = [ key /a/ . store /b/ . del_str " (l)" ] | [ key /a/ . store /c/ . del_str " (r)" ] (* To make this a passing test, make sure that this also works: *) (* test lns put "ac (r)" after set "a" "b" = "ab (l)" *) (* Local Variables: *) (* mode: caml *) (* End: *)
<|file_sep|>original/tests/modules/fail_union_atype.aug module Fail_union_atype = (* This is illegal, otherwise we don't know which alternative *) (* to take for a tree { "a" = "?" } *) let del_str (s:string) = del s s let lns = [ key /a/ . store /b/ . del_str " (l)" | [ key /a/ . store /c/ . del_str " (r)" ] (* To make this a passing test, make sure that this also works: *) (* test lns put "ac (r)" after set "a" "b" = "ab (l)" *) (* Local Variables: *) (* mode: caml *) (* End: *) <|file_sep|>current/tests/modules/fail_union_atype.aug module Fail_union_atype = (* This is illegal, otherwise we don't know which alternative *) (* to take for a tree { "a" = "?" } *) let del_str (s:string) = del s s let lns = [ key /a/ . store /b/ . del_str " (l)" | [ key /a/ . store /c/ . del_str " (r)" ] (* To make this a passing test, make sure that this also works: *) (* test lns put "ac (r)" after set "a" "b" = "ab (l)" *) (* Local Variables: *) (* mode: caml *) (* End: *) <|file_sep|>updated/tests/modules/fail_union_atype.aug module Fail_union_atype = (* This is illegal, otherwise we don't know which alternative *) (* to take for a tree { "a" = "?" } *) let del_str (s:string) = del s s let lns = [ key /a/ . store /b/ . del_str " (l)" ] | [ key /a/ . store /c/ . del_str " (r)" ] (* To make this a passing test, make sure that this also works: *) (* test lns put "ac (r)" after set "a" "b" = "ab (l)" *) (* Local Variables: *) (* mode: caml *) (* End: *)
b740b0a14d469f57b50a4a258c275a53ddbe3953
tests/modules/fail_union_atype.aug
tests/modules/fail_union_atype.aug
Augeas
<|file_sep|>original/Cargo.toml repository = "https://github.com/mneumann/graph-neighbor-matching" description = "Graph similarity score using neighbor matching" keywords = ["graph", "algorithm", "similarity"] include = ["graphs/**/*.gml", "**/*.rs", "Cargo.toml", "README.md", "LICENSE"] edition = "2018" [dependencies] nalgebra = "0.13" munkres = "0.4" closed01 = "0.5" petgraph = "0.4" approx = "0.1" [dev-dependencies] asexp = "0.3" graph-io-gml = "0.2" criterion = "0.2" [[bench]] name = "score_graphs" harness = false <|file_sep|>current/Cargo.toml repository = "https://github.com/mneumann/graph-neighbor-matching" description = "Graph similarity score using neighbor matching" keywords = ["graph", "algorithm", "similarity"] include = ["graphs/**/*.gml", "**/*.rs", "Cargo.toml", "README.md", "LICENSE"] edition = "2018" [dependencies] nalgebra = "0.13" munkres = "0.4" closed01 = "0.5" petgraph = "0.4" approx = "0.1" [dev-dependencies] asexp = "0.3" graph-io-gml = "0.2" criterion = "0.2" [[bench]] name = "score_graphs" harness = false <|file_sep|>updated/Cargo.toml
edition = "2018" [dependencies] nalgebra = "0.13" munkres = "0.4" closed01 = "0.5" petgraph = "0.4" approx = "0.1" [dev-dependencies] asexp = "0.3" graph-io-gml = "0.2" criterion = "0.2" [[bench]] name = "score_graphs" harness = false # This section is required to make "cargo bench -- --save-baseline" work [lib] bench = false
<|file_sep|>original/Cargo.toml repository = "https://github.com/mneumann/graph-neighbor-matching" description = "Graph similarity score using neighbor matching" keywords = ["graph", "algorithm", "similarity"] include = ["graphs/**/*.gml", "**/*.rs", "Cargo.toml", "README.md", "LICENSE"] edition = "2018" [dependencies] nalgebra = "0.13" munkres = "0.4" closed01 = "0.5" petgraph = "0.4" approx = "0.1" [dev-dependencies] asexp = "0.3" graph-io-gml = "0.2" criterion = "0.2" [[bench]] name = "score_graphs" harness = false <|file_sep|>current/Cargo.toml repository = "https://github.com/mneumann/graph-neighbor-matching" description = "Graph similarity score using neighbor matching" keywords = ["graph", "algorithm", "similarity"] include = ["graphs/**/*.gml", "**/*.rs", "Cargo.toml", "README.md", "LICENSE"] edition = "2018" [dependencies] nalgebra = "0.13" munkres = "0.4" closed01 = "0.5" petgraph = "0.4" approx = "0.1" [dev-dependencies] asexp = "0.3" graph-io-gml = "0.2" criterion = "0.2" [[bench]] name = "score_graphs" harness = false <|file_sep|>updated/Cargo.toml edition = "2018" [dependencies] nalgebra = "0.13" munkres = "0.4" closed01 = "0.5" petgraph = "0.4" approx = "0.1" [dev-dependencies] asexp = "0.3" graph-io-gml = "0.2" criterion = "0.2" [[bench]] name = "score_graphs" harness = false # This section is required to make "cargo bench -- --save-baseline" work [lib] bench = false
baac4543492e2a3b98fbd6223248b36b33a48e6f
Cargo.toml
Cargo.toml
TOML
<|file_sep|>original/src/main/java/com/google/gwtexpui/user/client/AutoCenterDialogBox.java <|file_sep|>current/src/main/java/com/google/gwtexpui/user/client/AutoCenterDialogBox.java <|file_sep|>updated/src/main/java/com/google/gwtexpui/user/client/AutoCenterDialogBox.java
// Copyright 2008 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package com.google.gwtexpui.user.client; import com.google.gwt.user.client.Window; import com.google.gwt.user.client.WindowResizeListener; import com.google.gwt.user.client.ui.DialogBox; /** A DialogBox that automatically re-centers itself if the window changes */
<|file_sep|>original/src/main/java/com/google/gwtexpui/user/client/AutoCenterDialogBox.java <|file_sep|>current/src/main/java/com/google/gwtexpui/user/client/AutoCenterDialogBox.java <|file_sep|>updated/src/main/java/com/google/gwtexpui/user/client/AutoCenterDialogBox.java // Copyright 2008 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package com.google.gwtexpui.user.client; import com.google.gwt.user.client.Window; import com.google.gwt.user.client.WindowResizeListener; import com.google.gwt.user.client.ui.DialogBox; /** A DialogBox that automatically re-centers itself if the window changes */
e1a47fd933252b1f09fe719a7348e37f5dd9899f
src/main/java/com/google/gwtexpui/user/client/AutoCenterDialogBox.java
src/main/java/com/google/gwtexpui/user/client/AutoCenterDialogBox.java
Java
<|file_sep|>original/packs/gpg/README.md # GPG Integration Pack Pack which allows integration with [GnuPG](https://www.gnupg.org/). ## Configuration * ``gpgbinary`` - Optional path to the gpg binary to use. * ``gpghome`` - Optional path to gpg keyring home. If not provided, ``~/.gnupg`` is used as a default. * ``debug`` - True to enable debug mode. ## Actions * ``list_keys`` - List all the keys in the keyring. * ``import_keys`` - Import ASCII formatted keys from the provided file. * ``encrypt_file`` - Encrypt a file using asymmetric encryption for the provided recipient. Note: Public part of the recipient keys for which you are encrypting the file for need to already be available in the gpg keyring. * ``decrypt_file`` - Action which decrypts asymetrically encrypted file. Note: The private part of the key which was used to encrypt the file must already be available in the gpg keyring. <|file_sep|>current/packs/gpg/README.md # GPG Integration Pack Pack which allows integration with [GnuPG](https://www.gnupg.org/). ## Configuration * ``gpgbinary`` - Optional path to the gpg binary to use. * ``gpghome`` - Optional path to gpg keyring home. If not provided, ``~/.gnupg`` is used as a default. * ``debug`` - True to enable debug mode. ## Actions * ``list_keys`` - List all the keys in the keyring. * ``import_keys`` - Import ASCII formatted keys from the provided file. * ``encrypt_file`` - Encrypt a file using asymmetric encryption for the provided recipient. Note: Public part of the recipient keys for which you are encrypting the file for need to already be available in the gpg keyring. * ``decrypt_file`` - Action which decrypts asymetrically encrypted file. Note: The private part of the key which was used to encrypt the file must already be available in the gpg keyring. <|file_sep|>updated/packs/gpg/README.md
# GPG Integration Pack Pack which allows integration with [GnuPG](https://www.gnupg.org/). ## Requirements For this pack to work you need to have access to a compatible version of the GnuGP executable. ## Configuration * ``gpgbinary`` - Optional path to the gpg binary to use. * ``gpghome`` - Optional path to gpg keyring home. If not provided, ``~/.gnupg`` is used as a default. * ``debug`` - True to enable debug mode. ## Actions * ``list_keys`` - List all the keys in the keyring. * ``import_keys`` - Import ASCII formatted keys from the provided file. * ``encrypt_file`` - Encrypt a file using asymmetric encryption for the
<|file_sep|>original/packs/gpg/README.md # GPG Integration Pack Pack which allows integration with [GnuPG](https://www.gnupg.org/). ## Configuration * ``gpgbinary`` - Optional path to the gpg binary to use. * ``gpghome`` - Optional path to gpg keyring home. If not provided, ``~/.gnupg`` is used as a default. * ``debug`` - True to enable debug mode. ## Actions * ``list_keys`` - List all the keys in the keyring. * ``import_keys`` - Import ASCII formatted keys from the provided file. * ``encrypt_file`` - Encrypt a file using asymmetric encryption for the provided recipient. Note: Public part of the recipient keys for which you are encrypting the file for need to already be available in the gpg keyring. * ``decrypt_file`` - Action which decrypts asymetrically encrypted file. Note: The private part of the key which was used to encrypt the file must already be available in the gpg keyring. <|file_sep|>current/packs/gpg/README.md # GPG Integration Pack Pack which allows integration with [GnuPG](https://www.gnupg.org/). ## Configuration * ``gpgbinary`` - Optional path to the gpg binary to use. * ``gpghome`` - Optional path to gpg keyring home. If not provided, ``~/.gnupg`` is used as a default. * ``debug`` - True to enable debug mode. ## Actions * ``list_keys`` - List all the keys in the keyring. * ``import_keys`` - Import ASCII formatted keys from the provided file. * ``encrypt_file`` - Encrypt a file using asymmetric encryption for the provided recipient. Note: Public part of the recipient keys for which you are encrypting the file for need to already be available in the gpg keyring. * ``decrypt_file`` - Action which decrypts asymetrically encrypted file. Note: The private part of the key which was used to encrypt the file must already be available in the gpg keyring. <|file_sep|>updated/packs/gpg/README.md # GPG Integration Pack Pack which allows integration with [GnuPG](https://www.gnupg.org/). ## Requirements For this pack to work you need to have access to a compatible version of the GnuGP executable. ## Configuration * ``gpgbinary`` - Optional path to the gpg binary to use. * ``gpghome`` - Optional path to gpg keyring home. If not provided, ``~/.gnupg`` is used as a default. * ``debug`` - True to enable debug mode. ## Actions * ``list_keys`` - List all the keys in the keyring. * ``import_keys`` - Import ASCII formatted keys from the provided file. * ``encrypt_file`` - Encrypt a file using asymmetric encryption for the
349aa8200942b1ac8be2c7382505c4256565f25d
packs/gpg/README.md
packs/gpg/README.md
Markdown
<|file_sep|>original/lightcrafts/src/com/lightcrafts/utils/awt/PoppableEventQueue.java */ public void pop() throws EmptyStackException { super.pop(); } // Enqueue a placeholder task and wait until it (and all preceding tasks) // are dequeued. This helps prevent tasks from running after the pop(). public static void drain() { if (EventQueue.isDispatchThread()) { String msg = "Can't drain the event queue from the event thread."; // throw new IllegalThreadStateException(msg); System.err.println(msg); return; } try { EventQueue.invokeAndWait( new Runnable() { public void run() { // do nothing } } <|file_sep|>current/lightcrafts/src/com/lightcrafts/utils/awt/PoppableEventQueue.java */ public void pop() throws EmptyStackException { super.pop(); } // Enqueue a placeholder task and wait until it (and all preceding tasks) // are dequeued. This helps prevent tasks from running after the pop(). public static void drain() { if (EventQueue.isDispatchThread()) { String msg = "Can't drain the event queue from the event thread."; // throw new IllegalThreadStateException(msg); System.err.println(msg); return; } try { EventQueue.invokeAndWait( new Runnable() { public void run() { // do nothing } } <|file_sep|>updated/lightcrafts/src/com/lightcrafts/utils/awt/PoppableEventQueue.java
*/ public void pop() throws EmptyStackException { super.pop(); } // Enqueue a placeholder task and wait until it (and all preceding tasks) // are dequeued. This helps prevent tasks from running after the pop(). public static void drain() { if (EventQueue.isDispatchThread()) { throw new IllegalThreadStateException( "Can't drain the event queue from the event thread." ); } try { EventQueue.invokeAndWait( new Runnable() { public void run() { // do nothing } } );
<|file_sep|>original/lightcrafts/src/com/lightcrafts/utils/awt/PoppableEventQueue.java */ public void pop() throws EmptyStackException { super.pop(); } // Enqueue a placeholder task and wait until it (and all preceding tasks) // are dequeued. This helps prevent tasks from running after the pop(). public static void drain() { if (EventQueue.isDispatchThread()) { String msg = "Can't drain the event queue from the event thread."; // throw new IllegalThreadStateException(msg); System.err.println(msg); return; } try { EventQueue.invokeAndWait( new Runnable() { public void run() { // do nothing } } <|file_sep|>current/lightcrafts/src/com/lightcrafts/utils/awt/PoppableEventQueue.java */ public void pop() throws EmptyStackException { super.pop(); } // Enqueue a placeholder task and wait until it (and all preceding tasks) // are dequeued. This helps prevent tasks from running after the pop(). public static void drain() { if (EventQueue.isDispatchThread()) { String msg = "Can't drain the event queue from the event thread."; // throw new IllegalThreadStateException(msg); System.err.println(msg); return; } try { EventQueue.invokeAndWait( new Runnable() { public void run() { // do nothing } } <|file_sep|>updated/lightcrafts/src/com/lightcrafts/utils/awt/PoppableEventQueue.java */ public void pop() throws EmptyStackException { super.pop(); } // Enqueue a placeholder task and wait until it (and all preceding tasks) // are dequeued. This helps prevent tasks from running after the pop(). public static void drain() { if (EventQueue.isDispatchThread()) { throw new IllegalThreadStateException( "Can't drain the event queue from the event thread." ); } try { EventQueue.invokeAndWait( new Runnable() { public void run() { // do nothing } } );
42c3582208d72b8d8ff4fec5b5bf088a11651ca1
lightcrafts/src/com/lightcrafts/utils/awt/PoppableEventQueue.java
lightcrafts/src/com/lightcrafts/utils/awt/PoppableEventQueue.java
Java
<|file_sep|>lib/pry-rails.rb.diff original: require "pry-rails/version" updated: require 'pry' require 'pry-rails/version' <|file_sep|>lib/pry-rails.rb.diff original: begin require 'pry' updated: class Railtie < Rails::Railtie console do if Rails::VERSION::MAJOR == 3 Rails::Console::IRB = Pry <|file_sep|>lib/pry-rails.rb.diff original: if (defined?(::Rails::Console) and ::Rails::VERSION::MAJOR >= 3) class Railtie < ::Rails::Railtie silence_warnings do ::Rails::Console::IRB = Pry unless defined?(Pry::ExtendCommandBundle) Pry::ExtendCommandBundle = Module.new end if ::Rails::VERSION::MINOR >= 2 require "rails/console/app" require "rails/console/helpers" TOPLEVEL_BINDING.eval('self').extend ::Rails::ConsoleMethods end updated: unless defined? Pry::ExtendCommandBundle Pry::ExtendCommandBundle = Module.new <|file_sep|>lib/pry-rails.rb.diff original: updated: if Rails::VERSION::MAJOR == 4 Rails.application.config.console = Pry end if (Rails::VERSION::MAJOR == 3 && Rails::VERSION::MINOR >= 2) || Rails::VERSION::MAJOR == 4 require "rails/console/app" require "rails/console/helpers" TOPLEVEL_BINDING.eval('self').extend ::Rails::ConsoleMethods end <|file_sep|>original/lib/pry-rails.rb if (defined?(::Rails::Console) and ::Rails::VERSION::MAJOR >= 3) class Railtie < ::Rails::Railtie silence_warnings do ::Rails::Console::IRB = Pry unless defined?(Pry::ExtendCommandBundle) Pry::ExtendCommandBundle = Module.new end if ::Rails::VERSION::MINOR >= 2 require "rails/console/app" require "rails/console/helpers" TOPLEVEL_BINDING.eval('self').extend ::Rails::ConsoleMethods end end end end rescue LoadError end end <|file_sep|>current/lib/pry-rails.rb Rails::Console::IRB = Pry unless defined? Pry::ExtendCommandBundle Pry::ExtendCommandBundle = Module.new end end if Rails::VERSION::MAJOR == 4 Rails.application.config.console = Pry end if (Rails::VERSION::MAJOR == 3 && Rails::VERSION::MINOR >= 2) || Rails::VERSION::MAJOR == 4 require "rails/console/app" require "rails/console/helpers" TOPLEVEL_BINDING.eval('self').extend ::Rails::ConsoleMethods end end rescue LoadError end end <|file_sep|>updated/lib/pry-rails.rb
if Rails::VERSION::MAJOR == 3 Rails::Console::IRB = Pry unless defined? Pry::ExtendCommandBundle Pry::ExtendCommandBundle = Module.new end end if Rails::VERSION::MAJOR == 4 Rails.application.config.console = Pry end if (Rails::VERSION::MAJOR == 3 && Rails::VERSION::MINOR >= 2) || Rails::VERSION::MAJOR == 4 require "rails/console/app" require "rails/console/helpers" TOPLEVEL_BINDING.eval('self').extend ::Rails::ConsoleMethods end end end end
<|file_sep|>lib/pry-rails.rb.diff original: require "pry-rails/version" updated: require 'pry' require 'pry-rails/version' <|file_sep|>lib/pry-rails.rb.diff original: begin require 'pry' updated: class Railtie < Rails::Railtie console do if Rails::VERSION::MAJOR == 3 Rails::Console::IRB = Pry <|file_sep|>lib/pry-rails.rb.diff original: if (defined?(::Rails::Console) and ::Rails::VERSION::MAJOR >= 3) class Railtie < ::Rails::Railtie silence_warnings do ::Rails::Console::IRB = Pry unless defined?(Pry::ExtendCommandBundle) Pry::ExtendCommandBundle = Module.new end if ::Rails::VERSION::MINOR >= 2 require "rails/console/app" require "rails/console/helpers" TOPLEVEL_BINDING.eval('self').extend ::Rails::ConsoleMethods end updated: unless defined? Pry::ExtendCommandBundle Pry::ExtendCommandBundle = Module.new <|file_sep|>lib/pry-rails.rb.diff original: updated: if Rails::VERSION::MAJOR == 4 Rails.application.config.console = Pry end if (Rails::VERSION::MAJOR == 3 && Rails::VERSION::MINOR >= 2) || Rails::VERSION::MAJOR == 4 require "rails/console/app" require "rails/console/helpers" TOPLEVEL_BINDING.eval('self').extend ::Rails::ConsoleMethods end <|file_sep|>original/lib/pry-rails.rb if (defined?(::Rails::Console) and ::Rails::VERSION::MAJOR >= 3) class Railtie < ::Rails::Railtie silence_warnings do ::Rails::Console::IRB = Pry unless defined?(Pry::ExtendCommandBundle) Pry::ExtendCommandBundle = Module.new end if ::Rails::VERSION::MINOR >= 2 require "rails/console/app" require "rails/console/helpers" TOPLEVEL_BINDING.eval('self').extend ::Rails::ConsoleMethods end end end end rescue LoadError end end <|file_sep|>current/lib/pry-rails.rb Rails::Console::IRB = Pry unless defined? Pry::ExtendCommandBundle Pry::ExtendCommandBundle = Module.new end end if Rails::VERSION::MAJOR == 4 Rails.application.config.console = Pry end if (Rails::VERSION::MAJOR == 3 && Rails::VERSION::MINOR >= 2) || Rails::VERSION::MAJOR == 4 require "rails/console/app" require "rails/console/helpers" TOPLEVEL_BINDING.eval('self').extend ::Rails::ConsoleMethods end end rescue LoadError end end <|file_sep|>updated/lib/pry-rails.rb if Rails::VERSION::MAJOR == 3 Rails::Console::IRB = Pry unless defined? Pry::ExtendCommandBundle Pry::ExtendCommandBundle = Module.new end end if Rails::VERSION::MAJOR == 4 Rails.application.config.console = Pry end if (Rails::VERSION::MAJOR == 3 && Rails::VERSION::MINOR >= 2) || Rails::VERSION::MAJOR == 4 require "rails/console/app" require "rails/console/helpers" TOPLEVEL_BINDING.eval('self').extend ::Rails::ConsoleMethods end end end end
811b4ca2fb39e2acf2911f527b7009b66ebb3fa9
lib/pry-rails.rb
lib/pry-rails.rb
Ruby
<|file_sep|>lib/lecture_list.rb.diff original: def self.update updated: def self.update(status) <|file_sep|>lib/lecture_list.rb.diff original: updated: <|file_sep|>lib/lecture_list.rb.diff original: tickets = get_tickets(data) capacity = data['capacity'] updated: if data['status'] == status tickets = get_tickets(data) capacity = data['capacity'] <|file_sep|>lib/lecture_list.rb.diff original: people = "" (capacity - tickets).times { people += "<span class='icon-user'></span>" } tickets.times { people += "<span class='icon-user available'></span>" } updated: people = "" (capacity - tickets).times { people += "<span class='icon-user'></span>" } tickets.times { people += "<span class='icon-user available'></span>" } <|file_sep|>lib/lecture_list.rb.diff original: {url: url, text: data['name'], date: Date.parse(data['startDate']).to_formatted_s(:short).strip, people: people } updated: {url: url, text: data['name'], date: Date.parse(data['startDate']).to_formatted_s(:short).strip, people: people } end <|file_sep|>original/lib/lecture_list.rb people = "" (capacity - tickets).times { people += "<span class='icon-user'></span>" } tickets.times { people += "<span class='icon-user available'></span>" } {url: url, text: data['name'], date: Date.parse(data['startDate']).to_formatted_s(:short).strip, people: people } end { items: lecture_list } end def self.get_tickets(data) tickets = 0 data['offers'].each do |offer| tickets += offer['inventoryLevel'] end return tickets end <|file_sep|>current/lib/lecture_list.rb tickets = get_tickets(data) capacity = data['capacity'] people = "" (capacity - tickets).times { people += "<span class='icon-user'></span>" } tickets.times { people += "<span class='icon-user available'></span>" } {url: url, text: data['name'], date: Date.parse(data['startDate']).to_formatted_s(:short).strip, people: people } end end { items: lecture_list } end def self.get_tickets(data) tickets = 0 data['offers'].each do |offer| tickets += offer['inventoryLevel'] end return tickets <|file_sep|>updated/lib/lecture_list.rb
tickets = get_tickets(data) capacity = data['capacity'] people = "" (capacity - tickets).times { people += "<span class='icon-user'></span>" } tickets.times { people += "<span class='icon-user available'></span>" } {url: url, text: data['name'], date: Date.parse(data['startDate']).to_formatted_s(:short).strip, people: people } end end { items: lecture_list } end def self.get_tickets(data) tickets = 0 data['offers'].each do |offer| tickets += offer['inventoryLevel'] end return tickets
<|file_sep|>lib/lecture_list.rb.diff original: def self.update updated: def self.update(status) <|file_sep|>lib/lecture_list.rb.diff original: updated: <|file_sep|>lib/lecture_list.rb.diff original: tickets = get_tickets(data) capacity = data['capacity'] updated: if data['status'] == status tickets = get_tickets(data) capacity = data['capacity'] <|file_sep|>lib/lecture_list.rb.diff original: people = "" (capacity - tickets).times { people += "<span class='icon-user'></span>" } tickets.times { people += "<span class='icon-user available'></span>" } updated: people = "" (capacity - tickets).times { people += "<span class='icon-user'></span>" } tickets.times { people += "<span class='icon-user available'></span>" } <|file_sep|>lib/lecture_list.rb.diff original: {url: url, text: data['name'], date: Date.parse(data['startDate']).to_formatted_s(:short).strip, people: people } updated: {url: url, text: data['name'], date: Date.parse(data['startDate']).to_formatted_s(:short).strip, people: people } end <|file_sep|>original/lib/lecture_list.rb people = "" (capacity - tickets).times { people += "<span class='icon-user'></span>" } tickets.times { people += "<span class='icon-user available'></span>" } {url: url, text: data['name'], date: Date.parse(data['startDate']).to_formatted_s(:short).strip, people: people } end { items: lecture_list } end def self.get_tickets(data) tickets = 0 data['offers'].each do |offer| tickets += offer['inventoryLevel'] end return tickets end <|file_sep|>current/lib/lecture_list.rb tickets = get_tickets(data) capacity = data['capacity'] people = "" (capacity - tickets).times { people += "<span class='icon-user'></span>" } tickets.times { people += "<span class='icon-user available'></span>" } {url: url, text: data['name'], date: Date.parse(data['startDate']).to_formatted_s(:short).strip, people: people } end end { items: lecture_list } end def self.get_tickets(data) tickets = 0 data['offers'].each do |offer| tickets += offer['inventoryLevel'] end return tickets <|file_sep|>updated/lib/lecture_list.rb tickets = get_tickets(data) capacity = data['capacity'] people = "" (capacity - tickets).times { people += "<span class='icon-user'></span>" } tickets.times { people += "<span class='icon-user available'></span>" } {url: url, text: data['name'], date: Date.parse(data['startDate']).to_formatted_s(:short).strip, people: people } end end { items: lecture_list } end def self.get_tickets(data) tickets = 0 data['offers'].each do |offer| tickets += offer['inventoryLevel'] end return tickets
9dd3588ee0f4fcc86e7554ea4993a14bcd0da3bc
lib/lecture_list.rb
lib/lecture_list.rb
Ruby
<|file_sep|>original/requirements_for_test.txt -r requirements.txt flake8==3.5.0 moto==1.3.4 pytest==3.7.3 pytest-env==0.6.2 pytest-mock==1.10.0 pytest-cov==2.5.1 pytest-xdist==1.23.0 coveralls==1.4.0 freezegun==0.3.10 requests-mock==1.5.2 # optional requirements for jsonschema strict-rfc3339==0.7 rfc3987==1.3.8 <|file_sep|>current/requirements_for_test.txt -r requirements.txt flake8==3.5.0 moto==1.3.4 pytest==3.7.3 pytest-env==0.6.2 pytest-mock==1.10.0 pytest-cov==2.5.1 pytest-xdist==1.23.0 coveralls==1.4.0 freezegun==0.3.10 requests-mock==1.5.2 # optional requirements for jsonschema strict-rfc3339==0.7 rfc3987==1.3.8 <|file_sep|>updated/requirements_for_test.txt
-r requirements.txt flake8==3.5.0 moto==1.3.4 pytest==3.7.4 pytest-env==0.6.2 pytest-mock==1.10.0 pytest-cov==2.5.1 pytest-xdist==1.23.0 coveralls==1.4.0 freezegun==0.3.10 requests-mock==1.5.2 # optional requirements for jsonschema strict-rfc3339==0.7 rfc3987==1.3.8
<|file_sep|>original/requirements_for_test.txt -r requirements.txt flake8==3.5.0 moto==1.3.4 pytest==3.7.3 pytest-env==0.6.2 pytest-mock==1.10.0 pytest-cov==2.5.1 pytest-xdist==1.23.0 coveralls==1.4.0 freezegun==0.3.10 requests-mock==1.5.2 # optional requirements for jsonschema strict-rfc3339==0.7 rfc3987==1.3.8 <|file_sep|>current/requirements_for_test.txt -r requirements.txt flake8==3.5.0 moto==1.3.4 pytest==3.7.3 pytest-env==0.6.2 pytest-mock==1.10.0 pytest-cov==2.5.1 pytest-xdist==1.23.0 coveralls==1.4.0 freezegun==0.3.10 requests-mock==1.5.2 # optional requirements for jsonschema strict-rfc3339==0.7 rfc3987==1.3.8 <|file_sep|>updated/requirements_for_test.txt -r requirements.txt flake8==3.5.0 moto==1.3.4 pytest==3.7.4 pytest-env==0.6.2 pytest-mock==1.10.0 pytest-cov==2.5.1 pytest-xdist==1.23.0 coveralls==1.4.0 freezegun==0.3.10 requests-mock==1.5.2 # optional requirements for jsonschema strict-rfc3339==0.7 rfc3987==1.3.8
e24d08868329f8b6cf76c05acceccc3b2d4efa3c
requirements_for_test.txt
requirements_for_test.txt
Text
<|file_sep|>source/_layouts/master.blade.php.diff original: <link rel="stylesheet" href="/css/foundation.css"> updated: <link rel="stylesheet" href="/css/main.css"> <|file_sep|>original/source/_layouts/master.blade.php <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <meta http-equiv="x-ua-compatible" content="ie=edge"> <link rel="stylesheet" href="/css/foundation.css"> </head> <body> @yield('body') </body> <script src="js/app.js"></script> </html> <|file_sep|>current/source/_layouts/master.blade.php <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <meta http-equiv="x-ua-compatible" content="ie=edge"> <link rel="stylesheet" href="/css/main.css"> </head> <body> @yield('body') </body> <script src="js/app.js"></script> </html> <|file_sep|>updated/source/_layouts/master.blade.php
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <meta http-equiv="x-ua-compatible" content="ie=edge"> <link rel="stylesheet" href="/css/main.css"> </head> <body> @yield('body') </body> <!-- we haz no JS --> </html>
<|file_sep|>source/_layouts/master.blade.php.diff original: <link rel="stylesheet" href="/css/foundation.css"> updated: <link rel="stylesheet" href="/css/main.css"> <|file_sep|>original/source/_layouts/master.blade.php <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <meta http-equiv="x-ua-compatible" content="ie=edge"> <link rel="stylesheet" href="/css/foundation.css"> </head> <body> @yield('body') </body> <script src="js/app.js"></script> </html> <|file_sep|>current/source/_layouts/master.blade.php <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <meta http-equiv="x-ua-compatible" content="ie=edge"> <link rel="stylesheet" href="/css/main.css"> </head> <body> @yield('body') </body> <script src="js/app.js"></script> </html> <|file_sep|>updated/source/_layouts/master.blade.php <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <meta http-equiv="x-ua-compatible" content="ie=edge"> <link rel="stylesheet" href="/css/main.css"> </head> <body> @yield('body') </body> <!-- we haz no JS --> </html>
73743d682178e9c9b27c751e335a470428c78a51
source/_layouts/master.blade.php
source/_layouts/master.blade.php
PHP
<|file_sep|>src/MetaViewComposer.php.diff original: use Metrique\Meta\Contracts\MetaRepositoryInterface as MetaRepository; updated: use Metrique\Meta\Contracts\MetaRepositoryInterface as Repository; <|file_sep|>src/MetaViewComposer.php.diff original: * @var MetaRepository updated: * @var Repository <|file_sep|>src/MetaViewComposer.php.diff original: * @param UserRepository $users updated: * @param Repository $meta <|file_sep|>original/src/MetaViewComposer.php * @var MetaRepository */ protected $meta; /** * Create a new profile composer. * * @param UserRepository $users * @return void */ public function __construct(MetaRepository $meta) { // Dependencies automatically resolved by service container... $this->meta = $meta; } /** * Bind data to the view. * * @param View $view * @return void <|file_sep|>current/src/MetaViewComposer.php * @var Repository */ protected $meta; /** * Create a new profile composer. * * @param Repository $meta * @return void */ public function __construct(MetaRepository $meta) { // Dependencies automatically resolved by service container... $this->meta = $meta; } /** * Bind data to the view. * * @param View $view * @return void <|file_sep|>updated/src/MetaViewComposer.php
* @var Repository */ protected $meta; /** * Create a new profile composer. * * @param Repository $meta * @return void */ public function __construct(Repository $meta) { // Dependencies automatically resolved by service container... $this->meta = $meta; } /** * Bind data to the view. * * @param View $view * @return void
<|file_sep|>src/MetaViewComposer.php.diff original: use Metrique\Meta\Contracts\MetaRepositoryInterface as MetaRepository; updated: use Metrique\Meta\Contracts\MetaRepositoryInterface as Repository; <|file_sep|>src/MetaViewComposer.php.diff original: * @var MetaRepository updated: * @var Repository <|file_sep|>src/MetaViewComposer.php.diff original: * @param UserRepository $users updated: * @param Repository $meta <|file_sep|>original/src/MetaViewComposer.php * @var MetaRepository */ protected $meta; /** * Create a new profile composer. * * @param UserRepository $users * @return void */ public function __construct(MetaRepository $meta) { // Dependencies automatically resolved by service container... $this->meta = $meta; } /** * Bind data to the view. * * @param View $view * @return void <|file_sep|>current/src/MetaViewComposer.php * @var Repository */ protected $meta; /** * Create a new profile composer. * * @param Repository $meta * @return void */ public function __construct(MetaRepository $meta) { // Dependencies automatically resolved by service container... $this->meta = $meta; } /** * Bind data to the view. * * @param View $view * @return void <|file_sep|>updated/src/MetaViewComposer.php * @var Repository */ protected $meta; /** * Create a new profile composer. * * @param Repository $meta * @return void */ public function __construct(Repository $meta) { // Dependencies automatically resolved by service container... $this->meta = $meta; } /** * Bind data to the view. * * @param View $view * @return void
add1b61b67d77f593c98f5656cd08a4042da5b43
src/MetaViewComposer.php
src/MetaViewComposer.php
PHP
<|file_sep|>original/src/containers/Counter/Counter.js import React, { PropTypes } from 'react' import { connect } from 'react-redux' import { incrementCounter, decrementCounter, incrementCounterAsync } from '../../actions/counter' import {} from './counter.scss' let Counter = ({ counter, onIncrementCounter, onDecrementCounter, onIncrementCounterAsync }) => ( <div className="counter"> <h2 className="counter__number">{counter}</h2> <button onClick={onIncrementCounter} className="counter__button">+</button> <button onClick={onDecrementCounter} className="counter__button">-</button> <button onClick={onIncrementCounterAsync} className="counter__button counter__button--async">async</button> </div> ) Counter.propTypes = { counter: PropTypes.number.isRequired, onIncrementCounter: PropTypes.func.isRequired, onDecrementCounter: PropTypes.func.isRequired, onIncrementCounterAsync: PropTypes.func.isRequired <|file_sep|>current/src/containers/Counter/Counter.js import React, { PropTypes } from 'react' import { connect } from 'react-redux' import { incrementCounter, decrementCounter, incrementCounterAsync } from '../../actions/counter' import {} from './counter.scss' let Counter = ({ counter, onIncrementCounter, onDecrementCounter, onIncrementCounterAsync }) => ( <div className="counter"> <h2 className="counter__number">{counter}</h2> <button onClick={onIncrementCounter} className="counter__button">+</button> <button onClick={onDecrementCounter} className="counter__button">-</button> <button onClick={onIncrementCounterAsync} className="counter__button counter__button--async">async</button> </div> ) Counter.propTypes = { counter: PropTypes.number.isRequired, onIncrementCounter: PropTypes.func.isRequired, onDecrementCounter: PropTypes.func.isRequired, onIncrementCounterAsync: PropTypes.func.isRequired <|file_sep|>updated/src/containers/Counter/Counter.js
import React, { PropTypes } from 'react' import { connect } from 'react-redux' import { incrementCounter, decrementCounter, incrementCounterAsync } from '../../actions/counter' import {} from './counter.scss' class Counter { render() { return ( <div className="counter"> <h2 className="counter__number">{this.props.counter}</h2> <button onClick={this.props.onIncrementCounter} className="counter__button"> + </button> <button onClick={this.props.onDecrementCounter} className="counter__button"> - </button>
<|file_sep|>original/src/containers/Counter/Counter.js import React, { PropTypes } from 'react' import { connect } from 'react-redux' import { incrementCounter, decrementCounter, incrementCounterAsync } from '../../actions/counter' import {} from './counter.scss' let Counter = ({ counter, onIncrementCounter, onDecrementCounter, onIncrementCounterAsync }) => ( <div className="counter"> <h2 className="counter__number">{counter}</h2> <button onClick={onIncrementCounter} className="counter__button">+</button> <button onClick={onDecrementCounter} className="counter__button">-</button> <button onClick={onIncrementCounterAsync} className="counter__button counter__button--async">async</button> </div> ) Counter.propTypes = { counter: PropTypes.number.isRequired, onIncrementCounter: PropTypes.func.isRequired, onDecrementCounter: PropTypes.func.isRequired, onIncrementCounterAsync: PropTypes.func.isRequired <|file_sep|>current/src/containers/Counter/Counter.js import React, { PropTypes } from 'react' import { connect } from 'react-redux' import { incrementCounter, decrementCounter, incrementCounterAsync } from '../../actions/counter' import {} from './counter.scss' let Counter = ({ counter, onIncrementCounter, onDecrementCounter, onIncrementCounterAsync }) => ( <div className="counter"> <h2 className="counter__number">{counter}</h2> <button onClick={onIncrementCounter} className="counter__button">+</button> <button onClick={onDecrementCounter} className="counter__button">-</button> <button onClick={onIncrementCounterAsync} className="counter__button counter__button--async">async</button> </div> ) Counter.propTypes = { counter: PropTypes.number.isRequired, onIncrementCounter: PropTypes.func.isRequired, onDecrementCounter: PropTypes.func.isRequired, onIncrementCounterAsync: PropTypes.func.isRequired <|file_sep|>updated/src/containers/Counter/Counter.js import React, { PropTypes } from 'react' import { connect } from 'react-redux' import { incrementCounter, decrementCounter, incrementCounterAsync } from '../../actions/counter' import {} from './counter.scss' class Counter { render() { return ( <div className="counter"> <h2 className="counter__number">{this.props.counter}</h2> <button onClick={this.props.onIncrementCounter} className="counter__button"> + </button> <button onClick={this.props.onDecrementCounter} className="counter__button"> - </button>
6a6f01988849b84605de83d2dccf1a1485c87c56
src/containers/Counter/Counter.js
src/containers/Counter/Counter.js
JavaScript
<|file_sep|>docs/_navbar.md.diff original: * [Get Started](https://github.com/RamiLego4Game/LIKO-12/releases) updated: <|file_sep|>original/docs/_navbar.md * [Home](/) * [Get Started](https://github.com/RamiLego4Game/LIKO-12/releases) * [Get Started](Get_Started.md) * [Documentation](Documentation/) * [Disks](https://ramilego4game.github.io/LIKO-12-Disks/) * [FAQ](FAQ.md) <|file_sep|>current/docs/_navbar.md * [Home](/) * [Get Started](Get_Started.md) * [Documentation](Documentation/) * [Disks](https://ramilego4game.github.io/LIKO-12-Disks/) * [FAQ](FAQ.md) <|file_sep|>updated/docs/_navbar.md
* [Home](/) * [Get Started](Get_Started.md) * [Documentation](Documentation/) * [Disks](https://ramilego4game.github.io/LIKO-12-Disks/) * External Links * [Itch.io](https://ramilego4game.itch.io/liko12) * [Twitter](https://twitter.com/ramilego4game) * [Discord](https://discord.gg/GDtHrsJ) * [Tasks board](https://github.com/RamiLego4Game/LIKO-12/projects) * [FAQ](FAQ.md)
<|file_sep|>docs/_navbar.md.diff original: * [Get Started](https://github.com/RamiLego4Game/LIKO-12/releases) updated: <|file_sep|>original/docs/_navbar.md * [Home](/) * [Get Started](https://github.com/RamiLego4Game/LIKO-12/releases) * [Get Started](Get_Started.md) * [Documentation](Documentation/) * [Disks](https://ramilego4game.github.io/LIKO-12-Disks/) * [FAQ](FAQ.md) <|file_sep|>current/docs/_navbar.md * [Home](/) * [Get Started](Get_Started.md) * [Documentation](Documentation/) * [Disks](https://ramilego4game.github.io/LIKO-12-Disks/) * [FAQ](FAQ.md) <|file_sep|>updated/docs/_navbar.md * [Home](/) * [Get Started](Get_Started.md) * [Documentation](Documentation/) * [Disks](https://ramilego4game.github.io/LIKO-12-Disks/) * External Links * [Itch.io](https://ramilego4game.itch.io/liko12) * [Twitter](https://twitter.com/ramilego4game) * [Discord](https://discord.gg/GDtHrsJ) * [Tasks board](https://github.com/RamiLego4Game/LIKO-12/projects) * [FAQ](FAQ.md)
dfe1f4b3b7b365c0768f27426ef88fdce8181065
docs/_navbar.md
docs/_navbar.md
Markdown
<|file_sep|>original/README.txt RELEASE INFORMATION --------------- Ticket Evolution Framework for PHP. May 20, 2011 Added data-loaders which is a handy app for caching the data locally in MySQL. To use it you will need to run the create_tables.mysql script in scripts folder. Added sortResults() method to ResultSet to allow for sorting of results. Added exclusiveResults() and excludeResults() methods to resultSet which allow you to easily show only TicketGroups from a specified array of brokers OR to exclude TicketGroups from a specified array of brokers. Handy if you prefer to only show your own inventory for certain events or if you wish to exclude someone's inventory. Added "search" endpoint which searches venues and performers Many general improvements May 17, 2011 <|file_sep|>current/README.txt RELEASE INFORMATION --------------- Ticket Evolution Framework for PHP. May 20, 2011 Added data-loaders which is a handy app for caching the data locally in MySQL. To use it you will need to run the create_tables.mysql script in scripts folder. Added sortResults() method to ResultSet to allow for sorting of results. Added exclusiveResults() and excludeResults() methods to resultSet which allow you to easily show only TicketGroups from a specified array of brokers OR to exclude TicketGroups from a specified array of brokers. Handy if you prefer to only show your own inventory for certain events or if you wish to exclude someone's inventory. Added "search" endpoint which searches venues and performers Many general improvements May 17, 2011 <|file_sep|>updated/README.txt
RELEASE INFORMATION --------------- Ticket Evolution Framework for PHP. May 20, 2011 Added data-loaders which is a handy app for caching the data locally in MySQL. To use it you will need to run teh create_tables.mysql script in scripts folder. Added "search" endpoint which searches venues and performers Many general improvements May 17, 2011 Updated endpoint in Webservice.php from "ticket-groups" to "ticket_groups" to reflect change in API. May 9, 2011. Initial Release NEW FEATURES
<|file_sep|>original/README.txt RELEASE INFORMATION --------------- Ticket Evolution Framework for PHP. May 20, 2011 Added data-loaders which is a handy app for caching the data locally in MySQL. To use it you will need to run the create_tables.mysql script in scripts folder. Added sortResults() method to ResultSet to allow for sorting of results. Added exclusiveResults() and excludeResults() methods to resultSet which allow you to easily show only TicketGroups from a specified array of brokers OR to exclude TicketGroups from a specified array of brokers. Handy if you prefer to only show your own inventory for certain events or if you wish to exclude someone's inventory. Added "search" endpoint which searches venues and performers Many general improvements May 17, 2011 <|file_sep|>current/README.txt RELEASE INFORMATION --------------- Ticket Evolution Framework for PHP. May 20, 2011 Added data-loaders which is a handy app for caching the data locally in MySQL. To use it you will need to run the create_tables.mysql script in scripts folder. Added sortResults() method to ResultSet to allow for sorting of results. Added exclusiveResults() and excludeResults() methods to resultSet which allow you to easily show only TicketGroups from a specified array of brokers OR to exclude TicketGroups from a specified array of brokers. Handy if you prefer to only show your own inventory for certain events or if you wish to exclude someone's inventory. Added "search" endpoint which searches venues and performers Many general improvements May 17, 2011 <|file_sep|>updated/README.txt RELEASE INFORMATION --------------- Ticket Evolution Framework for PHP. May 20, 2011 Added data-loaders which is a handy app for caching the data locally in MySQL. To use it you will need to run teh create_tables.mysql script in scripts folder. Added "search" endpoint which searches venues and performers Many general improvements May 17, 2011 Updated endpoint in Webservice.php from "ticket-groups" to "ticket_groups" to reflect change in API. May 9, 2011. Initial Release NEW FEATURES
333665604e30373d29e7fbf0ffc7f1f09a54d06d
README.txt
README.txt
Text
<|file_sep|>original/etc/metadefs/compute-cpu-pinning.json <|file_sep|>current/etc/metadefs/compute-cpu-pinning.json <|file_sep|>updated/etc/metadefs/compute-cpu-pinning.json
{ "namespace": "OS::Compute::CPUPinning", "display_name": "CPU Pinning", "description": "This provides the preferred CPU Pinning policy when pinning vCPU of the guest to pCPU of the host. Default 'shared' option doesn't change current default guest CPU placement policy. 'Dedicated' will make guest CPU(s) to be strictly pinned to set of host CPU(s). See also https://wiki.openstack.org/wiki/VirtDriverGuestCPUMemoryPlacement", "visibility": "public", "protected": true, "resource_type_associations": [ { "name": "OS::Glance::Image", "prefix": "hw_" }, { "name": "OS::Cinder::Volume", "prefix": "hw_", "properties_target": "image" }, { "name": "OS::Nova::Flavor", "prefix": "hw:" } ],
<|file_sep|>original/etc/metadefs/compute-cpu-pinning.json <|file_sep|>current/etc/metadefs/compute-cpu-pinning.json <|file_sep|>updated/etc/metadefs/compute-cpu-pinning.json { "namespace": "OS::Compute::CPUPinning", "display_name": "CPU Pinning", "description": "This provides the preferred CPU Pinning policy when pinning vCPU of the guest to pCPU of the host. Default 'shared' option doesn't change current default guest CPU placement policy. 'Dedicated' will make guest CPU(s) to be strictly pinned to set of host CPU(s). See also https://wiki.openstack.org/wiki/VirtDriverGuestCPUMemoryPlacement", "visibility": "public", "protected": true, "resource_type_associations": [ { "name": "OS::Glance::Image", "prefix": "hw_" }, { "name": "OS::Cinder::Volume", "prefix": "hw_", "properties_target": "image" }, { "name": "OS::Nova::Flavor", "prefix": "hw:" } ],
85de1149b61eb43ac085afe7b0e26d7e71456b93
etc/metadefs/compute-cpu-pinning.json
etc/metadefs/compute-cpu-pinning.json
JSON
<|file_sep|>original/.travis.yml language: ruby python: "3.4" before_install: - curl "https://bootstrap.pypa.io/get-pip.py" -o "get-pip.py" - sudo python get-pip.py - sudo pip install -U setuptools - sudo pip install -U virtualenvwrapper - python -V - pip -V install: - bundle install - sudo pip install -r requirements.txt rvm: - 2.1 - 2.2 <|file_sep|>current/.travis.yml language: ruby python: "3.4" before_install: - curl "https://bootstrap.pypa.io/get-pip.py" -o "get-pip.py" - sudo python get-pip.py - sudo pip install -U setuptools - sudo pip install -U virtualenvwrapper - python -V - pip -V install: - bundle install - sudo pip install -r requirements.txt rvm: - 2.1 - 2.2 <|file_sep|>updated/.travis.yml
language: ruby python: "3.4" before_install: - curl "https://bootstrap.pypa.io/get-pip.py" -o "get-pip.py" - sudo python get-pip.py - python -V - pip -V install: - bundle install - sudo pip install -r requirements.txt rvm: - 2.1 - 2.2
<|file_sep|>original/.travis.yml language: ruby python: "3.4" before_install: - curl "https://bootstrap.pypa.io/get-pip.py" -o "get-pip.py" - sudo python get-pip.py - sudo pip install -U setuptools - sudo pip install -U virtualenvwrapper - python -V - pip -V install: - bundle install - sudo pip install -r requirements.txt rvm: - 2.1 - 2.2 <|file_sep|>current/.travis.yml language: ruby python: "3.4" before_install: - curl "https://bootstrap.pypa.io/get-pip.py" -o "get-pip.py" - sudo python get-pip.py - sudo pip install -U setuptools - sudo pip install -U virtualenvwrapper - python -V - pip -V install: - bundle install - sudo pip install -r requirements.txt rvm: - 2.1 - 2.2 <|file_sep|>updated/.travis.yml language: ruby python: "3.4" before_install: - curl "https://bootstrap.pypa.io/get-pip.py" -o "get-pip.py" - sudo python get-pip.py - python -V - pip -V install: - bundle install - sudo pip install -r requirements.txt rvm: - 2.1 - 2.2
f65f57e67e85983850b98da4b0c3e3f3dffc73f8
.travis.yml
.travis.yml
YAML
<|file_sep|>recipes/hkl/meta.yaml.diff original: skip: True # [py<36 or win] updated: skip: True # [py<36 or win or osx] <|file_sep|>original/recipes/hkl/meta.yaml requirements: build: - {{ compiler('c') }} - {{ compiler('cxx') }} - autoconf - automake - gobject-introspection - gsl - libtool - m4 - pkg-config - pygobject host: - python run: - python - gsl - libiconv - numpy - pcre - pygobject <|file_sep|>current/recipes/hkl/meta.yaml requirements: build: - {{ compiler('c') }} - {{ compiler('cxx') }} - autoconf - automake - gobject-introspection - gsl - libtool - m4 - pkg-config - pygobject host: - python run: - python - gsl - libiconv - numpy - pcre - pygobject <|file_sep|>updated/recipes/hkl/meta.yaml
requirements: build: - {{ compiler('c') }} - {{ compiler('cxx') }} - autoconf - automake - gobject-introspection - gsl - libtool - m4 - patchelf - pkg-config - pygobject host: - python run: - python - gsl - libiconv - numpy - pcre
<|file_sep|>recipes/hkl/meta.yaml.diff original: skip: True # [py<36 or win] updated: skip: True # [py<36 or win or osx] <|file_sep|>original/recipes/hkl/meta.yaml requirements: build: - {{ compiler('c') }} - {{ compiler('cxx') }} - autoconf - automake - gobject-introspection - gsl - libtool - m4 - pkg-config - pygobject host: - python run: - python - gsl - libiconv - numpy - pcre - pygobject <|file_sep|>current/recipes/hkl/meta.yaml requirements: build: - {{ compiler('c') }} - {{ compiler('cxx') }} - autoconf - automake - gobject-introspection - gsl - libtool - m4 - pkg-config - pygobject host: - python run: - python - gsl - libiconv - numpy - pcre - pygobject <|file_sep|>updated/recipes/hkl/meta.yaml requirements: build: - {{ compiler('c') }} - {{ compiler('cxx') }} - autoconf - automake - gobject-introspection - gsl - libtool - m4 - patchelf - pkg-config - pygobject host: - python run: - python - gsl - libiconv - numpy - pcre
a0fbe86587256b1e13dedf009695e94a3924742b
recipes/hkl/meta.yaml
recipes/hkl/meta.yaml
YAML
<|file_sep|>original/share/goodie/cheat_sheets/homebrew.json <|file_sep|>current/share/goodie/cheat_sheets/homebrew.json <|file_sep|>updated/share/goodie/cheat_sheets/homebrew.json
{ "id": "homebrew_cheat_sheet", "name": "Homebrew", "description": "The missing package manager for OS X", "metadata": { "sourceName": "Homebrew", "sourceUrl": "http://brew.sh/" }, "section_order": [ "Essential Commands", "Troubleshooting", "Brewing" ], "sections": { "Essential Commands": [ { "key": "brew info $FORMULA", "val": "Display information about formula." }, { "key": "brew home $FORMULA",
<|file_sep|>original/share/goodie/cheat_sheets/homebrew.json <|file_sep|>current/share/goodie/cheat_sheets/homebrew.json <|file_sep|>updated/share/goodie/cheat_sheets/homebrew.json { "id": "homebrew_cheat_sheet", "name": "Homebrew", "description": "The missing package manager for OS X", "metadata": { "sourceName": "Homebrew", "sourceUrl": "http://brew.sh/" }, "section_order": [ "Essential Commands", "Troubleshooting", "Brewing" ], "sections": { "Essential Commands": [ { "key": "brew info $FORMULA", "val": "Display information about formula." }, { "key": "brew home $FORMULA",
22ace93eb0051b796cd2895cc3816483b37f5a72
share/goodie/cheat_sheets/homebrew.json
share/goodie/cheat_sheets/homebrew.json
JSON
<|file_sep|>original/CMakeLists.txt cmake_minimum_required(VERSION 3.0) project(yardstick) set(YS_VERSION 0.1.0) if(WIN32) set(YS_BINDIR bin/${CMAKE_VS_PLATFORM_NAME}) set(YS_LIBDIR lib/${CMAKE_VS_PLATFORM_NAME}) elseif(CMAKE_SIZEOF_VOID_P MATCHES 8) SET(YS_BINDIR bin64) SET(YS_BINDIR lib64) else() SET(YS_BINDIR bin) SET(YS_BINDIR lib) endif() set(YS_INCDIR inc) add_subdirectory(src) configure_file(yardstick.nuspec.in yardstick.nuspec @ONLY) <|file_sep|>current/CMakeLists.txt cmake_minimum_required(VERSION 3.0) project(yardstick) set(YS_VERSION 0.1.0) if(WIN32) set(YS_BINDIR bin/${CMAKE_VS_PLATFORM_NAME}) set(YS_LIBDIR lib/${CMAKE_VS_PLATFORM_NAME}) elseif(CMAKE_SIZEOF_VOID_P MATCHES 8) SET(YS_BINDIR bin64) SET(YS_BINDIR lib64) else() SET(YS_BINDIR bin) SET(YS_BINDIR lib) endif() set(YS_INCDIR inc) add_subdirectory(src) configure_file(yardstick.nuspec.in yardstick.nuspec @ONLY) <|file_sep|>updated/CMakeLists.txt
cmake_minimum_required(VERSION 3.0) project(yardstick) set(YS_VERSION 0.1.0) if(WIN32) set(YS_BINDIR bin/${CMAKE_VS_PLATFORM_NAME}) set(YS_LIBDIR lib/${CMAKE_VS_PLATFORM_NAME}) elseif(CMAKE_SIZEOF_VOID_P MATCHES 8) SET(YS_BINDIR bin64) SET(YS_BINDIR lib64) else() SET(YS_BINDIR bin) SET(YS_BINDIR lib) endif() set(YS_INCDIR inc) add_subdirectory(src)
<|file_sep|>original/CMakeLists.txt cmake_minimum_required(VERSION 3.0) project(yardstick) set(YS_VERSION 0.1.0) if(WIN32) set(YS_BINDIR bin/${CMAKE_VS_PLATFORM_NAME}) set(YS_LIBDIR lib/${CMAKE_VS_PLATFORM_NAME}) elseif(CMAKE_SIZEOF_VOID_P MATCHES 8) SET(YS_BINDIR bin64) SET(YS_BINDIR lib64) else() SET(YS_BINDIR bin) SET(YS_BINDIR lib) endif() set(YS_INCDIR inc) add_subdirectory(src) configure_file(yardstick.nuspec.in yardstick.nuspec @ONLY) <|file_sep|>current/CMakeLists.txt cmake_minimum_required(VERSION 3.0) project(yardstick) set(YS_VERSION 0.1.0) if(WIN32) set(YS_BINDIR bin/${CMAKE_VS_PLATFORM_NAME}) set(YS_LIBDIR lib/${CMAKE_VS_PLATFORM_NAME}) elseif(CMAKE_SIZEOF_VOID_P MATCHES 8) SET(YS_BINDIR bin64) SET(YS_BINDIR lib64) else() SET(YS_BINDIR bin) SET(YS_BINDIR lib) endif() set(YS_INCDIR inc) add_subdirectory(src) configure_file(yardstick.nuspec.in yardstick.nuspec @ONLY) <|file_sep|>updated/CMakeLists.txt cmake_minimum_required(VERSION 3.0) project(yardstick) set(YS_VERSION 0.1.0) if(WIN32) set(YS_BINDIR bin/${CMAKE_VS_PLATFORM_NAME}) set(YS_LIBDIR lib/${CMAKE_VS_PLATFORM_NAME}) elseif(CMAKE_SIZEOF_VOID_P MATCHES 8) SET(YS_BINDIR bin64) SET(YS_BINDIR lib64) else() SET(YS_BINDIR bin) SET(YS_BINDIR lib) endif() set(YS_INCDIR inc) add_subdirectory(src)
ea87900e163f74c4997b050cfb66d70e87a057e6
CMakeLists.txt
CMakeLists.txt
Text
<|file_sep|>original/src/test/java/jp/ac/shibaura_it/se/tslab/aaextractor/predicate/attributes/KskipNgramCounterTest.java <|file_sep|>current/src/test/java/jp/ac/shibaura_it/se/tslab/aaextractor/predicate/attributes/KskipNgramCounterTest.java <|file_sep|>updated/src/test/java/jp/ac/shibaura_it/se/tslab/aaextractor/predicate/attributes/KskipNgramCounterTest.java
package jp.ac.shibaura_it.se.tslab.aaextractor.predicate.attributes; import static org.junit.Assert.*; import static org.hamcrest.core.Is.*; import java.util.ArrayList; import java.util.List; import org.junit.Test; public class KskipNgramCounterTest { @Test public void ひとつのKskipNgramの正規表現を生成する() { List<String> ngrams = new ArrayList<>(); ngrams.add("あいう"); ngrams.add("abc"); int kSkip = 2; KskipNgramCounter counter = new KskipNgramCounter(ngrams, kSkip); String actual = counter.insertKskipRex(ngrams.get(0), kSkip); String expected = "\\Qあ\\E.{0,2}\\Qい\\E.{0,2}\\Qう\\E";
<|file_sep|>original/src/test/java/jp/ac/shibaura_it/se/tslab/aaextractor/predicate/attributes/KskipNgramCounterTest.java <|file_sep|>current/src/test/java/jp/ac/shibaura_it/se/tslab/aaextractor/predicate/attributes/KskipNgramCounterTest.java <|file_sep|>updated/src/test/java/jp/ac/shibaura_it/se/tslab/aaextractor/predicate/attributes/KskipNgramCounterTest.java package jp.ac.shibaura_it.se.tslab.aaextractor.predicate.attributes; import static org.junit.Assert.*; import static org.hamcrest.core.Is.*; import java.util.ArrayList; import java.util.List; import org.junit.Test; public class KskipNgramCounterTest { @Test public void ひとつのKskipNgramの正規表現を生成する() { List<String> ngrams = new ArrayList<>(); ngrams.add("あいう"); ngrams.add("abc"); int kSkip = 2; KskipNgramCounter counter = new KskipNgramCounter(ngrams, kSkip); String actual = counter.insertKskipRex(ngrams.get(0), kSkip); String expected = "\\Qあ\\E.{0,2}\\Qい\\E.{0,2}\\Qう\\E";
6dbc6473f428b8332823b0b9e79463e990f57956
src/test/java/jp/ac/shibaura_it/se/tslab/aaextractor/predicate/attributes/KskipNgramCounterTest.java
src/test/java/jp/ac/shibaura_it/se/tslab/aaextractor/predicate/attributes/KskipNgramCounterTest.java
Java
<|file_sep|>src/grid-interaction.js.diff original: updated: this.isTouchDevice = 'ontouchstart' in window || navigator.maxTouchPoints }; <|file_sep|>original/src/grid-interaction.js } clear () { this.gh.clearCanvas() } render () { const x = MouseHandler.position().x const y = MouseHandler.position().y if (x !== this.oldX && y !== this.oldY) { this.oldX = x this.oldY = y const gPos = gtr.toGlobal(x, y) const isoCoord = getIsometricCoordinate(gPos.x, gPos.y) this.gh.clearCanvas() this.gh.fillStyle = 'rgba(0, 0, 0, 0.2)' this.gh.drawTriangle(isoCoord.a1, isoCoord.a2, isoCoord.right) } } } <|file_sep|>current/src/grid-interaction.js }; } clear () { this.gh.clearCanvas() } render () { const x = MouseHandler.position().x const y = MouseHandler.position().y if (x !== this.oldX && y !== this.oldY) { this.oldX = x this.oldY = y const gPos = gtr.toGlobal(x, y) const isoCoord = getIsometricCoordinate(gPos.x, gPos.y) this.gh.clearCanvas() this.gh.fillStyle = 'rgba(0, 0, 0, 0.2)' this.gh.drawTriangle(isoCoord.a1, isoCoord.a2, isoCoord.right) } } <|file_sep|>updated/src/grid-interaction.js
}; } clear () { this.gh.clearCanvas() } render () { const x = MouseHandler.position().x const y = MouseHandler.position().y if (!isTouchDevice && x !== this.oldX && y !== this.oldY) { this.oldX = x this.oldY = y const gPos = gtr.toGlobal(x, y) const isoCoord = getIsometricCoordinate(gPos.x, gPos.y) this.gh.clearCanvas() this.gh.fillStyle = 'rgba(0, 0, 0, 0.2)' this.gh.drawTriangle(isoCoord.a1, isoCoord.a2, isoCoord.right) } }
<|file_sep|>src/grid-interaction.js.diff original: updated: this.isTouchDevice = 'ontouchstart' in window || navigator.maxTouchPoints }; <|file_sep|>original/src/grid-interaction.js } clear () { this.gh.clearCanvas() } render () { const x = MouseHandler.position().x const y = MouseHandler.position().y if (x !== this.oldX && y !== this.oldY) { this.oldX = x this.oldY = y const gPos = gtr.toGlobal(x, y) const isoCoord = getIsometricCoordinate(gPos.x, gPos.y) this.gh.clearCanvas() this.gh.fillStyle = 'rgba(0, 0, 0, 0.2)' this.gh.drawTriangle(isoCoord.a1, isoCoord.a2, isoCoord.right) } } } <|file_sep|>current/src/grid-interaction.js }; } clear () { this.gh.clearCanvas() } render () { const x = MouseHandler.position().x const y = MouseHandler.position().y if (x !== this.oldX && y !== this.oldY) { this.oldX = x this.oldY = y const gPos = gtr.toGlobal(x, y) const isoCoord = getIsometricCoordinate(gPos.x, gPos.y) this.gh.clearCanvas() this.gh.fillStyle = 'rgba(0, 0, 0, 0.2)' this.gh.drawTriangle(isoCoord.a1, isoCoord.a2, isoCoord.right) } } <|file_sep|>updated/src/grid-interaction.js }; } clear () { this.gh.clearCanvas() } render () { const x = MouseHandler.position().x const y = MouseHandler.position().y if (!isTouchDevice && x !== this.oldX && y !== this.oldY) { this.oldX = x this.oldY = y const gPos = gtr.toGlobal(x, y) const isoCoord = getIsometricCoordinate(gPos.x, gPos.y) this.gh.clearCanvas() this.gh.fillStyle = 'rgba(0, 0, 0, 0.2)' this.gh.drawTriangle(isoCoord.a1, isoCoord.a2, isoCoord.right) } }
6e69926de990faac1132b2f434c493750766b101
src/grid-interaction.js
src/grid-interaction.js
JavaScript
<|file_sep|>original/project/build/GraphiteRelayProject.scala lazy val log4j = Dependencies.log4j lazy val scalatest = Dependencies.scalatest % "test" object Repositories { def jboss = "JBoss Repo" at "http://repository.jboss.org/nexus/content/groups/public/" def nexusSnapshots = "Nexus Snapshots" at "https://oss.sonatype.org/content/repositories/snapshots/" } object Dependencies { def guice = "com.google.inject" % "guice" % "3.0" def jodaTime = "joda-time" % "joda-time" % "1.6.2" def log4j = "log4j" % "log4j" % "1.2.16" def netty = "org.jboss.netty" % "netty" % "3.7.0.Final" def scalatest = "org.scalatest" % "scalatest" % "1.3" def scopt = "com.github.scopt" %% "scopt" % "1.1.1" } } <|file_sep|>current/project/build/GraphiteRelayProject.scala lazy val log4j = Dependencies.log4j lazy val scalatest = Dependencies.scalatest % "test" object Repositories { def jboss = "JBoss Repo" at "http://repository.jboss.org/nexus/content/groups/public/" def nexusSnapshots = "Nexus Snapshots" at "https://oss.sonatype.org/content/repositories/snapshots/" } object Dependencies { def guice = "com.google.inject" % "guice" % "3.0" def jodaTime = "joda-time" % "joda-time" % "1.6.2" def log4j = "log4j" % "log4j" % "1.2.16" def netty = "org.jboss.netty" % "netty" % "3.7.0.Final" def scalatest = "org.scalatest" % "scalatest" % "1.3" def scopt = "com.github.scopt" %% "scopt" % "1.1.1" } } <|file_sep|>updated/project/build/GraphiteRelayProject.scala
lazy val log4j = Dependencies.log4j lazy val scalatest = Dependencies.scalatest % "test" object Repositories { def jboss = "JBoss Repo" at "http://repository.jboss.org/nexus/content/groups/public/" def nexusSnapshots = "Nexus Snapshots" at "https://oss.sonatype.org/content/repositories/snapshots/" } object Dependencies { def guice = "com.google.inject" % "guice" % "3.0" def jodaTime = "joda-time" % "joda-time" % "1.6.2" def log4j = "log4j" % "log4j" % "1.2.16" def netty = "io.netty" % "netty" % "3.7.0.Final" def scalatest = "org.scalatest" % "scalatest" % "1.3" def scopt = "com.github.scopt" %% "scopt" % "1.1.1" } }
<|file_sep|>original/project/build/GraphiteRelayProject.scala lazy val log4j = Dependencies.log4j lazy val scalatest = Dependencies.scalatest % "test" object Repositories { def jboss = "JBoss Repo" at "http://repository.jboss.org/nexus/content/groups/public/" def nexusSnapshots = "Nexus Snapshots" at "https://oss.sonatype.org/content/repositories/snapshots/" } object Dependencies { def guice = "com.google.inject" % "guice" % "3.0" def jodaTime = "joda-time" % "joda-time" % "1.6.2" def log4j = "log4j" % "log4j" % "1.2.16" def netty = "org.jboss.netty" % "netty" % "3.7.0.Final" def scalatest = "org.scalatest" % "scalatest" % "1.3" def scopt = "com.github.scopt" %% "scopt" % "1.1.1" } } <|file_sep|>current/project/build/GraphiteRelayProject.scala lazy val log4j = Dependencies.log4j lazy val scalatest = Dependencies.scalatest % "test" object Repositories { def jboss = "JBoss Repo" at "http://repository.jboss.org/nexus/content/groups/public/" def nexusSnapshots = "Nexus Snapshots" at "https://oss.sonatype.org/content/repositories/snapshots/" } object Dependencies { def guice = "com.google.inject" % "guice" % "3.0" def jodaTime = "joda-time" % "joda-time" % "1.6.2" def log4j = "log4j" % "log4j" % "1.2.16" def netty = "org.jboss.netty" % "netty" % "3.7.0.Final" def scalatest = "org.scalatest" % "scalatest" % "1.3" def scopt = "com.github.scopt" %% "scopt" % "1.1.1" } } <|file_sep|>updated/project/build/GraphiteRelayProject.scala lazy val log4j = Dependencies.log4j lazy val scalatest = Dependencies.scalatest % "test" object Repositories { def jboss = "JBoss Repo" at "http://repository.jboss.org/nexus/content/groups/public/" def nexusSnapshots = "Nexus Snapshots" at "https://oss.sonatype.org/content/repositories/snapshots/" } object Dependencies { def guice = "com.google.inject" % "guice" % "3.0" def jodaTime = "joda-time" % "joda-time" % "1.6.2" def log4j = "log4j" % "log4j" % "1.2.16" def netty = "io.netty" % "netty" % "3.7.0.Final" def scalatest = "org.scalatest" % "scalatest" % "1.3" def scopt = "com.github.scopt" %% "scopt" % "1.1.1" } }
7ab0ac108d59aaf4f5d4bdb902ad3cafe36ca953
project/build/GraphiteRelayProject.scala
project/build/GraphiteRelayProject.scala
Scala
<|file_sep|>app/views/devise/registrations/new.html.haml.diff original: %h2 Sign up updated: - content_for :title, 'Sign up' %h1= yield :title %p Quickly fill in the information below, and we'll send you a confirmation email. You will then be able to edit division descriptions and policies. %br = link_to 'Log in to change settings if you already signed up', edit_user_registration_path %p What are you waiting for? It's free! <|file_sep|>app/views/devise/registrations/new.html.haml.diff original: = f.label :email updated: %b= f.label :email <|file_sep|>app/views/devise/registrations/new.html.haml.diff original: = f.label :password updated: %b= f.label 'Your name (first and last)' %br = f.text_field :real_name %div %b= f.label :password <|file_sep|>app/views/devise/registrations/new.html.haml.diff original: = f.label :password_confirmation updated: %b= f.label :password_confirmation <|file_sep|>app/views/devise/registrations/new.html.haml.diff original: updated: %p Privacy policy: Your email address and info will never be given to or sold to third parties. Your login will let you edit policies and division descriptions and will display your name on division editing histories. Any changes to this policy will require your explicit agreement. <|file_sep|>original/app/views/devise/registrations/new.html.haml = form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f| = devise_error_messages! %div = f.label :email %br = f.email_field :email, autofocus: true %div = f.label :password %br = f.password_field :password, autocomplete: "off" %div = f.label :password_confirmation %br = f.password_field :password_confirmation, autocomplete: "off" %div= f.submit "Sign up" = render "devise/shared/links" <|file_sep|>current/app/views/devise/registrations/new.html.haml = f.text_field :real_name %div %b= f.label :password %br = f.password_field :password, autocomplete: "off" %div %b= f.label :password_confirmation %br = f.password_field :password_confirmation, autocomplete: "off" %p Privacy policy: Your email address and info will never be given to or sold to third parties. Your login will let you edit policies and division descriptions and will display your name on division editing histories. Any changes to this policy will require your explicit agreement. %div= f.submit "Sign up" = render "devise/shared/links" <|file_sep|>updated/app/views/devise/registrations/new.html.haml
%b= f.label 'Your name (first and last)' %br = f.text_field :real_name %div %b= f.label :password %br = f.password_field :password, autocomplete: "off" %div %b= f.label :password_confirmation %br = f.password_field :password_confirmation, autocomplete: "off" %p Privacy policy: Your email address and info will never be given to or sold to third parties. Your login will let you edit policies and division descriptions and will display your name on division editing histories. Any changes to this policy will require your explicit agreement. %div= f.submit "Sign up"
<|file_sep|>app/views/devise/registrations/new.html.haml.diff original: %h2 Sign up updated: - content_for :title, 'Sign up' %h1= yield :title %p Quickly fill in the information below, and we'll send you a confirmation email. You will then be able to edit division descriptions and policies. %br = link_to 'Log in to change settings if you already signed up', edit_user_registration_path %p What are you waiting for? It's free! <|file_sep|>app/views/devise/registrations/new.html.haml.diff original: = f.label :email updated: %b= f.label :email <|file_sep|>app/views/devise/registrations/new.html.haml.diff original: = f.label :password updated: %b= f.label 'Your name (first and last)' %br = f.text_field :real_name %div %b= f.label :password <|file_sep|>app/views/devise/registrations/new.html.haml.diff original: = f.label :password_confirmation updated: %b= f.label :password_confirmation <|file_sep|>app/views/devise/registrations/new.html.haml.diff original: updated: %p Privacy policy: Your email address and info will never be given to or sold to third parties. Your login will let you edit policies and division descriptions and will display your name on division editing histories. Any changes to this policy will require your explicit agreement. <|file_sep|>original/app/views/devise/registrations/new.html.haml = form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f| = devise_error_messages! %div = f.label :email %br = f.email_field :email, autofocus: true %div = f.label :password %br = f.password_field :password, autocomplete: "off" %div = f.label :password_confirmation %br = f.password_field :password_confirmation, autocomplete: "off" %div= f.submit "Sign up" = render "devise/shared/links" <|file_sep|>current/app/views/devise/registrations/new.html.haml = f.text_field :real_name %div %b= f.label :password %br = f.password_field :password, autocomplete: "off" %div %b= f.label :password_confirmation %br = f.password_field :password_confirmation, autocomplete: "off" %p Privacy policy: Your email address and info will never be given to or sold to third parties. Your login will let you edit policies and division descriptions and will display your name on division editing histories. Any changes to this policy will require your explicit agreement. %div= f.submit "Sign up" = render "devise/shared/links" <|file_sep|>updated/app/views/devise/registrations/new.html.haml %b= f.label 'Your name (first and last)' %br = f.text_field :real_name %div %b= f.label :password %br = f.password_field :password, autocomplete: "off" %div %b= f.label :password_confirmation %br = f.password_field :password_confirmation, autocomplete: "off" %p Privacy policy: Your email address and info will never be given to or sold to third parties. Your login will let you edit policies and division descriptions and will display your name on division editing histories. Any changes to this policy will require your explicit agreement. %div= f.submit "Sign up"
768386b5be282d0dbbaccceb6bda3e156e90bd81
app/views/devise/registrations/new.html.haml
app/views/devise/registrations/new.html.haml
Haml
<|file_sep|>original/python/use_decorator.py <|file_sep|>current/python/use_decorator.py <|file_sep|>updated/python/use_decorator.py
#class to print out the x, y coordinate class Coordinate(object): def __init__(self, x, y): self.x = x self.y = y def __repr__(self): return "Coord: " + str(self.__dict__) #function to add def add(a, b): return Coordinate(a.x + b.x, a.y + b.y) #function to substract def sub(a, b): return Coordinate(a.x - b.x, a.y - b.y) one = Coordinate(100, 200) two = Coordinate(300, 200) def wrapper(func): def checker(a, b): # 1 if a.x < 0 or a.y < 0:
<|file_sep|>original/python/use_decorator.py <|file_sep|>current/python/use_decorator.py <|file_sep|>updated/python/use_decorator.py #class to print out the x, y coordinate class Coordinate(object): def __init__(self, x, y): self.x = x self.y = y def __repr__(self): return "Coord: " + str(self.__dict__) #function to add def add(a, b): return Coordinate(a.x + b.x, a.y + b.y) #function to substract def sub(a, b): return Coordinate(a.x - b.x, a.y - b.y) one = Coordinate(100, 200) two = Coordinate(300, 200) def wrapper(func): def checker(a, b): # 1 if a.x < 0 or a.y < 0:
be8b2f0d82131f04bd4c3e4d8d4a017734e4efa6
python/use_decorator.py
python/use_decorator.py
Python
<|file_sep|>original/.github/workflows/options.yml <|file_sep|>current/.github/workflows/options.yml <|file_sep|>updated/.github/workflows/options.yml
name: options on: push: pull_request: jobs: validate-conf: strategy: matrix: node-version: - 14 runs-on: ubuntu-latest steps: - name: Checkout code uses: actions/checkout@v2 - name: Set up Node.js ${{ matrix.node-version }} uses: actions/setup-node@v2
<|file_sep|>original/.github/workflows/options.yml <|file_sep|>current/.github/workflows/options.yml <|file_sep|>updated/.github/workflows/options.yml name: options on: push: pull_request: jobs: validate-conf: strategy: matrix: node-version: - 14 runs-on: ubuntu-latest steps: - name: Checkout code uses: actions/checkout@v2 - name: Set up Node.js ${{ matrix.node-version }} uses: actions/setup-node@v2
2632dc6c01e98d49e4d37ffbe97f736d1fa0ecc2
.github/workflows/options.yml
.github/workflows/options.yml
YAML
<|file_sep|>original/snyk-test-requirements/requirements.txt --index-url https://pypi.sunet.se/simple/ -r ../requirements/prod.txt <|file_sep|>current/snyk-test-requirements/requirements.txt --index-url https://pypi.sunet.se/simple/ -r ../requirements/prod.txt <|file_sep|>updated/snyk-test-requirements/requirements.txt
--index-url https://pypi.sunet.se/simple/ blinker coverage==3.6 cryptography>=2.0.3 eduid-am>=0.6.2b2 eduid-common>=0.3.2b16 eduid_lookup_mobile>=0.0.6b3 eduid-msg>=0.10.3b0 eduid-userdb>=0.4.0b2 Flask>=0.12,<0.13 flask-babel>=0.11.1 gunicorn hammock>=0.2.4 jose>=0.3.0 marshmallow>=2.10,<2.11 mock==1.0.1 nose==1.2.1 nosexcover==1.0.8 oic==0.8.3 Pillow>=3.0.0 pynacl>=1.0.1
<|file_sep|>original/snyk-test-requirements/requirements.txt --index-url https://pypi.sunet.se/simple/ -r ../requirements/prod.txt <|file_sep|>current/snyk-test-requirements/requirements.txt --index-url https://pypi.sunet.se/simple/ -r ../requirements/prod.txt <|file_sep|>updated/snyk-test-requirements/requirements.txt --index-url https://pypi.sunet.se/simple/ blinker coverage==3.6 cryptography>=2.0.3 eduid-am>=0.6.2b2 eduid-common>=0.3.2b16 eduid_lookup_mobile>=0.0.6b3 eduid-msg>=0.10.3b0 eduid-userdb>=0.4.0b2 Flask>=0.12,<0.13 flask-babel>=0.11.1 gunicorn hammock>=0.2.4 jose>=0.3.0 marshmallow>=2.10,<2.11 mock==1.0.1 nose==1.2.1 nosexcover==1.0.8 oic==0.8.3 Pillow>=3.0.0 pynacl>=1.0.1
fa524468d5fe566ad80d43a4e8308c29d88361ff
snyk-test-requirements/requirements.txt
snyk-test-requirements/requirements.txt
Text
<|file_sep|>original/src/components/views/elements/StartChatButton.js limitations under the License. */ import React from 'react'; import sdk from '../../../index'; import PropTypes from 'prop-types'; const StartChatButton = function(props) { const ActionButton = sdk.getComponent('elements.ActionButton'); return ( <ActionButton action="view_create_chat" label="Start chat" iconPath="img/icons-people.svg" size={props.size} tooltip={props.tooltip} /> ); }; StartChatButton.propTypes = { size: PropTypes.string, <|file_sep|>current/src/components/views/elements/StartChatButton.js limitations under the License. */ import React from 'react'; import sdk from '../../../index'; import PropTypes from 'prop-types'; const StartChatButton = function(props) { const ActionButton = sdk.getComponent('elements.ActionButton'); return ( <ActionButton action="view_create_chat" label="Start chat" iconPath="img/icons-people.svg" size={props.size} tooltip={props.tooltip} /> ); }; StartChatButton.propTypes = { size: PropTypes.string, <|file_sep|>updated/src/components/views/elements/StartChatButton.js
limitations under the License. */ import React from 'react'; import sdk from '../../../index'; import PropTypes from 'prop-types'; const StartChatButton = function(props) { const ActionButton = sdk.getComponent('elements.ActionButton'); return ( <ActionButton action="start_chat" label="Start chat" iconPath="img/icons-people.svg" size={props.size} tooltip={props.tooltip} /> ); }; StartChatButton.propTypes = { size: PropTypes.string,
<|file_sep|>original/src/components/views/elements/StartChatButton.js limitations under the License. */ import React from 'react'; import sdk from '../../../index'; import PropTypes from 'prop-types'; const StartChatButton = function(props) { const ActionButton = sdk.getComponent('elements.ActionButton'); return ( <ActionButton action="view_create_chat" label="Start chat" iconPath="img/icons-people.svg" size={props.size} tooltip={props.tooltip} /> ); }; StartChatButton.propTypes = { size: PropTypes.string, <|file_sep|>current/src/components/views/elements/StartChatButton.js limitations under the License. */ import React from 'react'; import sdk from '../../../index'; import PropTypes from 'prop-types'; const StartChatButton = function(props) { const ActionButton = sdk.getComponent('elements.ActionButton'); return ( <ActionButton action="view_create_chat" label="Start chat" iconPath="img/icons-people.svg" size={props.size} tooltip={props.tooltip} /> ); }; StartChatButton.propTypes = { size: PropTypes.string, <|file_sep|>updated/src/components/views/elements/StartChatButton.js limitations under the License. */ import React from 'react'; import sdk from '../../../index'; import PropTypes from 'prop-types'; const StartChatButton = function(props) { const ActionButton = sdk.getComponent('elements.ActionButton'); return ( <ActionButton action="start_chat" label="Start chat" iconPath="img/icons-people.svg" size={props.size} tooltip={props.tooltip} /> ); }; StartChatButton.propTypes = { size: PropTypes.string,
f8d1a6d24042925692827f6ee100416a34fa516f
src/components/views/elements/StartChatButton.js
src/components/views/elements/StartChatButton.js
JavaScript
<|file_sep|>.travis.yml.diff original: updated: - 5.4 <|file_sep|>.travis.yml.diff original: updated: - 5.6 - hhvm <|file_sep|>.travis.yml.diff original: - pyrus install pear/PHP_CodeSniffer - phpenv rehash updated: <|file_sep|>original/.travis.yml language: php php: - 5.5 before_script: - composer install --prefer-source --no-interaction - pyrus install pear/PHP_CodeSniffer - phpenv rehash script: - php phing.phar <|file_sep|>current/.travis.yml language: php php: - 5.4 - 5.5 - 5.6 - hhvm before_script: - composer install --prefer-source --no-interaction script: - php phing.phar <|file_sep|>updated/.travis.yml
language: php php: - 5.4 - 5.5 - 5.6 - hhvm before_script: - composer install --prefer-source --no-interaction script: - php phing.phar default-ci
<|file_sep|>.travis.yml.diff original: updated: - 5.4 <|file_sep|>.travis.yml.diff original: updated: - 5.6 - hhvm <|file_sep|>.travis.yml.diff original: - pyrus install pear/PHP_CodeSniffer - phpenv rehash updated: <|file_sep|>original/.travis.yml language: php php: - 5.5 before_script: - composer install --prefer-source --no-interaction - pyrus install pear/PHP_CodeSniffer - phpenv rehash script: - php phing.phar <|file_sep|>current/.travis.yml language: php php: - 5.4 - 5.5 - 5.6 - hhvm before_script: - composer install --prefer-source --no-interaction script: - php phing.phar <|file_sep|>updated/.travis.yml language: php php: - 5.4 - 5.5 - 5.6 - hhvm before_script: - composer install --prefer-source --no-interaction script: - php phing.phar default-ci
ecb048e5a1291c5b78b2c4a66a652d319850907b
.travis.yml
.travis.yml
YAML
<|file_sep|>original/_footer.php </div><!--/container--> <!-- script references --> <script src="//ajax.googleapis.com/ajax/libs/jquery/2.0.2/jquery.min.js"></script> <script src="js/bootstrap.min.js"></script> <script src="js/scripts.js"></script> </body> </html> <|file_sep|>current/_footer.php </div><!--/container--> <!-- script references --> <script src="//ajax.googleapis.com/ajax/libs/jquery/2.0.2/jquery.min.js"></script> <script src="js/bootstrap.min.js"></script> <script src="js/scripts.js"></script> </body> </html> <|file_sep|>updated/_footer.php
</div><!--/container--> <!-- script references --> <script src="//ajax.googleapis.com/ajax/libs/jquery/2.0.2/jquery.min.js"></script> <!--<script src="js/bootstrap.min.js"></script> <script src="js/scripts.js"></script>--> </body> </html>
<|file_sep|>original/_footer.php </div><!--/container--> <!-- script references --> <script src="//ajax.googleapis.com/ajax/libs/jquery/2.0.2/jquery.min.js"></script> <script src="js/bootstrap.min.js"></script> <script src="js/scripts.js"></script> </body> </html> <|file_sep|>current/_footer.php </div><!--/container--> <!-- script references --> <script src="//ajax.googleapis.com/ajax/libs/jquery/2.0.2/jquery.min.js"></script> <script src="js/bootstrap.min.js"></script> <script src="js/scripts.js"></script> </body> </html> <|file_sep|>updated/_footer.php </div><!--/container--> <!-- script references --> <script src="//ajax.googleapis.com/ajax/libs/jquery/2.0.2/jquery.min.js"></script> <!--<script src="js/bootstrap.min.js"></script> <script src="js/scripts.js"></script>--> </body> </html>
2935f369c0aed3940d010b63e31c22f648c46bb6
_footer.php
_footer.php
PHP
<|file_sep|>original/yolk/__init__.py """yolk. Author: Rob Cakebread <cakebread at gmail> License : BSD """ __version__ = '0.7.2' <|file_sep|>current/yolk/__init__.py """yolk. Author: Rob Cakebread <cakebread at gmail> License : BSD """ __version__ = '0.7.2' <|file_sep|>updated/yolk/__init__.py
"""yolk. Author: Rob Cakebread <cakebread at gmail> License : BSD """ __version__ = '0.7.3'
<|file_sep|>original/yolk/__init__.py """yolk. Author: Rob Cakebread <cakebread at gmail> License : BSD """ __version__ = '0.7.2' <|file_sep|>current/yolk/__init__.py """yolk. Author: Rob Cakebread <cakebread at gmail> License : BSD """ __version__ = '0.7.2' <|file_sep|>updated/yolk/__init__.py """yolk. Author: Rob Cakebread <cakebread at gmail> License : BSD """ __version__ = '0.7.3'
b510b01b1a67ab5a606eefb251f6649d2b238ccc
yolk/__init__.py
yolk/__init__.py
Python
<|file_sep|>original/console/kubernetes/darzee-network-policy.yaml kind: NetworkPolicy apiVersion: networking.k8s.io/v1 metadata: name: web-allow-all namespace: default spec: podSelector: matchLabels: app: web ingress: - {} <|file_sep|>current/console/kubernetes/darzee-network-policy.yaml kind: NetworkPolicy apiVersion: networking.k8s.io/v1 metadata: name: web-allow-all namespace: default spec: podSelector: matchLabels: app: web ingress: - {} <|file_sep|>updated/console/kubernetes/darzee-network-policy.yaml
kind: NetworkPolicy apiVersion: networking.k8s.io/v1 metadata: name: web-allow-all namespace: default spec: podSelector: matchLabels: app: darzee ingress: - {}
<|file_sep|>original/console/kubernetes/darzee-network-policy.yaml kind: NetworkPolicy apiVersion: networking.k8s.io/v1 metadata: name: web-allow-all namespace: default spec: podSelector: matchLabels: app: web ingress: - {} <|file_sep|>current/console/kubernetes/darzee-network-policy.yaml kind: NetworkPolicy apiVersion: networking.k8s.io/v1 metadata: name: web-allow-all namespace: default spec: podSelector: matchLabels: app: web ingress: - {} <|file_sep|>updated/console/kubernetes/darzee-network-policy.yaml kind: NetworkPolicy apiVersion: networking.k8s.io/v1 metadata: name: web-allow-all namespace: default spec: podSelector: matchLabels: app: darzee ingress: - {}
8c19c822c2a4af97318b7614b113e92fa22aa4a3
console/kubernetes/darzee-network-policy.yaml
console/kubernetes/darzee-network-policy.yaml
YAML
<|file_sep|>original/bin/testfiles/jmeter-batch.properties ## contributor license agreements. See the NOTICE file distributed with ## this work for additional information regarding copyright ownership. ## The ASF licenses this file to You under the Apache License, Version 2.0 ## (the "License"); you may not use this file except in compliance with ## the License. You may obtain a copy of the License at ## ## http://www.apache.org/licenses/LICENSE-2.0 ## ## Unless required by applicable law or agreed to in writing, software ## distributed under the License is distributed on an "AS IS" BASIS, ## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. ## See the License for the specific language governing permissions and ## limitations under the License. # Ensure log is empty by default log_level.jmeter=WARN # Revert to original default mode mode=Standard # Since JMeter 2.12, defaults for this property is true jmeter.save.saveservice.thread_counts=false <|file_sep|>current/bin/testfiles/jmeter-batch.properties ## contributor license agreements. See the NOTICE file distributed with ## this work for additional information regarding copyright ownership. ## The ASF licenses this file to You under the Apache License, Version 2.0 ## (the "License"); you may not use this file except in compliance with ## the License. You may obtain a copy of the License at ## ## http://www.apache.org/licenses/LICENSE-2.0 ## ## Unless required by applicable law or agreed to in writing, software ## distributed under the License is distributed on an "AS IS" BASIS, ## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. ## See the License for the specific language governing permissions and ## limitations under the License. # Ensure log is empty by default log_level.jmeter=WARN # Revert to original default mode mode=Standard # Since JMeter 2.12, defaults for this property is true jmeter.save.saveservice.thread_counts=false <|file_sep|>updated/bin/testfiles/jmeter-batch.properties
## (the "License"); you may not use this file except in compliance with ## the License. You may obtain a copy of the License at ## ## http://www.apache.org/licenses/LICENSE-2.0 ## ## Unless required by applicable law or agreed to in writing, software ## distributed under the License is distributed on an "AS IS" BASIS, ## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. ## See the License for the specific language governing permissions and ## limitations under the License. # Ensure log is empty by default log_level.jmeter=WARN # Ignore message about keystore created by TEST_HTTPS log_level.jmeter.util.SSLManager=ERROR # Revert to original default mode mode=Standard # Since JMeter 2.12, defaults for this property is true jmeter.save.saveservice.thread_counts=false
<|file_sep|>original/bin/testfiles/jmeter-batch.properties ## contributor license agreements. See the NOTICE file distributed with ## this work for additional information regarding copyright ownership. ## The ASF licenses this file to You under the Apache License, Version 2.0 ## (the "License"); you may not use this file except in compliance with ## the License. You may obtain a copy of the License at ## ## http://www.apache.org/licenses/LICENSE-2.0 ## ## Unless required by applicable law or agreed to in writing, software ## distributed under the License is distributed on an "AS IS" BASIS, ## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. ## See the License for the specific language governing permissions and ## limitations under the License. # Ensure log is empty by default log_level.jmeter=WARN # Revert to original default mode mode=Standard # Since JMeter 2.12, defaults for this property is true jmeter.save.saveservice.thread_counts=false <|file_sep|>current/bin/testfiles/jmeter-batch.properties ## contributor license agreements. See the NOTICE file distributed with ## this work for additional information regarding copyright ownership. ## The ASF licenses this file to You under the Apache License, Version 2.0 ## (the "License"); you may not use this file except in compliance with ## the License. You may obtain a copy of the License at ## ## http://www.apache.org/licenses/LICENSE-2.0 ## ## Unless required by applicable law or agreed to in writing, software ## distributed under the License is distributed on an "AS IS" BASIS, ## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. ## See the License for the specific language governing permissions and ## limitations under the License. # Ensure log is empty by default log_level.jmeter=WARN # Revert to original default mode mode=Standard # Since JMeter 2.12, defaults for this property is true jmeter.save.saveservice.thread_counts=false <|file_sep|>updated/bin/testfiles/jmeter-batch.properties ## (the "License"); you may not use this file except in compliance with ## the License. You may obtain a copy of the License at ## ## http://www.apache.org/licenses/LICENSE-2.0 ## ## Unless required by applicable law or agreed to in writing, software ## distributed under the License is distributed on an "AS IS" BASIS, ## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. ## See the License for the specific language governing permissions and ## limitations under the License. # Ensure log is empty by default log_level.jmeter=WARN # Ignore message about keystore created by TEST_HTTPS log_level.jmeter.util.SSLManager=ERROR # Revert to original default mode mode=Standard # Since JMeter 2.12, defaults for this property is true jmeter.save.saveservice.thread_counts=false
b7ca193eda9e6aaaf880d4d5785c48295007829c
bin/testfiles/jmeter-batch.properties
bin/testfiles/jmeter-batch.properties
INI
<|file_sep|>original/bower.json "**/.*", "node_modules", "bower_components", "output" ], "dependencies": { "purescript-prelude": "^2.0.0", "purescript-maps": "^2.0.0", "purescript-eff": "^2.0.0", "purescript-generics": "^3.1.0", "purescript-strings": "^2.0.2", "purescript-foldable-traversable": "^2.0.0", "purescript-control": "^2.0.0", "purescript-transformers": "^2.0.2" }, "devDependencies": { "purescript-psci-support": "^2.0.0", "purescript-spec": "^0.10.0", "purescript-spec-discovery": "^0.2.0" } } <|file_sep|>current/bower.json "**/.*", "node_modules", "bower_components", "output" ], "dependencies": { "purescript-prelude": "^2.0.0", "purescript-maps": "^2.0.0", "purescript-eff": "^2.0.0", "purescript-generics": "^3.1.0", "purescript-strings": "^2.0.2", "purescript-foldable-traversable": "^2.0.0", "purescript-control": "^2.0.0", "purescript-transformers": "^2.0.2" }, "devDependencies": { "purescript-psci-support": "^2.0.0", "purescript-spec": "^0.10.0", "purescript-spec-discovery": "^0.2.0" } } <|file_sep|>updated/bower.json
"node_modules", "bower_components", "output" ], "dependencies": { "purescript-prelude": "^2.0.0", "purescript-maps": "^2.0.0", "purescript-eff": "^2.0.0", "purescript-generics": "^3.1.0", "purescript-strings": "^2.0.2", "purescript-foldable-traversable": "^2.0.0", "purescript-control": "^2.0.0", "purescript-transformers": "^2.0.2", "purescript-leibniz": "^2.0.0" }, "devDependencies": { "purescript-psci-support": "^2.0.0", "purescript-spec": "^0.10.0", "purescript-spec-discovery": "^0.2.0" } }
<|file_sep|>original/bower.json "**/.*", "node_modules", "bower_components", "output" ], "dependencies": { "purescript-prelude": "^2.0.0", "purescript-maps": "^2.0.0", "purescript-eff": "^2.0.0", "purescript-generics": "^3.1.0", "purescript-strings": "^2.0.2", "purescript-foldable-traversable": "^2.0.0", "purescript-control": "^2.0.0", "purescript-transformers": "^2.0.2" }, "devDependencies": { "purescript-psci-support": "^2.0.0", "purescript-spec": "^0.10.0", "purescript-spec-discovery": "^0.2.0" } } <|file_sep|>current/bower.json "**/.*", "node_modules", "bower_components", "output" ], "dependencies": { "purescript-prelude": "^2.0.0", "purescript-maps": "^2.0.0", "purescript-eff": "^2.0.0", "purescript-generics": "^3.1.0", "purescript-strings": "^2.0.2", "purescript-foldable-traversable": "^2.0.0", "purescript-control": "^2.0.0", "purescript-transformers": "^2.0.2" }, "devDependencies": { "purescript-psci-support": "^2.0.0", "purescript-spec": "^0.10.0", "purescript-spec-discovery": "^0.2.0" } } <|file_sep|>updated/bower.json "node_modules", "bower_components", "output" ], "dependencies": { "purescript-prelude": "^2.0.0", "purescript-maps": "^2.0.0", "purescript-eff": "^2.0.0", "purescript-generics": "^3.1.0", "purescript-strings": "^2.0.2", "purescript-foldable-traversable": "^2.0.0", "purescript-control": "^2.0.0", "purescript-transformers": "^2.0.2", "purescript-leibniz": "^2.0.0" }, "devDependencies": { "purescript-psci-support": "^2.0.0", "purescript-spec": "^0.10.0", "purescript-spec-discovery": "^0.2.0" } }
612e3af9f37111d6968afdbb3b52a2f88e09b96d
bower.json
bower.json
JSON
<|file_sep|>assistant/utils.js.diff original: updated: function uncapitalizeFirstLetter (string) { return string.charAt(0).toLowerCase() + string.slice(1); } <|file_sep|>assistant/utils.js.diff original: switch (value) { updated: const val = uncapitalizeFirstLetter(value); switch (val) { <|file_sep|>assistant/utils.js.diff original: valueId = value; updated: valueId = val; <|file_sep|>assistant/utils.js.diff original: valueId = value; updated: valueId = val; <|file_sep|>assistant/utils.js.diff original: valueId = value; updated: valueId = val; <|file_sep|>original/assistant/utils.js measureUnit = ' Pa'; break; case 'altitude': valueId = value; measureUnit = ' m'; break; case 'wind velocity': valueId = 'wind_kph'; measureUnit = ' kph'; break; } return { valueId: valueId, measureUnit: measureUnit } } module.exports = { normalizeName, getKeyAndUnit }; <|file_sep|>current/assistant/utils.js break; case 'pressure': valueId = val; measureUnit = ' Pa'; break; case 'sea level pressure': valueId = 'sealevel_pressure'; measureUnit = ' Pa'; break; case 'altitude': valueId = value; measureUnit = ' m'; break; case 'wind velocity': valueId = 'wind_kph'; measureUnit = ' kph'; break; } return { valueId: valueId, measureUnit: measureUnit <|file_sep|>updated/assistant/utils.js
break; case 'pressure': valueId = val; measureUnit = ' Pa'; break; case 'sea level pressure': valueId = 'sealevel_pressure'; measureUnit = ' Pa'; break; case 'altitude': valueId = val; measureUnit = ' m'; break; case 'wind velocity': valueId = 'wind_kph'; measureUnit = ' kph'; break; } return { valueId: valueId, measureUnit: measureUnit
<|file_sep|>assistant/utils.js.diff original: updated: function uncapitalizeFirstLetter (string) { return string.charAt(0).toLowerCase() + string.slice(1); } <|file_sep|>assistant/utils.js.diff original: switch (value) { updated: const val = uncapitalizeFirstLetter(value); switch (val) { <|file_sep|>assistant/utils.js.diff original: valueId = value; updated: valueId = val; <|file_sep|>assistant/utils.js.diff original: valueId = value; updated: valueId = val; <|file_sep|>assistant/utils.js.diff original: valueId = value; updated: valueId = val; <|file_sep|>original/assistant/utils.js measureUnit = ' Pa'; break; case 'altitude': valueId = value; measureUnit = ' m'; break; case 'wind velocity': valueId = 'wind_kph'; measureUnit = ' kph'; break; } return { valueId: valueId, measureUnit: measureUnit } } module.exports = { normalizeName, getKeyAndUnit }; <|file_sep|>current/assistant/utils.js break; case 'pressure': valueId = val; measureUnit = ' Pa'; break; case 'sea level pressure': valueId = 'sealevel_pressure'; measureUnit = ' Pa'; break; case 'altitude': valueId = value; measureUnit = ' m'; break; case 'wind velocity': valueId = 'wind_kph'; measureUnit = ' kph'; break; } return { valueId: valueId, measureUnit: measureUnit <|file_sep|>updated/assistant/utils.js break; case 'pressure': valueId = val; measureUnit = ' Pa'; break; case 'sea level pressure': valueId = 'sealevel_pressure'; measureUnit = ' Pa'; break; case 'altitude': valueId = val; measureUnit = ' m'; break; case 'wind velocity': valueId = 'wind_kph'; measureUnit = ' kph'; break; } return { valueId: valueId, measureUnit: measureUnit
05edf964c50eac5f6668c6980d33d3d7aa8aba87
assistant/utils.js
assistant/utils.js
JavaScript
<|file_sep|>original/setup.cfg [metadata] name = dsmtpd version = attr: dsmtpd.__version__ url = https://github.com/matrixise/dsmtpd description = Simple SMTP Server for debugging long_description = file: README.rst, CHANGES.rst long_description_content_type = "text/x-rst" author = Stéphane Wirtel author_email = stephane@wirtel.be license = BSD classifiers = Development Status :: 5 - Production/Stable Environment :: Console License :: OSI Approved :: BSD License Programming Language :: Python :: 3 :: Only Programming Language :: Python :: 3 Programming Language :: Python :: 3.6 Programming Language :: Python :: 3.7 Programming Language :: Python :: 3.8 Programming Language :: Python :: 3.9 Topic :: Communications :: Email <|file_sep|>current/setup.cfg [metadata] name = dsmtpd version = attr: dsmtpd.__version__ url = https://github.com/matrixise/dsmtpd description = Simple SMTP Server for debugging long_description = file: README.rst, CHANGES.rst long_description_content_type = "text/x-rst" author = Stéphane Wirtel author_email = stephane@wirtel.be license = BSD classifiers = Development Status :: 5 - Production/Stable Environment :: Console License :: OSI Approved :: BSD License Programming Language :: Python :: 3 :: Only Programming Language :: Python :: 3 Programming Language :: Python :: 3.6 Programming Language :: Python :: 3.7 Programming Language :: Python :: 3.8 Programming Language :: Python :: 3.9 Topic :: Communications :: Email <|file_sep|>updated/setup.cfg
[metadata] name = dsmtpd version = attr: dsmtpd.__version__ url = https://github.com/matrixise/dsmtpd description = Simple SMTP Server for debugging long_description = file: README.rst, CHANGES.rst long_description_content_type = text/x-rst author = Stéphane Wirtel author_email = stephane@wirtel.be license = BSD classifiers = Development Status :: 5 - Production/Stable Environment :: Console License :: OSI Approved :: BSD License Programming Language :: Python :: 3 :: Only Programming Language :: Python :: 3 Programming Language :: Python :: 3.6 Programming Language :: Python :: 3.7 Programming Language :: Python :: 3.8 Programming Language :: Python :: 3.9 Topic :: Communications :: Email
<|file_sep|>original/setup.cfg [metadata] name = dsmtpd version = attr: dsmtpd.__version__ url = https://github.com/matrixise/dsmtpd description = Simple SMTP Server for debugging long_description = file: README.rst, CHANGES.rst long_description_content_type = "text/x-rst" author = Stéphane Wirtel author_email = stephane@wirtel.be license = BSD classifiers = Development Status :: 5 - Production/Stable Environment :: Console License :: OSI Approved :: BSD License Programming Language :: Python :: 3 :: Only Programming Language :: Python :: 3 Programming Language :: Python :: 3.6 Programming Language :: Python :: 3.7 Programming Language :: Python :: 3.8 Programming Language :: Python :: 3.9 Topic :: Communications :: Email <|file_sep|>current/setup.cfg [metadata] name = dsmtpd version = attr: dsmtpd.__version__ url = https://github.com/matrixise/dsmtpd description = Simple SMTP Server for debugging long_description = file: README.rst, CHANGES.rst long_description_content_type = "text/x-rst" author = Stéphane Wirtel author_email = stephane@wirtel.be license = BSD classifiers = Development Status :: 5 - Production/Stable Environment :: Console License :: OSI Approved :: BSD License Programming Language :: Python :: 3 :: Only Programming Language :: Python :: 3 Programming Language :: Python :: 3.6 Programming Language :: Python :: 3.7 Programming Language :: Python :: 3.8 Programming Language :: Python :: 3.9 Topic :: Communications :: Email <|file_sep|>updated/setup.cfg [metadata] name = dsmtpd version = attr: dsmtpd.__version__ url = https://github.com/matrixise/dsmtpd description = Simple SMTP Server for debugging long_description = file: README.rst, CHANGES.rst long_description_content_type = text/x-rst author = Stéphane Wirtel author_email = stephane@wirtel.be license = BSD classifiers = Development Status :: 5 - Production/Stable Environment :: Console License :: OSI Approved :: BSD License Programming Language :: Python :: 3 :: Only Programming Language :: Python :: 3 Programming Language :: Python :: 3.6 Programming Language :: Python :: 3.7 Programming Language :: Python :: 3.8 Programming Language :: Python :: 3.9 Topic :: Communications :: Email
1ea5688fe35606cf4de094701c54d3ecfffab5bc
setup.cfg
setup.cfg
INI
<|file_sep|>angular-typescript-webpack-jasmine/webpack/webpack.test.js.diff original: const loaders = require("./loaders"); updated: const rules = require("./rules"); <|file_sep|>original/angular-typescript-webpack-jasmine/webpack/webpack.test.js ".ts", ".js", ".json" ] }, resolveLoader: { modules: ["node_modules"] }, devtool: "source-map-inline", module: { loaders: loaders /* postLoaders: [ { test: /^((?!\.spec\.ts).)*.ts$/, exclude: /(node_modules)/, loader: "istanbul-instrumenter" } ] */ } }; <|file_sep|>current/angular-typescript-webpack-jasmine/webpack/webpack.test.js ".ts", ".js", ".json" ] }, resolveLoader: { modules: ["node_modules"] }, devtool: "source-map-inline", module: { loaders: loaders /* postLoaders: [ { test: /^((?!\.spec\.ts).)*.ts$/, exclude: /(node_modules)/, loader: "istanbul-instrumenter" } ] */ } }; <|file_sep|>updated/angular-typescript-webpack-jasmine/webpack/webpack.test.js
output: { filename: "build.js", path: path.resolve("temp"), publicPath: "/" }, resolve: { extensions: [ ".ts", ".js", ".json" ] }, resolveLoader: { modules: ["node_modules"] }, devtool: "source-map-inline", module: { rules: rules } };
<|file_sep|>angular-typescript-webpack-jasmine/webpack/webpack.test.js.diff original: const loaders = require("./loaders"); updated: const rules = require("./rules"); <|file_sep|>original/angular-typescript-webpack-jasmine/webpack/webpack.test.js ".ts", ".js", ".json" ] }, resolveLoader: { modules: ["node_modules"] }, devtool: "source-map-inline", module: { loaders: loaders /* postLoaders: [ { test: /^((?!\.spec\.ts).)*.ts$/, exclude: /(node_modules)/, loader: "istanbul-instrumenter" } ] */ } }; <|file_sep|>current/angular-typescript-webpack-jasmine/webpack/webpack.test.js ".ts", ".js", ".json" ] }, resolveLoader: { modules: ["node_modules"] }, devtool: "source-map-inline", module: { loaders: loaders /* postLoaders: [ { test: /^((?!\.spec\.ts).)*.ts$/, exclude: /(node_modules)/, loader: "istanbul-instrumenter" } ] */ } }; <|file_sep|>updated/angular-typescript-webpack-jasmine/webpack/webpack.test.js output: { filename: "build.js", path: path.resolve("temp"), publicPath: "/" }, resolve: { extensions: [ ".ts", ".js", ".json" ] }, resolveLoader: { modules: ["node_modules"] }, devtool: "source-map-inline", module: { rules: rules } };
14c9a161b2362d84905476ffb31be2864eec8a4a
angular-typescript-webpack-jasmine/webpack/webpack.test.js
angular-typescript-webpack-jasmine/webpack/webpack.test.js
JavaScript
<|file_sep|>original/isettools/data/sensor/photodetectors/macularDensity.mat MATLAB 5.0 MAT-file, Platform: MACI64, Created on: Sat Sep 19 17:10:28 2015 IM macularDensity q 78d q q q (8 q DZ?8?(q q?88@88@$q q@@ @V!n? u?Gwĭ?Ŧ)kʺ?ߔ5eMY?}A?j?-?^ ?& a?K-b?ߔ5eMY?;X:Ɂ? u?;Ɂ? <|file_sep|>current/isettools/data/sensor/photodetectors/macularDensity.mat MATLAB 5.0 MAT-file, Platform: MACI64, Created on: Sat Sep 19 17:10:28 2015 IM macularDensity q 78d q q q (8 q DZ?8?(q q?88@88@$q q@@ @V!n? u?Gwĭ?Ŧ)kʺ?ߔ5eMY?}A?j?-?^ ?& a?K-b?ߔ5eMY?;X:Ɂ? u?;Ɂ? <|file_sep|>updated/isettools/data/sensor/photodetectors/macularDensity.mat
MATLAB 5.0 MAT-file, Platform: MACI64, Created on: Sat Sep 19 20:48:25 2015 IMxc``Xl@AbF0fa w @7a{Otwˏ?lf]F !}7 u\WSXt$t:dpsŭ=97wxc``Xl@AbF(ɥ&'30p@,uPG}- X Ȁ$)1h? gooq Oq- >>Q :ox-N[J@ AE#ԗ$"? :$d {ZbG(c ΌTR8iωc( %!PX 00RtU)COK +[Z4"/zAґVLg#r$MsC^q _v||"hBP2h svJf|D J:6xA5 KQL
<|file_sep|>original/isettools/data/sensor/photodetectors/macularDensity.mat MATLAB 5.0 MAT-file, Platform: MACI64, Created on: Sat Sep 19 17:10:28 2015 IM macularDensity q 78d q q q (8 q DZ?8?(q q?88@88@$q q@@ @V!n? u?Gwĭ?Ŧ)kʺ?ߔ5eMY?}A?j?-?^ ?& a?K-b?ߔ5eMY?;X:Ɂ? u?;Ɂ? <|file_sep|>current/isettools/data/sensor/photodetectors/macularDensity.mat MATLAB 5.0 MAT-file, Platform: MACI64, Created on: Sat Sep 19 17:10:28 2015 IM macularDensity q 78d q q q (8 q DZ?8?(q q?88@88@$q q@@ @V!n? u?Gwĭ?Ŧ)kʺ?ߔ5eMY?}A?j?-?^ ?& a?K-b?ߔ5eMY?;X:Ɂ? u?;Ɂ? <|file_sep|>updated/isettools/data/sensor/photodetectors/macularDensity.mat MATLAB 5.0 MAT-file, Platform: MACI64, Created on: Sat Sep 19 20:48:25 2015 IMxc``Xl@AbF0fa w @7a{Otwˏ?lf]F !}7 u\WSXt$t:dpsŭ=97wxc``Xl@AbF(ɥ&'30p@,uPG}- X Ȁ$)1h? gooq Oq- >>Q :ox-N[J@ AE#ԗ$"? :$d {ZbG(c ΌTR8iωc( %!PX 00RtU)COK +[Z4"/zAґVLg#r$MsC^q _v||"hBP2h svJf|D J:6xA5 KQL
ee6838b503cb3952dc663cfd2cb954d6d39a2c83
isettools/data/sensor/photodetectors/macularDensity.mat
isettools/data/sensor/photodetectors/macularDensity.mat
Unity3D Asset
<|file_sep|>uiComponents/components.js.diff original: class Input extends React.Component { updated: class OneLineInputForm extends React.Component { <|file_sep|>uiComponents/components.js.diff original: <input type="text" value={this.state.value} onChange={this.handleChange} /> updated: <form onSubmit={this.handleSubmit.bind(this)} > <input type="text" value={this.state.value} onChange={this.handleChange.bind(this)} /> </form> <|file_sep|>uiComponents/components.js.diff original: updated: } handleChange(event) { this.setState({value: event.target.value}); } handleSubmit(event) { if (this.props.onSubmit != null) { this.props.onSubmit(this.state.value); } this.setState({value: ""}); event.preventDefault(); <|file_sep|>original/uiComponents/components.js } } render() { return ( <input type="text" value={this.state.value} onChange={this.handleChange} /> ) } } export class App extends React.Component { render() { return ( <div> <Input/> <VisibleMessageList /> </div> ) } } <|file_sep|>current/uiComponents/components.js handleSubmit(event) { if (this.props.onSubmit != null) { this.props.onSubmit(this.state.value); } this.setState({value: ""}); event.preventDefault(); } } export class App extends React.Component { render() { return ( <div> <Input/> <VisibleMessageList /> </div> ) } } <|file_sep|>updated/uiComponents/components.js
handleSubmit(event) { if (this.props.onSubmit != null) { this.props.onSubmit(this.state.value); } this.setState({value: ""}); event.preventDefault(); } } export class App extends React.Component { render() { return ( <div> <OneLineInputForm /> <VisibleMessageList /> </div> ) } }
<|file_sep|>uiComponents/components.js.diff original: class Input extends React.Component { updated: class OneLineInputForm extends React.Component { <|file_sep|>uiComponents/components.js.diff original: <input type="text" value={this.state.value} onChange={this.handleChange} /> updated: <form onSubmit={this.handleSubmit.bind(this)} > <input type="text" value={this.state.value} onChange={this.handleChange.bind(this)} /> </form> <|file_sep|>uiComponents/components.js.diff original: updated: } handleChange(event) { this.setState({value: event.target.value}); } handleSubmit(event) { if (this.props.onSubmit != null) { this.props.onSubmit(this.state.value); } this.setState({value: ""}); event.preventDefault(); <|file_sep|>original/uiComponents/components.js } } render() { return ( <input type="text" value={this.state.value} onChange={this.handleChange} /> ) } } export class App extends React.Component { render() { return ( <div> <Input/> <VisibleMessageList /> </div> ) } } <|file_sep|>current/uiComponents/components.js handleSubmit(event) { if (this.props.onSubmit != null) { this.props.onSubmit(this.state.value); } this.setState({value: ""}); event.preventDefault(); } } export class App extends React.Component { render() { return ( <div> <Input/> <VisibleMessageList /> </div> ) } } <|file_sep|>updated/uiComponents/components.js handleSubmit(event) { if (this.props.onSubmit != null) { this.props.onSubmit(this.state.value); } this.setState({value: ""}); event.preventDefault(); } } export class App extends React.Component { render() { return ( <div> <OneLineInputForm /> <VisibleMessageList /> </div> ) } }
12b380d1c5cf7b8f772c96e028dab190c30084c1
uiComponents/components.js
uiComponents/components.js
JavaScript
<|file_sep|>original/playbooks/security-patches.yml --- - hosts: all tasks: - name: Patch CVE-2014-0160 apt: pkg={{ item }} with_items: - libssl1.0.0 - openssl notify: restart haproxy handlers: - name: restart haproxy shell: service haproxy status && service haproxy restart || true <|file_sep|>current/playbooks/security-patches.yml --- - hosts: all tasks: - name: Patch CVE-2014-0160 apt: pkg={{ item }} with_items: - libssl1.0.0 - openssl notify: restart haproxy handlers: - name: restart haproxy shell: service haproxy status && service haproxy restart || true <|file_sep|>updated/playbooks/security-patches.yml
--- - hosts: all tasks: - name: Patch CVE-2014-0160 apt: update_cache=true pkg={{ item }} with_items: - libssl1.0.0 - openssl notify: restart haproxy handlers: - name: restart haproxy shell: service haproxy status && service haproxy restart || true
<|file_sep|>original/playbooks/security-patches.yml --- - hosts: all tasks: - name: Patch CVE-2014-0160 apt: pkg={{ item }} with_items: - libssl1.0.0 - openssl notify: restart haproxy handlers: - name: restart haproxy shell: service haproxy status && service haproxy restart || true <|file_sep|>current/playbooks/security-patches.yml --- - hosts: all tasks: - name: Patch CVE-2014-0160 apt: pkg={{ item }} with_items: - libssl1.0.0 - openssl notify: restart haproxy handlers: - name: restart haproxy shell: service haproxy status && service haproxy restart || true <|file_sep|>updated/playbooks/security-patches.yml --- - hosts: all tasks: - name: Patch CVE-2014-0160 apt: update_cache=true pkg={{ item }} with_items: - libssl1.0.0 - openssl notify: restart haproxy handlers: - name: restart haproxy shell: service haproxy status && service haproxy restart || true
dff626450ad649e67fed5b4c6455cbe80e188de7
playbooks/security-patches.yml
playbooks/security-patches.yml
YAML
<|file_sep|>original/appveyor.yml clone_folder: c:\gopath\src\github.com\git-time-metric\gtm environment: GOPATH: c:\gopath install: - set PATH=C:\msys64\usr\bin;%PATH% - go get -d github.com\libgit2\git2go - cd c:\gopath\src\github.com\libgit2\git2go - git checkout next - git submodule update --init - bash -lc "cp /c/gopath/src/github.com/git-time-metric/gtm/script/build-libgit2-static.sh /c/gopath/src/github.com/libgit2/git2go/script/build-libgit2-static.sh" - bash -lc "cd /c/gopath/src/github.com/libgit2/git2go && make install" - cd c:\gopath\src\github.com\git-time-metric\gtm build_script: - go get -t -v .\... - go test -v .\... - go install <|file_sep|>current/appveyor.yml clone_folder: c:\gopath\src\github.com\git-time-metric\gtm environment: GOPATH: c:\gopath install: - set PATH=C:\msys64\usr\bin;%PATH% - go get -d github.com\libgit2\git2go - cd c:\gopath\src\github.com\libgit2\git2go - git checkout next - git submodule update --init - bash -lc "cp /c/gopath/src/github.com/git-time-metric/gtm/script/build-libgit2-static.sh /c/gopath/src/github.com/libgit2/git2go/script/build-libgit2-static.sh" - bash -lc "cd /c/gopath/src/github.com/libgit2/git2go && make install" - cd c:\gopath\src\github.com\git-time-metric\gtm build_script: - go get -t -v .\... - go test -v .\... - go install <|file_sep|>updated/appveyor.yml
clone_folder: c:\gopath\src\github.com\git-time-metric\gtm environment: GOPATH: c:\gopath install: - set PATH=C:\msys64\usr\bin;%PATH% - go get -d github.com\libgit2\git2go - cd c:\gopath\src\github.com\libgit2\git2go - git checkout next - git submodule update --init - bash -lc "cp /c/gopath/src/github.com/git-time-metric/gtm/script/build-libgit2-static.sh /c/gopath/src/github.com/libgit2/git2go/script/build-libgit2-static.sh" - bash -lc "pacman -S make mingw-w64-x86_64-cmake mingw-w64-x86_64-pkg-config git-core" - bash -lc "cd /c/gopath/src/github.com/libgit2/git2go && make install" - cd c:\gopath\src\github.com\git-time-metric\gtm build_script: - go get -t -v .\... - go test -v .\... - go install
<|file_sep|>original/appveyor.yml clone_folder: c:\gopath\src\github.com\git-time-metric\gtm environment: GOPATH: c:\gopath install: - set PATH=C:\msys64\usr\bin;%PATH% - go get -d github.com\libgit2\git2go - cd c:\gopath\src\github.com\libgit2\git2go - git checkout next - git submodule update --init - bash -lc "cp /c/gopath/src/github.com/git-time-metric/gtm/script/build-libgit2-static.sh /c/gopath/src/github.com/libgit2/git2go/script/build-libgit2-static.sh" - bash -lc "cd /c/gopath/src/github.com/libgit2/git2go && make install" - cd c:\gopath\src\github.com\git-time-metric\gtm build_script: - go get -t -v .\... - go test -v .\... - go install <|file_sep|>current/appveyor.yml clone_folder: c:\gopath\src\github.com\git-time-metric\gtm environment: GOPATH: c:\gopath install: - set PATH=C:\msys64\usr\bin;%PATH% - go get -d github.com\libgit2\git2go - cd c:\gopath\src\github.com\libgit2\git2go - git checkout next - git submodule update --init - bash -lc "cp /c/gopath/src/github.com/git-time-metric/gtm/script/build-libgit2-static.sh /c/gopath/src/github.com/libgit2/git2go/script/build-libgit2-static.sh" - bash -lc "cd /c/gopath/src/github.com/libgit2/git2go && make install" - cd c:\gopath\src\github.com\git-time-metric\gtm build_script: - go get -t -v .\... - go test -v .\... - go install <|file_sep|>updated/appveyor.yml clone_folder: c:\gopath\src\github.com\git-time-metric\gtm environment: GOPATH: c:\gopath install: - set PATH=C:\msys64\usr\bin;%PATH% - go get -d github.com\libgit2\git2go - cd c:\gopath\src\github.com\libgit2\git2go - git checkout next - git submodule update --init - bash -lc "cp /c/gopath/src/github.com/git-time-metric/gtm/script/build-libgit2-static.sh /c/gopath/src/github.com/libgit2/git2go/script/build-libgit2-static.sh" - bash -lc "pacman -S make mingw-w64-x86_64-cmake mingw-w64-x86_64-pkg-config git-core" - bash -lc "cd /c/gopath/src/github.com/libgit2/git2go && make install" - cd c:\gopath\src\github.com\git-time-metric\gtm build_script: - go get -t -v .\... - go test -v .\... - go install
cfba32a810077c33d6bba10381c4d727fae5de43
appveyor.yml
appveyor.yml
YAML
<|file_sep|>original/site-lisp/clgc-org.el (require 'org) ;; Make windmove work in org-mode: (add-hook 'org-shiftup-final-hook 'windmove-up) (add-hook 'org-shiftleft-final-hook 'windmove-left) (add-hook 'org-shiftdown-final-hook 'windmove-down) (add-hook 'org-shiftright-final-hook 'windmove-right) (add-hook 'org-mode-hook 'turn-on-visual-line-mode) (setq org-completion-use-ido t) (provide 'clgc-org) <|file_sep|>current/site-lisp/clgc-org.el (require 'org) ;; Make windmove work in org-mode: (add-hook 'org-shiftup-final-hook 'windmove-up) (add-hook 'org-shiftleft-final-hook 'windmove-left) (add-hook 'org-shiftdown-final-hook 'windmove-down) (add-hook 'org-shiftright-final-hook 'windmove-right) (add-hook 'org-mode-hook 'turn-on-visual-line-mode) (setq org-completion-use-ido t) (provide 'clgc-org) <|file_sep|>updated/site-lisp/clgc-org.el
(require 'org) ;; Make windmove work in org-mode: (add-hook 'org-shiftup-final-hook 'windmove-up) (add-hook 'org-shiftleft-final-hook 'windmove-left) (add-hook 'org-shiftdown-final-hook 'windmove-down) (add-hook 'org-shiftright-final-hook 'windmove-right) (add-hook 'org-mode-hook 'turn-on-visual-line-mode) (setq org-directory (expand-file-name "~/Dropbox/org") org-default-notes-file (expand-file-name "incoming.org" org-directory) org-completion-use-ido t org-return-follows-link t org-log-done t) (provide 'clgc-org)
<|file_sep|>original/site-lisp/clgc-org.el (require 'org) ;; Make windmove work in org-mode: (add-hook 'org-shiftup-final-hook 'windmove-up) (add-hook 'org-shiftleft-final-hook 'windmove-left) (add-hook 'org-shiftdown-final-hook 'windmove-down) (add-hook 'org-shiftright-final-hook 'windmove-right) (add-hook 'org-mode-hook 'turn-on-visual-line-mode) (setq org-completion-use-ido t) (provide 'clgc-org) <|file_sep|>current/site-lisp/clgc-org.el (require 'org) ;; Make windmove work in org-mode: (add-hook 'org-shiftup-final-hook 'windmove-up) (add-hook 'org-shiftleft-final-hook 'windmove-left) (add-hook 'org-shiftdown-final-hook 'windmove-down) (add-hook 'org-shiftright-final-hook 'windmove-right) (add-hook 'org-mode-hook 'turn-on-visual-line-mode) (setq org-completion-use-ido t) (provide 'clgc-org) <|file_sep|>updated/site-lisp/clgc-org.el (require 'org) ;; Make windmove work in org-mode: (add-hook 'org-shiftup-final-hook 'windmove-up) (add-hook 'org-shiftleft-final-hook 'windmove-left) (add-hook 'org-shiftdown-final-hook 'windmove-down) (add-hook 'org-shiftright-final-hook 'windmove-right) (add-hook 'org-mode-hook 'turn-on-visual-line-mode) (setq org-directory (expand-file-name "~/Dropbox/org") org-default-notes-file (expand-file-name "incoming.org" org-directory) org-completion-use-ido t org-return-follows-link t org-log-done t) (provide 'clgc-org)
7be5319abfb598ced2d56bbff4d362beba861a5a
site-lisp/clgc-org.el
site-lisp/clgc-org.el
Emacs Lisp
<|file_sep|>original/.travis_create_doxygen_and_deploy.sh git clone -b gh-pages https://github.com/LukasWoodtli/DesignByContractPlusPlus.git . ##### Configure git. # Set the push default to simple i.e. push only the current branch. git config --global push.default simple # Pretend to be an user called Travis CI. git config user.name "Travis CI" git config user.email "travis@travis-ci.org" rm -rf * echo "" > .nojekyll cd .. doxygen Doxyfile 2>&1 | tee doxygen.log cd doc git add --all git commit -m "Deploy code docs to GitHub Pages" git push --force --quiet "https://${GH_REPO_TOKEN}@github.com/LukasWoodtli/DesignByContractPlusPlus" master:gh-pages > /dev/null 2>&1 <|file_sep|>current/.travis_create_doxygen_and_deploy.sh git clone -b gh-pages https://github.com/LukasWoodtli/DesignByContractPlusPlus.git . ##### Configure git. # Set the push default to simple i.e. push only the current branch. git config --global push.default simple # Pretend to be an user called Travis CI. git config user.name "Travis CI" git config user.email "travis@travis-ci.org" rm -rf * echo "" > .nojekyll cd .. doxygen Doxyfile 2>&1 | tee doxygen.log cd doc git add --all git commit -m "Deploy code docs to GitHub Pages" git push --force --quiet "https://${GH_REPO_TOKEN}@github.com/LukasWoodtli/DesignByContractPlusPlus" master:gh-pages > /dev/null 2>&1 <|file_sep|>updated/.travis_create_doxygen_and_deploy.sh
git clone -b gh-pages https://github.com/LukasWoodtli/DesignByContractPlusPlus.git . ##### Configure git. # Set the push default to simple i.e. push only the current branch. git config --global push.default simple # Pretend to be an user called Travis CI. git config user.name "Travis CI" git config user.email "travis@travis-ci.org" rm -rf * echo "" > .nojekyll cd .. doxygen Doxyfile 2>&1 | tee doxygen.log cd doc git add --all git commit -m "Deploy code docs to GitHub Pages" git push --force "https://${GH_REPO_TOKEN}@github.com/LukasWoodtli/DesignByContractPlusPlus" master:gh-pages
<|file_sep|>original/.travis_create_doxygen_and_deploy.sh git clone -b gh-pages https://github.com/LukasWoodtli/DesignByContractPlusPlus.git . ##### Configure git. # Set the push default to simple i.e. push only the current branch. git config --global push.default simple # Pretend to be an user called Travis CI. git config user.name "Travis CI" git config user.email "travis@travis-ci.org" rm -rf * echo "" > .nojekyll cd .. doxygen Doxyfile 2>&1 | tee doxygen.log cd doc git add --all git commit -m "Deploy code docs to GitHub Pages" git push --force --quiet "https://${GH_REPO_TOKEN}@github.com/LukasWoodtli/DesignByContractPlusPlus" master:gh-pages > /dev/null 2>&1 <|file_sep|>current/.travis_create_doxygen_and_deploy.sh git clone -b gh-pages https://github.com/LukasWoodtli/DesignByContractPlusPlus.git . ##### Configure git. # Set the push default to simple i.e. push only the current branch. git config --global push.default simple # Pretend to be an user called Travis CI. git config user.name "Travis CI" git config user.email "travis@travis-ci.org" rm -rf * echo "" > .nojekyll cd .. doxygen Doxyfile 2>&1 | tee doxygen.log cd doc git add --all git commit -m "Deploy code docs to GitHub Pages" git push --force --quiet "https://${GH_REPO_TOKEN}@github.com/LukasWoodtli/DesignByContractPlusPlus" master:gh-pages > /dev/null 2>&1 <|file_sep|>updated/.travis_create_doxygen_and_deploy.sh git clone -b gh-pages https://github.com/LukasWoodtli/DesignByContractPlusPlus.git . ##### Configure git. # Set the push default to simple i.e. push only the current branch. git config --global push.default simple # Pretend to be an user called Travis CI. git config user.name "Travis CI" git config user.email "travis@travis-ci.org" rm -rf * echo "" > .nojekyll cd .. doxygen Doxyfile 2>&1 | tee doxygen.log cd doc git add --all git commit -m "Deploy code docs to GitHub Pages" git push --force "https://${GH_REPO_TOKEN}@github.com/LukasWoodtli/DesignByContractPlusPlus" master:gh-pages
1a4ab7f6e92adb836edc21f13b110937bc3074b3
.travis_create_doxygen_and_deploy.sh
.travis_create_doxygen_and_deploy.sh
Shell
<|file_sep|>original/packaging/postinst.sh #!/bin/sh -eu mkdir -p /ida [ ! -L /ida/front ] && ln -s /opt/front /ida/front # We manage service restarts via the meta package ln -fs /opt/front/upstart/front.conf /etc/init/front.conf # We want to ensure upstart realizes it's config may have changed. /sbin/initctl reload-configuration chown -R deployer:deployer /opt/front/log chown -R deployer:deployer /var/log/front chown -R deployer:deployer /opt/front/tmp <|file_sep|>current/packaging/postinst.sh #!/bin/sh -eu mkdir -p /ida [ ! -L /ida/front ] && ln -s /opt/front /ida/front # We manage service restarts via the meta package ln -fs /opt/front/upstart/front.conf /etc/init/front.conf # We want to ensure upstart realizes it's config may have changed. /sbin/initctl reload-configuration chown -R deployer:deployer /opt/front/log chown -R deployer:deployer /var/log/front chown -R deployer:deployer /opt/front/tmp <|file_sep|>updated/packaging/postinst.sh
#!/bin/sh -eu mkdir -p /ida [ ! -L /ida/front ] && ln -s /opt/front /ida/front # We manage service restarts via the meta package ln -fs /opt/front/upstart/front.conf /etc/init/front.conf # We want to ensure upstart realizes it's config may have changed. /sbin/initctl reload-configuration chown -R deployer:deployer /opt/front/log chown -R deployer:deployer /var/log/front chown -R deployer:deployer /opt/front/tmp chgrp deployer /etc/front
<|file_sep|>original/packaging/postinst.sh #!/bin/sh -eu mkdir -p /ida [ ! -L /ida/front ] && ln -s /opt/front /ida/front # We manage service restarts via the meta package ln -fs /opt/front/upstart/front.conf /etc/init/front.conf # We want to ensure upstart realizes it's config may have changed. /sbin/initctl reload-configuration chown -R deployer:deployer /opt/front/log chown -R deployer:deployer /var/log/front chown -R deployer:deployer /opt/front/tmp <|file_sep|>current/packaging/postinst.sh #!/bin/sh -eu mkdir -p /ida [ ! -L /ida/front ] && ln -s /opt/front /ida/front # We manage service restarts via the meta package ln -fs /opt/front/upstart/front.conf /etc/init/front.conf # We want to ensure upstart realizes it's config may have changed. /sbin/initctl reload-configuration chown -R deployer:deployer /opt/front/log chown -R deployer:deployer /var/log/front chown -R deployer:deployer /opt/front/tmp <|file_sep|>updated/packaging/postinst.sh #!/bin/sh -eu mkdir -p /ida [ ! -L /ida/front ] && ln -s /opt/front /ida/front # We manage service restarts via the meta package ln -fs /opt/front/upstart/front.conf /etc/init/front.conf # We want to ensure upstart realizes it's config may have changed. /sbin/initctl reload-configuration chown -R deployer:deployer /opt/front/log chown -R deployer:deployer /var/log/front chown -R deployer:deployer /opt/front/tmp chgrp deployer /etc/front
c21bcb7d5ab6dadfcdb6c344873aa0bdb1bad5e1
packaging/postinst.sh
packaging/postinst.sh
Shell
<|file_sep|>original/tasks/create-deployment-source-config/task.yml --- platform: linux image_resource: type: docker-image source: repository: cfbuildpacks/ci inputs: - name: bbl-state - name: buildpacks-ci outputs: - name: deployment-source-config run: path: bash args: - -cl - buildpacks-ci/tasks/create-deployment-source-config/run.rb params: ENV_NAME: <|file_sep|>current/tasks/create-deployment-source-config/task.yml --- platform: linux image_resource: type: docker-image source: repository: cfbuildpacks/ci inputs: - name: bbl-state - name: buildpacks-ci outputs: - name: deployment-source-config run: path: bash args: - -cl - buildpacks-ci/tasks/create-deployment-source-config/run.rb params: ENV_NAME: <|file_sep|>updated/tasks/create-deployment-source-config/task.yml
--- platform: linux image_resource: type: docker-image source: repository: relintdockerhubpushbot/cf-deployment-concourse-tasks inputs: - name: bbl-state - name: buildpacks-ci outputs: - name: deployment-source-config run: path: bash args: - -cl - buildpacks-ci/tasks/create-deployment-source-config/run.rb params: ENV_NAME:
<|file_sep|>original/tasks/create-deployment-source-config/task.yml --- platform: linux image_resource: type: docker-image source: repository: cfbuildpacks/ci inputs: - name: bbl-state - name: buildpacks-ci outputs: - name: deployment-source-config run: path: bash args: - -cl - buildpacks-ci/tasks/create-deployment-source-config/run.rb params: ENV_NAME: <|file_sep|>current/tasks/create-deployment-source-config/task.yml --- platform: linux image_resource: type: docker-image source: repository: cfbuildpacks/ci inputs: - name: bbl-state - name: buildpacks-ci outputs: - name: deployment-source-config run: path: bash args: - -cl - buildpacks-ci/tasks/create-deployment-source-config/run.rb params: ENV_NAME: <|file_sep|>updated/tasks/create-deployment-source-config/task.yml --- platform: linux image_resource: type: docker-image source: repository: relintdockerhubpushbot/cf-deployment-concourse-tasks inputs: - name: bbl-state - name: buildpacks-ci outputs: - name: deployment-source-config run: path: bash args: - -cl - buildpacks-ci/tasks/create-deployment-source-config/run.rb params: ENV_NAME:
4cf197af0315642bd281967b74a8b8eac5b1aee0
tasks/create-deployment-source-config/task.yml
tasks/create-deployment-source-config/task.yml
YAML
<|file_sep|>original/.lintstagedrc.json { "*.js": ["eslint --fix", "git add"], "*.{json,md,ts,yml,yaml}": ["prettier --write", "git add"] } <|file_sep|>current/.lintstagedrc.json { "*.js": ["eslint --fix", "git add"], "*.{json,md,ts,yml,yaml}": ["prettier --write", "git add"] } <|file_sep|>updated/.lintstagedrc.json
{ "*.js": "eslint --fix", "*.{json,md,ts,yml,yaml}": "prettier --write" }
<|file_sep|>original/.lintstagedrc.json { "*.js": ["eslint --fix", "git add"], "*.{json,md,ts,yml,yaml}": ["prettier --write", "git add"] } <|file_sep|>current/.lintstagedrc.json { "*.js": ["eslint --fix", "git add"], "*.{json,md,ts,yml,yaml}": ["prettier --write", "git add"] } <|file_sep|>updated/.lintstagedrc.json { "*.js": "eslint --fix", "*.{json,md,ts,yml,yaml}": "prettier --write" }
d773e8572092773f53e9519b4fd15af834855f36
.lintstagedrc.json
.lintstagedrc.json
JSON
<|file_sep|>original/.travis.yml language: node_js node_js: - '0.10' env: global: - secure: "j17tHs7MhF1VuJ7ChImA0a3kd+uHPri2HJJxJ++PKCEF7pAu/cksMq9v3xQp9ZajPJJ0z4gTQnMjrzUSjhL11cpweBy84suA/vqjoh4Rp6ouV9yv/wThcij6GHd0S9MzYol6b3iR1CCauQpQwy+dff1HJvcGrcheuxD62EhVzoI=" - secure: "3fkfH1qCQMVFJkyyGqq79+DwOiX0/Zor4iwHr0x1fRtqNgbx3r47znBHFUDTgKpCtLrCDBlyQvbisFdoV1/0DCtE0VfhphOnyOmWuMRNIrDLLGir+dwxiqpjdflyfs2ZKuxqkAhQJJclqL2hAaHWwollejAWVuhxJ4w1E6lcjYg=" before_script: - export DISPLAY=:99.0 - sh -e /etc/init.d/xvfb start <|file_sep|>current/.travis.yml language: node_js node_js: - '0.10' env: global: - secure: "j17tHs7MhF1VuJ7ChImA0a3kd+uHPri2HJJxJ++PKCEF7pAu/cksMq9v3xQp9ZajPJJ0z4gTQnMjrzUSjhL11cpweBy84suA/vqjoh4Rp6ouV9yv/wThcij6GHd0S9MzYol6b3iR1CCauQpQwy+dff1HJvcGrcheuxD62EhVzoI=" - secure: "3fkfH1qCQMVFJkyyGqq79+DwOiX0/Zor4iwHr0x1fRtqNgbx3r47znBHFUDTgKpCtLrCDBlyQvbisFdoV1/0DCtE0VfhphOnyOmWuMRNIrDLLGir+dwxiqpjdflyfs2ZKuxqkAhQJJclqL2hAaHWwollejAWVuhxJ4w1E6lcjYg=" before_script: - export DISPLAY=:99.0 - sh -e /etc/init.d/xvfb start <|file_sep|>updated/.travis.yml
sudo: false language: node_js node_js: - '0.10' env: global: - secure: "j17tHs7MhF1VuJ7ChImA0a3kd+uHPri2HJJxJ++PKCEF7pAu/cksMq9v3xQp9ZajPJJ0z4gTQnMjrzUSjhL11cpweBy84suA/vqjoh4Rp6ouV9yv/wThcij6GHd0S9MzYol6b3iR1CCauQpQwy+dff1HJvcGrcheuxD62EhVzoI=" - secure: "3fkfH1qCQMVFJkyyGqq79+DwOiX0/Zor4iwHr0x1fRtqNgbx3r47znBHFUDTgKpCtLrCDBlyQvbisFdoV1/0DCtE0VfhphOnyOmWuMRNIrDLLGir+dwxiqpjdflyfs2ZKuxqkAhQJJclqL2hAaHWwollejAWVuhxJ4w1E6lcjYg=" before_script: - export DISPLAY=:99.0 - sh -e /etc/init.d/xvfb start
<|file_sep|>original/.travis.yml language: node_js node_js: - '0.10' env: global: - secure: "j17tHs7MhF1VuJ7ChImA0a3kd+uHPri2HJJxJ++PKCEF7pAu/cksMq9v3xQp9ZajPJJ0z4gTQnMjrzUSjhL11cpweBy84suA/vqjoh4Rp6ouV9yv/wThcij6GHd0S9MzYol6b3iR1CCauQpQwy+dff1HJvcGrcheuxD62EhVzoI=" - secure: "3fkfH1qCQMVFJkyyGqq79+DwOiX0/Zor4iwHr0x1fRtqNgbx3r47znBHFUDTgKpCtLrCDBlyQvbisFdoV1/0DCtE0VfhphOnyOmWuMRNIrDLLGir+dwxiqpjdflyfs2ZKuxqkAhQJJclqL2hAaHWwollejAWVuhxJ4w1E6lcjYg=" before_script: - export DISPLAY=:99.0 - sh -e /etc/init.d/xvfb start <|file_sep|>current/.travis.yml language: node_js node_js: - '0.10' env: global: - secure: "j17tHs7MhF1VuJ7ChImA0a3kd+uHPri2HJJxJ++PKCEF7pAu/cksMq9v3xQp9ZajPJJ0z4gTQnMjrzUSjhL11cpweBy84suA/vqjoh4Rp6ouV9yv/wThcij6GHd0S9MzYol6b3iR1CCauQpQwy+dff1HJvcGrcheuxD62EhVzoI=" - secure: "3fkfH1qCQMVFJkyyGqq79+DwOiX0/Zor4iwHr0x1fRtqNgbx3r47znBHFUDTgKpCtLrCDBlyQvbisFdoV1/0DCtE0VfhphOnyOmWuMRNIrDLLGir+dwxiqpjdflyfs2ZKuxqkAhQJJclqL2hAaHWwollejAWVuhxJ4w1E6lcjYg=" before_script: - export DISPLAY=:99.0 - sh -e /etc/init.d/xvfb start <|file_sep|>updated/.travis.yml sudo: false language: node_js node_js: - '0.10' env: global: - secure: "j17tHs7MhF1VuJ7ChImA0a3kd+uHPri2HJJxJ++PKCEF7pAu/cksMq9v3xQp9ZajPJJ0z4gTQnMjrzUSjhL11cpweBy84suA/vqjoh4Rp6ouV9yv/wThcij6GHd0S9MzYol6b3iR1CCauQpQwy+dff1HJvcGrcheuxD62EhVzoI=" - secure: "3fkfH1qCQMVFJkyyGqq79+DwOiX0/Zor4iwHr0x1fRtqNgbx3r47znBHFUDTgKpCtLrCDBlyQvbisFdoV1/0DCtE0VfhphOnyOmWuMRNIrDLLGir+dwxiqpjdflyfs2ZKuxqkAhQJJclqL2hAaHWwollejAWVuhxJ4w1E6lcjYg=" before_script: - export DISPLAY=:99.0 - sh -e /etc/init.d/xvfb start
b286e915a17d6521a95386abd1085c2989a77e49
.travis.yml
.travis.yml
YAML
<|file_sep|>eloquent_js/chapter10/roads.js.diff original: // Depend on ./graph module const {buildGraph} = require("./graph"); updated: const graph = require("./graph"); <|file_sep|>eloquent_js/chapter10/roads.js.diff original: "Alice's House-Bob's House", "Alice's House-Cabin", "Alice's House-Post Office", "Bob's House-Town Hall", "Daria's House-Ernie's House", "Daria's House-Town Hall", "Ernie's House-Grete's House", "Grete's House-Farm", "Grete's House-Shop", "Marketplace-Farm", "Marketplace-Post Office", "Marketplace-Shop", "Marketplace-Town Hall", "Shop-Town Hall" updated: "Alice's House-Bob's House", "Alice's House-Cabin", "Alice's House-Post Office", "Bob's House-Town Hall", "Daria's House-Ernie's House", "Daria's House-Town Hall", "Ernie's House-Grete's House", "Grete's House-Farm", "Grete's House-Shop", "Marketplace-Farm", "Marketplace-Post Office", "Marketplace-Shop", "Marketplace-Town Hall", "Shop-Town Hall" <|file_sep|>original/eloquent_js/chapter10/roads.js // Depend on ./graph module const {buildGraph} = require("./graph"); const roads = [ "Alice's House-Bob's House", "Alice's House-Cabin", "Alice's House-Post Office", "Bob's House-Town Hall", "Daria's House-Ernie's House", "Daria's House-Town Hall", "Ernie's House-Grete's House", "Grete's House-Farm", "Grete's House-Shop", "Marketplace-Farm", "Marketplace-Post Office", "Marketplace-Shop", "Marketplace-Town Hall", "Shop-Town Hall" ]; // Not really needed - could call buildGraph directly let roadArray = roads.map(r => r.split("-")); exports.roadGraph = buildGraph(roadArray); <|file_sep|>current/eloquent_js/chapter10/roads.js const graph = require("./graph"); const roads = [ "Alice's House-Bob's House", "Alice's House-Cabin", "Alice's House-Post Office", "Bob's House-Town Hall", "Daria's House-Ernie's House", "Daria's House-Town Hall", "Ernie's House-Grete's House", "Grete's House-Farm", "Grete's House-Shop", "Marketplace-Farm", "Marketplace-Post Office", "Marketplace-Shop", "Marketplace-Town Hall", "Shop-Town Hall" ]; // Not really needed - could call buildGraph directly let roadArray = roads.map(r => r.split("-")); exports.roadGraph = buildGraph(roadArray); <|file_sep|>updated/eloquent_js/chapter10/roads.js
const graph = require("./graph"); const roads = [ "Alice's House-Bob's House", "Alice's House-Cabin", "Alice's House-Post Office", "Bob's House-Town Hall", "Daria's House-Ernie's House", "Daria's House-Town Hall", "Ernie's House-Grete's House", "Grete's House-Farm", "Grete's House-Shop", "Marketplace-Farm", "Marketplace-Post Office", "Marketplace-Shop", "Marketplace-Town Hall", "Shop-Town Hall" ]; exports.roadGraph = graph.buildGraph(roads.map(r => r.split("-")));
<|file_sep|>eloquent_js/chapter10/roads.js.diff original: // Depend on ./graph module const {buildGraph} = require("./graph"); updated: const graph = require("./graph"); <|file_sep|>eloquent_js/chapter10/roads.js.diff original: "Alice's House-Bob's House", "Alice's House-Cabin", "Alice's House-Post Office", "Bob's House-Town Hall", "Daria's House-Ernie's House", "Daria's House-Town Hall", "Ernie's House-Grete's House", "Grete's House-Farm", "Grete's House-Shop", "Marketplace-Farm", "Marketplace-Post Office", "Marketplace-Shop", "Marketplace-Town Hall", "Shop-Town Hall" updated: "Alice's House-Bob's House", "Alice's House-Cabin", "Alice's House-Post Office", "Bob's House-Town Hall", "Daria's House-Ernie's House", "Daria's House-Town Hall", "Ernie's House-Grete's House", "Grete's House-Farm", "Grete's House-Shop", "Marketplace-Farm", "Marketplace-Post Office", "Marketplace-Shop", "Marketplace-Town Hall", "Shop-Town Hall" <|file_sep|>original/eloquent_js/chapter10/roads.js // Depend on ./graph module const {buildGraph} = require("./graph"); const roads = [ "Alice's House-Bob's House", "Alice's House-Cabin", "Alice's House-Post Office", "Bob's House-Town Hall", "Daria's House-Ernie's House", "Daria's House-Town Hall", "Ernie's House-Grete's House", "Grete's House-Farm", "Grete's House-Shop", "Marketplace-Farm", "Marketplace-Post Office", "Marketplace-Shop", "Marketplace-Town Hall", "Shop-Town Hall" ]; // Not really needed - could call buildGraph directly let roadArray = roads.map(r => r.split("-")); exports.roadGraph = buildGraph(roadArray); <|file_sep|>current/eloquent_js/chapter10/roads.js const graph = require("./graph"); const roads = [ "Alice's House-Bob's House", "Alice's House-Cabin", "Alice's House-Post Office", "Bob's House-Town Hall", "Daria's House-Ernie's House", "Daria's House-Town Hall", "Ernie's House-Grete's House", "Grete's House-Farm", "Grete's House-Shop", "Marketplace-Farm", "Marketplace-Post Office", "Marketplace-Shop", "Marketplace-Town Hall", "Shop-Town Hall" ]; // Not really needed - could call buildGraph directly let roadArray = roads.map(r => r.split("-")); exports.roadGraph = buildGraph(roadArray); <|file_sep|>updated/eloquent_js/chapter10/roads.js const graph = require("./graph"); const roads = [ "Alice's House-Bob's House", "Alice's House-Cabin", "Alice's House-Post Office", "Bob's House-Town Hall", "Daria's House-Ernie's House", "Daria's House-Town Hall", "Ernie's House-Grete's House", "Grete's House-Farm", "Grete's House-Shop", "Marketplace-Farm", "Marketplace-Post Office", "Marketplace-Shop", "Marketplace-Town Hall", "Shop-Town Hall" ]; exports.roadGraph = graph.buildGraph(roads.map(r => r.split("-")));
1cbb01464c3fe479db53849b242dc6961969e0a4
eloquent_js/chapter10/roads.js
eloquent_js/chapter10/roads.js
JavaScript
<|file_sep|>original/packages/ha/haskus-system-build.yaml <|file_sep|>current/packages/ha/haskus-system-build.yaml <|file_sep|>updated/packages/ha/haskus-system-build.yaml
homepage: http://www.haskus.org/system changelog-type: '' hash: 8b2a4c3e2cc57e63cc80f49da83e51f6c2c9ff69dd34eec6e6f21c3a244da6e2 test-bench-deps: {} maintainer: sylvain@haskus.fr synopsis: Haskus system build tool changelog: '' basic-deps: simple-download: ! '>=0.0 && <0.1' base: ! '>=4.9 && <4.10' text: ! '>=1.2 && <1.3' filepath: ! '>=1.4 && <1.5' process: ! '>=1.4 && <1.5' haskus-utils: ! '>=0.7 && <0.8' optparse-simple: ! '>=0.0 && <0.1' hashable: ! '>=1.2 && <1.3' temporary: ! '>=1.2 && <1.3' optparse-applicative: ! '>=0.13 && <0.14' yaml: ! '>=0.8 && <0.9' directory: ! '>=1.2 && <1.4' all-versions:
<|file_sep|>original/packages/ha/haskus-system-build.yaml <|file_sep|>current/packages/ha/haskus-system-build.yaml <|file_sep|>updated/packages/ha/haskus-system-build.yaml homepage: http://www.haskus.org/system changelog-type: '' hash: 8b2a4c3e2cc57e63cc80f49da83e51f6c2c9ff69dd34eec6e6f21c3a244da6e2 test-bench-deps: {} maintainer: sylvain@haskus.fr synopsis: Haskus system build tool changelog: '' basic-deps: simple-download: ! '>=0.0 && <0.1' base: ! '>=4.9 && <4.10' text: ! '>=1.2 && <1.3' filepath: ! '>=1.4 && <1.5' process: ! '>=1.4 && <1.5' haskus-utils: ! '>=0.7 && <0.8' optparse-simple: ! '>=0.0 && <0.1' hashable: ! '>=1.2 && <1.3' temporary: ! '>=1.2 && <1.3' optparse-applicative: ! '>=0.13 && <0.14' yaml: ! '>=0.8 && <0.9' directory: ! '>=1.2 && <1.4' all-versions:
bdd31e21b1228d6d2bff3a1f413fbd4a50393f66
packages/ha/haskus-system-build.yaml
packages/ha/haskus-system-build.yaml
YAML
<|file_sep|>original/requirements/doc.txt -r ./base.txt sphinx==1.7.4 alagitpull==0.0.20 releases==1.4.2 <|file_sep|>current/requirements/doc.txt -r ./base.txt sphinx==1.7.4 alagitpull==0.0.20 releases==1.4.2 <|file_sep|>updated/requirements/doc.txt
-r ./base.txt sphinx==1.7.4 alagitpull==0.0.20 releases==1.5.0
<|file_sep|>original/requirements/doc.txt -r ./base.txt sphinx==1.7.4 alagitpull==0.0.20 releases==1.4.2 <|file_sep|>current/requirements/doc.txt -r ./base.txt sphinx==1.7.4 alagitpull==0.0.20 releases==1.4.2 <|file_sep|>updated/requirements/doc.txt -r ./base.txt sphinx==1.7.4 alagitpull==0.0.20 releases==1.5.0
a44a2ece9f63e6c20e226d29cbaad4617d5f81d2
requirements/doc.txt
requirements/doc.txt
Text
<|file_sep|>playbooks/edx-east/feanil_deploy.yml.diff original: updated: <|file_sep|>original/playbooks/edx-east/feanil_deploy.yml - nginx - edxapp - hosts: tag_aws_cloudformation_stack-name_feanilpractice:&tag_group_xserver sudo: True vars_files: - "{{ secure_dir }}/vars/edxapp_continuous_integration_vars.yml" - "{{ secure_dir }}/vars/users.yml" roles: - common - nginx - xserver - hosts: tag_aws_cloudformation_stack-name_feanilpractice:&tag_group_rabbitmq serial: 1 sudo: True vars_files: - "{{ secure_dir }}/vars/edxapp_continuous_integration_vars.yml" - "{{ secure_dir }}/vars/users.yml" roles: - common <|file_sep|>current/playbooks/edx-east/feanil_deploy.yml - nginx - edxapp - hosts: tag_aws_cloudformation_stack-name_feanilpractice:&tag_group_xserver sudo: True vars_files: - "{{ secure_dir }}/vars/edxapp_continuous_integration_vars.yml" - "{{ secure_dir }}/vars/users.yml" roles: - common - nginx - xserver - hosts: tag_aws_cloudformation_stack-name_feanilpractice:&tag_group_rabbitmq serial: 1 sudo: True vars_files: - "{{ secure_dir }}/vars/edxapp_continuous_integration_vars.yml" - "{{ secure_dir }}/vars/users.yml" roles: - common - rabbitmq <|file_sep|>updated/playbooks/edx-east/feanil_deploy.yml
- common - nginx - xserver - hosts: tag_aws_cloudformation_stack-name_feanilpractice:&tag_group_rabbitmq serial: 1 sudo: True vars_files: - "{{ secure_dir }}/vars/edxapp_continuous_integration_vars.yml" - "{{ secure_dir }}/vars/users.yml" roles: - common - rabbitmq - hosts: tag_aws_cloudformation_stack-name_feanilpractice:&tag_group_xqueue sudo: True vars_files: - "{{ secure_dir }}/vars/edxapp_continuous_integration_vars.yml" - "{{ secure_dir }}/vars/users.yml" roles: - common - nginx - xqueue
<|file_sep|>playbooks/edx-east/feanil_deploy.yml.diff original: updated: <|file_sep|>original/playbooks/edx-east/feanil_deploy.yml - nginx - edxapp - hosts: tag_aws_cloudformation_stack-name_feanilpractice:&tag_group_xserver sudo: True vars_files: - "{{ secure_dir }}/vars/edxapp_continuous_integration_vars.yml" - "{{ secure_dir }}/vars/users.yml" roles: - common - nginx - xserver - hosts: tag_aws_cloudformation_stack-name_feanilpractice:&tag_group_rabbitmq serial: 1 sudo: True vars_files: - "{{ secure_dir }}/vars/edxapp_continuous_integration_vars.yml" - "{{ secure_dir }}/vars/users.yml" roles: - common <|file_sep|>current/playbooks/edx-east/feanil_deploy.yml - nginx - edxapp - hosts: tag_aws_cloudformation_stack-name_feanilpractice:&tag_group_xserver sudo: True vars_files: - "{{ secure_dir }}/vars/edxapp_continuous_integration_vars.yml" - "{{ secure_dir }}/vars/users.yml" roles: - common - nginx - xserver - hosts: tag_aws_cloudformation_stack-name_feanilpractice:&tag_group_rabbitmq serial: 1 sudo: True vars_files: - "{{ secure_dir }}/vars/edxapp_continuous_integration_vars.yml" - "{{ secure_dir }}/vars/users.yml" roles: - common - rabbitmq <|file_sep|>updated/playbooks/edx-east/feanil_deploy.yml - common - nginx - xserver - hosts: tag_aws_cloudformation_stack-name_feanilpractice:&tag_group_rabbitmq serial: 1 sudo: True vars_files: - "{{ secure_dir }}/vars/edxapp_continuous_integration_vars.yml" - "{{ secure_dir }}/vars/users.yml" roles: - common - rabbitmq - hosts: tag_aws_cloudformation_stack-name_feanilpractice:&tag_group_xqueue sudo: True vars_files: - "{{ secure_dir }}/vars/edxapp_continuous_integration_vars.yml" - "{{ secure_dir }}/vars/users.yml" roles: - common - nginx - xqueue
0d9729689420249bd4ae4aecfc1f1554493d04cc
playbooks/edx-east/feanil_deploy.yml
playbooks/edx-east/feanil_deploy.yml
YAML
<|file_sep|>.kitchen.yml.diff original: Name: storage-ebs-ubuntu-1404 updated: Name: et-storage-ebs-test <|file_sep|>.kitchen.yml.diff original: Name: storage-es-ubuntu-1404 updated: Name: et-storage-es-test <|file_sep|>original/.kitchen.yml - name: ubuntu-16.04 run_list: - recipe[aws::ec2_hints] - recipe[storage::default] suites: - name: ebs driver: tags: Name: storage-ebs-ubuntu-1404 instance_type: t2.medium - name: es driver: tags: Name: storage-es-ubuntu-1404 instance_type: c3.xlarge - name: nvme driver: tags: Name: storage-nvme-ubuntu-1404 instance_type: i3.large <|file_sep|>current/.kitchen.yml - name: ubuntu-16.04 run_list: - recipe[aws::ec2_hints] - recipe[storage::default] suites: - name: ebs driver: tags: Name: et-storage-ebs-test instance_type: t2.medium - name: es driver: tags: Name: et-storage-es-test instance_type: c3.xlarge - name: nvme driver: tags: Name: storage-nvme-ubuntu-1404 instance_type: i3.large <|file_sep|>updated/.kitchen.yml
- name: ubuntu-16.04 run_list: - recipe[aws::ec2_hints] - recipe[storage::default] suites: - name: ebs driver: tags: Name: et-storage-ebs-test instance_type: t2.medium - name: es driver: tags: Name: et-storage-es-test instance_type: c3.xlarge - name: nvme driver: tags: Name: et-storage-nvme-test instance_type: i3.large
<|file_sep|>.kitchen.yml.diff original: Name: storage-ebs-ubuntu-1404 updated: Name: et-storage-ebs-test <|file_sep|>.kitchen.yml.diff original: Name: storage-es-ubuntu-1404 updated: Name: et-storage-es-test <|file_sep|>original/.kitchen.yml - name: ubuntu-16.04 run_list: - recipe[aws::ec2_hints] - recipe[storage::default] suites: - name: ebs driver: tags: Name: storage-ebs-ubuntu-1404 instance_type: t2.medium - name: es driver: tags: Name: storage-es-ubuntu-1404 instance_type: c3.xlarge - name: nvme driver: tags: Name: storage-nvme-ubuntu-1404 instance_type: i3.large <|file_sep|>current/.kitchen.yml - name: ubuntu-16.04 run_list: - recipe[aws::ec2_hints] - recipe[storage::default] suites: - name: ebs driver: tags: Name: et-storage-ebs-test instance_type: t2.medium - name: es driver: tags: Name: et-storage-es-test instance_type: c3.xlarge - name: nvme driver: tags: Name: storage-nvme-ubuntu-1404 instance_type: i3.large <|file_sep|>updated/.kitchen.yml - name: ubuntu-16.04 run_list: - recipe[aws::ec2_hints] - recipe[storage::default] suites: - name: ebs driver: tags: Name: et-storage-ebs-test instance_type: t2.medium - name: es driver: tags: Name: et-storage-es-test instance_type: c3.xlarge - name: nvme driver: tags: Name: et-storage-nvme-test instance_type: i3.large
891eab2c6ddd082d2b156d6c3672e45b5a3dcf90
.kitchen.yml
.kitchen.yml
YAML
<|file_sep|>original/.travis.yml language: python python: - "2.6" - "2.7" - "3.2" - "3.3" - "3.4" services: - mongodb install: - "pip install coverage" - "pip install nose" - "pip install coveralls" - "pip install -e ." script: "python setup.py nosetests --with-coverage --cover-package=depot --cover-erase" after_success: coveralls <|file_sep|>current/.travis.yml language: python python: - "2.6" - "2.7" - "3.2" - "3.3" - "3.4" services: - mongodb install: - "pip install coverage" - "pip install nose" - "pip install coveralls" - "pip install -e ." script: "python setup.py nosetests --with-coverage --cover-package=depot --cover-erase" after_success: coveralls <|file_sep|>updated/.travis.yml
python: - "2.6" - "2.7" - "3.2" - "3.3" - "3.4" services: - mongodb secure: "AOD+7FtWk9oHqLwtbS/aCoKNPsYA/uNsC9N3js7UZO7/5qQAYzvYvWiEiRUAtI620+hsAyTd8hyHZkI7Yk+BFqtdA1XWbDIjYam5WI2euW2ME+FtokxyT3LoLu2fNAabMaNdru0JxSThW+bOurFwshRDEwxvkAgAkgZIMashMVs=" secure: "Ub7LbB1M9Uh1qBXZTyOyP65bgZrn62ZFqmc9mdlJmeQHksWqQoNApRw9SHYiu/zx9fiAQZl8HLFc2cbACC+45N7d/lN4kwFRf2fFzu8hNCzHBvYo9y7ciHiVfOQX9z+33HR4LvzbU3s3T3P57zu78m91xgWeHwIWh7mSqiAIxM0=" install: - "pip install coverage" - "pip install nose" - "pip install coveralls" - "pip install -e ." script: "python setup.py nosetests --with-coverage --cover-package=depot --cover-erase"
<|file_sep|>original/.travis.yml language: python python: - "2.6" - "2.7" - "3.2" - "3.3" - "3.4" services: - mongodb install: - "pip install coverage" - "pip install nose" - "pip install coveralls" - "pip install -e ." script: "python setup.py nosetests --with-coverage --cover-package=depot --cover-erase" after_success: coveralls <|file_sep|>current/.travis.yml language: python python: - "2.6" - "2.7" - "3.2" - "3.3" - "3.4" services: - mongodb install: - "pip install coverage" - "pip install nose" - "pip install coveralls" - "pip install -e ." script: "python setup.py nosetests --with-coverage --cover-package=depot --cover-erase" after_success: coveralls <|file_sep|>updated/.travis.yml python: - "2.6" - "2.7" - "3.2" - "3.3" - "3.4" services: - mongodb secure: "AOD+7FtWk9oHqLwtbS/aCoKNPsYA/uNsC9N3js7UZO7/5qQAYzvYvWiEiRUAtI620+hsAyTd8hyHZkI7Yk+BFqtdA1XWbDIjYam5WI2euW2ME+FtokxyT3LoLu2fNAabMaNdru0JxSThW+bOurFwshRDEwxvkAgAkgZIMashMVs=" secure: "Ub7LbB1M9Uh1qBXZTyOyP65bgZrn62ZFqmc9mdlJmeQHksWqQoNApRw9SHYiu/zx9fiAQZl8HLFc2cbACC+45N7d/lN4kwFRf2fFzu8hNCzHBvYo9y7ciHiVfOQX9z+33HR4LvzbU3s3T3P57zu78m91xgWeHwIWh7mSqiAIxM0=" install: - "pip install coverage" - "pip install nose" - "pip install coveralls" - "pip install -e ." script: "python setup.py nosetests --with-coverage --cover-package=depot --cover-erase"
2e67459fc5dc7a6d97969397524ede487fd2bbde
.travis.yml
.travis.yml
YAML
<|file_sep|>original/.travis.yml before_install: - gem update bundler branches: only: - master env: global: - secure: | # CODECLIMATE_REPO_TOKEN lK3tYDk/63jRamEfGKbC27mPAoV7XsebCurx6doeisv1r4926lyPY4B9ZoSu OeVmjXQWHX9U7IgPH1C+zoIh1wVHVA8h5FVuqlGUMlA6IJi2xaI+ChEo3WeD FRlk1Q5fGhgp1mt59sMn3GZZ/mv31v+sd9iYC3AVIM0KrlMGGZQ= gemfile: - gemfiles/rspec_2_11.gemfile - gemfiles/rspec_2_12.gemfile - gemfiles/rspec_2_13.gemfile - gemfiles/rspec_2_14.gemfile - gemfiles/rspec_3_0.gemfile - gemfiles/rspec_3_1.gemfile - gemfiles/rspec_3_2.gemfile language: ruby matrix: <|file_sep|>current/.travis.yml before_install: - gem update bundler branches: only: - master env: global: - secure: | # CODECLIMATE_REPO_TOKEN lK3tYDk/63jRamEfGKbC27mPAoV7XsebCurx6doeisv1r4926lyPY4B9ZoSu OeVmjXQWHX9U7IgPH1C+zoIh1wVHVA8h5FVuqlGUMlA6IJi2xaI+ChEo3WeD FRlk1Q5fGhgp1mt59sMn3GZZ/mv31v+sd9iYC3AVIM0KrlMGGZQ= gemfile: - gemfiles/rspec_2_11.gemfile - gemfiles/rspec_2_12.gemfile - gemfiles/rspec_2_13.gemfile - gemfiles/rspec_2_14.gemfile - gemfiles/rspec_3_0.gemfile - gemfiles/rspec_3_1.gemfile - gemfiles/rspec_3_2.gemfile language: ruby matrix: <|file_sep|>updated/.travis.yml
before_install: - gem update bundler rake branches: only: - master env: global: - secure: | # CODECLIMATE_REPO_TOKEN lK3tYDk/63jRamEfGKbC27mPAoV7XsebCurx6doeisv1r4926lyPY4B9ZoSu OeVmjXQWHX9U7IgPH1C+zoIh1wVHVA8h5FVuqlGUMlA6IJi2xaI+ChEo3WeD FRlk1Q5fGhgp1mt59sMn3GZZ/mv31v+sd9iYC3AVIM0KrlMGGZQ= gemfile: - gemfiles/rspec_2_11.gemfile - gemfiles/rspec_2_12.gemfile - gemfiles/rspec_2_13.gemfile - gemfiles/rspec_2_14.gemfile - gemfiles/rspec_3_0.gemfile - gemfiles/rspec_3_1.gemfile - gemfiles/rspec_3_2.gemfile language: ruby matrix:
<|file_sep|>original/.travis.yml before_install: - gem update bundler branches: only: - master env: global: - secure: | # CODECLIMATE_REPO_TOKEN lK3tYDk/63jRamEfGKbC27mPAoV7XsebCurx6doeisv1r4926lyPY4B9ZoSu OeVmjXQWHX9U7IgPH1C+zoIh1wVHVA8h5FVuqlGUMlA6IJi2xaI+ChEo3WeD FRlk1Q5fGhgp1mt59sMn3GZZ/mv31v+sd9iYC3AVIM0KrlMGGZQ= gemfile: - gemfiles/rspec_2_11.gemfile - gemfiles/rspec_2_12.gemfile - gemfiles/rspec_2_13.gemfile - gemfiles/rspec_2_14.gemfile - gemfiles/rspec_3_0.gemfile - gemfiles/rspec_3_1.gemfile - gemfiles/rspec_3_2.gemfile language: ruby matrix: <|file_sep|>current/.travis.yml before_install: - gem update bundler branches: only: - master env: global: - secure: | # CODECLIMATE_REPO_TOKEN lK3tYDk/63jRamEfGKbC27mPAoV7XsebCurx6doeisv1r4926lyPY4B9ZoSu OeVmjXQWHX9U7IgPH1C+zoIh1wVHVA8h5FVuqlGUMlA6IJi2xaI+ChEo3WeD FRlk1Q5fGhgp1mt59sMn3GZZ/mv31v+sd9iYC3AVIM0KrlMGGZQ= gemfile: - gemfiles/rspec_2_11.gemfile - gemfiles/rspec_2_12.gemfile - gemfiles/rspec_2_13.gemfile - gemfiles/rspec_2_14.gemfile - gemfiles/rspec_3_0.gemfile - gemfiles/rspec_3_1.gemfile - gemfiles/rspec_3_2.gemfile language: ruby matrix: <|file_sep|>updated/.travis.yml before_install: - gem update bundler rake branches: only: - master env: global: - secure: | # CODECLIMATE_REPO_TOKEN lK3tYDk/63jRamEfGKbC27mPAoV7XsebCurx6doeisv1r4926lyPY4B9ZoSu OeVmjXQWHX9U7IgPH1C+zoIh1wVHVA8h5FVuqlGUMlA6IJi2xaI+ChEo3WeD FRlk1Q5fGhgp1mt59sMn3GZZ/mv31v+sd9iYC3AVIM0KrlMGGZQ= gemfile: - gemfiles/rspec_2_11.gemfile - gemfiles/rspec_2_12.gemfile - gemfiles/rspec_2_13.gemfile - gemfiles/rspec_2_14.gemfile - gemfiles/rspec_3_0.gemfile - gemfiles/rspec_3_1.gemfile - gemfiles/rspec_3_2.gemfile language: ruby matrix:
6fdac4aa02e48eea89ca54ad3f0e8d478fbd4af9
.travis.yml
.travis.yml
YAML
<|file_sep|>src/sana/core/models/__init__.py.diff original: from sana.core.models.concept import Concept, Relationship, RelationshipCategory from sana.core.models.device import Device from sana.core.models.encounter import Encounter from sana.core.models.events import Event from sana.core.models.notification import Notification from sana.core.models.observation import Observation from sana.core.models.observer import Observer from sana.core.models.procedure import Procedure from sana.core.models.subject import Subject updated: from .concept import Concept, Relationship, RelationshipCategory from .device import Device from .encounter import Encounter from .events import Event from .notification import Notification from .observation import Observation from .observer import Observer from .procedure import Procedure from .subject import Patient <|file_sep|>original/src/sana/core/models/__init__.py from sana.core.models.concept import Concept, Relationship, RelationshipCategory from sana.core.models.device import Device from sana.core.models.encounter import Encounter from sana.core.models.events import Event from sana.core.models.notification import Notification from sana.core.models.observation import Observation from sana.core.models.observer import Observer from sana.core.models.procedure import Procedure from sana.core.models.subject import Subject __all__ = ['Concept', 'Relationship','RelationshipCategory', 'Device', 'Encounter', 'Event', 'Notification', 'Observation', 'Observer', 'Procedure', 'Subject',] <|file_sep|>current/src/sana/core/models/__init__.py from .concept import Concept, Relationship, RelationshipCategory from .device import Device from .encounter import Encounter from .events import Event from .notification import Notification from .observation import Observation from .observer import Observer from .procedure import Procedure from .subject import Patient __all__ = ['Concept', 'Relationship','RelationshipCategory', 'Device', 'Encounter', 'Event', 'Notification', 'Observation', 'Observer', 'Procedure', 'Subject',] <|file_sep|>updated/src/sana/core/models/__init__.py
from .concept import Concept, Relationship, RelationshipCategory from .device import Device from .encounter import Encounter from .events import Event from .notification import Notification from .observation import Observation from .observer import Observer from .procedure import Procedure from .subject import Patient __all__ = ['Concept', 'Relationship','RelationshipCategory', 'Device', 'Encounter', 'Event', 'Notification', 'Observation', 'Observer', 'Procedure', 'Patient',]
<|file_sep|>src/sana/core/models/__init__.py.diff original: from sana.core.models.concept import Concept, Relationship, RelationshipCategory from sana.core.models.device import Device from sana.core.models.encounter import Encounter from sana.core.models.events import Event from sana.core.models.notification import Notification from sana.core.models.observation import Observation from sana.core.models.observer import Observer from sana.core.models.procedure import Procedure from sana.core.models.subject import Subject updated: from .concept import Concept, Relationship, RelationshipCategory from .device import Device from .encounter import Encounter from .events import Event from .notification import Notification from .observation import Observation from .observer import Observer from .procedure import Procedure from .subject import Patient <|file_sep|>original/src/sana/core/models/__init__.py from sana.core.models.concept import Concept, Relationship, RelationshipCategory from sana.core.models.device import Device from sana.core.models.encounter import Encounter from sana.core.models.events import Event from sana.core.models.notification import Notification from sana.core.models.observation import Observation from sana.core.models.observer import Observer from sana.core.models.procedure import Procedure from sana.core.models.subject import Subject __all__ = ['Concept', 'Relationship','RelationshipCategory', 'Device', 'Encounter', 'Event', 'Notification', 'Observation', 'Observer', 'Procedure', 'Subject',] <|file_sep|>current/src/sana/core/models/__init__.py from .concept import Concept, Relationship, RelationshipCategory from .device import Device from .encounter import Encounter from .events import Event from .notification import Notification from .observation import Observation from .observer import Observer from .procedure import Procedure from .subject import Patient __all__ = ['Concept', 'Relationship','RelationshipCategory', 'Device', 'Encounter', 'Event', 'Notification', 'Observation', 'Observer', 'Procedure', 'Subject',] <|file_sep|>updated/src/sana/core/models/__init__.py from .concept import Concept, Relationship, RelationshipCategory from .device import Device from .encounter import Encounter from .events import Event from .notification import Notification from .observation import Observation from .observer import Observer from .procedure import Procedure from .subject import Patient __all__ = ['Concept', 'Relationship','RelationshipCategory', 'Device', 'Encounter', 'Event', 'Notification', 'Observation', 'Observer', 'Procedure', 'Patient',]
198d1d8827ffc04bf7f33e99bc929a33c8a7ba8c
src/sana/core/models/__init__.py
src/sana/core/models/__init__.py
Python
<|file_sep|>original/prow/cluster/branchprotector_cronjob.yaml image: gcr.io/k8s-prow/branchprotector:v20180129-3123648b4 args: - --config-path=/etc/config/config - --github-token-path=/etc/github/oauth - --confirm volumeMounts: - name: oauth mountPath: /etc/github readOnly: true - name: config mountPath: /etc/config readOnly: true restartPolicy: Never volumes: - name: oauth secret: secretName: oauth-token - name: config configMap: name: config <|file_sep|>current/prow/cluster/branchprotector_cronjob.yaml image: gcr.io/k8s-prow/branchprotector:v20180129-3123648b4 args: - --config-path=/etc/config/config - --github-token-path=/etc/github/oauth - --confirm volumeMounts: - name: oauth mountPath: /etc/github readOnly: true - name: config mountPath: /etc/config readOnly: true restartPolicy: Never volumes: - name: oauth secret: secretName: oauth-token - name: config configMap: name: config <|file_sep|>updated/prow/cluster/branchprotector_cronjob.yaml
- name: branchprotector image: gcr.io/k8s-prow/branchprotector:v20180129-3123648b4 args: - --config-path=/etc/config/config - --github-token-path=/etc/github/oauth - --confirm volumeMounts: - name: oauth mountPath: /etc/github readOnly: true - name: config mountPath: /etc/config readOnly: true restartPolicy: Never volumes: - name: oauth secret: secretName: oauth-token - name: config configMap: name: config
<|file_sep|>original/prow/cluster/branchprotector_cronjob.yaml image: gcr.io/k8s-prow/branchprotector:v20180129-3123648b4 args: - --config-path=/etc/config/config - --github-token-path=/etc/github/oauth - --confirm volumeMounts: - name: oauth mountPath: /etc/github readOnly: true - name: config mountPath: /etc/config readOnly: true restartPolicy: Never volumes: - name: oauth secret: secretName: oauth-token - name: config configMap: name: config <|file_sep|>current/prow/cluster/branchprotector_cronjob.yaml image: gcr.io/k8s-prow/branchprotector:v20180129-3123648b4 args: - --config-path=/etc/config/config - --github-token-path=/etc/github/oauth - --confirm volumeMounts: - name: oauth mountPath: /etc/github readOnly: true - name: config mountPath: /etc/config readOnly: true restartPolicy: Never volumes: - name: oauth secret: secretName: oauth-token - name: config configMap: name: config <|file_sep|>updated/prow/cluster/branchprotector_cronjob.yaml - name: branchprotector image: gcr.io/k8s-prow/branchprotector:v20180129-3123648b4 args: - --config-path=/etc/config/config - --github-token-path=/etc/github/oauth - --confirm volumeMounts: - name: oauth mountPath: /etc/github readOnly: true - name: config mountPath: /etc/config readOnly: true restartPolicy: Never volumes: - name: oauth secret: secretName: oauth-token - name: config configMap: name: config
ac65cf066802920f2f2b6fe509488edf936fd9aa
prow/cluster/branchprotector_cronjob.yaml
prow/cluster/branchprotector_cronjob.yaml
YAML
<|file_sep|>date-range.gemspec.diff original: spec.authors = ['Chris Mytton'] spec.email = ['chrismytton@gmail.com'] updated: spec.authors = ['EveryPolitician'] spec.email = ['team@everypolitician.org'] <|file_sep|>original/date-range.gemspec $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require 'date_range/version' Gem::Specification.new do |spec| spec.name = 'date-range' spec.version = DateRange::VERSION spec.authors = ['Chris Mytton'] spec.email = ['chrismytton@gmail.com'] spec.summary = "Ruby port of Perl's Date::Range" spec.homepage = 'https://github.com/chrismytton/date_range' spec.license = 'MIT' spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) } spec.bindir = 'exe' spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) } spec.require_paths = ['lib'] spec.add_development_dependency 'bundler', '~> 1.10' spec.add_development_dependency 'rake', '~> 10.0' spec.add_development_dependency 'minitest' <|file_sep|>current/date-range.gemspec $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require 'date_range/version' Gem::Specification.new do |spec| spec.name = 'date-range' spec.version = DateRange::VERSION spec.authors = ['EveryPolitician'] spec.email = ['team@everypolitician.org'] spec.summary = "Ruby port of Perl's Date::Range" spec.homepage = 'https://github.com/chrismytton/date_range' spec.license = 'MIT' spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) } spec.bindir = 'exe' spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) } spec.require_paths = ['lib'] spec.add_development_dependency 'bundler', '~> 1.10' spec.add_development_dependency 'rake', '~> 10.0' spec.add_development_dependency 'minitest' <|file_sep|>updated/date-range.gemspec
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require 'date_range/version' Gem::Specification.new do |spec| spec.name = 'date-range' spec.version = DateRange::VERSION spec.authors = ['EveryPolitician'] spec.email = ['team@everypolitician.org'] spec.summary = "Ruby port of Perl's Date::Range" spec.homepage = 'https://github.com/everypolitician/date_range' spec.license = 'MIT' spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) } spec.bindir = 'exe' spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) } spec.require_paths = ['lib'] spec.add_development_dependency 'bundler', '~> 1.10' spec.add_development_dependency 'rake', '~> 10.0' spec.add_development_dependency 'minitest'
<|file_sep|>date-range.gemspec.diff original: spec.authors = ['Chris Mytton'] spec.email = ['chrismytton@gmail.com'] updated: spec.authors = ['EveryPolitician'] spec.email = ['team@everypolitician.org'] <|file_sep|>original/date-range.gemspec $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require 'date_range/version' Gem::Specification.new do |spec| spec.name = 'date-range' spec.version = DateRange::VERSION spec.authors = ['Chris Mytton'] spec.email = ['chrismytton@gmail.com'] spec.summary = "Ruby port of Perl's Date::Range" spec.homepage = 'https://github.com/chrismytton/date_range' spec.license = 'MIT' spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) } spec.bindir = 'exe' spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) } spec.require_paths = ['lib'] spec.add_development_dependency 'bundler', '~> 1.10' spec.add_development_dependency 'rake', '~> 10.0' spec.add_development_dependency 'minitest' <|file_sep|>current/date-range.gemspec $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require 'date_range/version' Gem::Specification.new do |spec| spec.name = 'date-range' spec.version = DateRange::VERSION spec.authors = ['EveryPolitician'] spec.email = ['team@everypolitician.org'] spec.summary = "Ruby port of Perl's Date::Range" spec.homepage = 'https://github.com/chrismytton/date_range' spec.license = 'MIT' spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) } spec.bindir = 'exe' spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) } spec.require_paths = ['lib'] spec.add_development_dependency 'bundler', '~> 1.10' spec.add_development_dependency 'rake', '~> 10.0' spec.add_development_dependency 'minitest' <|file_sep|>updated/date-range.gemspec $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require 'date_range/version' Gem::Specification.new do |spec| spec.name = 'date-range' spec.version = DateRange::VERSION spec.authors = ['EveryPolitician'] spec.email = ['team@everypolitician.org'] spec.summary = "Ruby port of Perl's Date::Range" spec.homepage = 'https://github.com/everypolitician/date_range' spec.license = 'MIT' spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) } spec.bindir = 'exe' spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) } spec.require_paths = ['lib'] spec.add_development_dependency 'bundler', '~> 1.10' spec.add_development_dependency 'rake', '~> 10.0' spec.add_development_dependency 'minitest'
a7376c82ec83f3b9336c1fcf1f7ed4f0c49be941
date-range.gemspec
date-range.gemspec
Ruby
<|file_sep|>src/Context/Drush/DrushContext.php.diff original: * @Given /^(?:|I )login with one time link$/ updated: * @param string * User ID, email or name. Argument for "drush uli". * * @throws \Exception * * @Given /^(?:|I )login with one time link(?:| \(([^"]*)\))$/ <|file_sep|>src/Context/Drush/DrushContext.php.diff original: public function loginWithOneTimeLink() updated: public function loginWithOneTimeLink($argument = '') <|file_sep|>src/Context/Drush/DrushContext.php.diff original: $userContext->logoutUser(); updated: <|file_sep|>src/Context/Drush/DrushContext.php.diff original: $user = $userContext->createTestUser(); updated: if (empty($argument)) { $userContext->logoutUser(); $argument = $userContext->createTestUser()->name; } <|file_sep|>src/Context/Drush/DrushContext.php.diff original: $link = rtrim($this->getOneTimeLoginLink($user->name), '_'); updated: $link = rtrim($this->getOneTimeLoginLink($argument), '_'); <|file_sep|>original/src/Context/Drush/DrushContext.php * @Given /^(?:|I )login with one time link$/ */ public function loginWithOneTimeLink() { $userContext = $this->getUserContext(); $userContext->logoutUser(); $user = $userContext->createTestUser(); // Care about not-configured Drupal installations, when // the "$base_url" variable is not set in "settings.php". // Also, remove the last underscore symbol from link for // prevent opening the page for reset the password; $link = rtrim($this->getOneTimeLoginLink($user->name), '_'); $this->visitPath($link); $text = t('You have just used your one-time login link.'); if (!preg_match("/$text|$user->name/i", $this->getWorkingElement()->getText())) { throw new \Exception(sprintf('Cannot login with one time link: "%s"', $link)); } } } <|file_sep|>current/src/Context/Drush/DrushContext.php { $userContext = $this->getUserContext(); if (empty($argument)) { $userContext->logoutUser(); $argument = $userContext->createTestUser()->name; } // Care about not-configured Drupal installations, when // the "$base_url" variable is not set in "settings.php". // Also, remove the last underscore symbol from link for // prevent opening the page for reset the password; $link = rtrim($this->getOneTimeLoginLink($argument), '_'); $this->visitPath($link); $text = t('You have just used your one-time login link.'); if (!preg_match("/$text|$user->name/i", $this->getWorkingElement()->getText())) { throw new \Exception(sprintf('Cannot login with one time link: "%s"', $link)); } } } <|file_sep|>updated/src/Context/Drush/DrushContext.php
$argument = $userContext->createTestUser()->name; } // Care about not-configured Drupal installations, when // the "$base_url" variable is not set in "settings.php". // Also, remove the last underscore symbol from link for // prevent opening the page for reset the password; $link = rtrim($this->getOneTimeLoginLink($argument), '_'); $this->visitPath($link); if ( // The "isLoggedIn" method must be called to set authorization cookie for "Goutte" // session. It must be set to be able to check status codes for the HTTP requests. !$userContext->isLoggedIn() && !preg_match( sprintf("/%s/i", t('You have just used your one-time login link.')), $this->getWorkingElement()->getText() ) ) { throw new \Exception(sprintf('Cannot login with one time link: "%s"', $link)); }
<|file_sep|>src/Context/Drush/DrushContext.php.diff original: * @Given /^(?:|I )login with one time link$/ updated: * @param string * User ID, email or name. Argument for "drush uli". * * @throws \Exception * * @Given /^(?:|I )login with one time link(?:| \(([^"]*)\))$/ <|file_sep|>src/Context/Drush/DrushContext.php.diff original: public function loginWithOneTimeLink() updated: public function loginWithOneTimeLink($argument = '') <|file_sep|>src/Context/Drush/DrushContext.php.diff original: $userContext->logoutUser(); updated: <|file_sep|>src/Context/Drush/DrushContext.php.diff original: $user = $userContext->createTestUser(); updated: if (empty($argument)) { $userContext->logoutUser(); $argument = $userContext->createTestUser()->name; } <|file_sep|>src/Context/Drush/DrushContext.php.diff original: $link = rtrim($this->getOneTimeLoginLink($user->name), '_'); updated: $link = rtrim($this->getOneTimeLoginLink($argument), '_'); <|file_sep|>original/src/Context/Drush/DrushContext.php * @Given /^(?:|I )login with one time link$/ */ public function loginWithOneTimeLink() { $userContext = $this->getUserContext(); $userContext->logoutUser(); $user = $userContext->createTestUser(); // Care about not-configured Drupal installations, when // the "$base_url" variable is not set in "settings.php". // Also, remove the last underscore symbol from link for // prevent opening the page for reset the password; $link = rtrim($this->getOneTimeLoginLink($user->name), '_'); $this->visitPath($link); $text = t('You have just used your one-time login link.'); if (!preg_match("/$text|$user->name/i", $this->getWorkingElement()->getText())) { throw new \Exception(sprintf('Cannot login with one time link: "%s"', $link)); } } } <|file_sep|>current/src/Context/Drush/DrushContext.php { $userContext = $this->getUserContext(); if (empty($argument)) { $userContext->logoutUser(); $argument = $userContext->createTestUser()->name; } // Care about not-configured Drupal installations, when // the "$base_url" variable is not set in "settings.php". // Also, remove the last underscore symbol from link for // prevent opening the page for reset the password; $link = rtrim($this->getOneTimeLoginLink($argument), '_'); $this->visitPath($link); $text = t('You have just used your one-time login link.'); if (!preg_match("/$text|$user->name/i", $this->getWorkingElement()->getText())) { throw new \Exception(sprintf('Cannot login with one time link: "%s"', $link)); } } } <|file_sep|>updated/src/Context/Drush/DrushContext.php $argument = $userContext->createTestUser()->name; } // Care about not-configured Drupal installations, when // the "$base_url" variable is not set in "settings.php". // Also, remove the last underscore symbol from link for // prevent opening the page for reset the password; $link = rtrim($this->getOneTimeLoginLink($argument), '_'); $this->visitPath($link); if ( // The "isLoggedIn" method must be called to set authorization cookie for "Goutte" // session. It must be set to be able to check status codes for the HTTP requests. !$userContext->isLoggedIn() && !preg_match( sprintf("/%s/i", t('You have just used your one-time login link.')), $this->getWorkingElement()->getText() ) ) { throw new \Exception(sprintf('Cannot login with one time link: "%s"', $link)); }
e246643720d9536c897ecdebd14904785212c715
src/Context/Drush/DrushContext.php
src/Context/Drush/DrushContext.php
PHP
<|file_sep|>original/vim/config/neosnippet.vim " Mappings for neosnippet https://github.com/Shougo/neosnippet.vim let g:neosnippet#snippets_directory .= ", ~/.dotfiles/vim/snippets" " SuperTab like snippets behavior. imap <expr><TAB> neosnippet#expandable_or_jumpable() ? \ "\<Plug>(neosnippet_expand_or_jump)" \: pumvisible() ? "\<C-n>" : "\<TAB>" smap <expr><TAB> neosnippet#expandable_or_jumpable() ? \ "\<Plug>(neosnippet_expand_or_jump)" \: "\<TAB>" if has('conceal') set conceallevel=2 concealcursor=i endif <|file_sep|>current/vim/config/neosnippet.vim " Mappings for neosnippet https://github.com/Shougo/neosnippet.vim let g:neosnippet#snippets_directory .= ", ~/.dotfiles/vim/snippets" " SuperTab like snippets behavior. imap <expr><TAB> neosnippet#expandable_or_jumpable() ? \ "\<Plug>(neosnippet_expand_or_jump)" \: pumvisible() ? "\<C-n>" : "\<TAB>" smap <expr><TAB> neosnippet#expandable_or_jumpable() ? \ "\<Plug>(neosnippet_expand_or_jump)" \: "\<TAB>" if has('conceal') set conceallevel=2 concealcursor=i endif <|file_sep|>updated/vim/config/neosnippet.vim
" Mappings for neosnippet https://github.com/Shougo/neosnippet.vim let g:neosnippet#snippets_directory .= ",~/.dotfiles/vim/snippets" " SuperTab like snippets behavior. imap <expr><TAB> neosnippet#expandable_or_jumpable() ? \ "\<Plug>(neosnippet_expand_or_jump)" \: pumvisible() ? "\<C-n>" : "\<TAB>" smap <expr><TAB> neosnippet#expandable_or_jumpable() ? \ "\<Plug>(neosnippet_expand_or_jump)" \: "\<TAB>" if has('conceal') set conceallevel=2 concealcursor=i endif
<|file_sep|>original/vim/config/neosnippet.vim " Mappings for neosnippet https://github.com/Shougo/neosnippet.vim let g:neosnippet#snippets_directory .= ", ~/.dotfiles/vim/snippets" " SuperTab like snippets behavior. imap <expr><TAB> neosnippet#expandable_or_jumpable() ? \ "\<Plug>(neosnippet_expand_or_jump)" \: pumvisible() ? "\<C-n>" : "\<TAB>" smap <expr><TAB> neosnippet#expandable_or_jumpable() ? \ "\<Plug>(neosnippet_expand_or_jump)" \: "\<TAB>" if has('conceal') set conceallevel=2 concealcursor=i endif <|file_sep|>current/vim/config/neosnippet.vim " Mappings for neosnippet https://github.com/Shougo/neosnippet.vim let g:neosnippet#snippets_directory .= ", ~/.dotfiles/vim/snippets" " SuperTab like snippets behavior. imap <expr><TAB> neosnippet#expandable_or_jumpable() ? \ "\<Plug>(neosnippet_expand_or_jump)" \: pumvisible() ? "\<C-n>" : "\<TAB>" smap <expr><TAB> neosnippet#expandable_or_jumpable() ? \ "\<Plug>(neosnippet_expand_or_jump)" \: "\<TAB>" if has('conceal') set conceallevel=2 concealcursor=i endif <|file_sep|>updated/vim/config/neosnippet.vim " Mappings for neosnippet https://github.com/Shougo/neosnippet.vim let g:neosnippet#snippets_directory .= ",~/.dotfiles/vim/snippets" " SuperTab like snippets behavior. imap <expr><TAB> neosnippet#expandable_or_jumpable() ? \ "\<Plug>(neosnippet_expand_or_jump)" \: pumvisible() ? "\<C-n>" : "\<TAB>" smap <expr><TAB> neosnippet#expandable_or_jumpable() ? \ "\<Plug>(neosnippet_expand_or_jump)" \: "\<TAB>" if has('conceal') set conceallevel=2 concealcursor=i endif
365b43bc42f35751b0405ac4e7e68872d48959b9
vim/config/neosnippet.vim
vim/config/neosnippet.vim
VimL
<|file_sep|>.travis.yml.diff original: updated: # referenced https://github.com/genbattle/dkm/blob/9c893efb556516f4b121a6201b66e000f838dd59/.travis.yml sudo: required dist: precise <|file_sep|>original/.travis.yml language: cpp compiler: - gcc - clang before_script: - mkdir build - cd build - cmake .. script: make <|file_sep|>current/.travis.yml # referenced https://github.com/genbattle/dkm/blob/9c893efb556516f4b121a6201b66e000f838dd59/.travis.yml sudo: required dist: precise language: cpp compiler: - gcc - clang before_script: - mkdir build - cd build - cmake .. script: make <|file_sep|>updated/.travis.yml
# referenced https://github.com/genbattle/dkm/blob/9c893efb556516f4b121a6201b66e000f838dd59/.travis.yml sudo: required dist: precise language: cpp matrix: include: - compiler: gcc addons: apt: sources: - ubuntu-toolchain-r-test packages: - g++-4.9 env: COMPILER=g++-4.9 - compiler: gcc addons: apt: sources: - ubuntu-toolchain-r-test packages:
<|file_sep|>.travis.yml.diff original: updated: # referenced https://github.com/genbattle/dkm/blob/9c893efb556516f4b121a6201b66e000f838dd59/.travis.yml sudo: required dist: precise <|file_sep|>original/.travis.yml language: cpp compiler: - gcc - clang before_script: - mkdir build - cd build - cmake .. script: make <|file_sep|>current/.travis.yml # referenced https://github.com/genbattle/dkm/blob/9c893efb556516f4b121a6201b66e000f838dd59/.travis.yml sudo: required dist: precise language: cpp compiler: - gcc - clang before_script: - mkdir build - cd build - cmake .. script: make <|file_sep|>updated/.travis.yml # referenced https://github.com/genbattle/dkm/blob/9c893efb556516f4b121a6201b66e000f838dd59/.travis.yml sudo: required dist: precise language: cpp matrix: include: - compiler: gcc addons: apt: sources: - ubuntu-toolchain-r-test packages: - g++-4.9 env: COMPILER=g++-4.9 - compiler: gcc addons: apt: sources: - ubuntu-toolchain-r-test packages:
ccc51dbe5f66017563360248a3001fad00b899ed
.travis.yml
.travis.yml
YAML
<|file_sep|>original/src/test/kotlin/core/layers/merge/distance/DistanceLayerUtils.kt <|file_sep|>current/src/test/kotlin/core/layers/merge/distance/DistanceLayerUtils.kt <|file_sep|>updated/src/test/kotlin/core/layers/merge/distance/DistanceLayerUtils.kt
/* Copyright 2016-present The KotlinNLP Authors. All Rights Reserved. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, you can obtain one at http://mozilla.org/MPL/2.0/. * ------------------------------------------------------------------*/ package core.layers.merge.distance import com.kotlinnlp.simplednn.core.arrays.AugmentedArray import com.kotlinnlp.simplednn.core.layers.models.merge.distance.DistanceLayer import com.kotlinnlp.simplednn.core.layers.models.merge.distance.DistanceLayerParameters import com.kotlinnlp.simplednn.simplemath.ndarray.dense.DenseNDArray import com.kotlinnlp.simplednn.simplemath.ndarray.dense.DenseNDArrayFactory object DistanceLayerUtils { /** * */ fun buildLayer(): DistanceLayer<DenseNDArray> = DistanceLayer( inputArray1 = AugmentedArray(values = DenseNDArrayFactory.arrayOf(doubleArrayOf(-0.7, -0.7, 0.8, 0.6))),
<|file_sep|>original/src/test/kotlin/core/layers/merge/distance/DistanceLayerUtils.kt <|file_sep|>current/src/test/kotlin/core/layers/merge/distance/DistanceLayerUtils.kt <|file_sep|>updated/src/test/kotlin/core/layers/merge/distance/DistanceLayerUtils.kt /* Copyright 2016-present The KotlinNLP Authors. All Rights Reserved. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, you can obtain one at http://mozilla.org/MPL/2.0/. * ------------------------------------------------------------------*/ package core.layers.merge.distance import com.kotlinnlp.simplednn.core.arrays.AugmentedArray import com.kotlinnlp.simplednn.core.layers.models.merge.distance.DistanceLayer import com.kotlinnlp.simplednn.core.layers.models.merge.distance.DistanceLayerParameters import com.kotlinnlp.simplednn.simplemath.ndarray.dense.DenseNDArray import com.kotlinnlp.simplednn.simplemath.ndarray.dense.DenseNDArrayFactory object DistanceLayerUtils { /** * */ fun buildLayer(): DistanceLayer<DenseNDArray> = DistanceLayer( inputArray1 = AugmentedArray(values = DenseNDArrayFactory.arrayOf(doubleArrayOf(-0.7, -0.7, 0.8, 0.6))),
1ebfd82f8606b3f34a32e6beae301dcd7673c36c
src/test/kotlin/core/layers/merge/distance/DistanceLayerUtils.kt
src/test/kotlin/core/layers/merge/distance/DistanceLayerUtils.kt
Kotlin
<|file_sep|>original/package.json "repository": { "type": "git", "url": "https://github.com/JOBBOX/jobbox-joblint.git" }, "homepage": "https://github.com/JOBBOX/jobbox-joblint", "bugs": "https://github.com/JOBBOX/jobbox-joblint/issues", "engines": { "node": "0.10.x" }, "dependencies": { "express": "~3.4", "express-hbs": "~0.1", "joblint": "https://github.com/JOBBOX/joblint/tarball/master", "newrelic": "~1.5.5" }, "devDependencies": { "jshint": "~2.1", "supervisor": "~0.5" }, "main": "./app.js" } <|file_sep|>current/package.json "repository": { "type": "git", "url": "https://github.com/JOBBOX/jobbox-joblint.git" }, "homepage": "https://github.com/JOBBOX/jobbox-joblint", "bugs": "https://github.com/JOBBOX/jobbox-joblint/issues", "engines": { "node": "0.10.x" }, "dependencies": { "express": "~3.4", "express-hbs": "~0.1", "joblint": "https://github.com/JOBBOX/joblint/tarball/master", "newrelic": "~1.5.5" }, "devDependencies": { "jshint": "~2.1", "supervisor": "~0.5" }, "main": "./app.js" } <|file_sep|>updated/package.json
"license": "MIT", "repository": { "type": "git", "url": "https://github.com/JOBBOX/jobbox-joblint.git" }, "homepage": "https://github.com/JOBBOX/jobbox-joblint", "bugs": "https://github.com/JOBBOX/jobbox-joblint/issues", "engines": { "node": "0.10.x" }, "dependencies": { "express": "~3.4", "express-hbs": "~0.1", "newrelic": "~1.5.5" }, "devDependencies": { "jshint": "~2.1", "supervisor": "~0.5" }, "main": "./app.js" }
<|file_sep|>original/package.json "repository": { "type": "git", "url": "https://github.com/JOBBOX/jobbox-joblint.git" }, "homepage": "https://github.com/JOBBOX/jobbox-joblint", "bugs": "https://github.com/JOBBOX/jobbox-joblint/issues", "engines": { "node": "0.10.x" }, "dependencies": { "express": "~3.4", "express-hbs": "~0.1", "joblint": "https://github.com/JOBBOX/joblint/tarball/master", "newrelic": "~1.5.5" }, "devDependencies": { "jshint": "~2.1", "supervisor": "~0.5" }, "main": "./app.js" } <|file_sep|>current/package.json "repository": { "type": "git", "url": "https://github.com/JOBBOX/jobbox-joblint.git" }, "homepage": "https://github.com/JOBBOX/jobbox-joblint", "bugs": "https://github.com/JOBBOX/jobbox-joblint/issues", "engines": { "node": "0.10.x" }, "dependencies": { "express": "~3.4", "express-hbs": "~0.1", "joblint": "https://github.com/JOBBOX/joblint/tarball/master", "newrelic": "~1.5.5" }, "devDependencies": { "jshint": "~2.1", "supervisor": "~0.5" }, "main": "./app.js" } <|file_sep|>updated/package.json "license": "MIT", "repository": { "type": "git", "url": "https://github.com/JOBBOX/jobbox-joblint.git" }, "homepage": "https://github.com/JOBBOX/jobbox-joblint", "bugs": "https://github.com/JOBBOX/jobbox-joblint/issues", "engines": { "node": "0.10.x" }, "dependencies": { "express": "~3.4", "express-hbs": "~0.1", "newrelic": "~1.5.5" }, "devDependencies": { "jshint": "~2.1", "supervisor": "~0.5" }, "main": "./app.js" }
d3b04d3a0c1f6b95f790b36d965f60ecf20366eb
package.json
package.json
JSON
<|file_sep|>original/bin/test.sh <|file_sep|>current/bin/test.sh <|file_sep|>updated/bin/test.sh
#! /usr/bin/env bash tmux new-session -d bin/server -t0 \; \ split-window -h "sleep 0.1; bin/client" \; \ set remain-on-exit on \; \ attach
<|file_sep|>original/bin/test.sh <|file_sep|>current/bin/test.sh <|file_sep|>updated/bin/test.sh #! /usr/bin/env bash tmux new-session -d bin/server -t0 \; \ split-window -h "sleep 0.1; bin/client" \; \ set remain-on-exit on \; \ attach
e460d348d388d0daed8421771365a433c3df0462
bin/test.sh
bin/test.sh
Shell
<|file_sep|>static/locales/en-GB/messages.properties.diff original: navigation-developers=Developers updated: <|file_sep|>original/static/locales/en-GB/messages.properties # Title tag # Navigation navigation-developers=Developers # Header upper-title=Pontoon by Mozilla headline-1=LocaliSe the web. headline-2=In Place. call-to-action=Tell Me More # What what-desc=Pontoon allows you to localise web content in place, with context and spatial limitations right in front of you. context-desc=By localising web page on the page itself, you no longer need to worry if the word you are translating is a verb or noun. # How how-desc=Pontoon is a very simple and intuitive tool that requires little to no technical skill for localisers to use. hover-desc=Move your mouse over headings, links, paragraphs or other text blocks on this page. A dashed rectangle will appear around each of these blocks, marking strings that are available for localisation on the page itself. # More <|file_sep|>current/static/locales/en-GB/messages.properties # Title tag # Navigation # Header upper-title=Pontoon by Mozilla headline-1=LocaliSe the web. headline-2=In Place. call-to-action=Tell Me More # What what-desc=Pontoon allows you to localise web content in place, with context and spatial limitations right in front of you. context-desc=By localising web page on the page itself, you no longer need to worry if the word you are translating is a verb or noun. # How how-desc=Pontoon is a very simple and intuitive tool that requires little to no technical skill for localisers to use. hover-desc=Move your mouse over headings, links, paragraphs or other text blocks on this page. A dashed rectangle will appear around each of these blocks, marking strings that are available for localisation on the page itself. # More # Developers <|file_sep|>updated/static/locales/en-GB/messages.properties
# Title tag # Navigation # Header upper-title=Pontoon by Mozilla headline-1=LocaliSe the web. # What what-desc=Pontoon allows you to localise web content in place, with context and spatial limitations right in front of you. context-desc=By localising web page on the page itself, you no longer need to worry if the word you are translating is a verb or noun. # How how-desc=Pontoon is a very simple and intuitive tool that requires little to no technical skill for localisers to use. hover-desc=Move your mouse over headings, links, paragraphs or other text blocks on this page. A dashed rectangle will appear around each of these blocks, marking strings that are available for localisation on the page itself. # More # Developers # Footer
<|file_sep|>static/locales/en-GB/messages.properties.diff original: navigation-developers=Developers updated: <|file_sep|>original/static/locales/en-GB/messages.properties # Title tag # Navigation navigation-developers=Developers # Header upper-title=Pontoon by Mozilla headline-1=LocaliSe the web. headline-2=In Place. call-to-action=Tell Me More # What what-desc=Pontoon allows you to localise web content in place, with context and spatial limitations right in front of you. context-desc=By localising web page on the page itself, you no longer need to worry if the word you are translating is a verb or noun. # How how-desc=Pontoon is a very simple and intuitive tool that requires little to no technical skill for localisers to use. hover-desc=Move your mouse over headings, links, paragraphs or other text blocks on this page. A dashed rectangle will appear around each of these blocks, marking strings that are available for localisation on the page itself. # More <|file_sep|>current/static/locales/en-GB/messages.properties # Title tag # Navigation # Header upper-title=Pontoon by Mozilla headline-1=LocaliSe the web. headline-2=In Place. call-to-action=Tell Me More # What what-desc=Pontoon allows you to localise web content in place, with context and spatial limitations right in front of you. context-desc=By localising web page on the page itself, you no longer need to worry if the word you are translating is a verb or noun. # How how-desc=Pontoon is a very simple and intuitive tool that requires little to no technical skill for localisers to use. hover-desc=Move your mouse over headings, links, paragraphs or other text blocks on this page. A dashed rectangle will appear around each of these blocks, marking strings that are available for localisation on the page itself. # More # Developers <|file_sep|>updated/static/locales/en-GB/messages.properties # Title tag # Navigation # Header upper-title=Pontoon by Mozilla headline-1=LocaliSe the web. # What what-desc=Pontoon allows you to localise web content in place, with context and spatial limitations right in front of you. context-desc=By localising web page on the page itself, you no longer need to worry if the word you are translating is a verb or noun. # How how-desc=Pontoon is a very simple and intuitive tool that requires little to no technical skill for localisers to use. hover-desc=Move your mouse over headings, links, paragraphs or other text blocks on this page. A dashed rectangle will appear around each of these blocks, marking strings that are available for localisation on the page itself. # More # Developers # Footer
91967f300623206b9b132b0e56f5c763323bad0a
static/locales/en-GB/messages.properties
static/locales/en-GB/messages.properties
INI
<|file_sep|>original/config/locales/en.yml en: metasploit: model: errors: messages: # have to duplicate activerecord.model.errors.message.taken because of the different i18n_scope taken: "has already been taken" <|file_sep|>current/config/locales/en.yml en: metasploit: model: errors: messages: # have to duplicate activerecord.model.errors.message.taken because of the different i18n_scope taken: "has already been taken" <|file_sep|>updated/config/locales/en.yml
en: metasploit: model: errors: messages: # have to duplicate activerecord.model.errors.message.taken because of the different i18n_scope taken: "has already been taken" models: metasploit_data_models/search/operation/range: attributes: value: order: "is not in order: begin (%{begin} is greater than end (%{end})." range: "is not a range"
<|file_sep|>original/config/locales/en.yml en: metasploit: model: errors: messages: # have to duplicate activerecord.model.errors.message.taken because of the different i18n_scope taken: "has already been taken" <|file_sep|>current/config/locales/en.yml en: metasploit: model: errors: messages: # have to duplicate activerecord.model.errors.message.taken because of the different i18n_scope taken: "has already been taken" <|file_sep|>updated/config/locales/en.yml en: metasploit: model: errors: messages: # have to duplicate activerecord.model.errors.message.taken because of the different i18n_scope taken: "has already been taken" models: metasploit_data_models/search/operation/range: attributes: value: order: "is not in order: begin (%{begin} is greater than end (%{end})." range: "is not a range"
3d44bc60834c01bf34d88ee8d1b0e53781ac92c8
config/locales/en.yml
config/locales/en.yml
YAML
<|file_sep|>original/firmware/common/binsize.py <|file_sep|>current/firmware/common/binsize.py <|file_sep|>updated/firmware/common/binsize.py
#!/usr/bin/env python from subprocess import Popen, PIPE class app(object): def __init__(self): pass motolink = app() motolink.name = "ch" motolink.path = "build/ch.elf" motolink.max_ccm = 4*1024 motolink.max_ram = 12*1024 motolink.max_rom = 64*1024 APPS = [motolink] for app in APPS:
<|file_sep|>original/firmware/common/binsize.py <|file_sep|>current/firmware/common/binsize.py <|file_sep|>updated/firmware/common/binsize.py #!/usr/bin/env python from subprocess import Popen, PIPE class app(object): def __init__(self): pass motolink = app() motolink.name = "ch" motolink.path = "build/ch.elf" motolink.max_ccm = 4*1024 motolink.max_ram = 12*1024 motolink.max_rom = 64*1024 APPS = [motolink] for app in APPS:
17c69212ff5ea1a5991dc89ba1ca7365c8d666c2
firmware/common/binsize.py
firmware/common/binsize.py
Python
<|file_sep|>original/app/controllers/application_controller.rb # Filters added to this controller apply to all controllers in the application. # Likewise, all the methods added will be available for all controllers. class ApplicationController < ActionController::Base protect_from_forgery include AuthHelper include ApplicationHelper helper_method :current_user_session, :current_user, :logged_in?, :admin_login_required def home @title = "Greenhouse Gas Protocol | Aluminium Sector Tools" if logged_in? redirect_to summary_path else redirect_to login_path end end def help <|file_sep|>current/app/controllers/application_controller.rb # Filters added to this controller apply to all controllers in the application. # Likewise, all the methods added will be available for all controllers. class ApplicationController < ActionController::Base protect_from_forgery include AuthHelper include ApplicationHelper helper_method :current_user_session, :current_user, :logged_in?, :admin_login_required def home @title = "Greenhouse Gas Protocol | Aluminium Sector Tools" if logged_in? redirect_to summary_path else redirect_to login_path end end def help <|file_sep|>updated/app/controllers/application_controller.rb
# Filters added to this controller apply to all controllers in the application. # Likewise, all the methods added will be available for all controllers. class ApplicationController < ActionController::Base protect_from_forgery include AMEE::Authentication::AuthHelper include ApplicationHelper helper_method :current_user_session, :current_user, :logged_in?, :admin_login_required def home @title = "Greenhouse Gas Protocol | Aluminium Sector Tools" if logged_in? redirect_to summary_path else redirect_to login_path end end def help
<|file_sep|>original/app/controllers/application_controller.rb # Filters added to this controller apply to all controllers in the application. # Likewise, all the methods added will be available for all controllers. class ApplicationController < ActionController::Base protect_from_forgery include AuthHelper include ApplicationHelper helper_method :current_user_session, :current_user, :logged_in?, :admin_login_required def home @title = "Greenhouse Gas Protocol | Aluminium Sector Tools" if logged_in? redirect_to summary_path else redirect_to login_path end end def help <|file_sep|>current/app/controllers/application_controller.rb # Filters added to this controller apply to all controllers in the application. # Likewise, all the methods added will be available for all controllers. class ApplicationController < ActionController::Base protect_from_forgery include AuthHelper include ApplicationHelper helper_method :current_user_session, :current_user, :logged_in?, :admin_login_required def home @title = "Greenhouse Gas Protocol | Aluminium Sector Tools" if logged_in? redirect_to summary_path else redirect_to login_path end end def help <|file_sep|>updated/app/controllers/application_controller.rb # Filters added to this controller apply to all controllers in the application. # Likewise, all the methods added will be available for all controllers. class ApplicationController < ActionController::Base protect_from_forgery include AMEE::Authentication::AuthHelper include ApplicationHelper helper_method :current_user_session, :current_user, :logged_in?, :admin_login_required def home @title = "Greenhouse Gas Protocol | Aluminium Sector Tools" if logged_in? redirect_to summary_path else redirect_to login_path end end def help
039fc8f5286ae6540c900e1822686bc342c39f66
app/controllers/application_controller.rb
app/controllers/application_controller.rb
Ruby
<|file_sep|>original/.travis.yml dist: xenial python: - "2.7" cache: apt: true # TODO local node modules path correct? directories: - $HOME/data before_install: - sudo apt-get update -yy - sudo apt-get install make install: - make stack-up script: - make test - make doc # after_success: # make coveralls <|file_sep|>current/.travis.yml dist: xenial python: - "2.7" cache: apt: true # TODO local node modules path correct? directories: - $HOME/data before_install: - sudo apt-get update -yy - sudo apt-get install make install: - make stack-up script: - make test - make doc # after_success: # make coveralls <|file_sep|>updated/.travis.yml
- "2.7" cache: apt: true # TODO local node modules path correct? directories: - $HOME/data before_install: - sudo apt-get update -yy - sudo apt-get install make - sudo (curl -L https://github.com/docker/compose/releases/download/1.7.1/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose) - sudo chmod +x /usr/local/bin/docker-compose install: - make stack-up script: - make test - make doc # after_success: # make coveralls
<|file_sep|>original/.travis.yml dist: xenial python: - "2.7" cache: apt: true # TODO local node modules path correct? directories: - $HOME/data before_install: - sudo apt-get update -yy - sudo apt-get install make install: - make stack-up script: - make test - make doc # after_success: # make coveralls <|file_sep|>current/.travis.yml dist: xenial python: - "2.7" cache: apt: true # TODO local node modules path correct? directories: - $HOME/data before_install: - sudo apt-get update -yy - sudo apt-get install make install: - make stack-up script: - make test - make doc # after_success: # make coveralls <|file_sep|>updated/.travis.yml - "2.7" cache: apt: true # TODO local node modules path correct? directories: - $HOME/data before_install: - sudo apt-get update -yy - sudo apt-get install make - sudo (curl -L https://github.com/docker/compose/releases/download/1.7.1/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose) - sudo chmod +x /usr/local/bin/docker-compose install: - make stack-up script: - make test - make doc # after_success: # make coveralls
c1b256d875ed91c30683e127ecf6606bc8efaa11
.travis.yml
.travis.yml
YAML
<|file_sep|>app/assets/stylesheets/_enhanced.scss.diff original: @import 'layout/common/_all'; @import 'layout/page_specific/_all'; @import 'components/common/_all'; @import 'components/page_specific/_all'; updated: @import 'layout/common/all'; @import 'layout/page_specific/all'; @import 'components/common/all'; @import 'components/page_specific/all'; <|file_sep|>original/app/assets/stylesheets/_enhanced.scss @import "settings"; @import 'frontend-assets/stylesheets/lib'; @import 'frontend-assets/stylesheets/common'; @import 'frontend-assets/stylesheets/optional'; @import 'lib/variables'; @import 'lib/links'; @import 'lib/typography'; @import 'layout/common/_all'; @import 'layout/page_specific/_all'; @import 'components/common/_all'; @import 'components/page_specific/_all'; .editorial { @import 'components/cms/_all'; } <|file_sep|>current/app/assets/stylesheets/_enhanced.scss @import "settings"; @import 'frontend-assets/stylesheets/lib'; @import 'frontend-assets/stylesheets/common'; @import 'frontend-assets/stylesheets/optional'; @import 'lib/variables'; @import 'lib/links'; @import 'lib/typography'; @import 'layout/common/all'; @import 'layout/page_specific/all'; @import 'components/common/all'; @import 'components/page_specific/all'; .editorial { @import 'components/cms/_all'; } <|file_sep|>updated/app/assets/stylesheets/_enhanced.scss
@import "settings"; @import 'frontend-assets/stylesheets/lib'; @import 'frontend-assets/stylesheets/common'; @import 'frontend-assets/stylesheets/optional'; @import 'lib/variables'; @import 'lib/links'; @import 'lib/typography'; @import 'layout/common/all'; @import 'layout/page_specific/all'; @import 'components/common/all'; @import 'components/page_specific/all'; .editorial { @import 'components/cms/all'; }
<|file_sep|>app/assets/stylesheets/_enhanced.scss.diff original: @import 'layout/common/_all'; @import 'layout/page_specific/_all'; @import 'components/common/_all'; @import 'components/page_specific/_all'; updated: @import 'layout/common/all'; @import 'layout/page_specific/all'; @import 'components/common/all'; @import 'components/page_specific/all'; <|file_sep|>original/app/assets/stylesheets/_enhanced.scss @import "settings"; @import 'frontend-assets/stylesheets/lib'; @import 'frontend-assets/stylesheets/common'; @import 'frontend-assets/stylesheets/optional'; @import 'lib/variables'; @import 'lib/links'; @import 'lib/typography'; @import 'layout/common/_all'; @import 'layout/page_specific/_all'; @import 'components/common/_all'; @import 'components/page_specific/_all'; .editorial { @import 'components/cms/_all'; } <|file_sep|>current/app/assets/stylesheets/_enhanced.scss @import "settings"; @import 'frontend-assets/stylesheets/lib'; @import 'frontend-assets/stylesheets/common'; @import 'frontend-assets/stylesheets/optional'; @import 'lib/variables'; @import 'lib/links'; @import 'lib/typography'; @import 'layout/common/all'; @import 'layout/page_specific/all'; @import 'components/common/all'; @import 'components/page_specific/all'; .editorial { @import 'components/cms/_all'; } <|file_sep|>updated/app/assets/stylesheets/_enhanced.scss @import "settings"; @import 'frontend-assets/stylesheets/lib'; @import 'frontend-assets/stylesheets/common'; @import 'frontend-assets/stylesheets/optional'; @import 'lib/variables'; @import 'lib/links'; @import 'lib/typography'; @import 'layout/common/all'; @import 'layout/page_specific/all'; @import 'components/common/all'; @import 'components/page_specific/all'; .editorial { @import 'components/cms/all'; }
485cd3775811c5f73bc352816a5b21b3f7c7641f
app/assets/stylesheets/_enhanced.scss
app/assets/stylesheets/_enhanced.scss
SCSS
<|file_sep|>.teamcity/ReleaseType.kt.diff original: updated: const val gradleInternalRepositoryUsername = "%gradle.internal.repository.build-tool.publish.username%" const val gradleInternalRepositoryPassword = "%gradle.internal.repository.build-tool.publish.password%" <|file_sep|>original/.teamcity/ReleaseType.kt enum class ReleaseType(val gradleProperty: String, val username: String, val password: String, val userProvidedVersion: Boolean = false) { Snapshot("snapshot", "bot-build-tool", "credentialsJSON:fc942743-b732-4204-a131-26bb066c2073"), Alpha("alpha", "bot-build-tool", "credentialsJSON:fc942743-b732-4204-a131-26bb066c2073", true), Milestone("milestone", "bot-build-tool", "credentialsJSON:fc942743-b732-4204-a131-26bb066c2073"), Release("release", "bot-build-tool", "credentialsJSON:fc942743-b732-4204-a131-26bb066c2073") } <|file_sep|>current/.teamcity/ReleaseType.kt const val gradleInternalRepositoryUsername = "%gradle.internal.repository.build-tool.publish.username%" const val gradleInternalRepositoryPassword = "%gradle.internal.repository.build-tool.publish.password%" enum class ReleaseType(val gradleProperty: String, val username: String, val password: String, val userProvidedVersion: Boolean = false) { Snapshot("snapshot", "bot-build-tool", "credentialsJSON:fc942743-b732-4204-a131-26bb066c2073"), Alpha("alpha", "bot-build-tool", "credentialsJSON:fc942743-b732-4204-a131-26bb066c2073", true), Milestone("milestone", "bot-build-tool", "credentialsJSON:fc942743-b732-4204-a131-26bb066c2073"), Release("release", "bot-build-tool", "credentialsJSON:fc942743-b732-4204-a131-26bb066c2073") } <|file_sep|>updated/.teamcity/ReleaseType.kt
const val gradleInternalRepositoryUsername = "%gradle.internal.repository.build-tool.publish.username%" const val gradleInternalRepositoryPassword = "%gradle.internal.repository.build-tool.publish.password%" enum class ReleaseType(val gradleProperty: String, val username: String, val password: String, val userProvidedVersion: Boolean = false) { Snapshot("snapshot", gradleInternalRepositoryUsername, gradleInternalRepositoryPassword), Alpha("alpha", gradleInternalRepositoryUsername, gradleInternalRepositoryPassword, true), Milestone("milestone", gradleInternalRepositoryUsername, gradleInternalRepositoryPassword), Release("release", gradleInternalRepositoryUsername, gradleInternalRepositoryPassword) }
<|file_sep|>.teamcity/ReleaseType.kt.diff original: updated: const val gradleInternalRepositoryUsername = "%gradle.internal.repository.build-tool.publish.username%" const val gradleInternalRepositoryPassword = "%gradle.internal.repository.build-tool.publish.password%" <|file_sep|>original/.teamcity/ReleaseType.kt enum class ReleaseType(val gradleProperty: String, val username: String, val password: String, val userProvidedVersion: Boolean = false) { Snapshot("snapshot", "bot-build-tool", "credentialsJSON:fc942743-b732-4204-a131-26bb066c2073"), Alpha("alpha", "bot-build-tool", "credentialsJSON:fc942743-b732-4204-a131-26bb066c2073", true), Milestone("milestone", "bot-build-tool", "credentialsJSON:fc942743-b732-4204-a131-26bb066c2073"), Release("release", "bot-build-tool", "credentialsJSON:fc942743-b732-4204-a131-26bb066c2073") } <|file_sep|>current/.teamcity/ReleaseType.kt const val gradleInternalRepositoryUsername = "%gradle.internal.repository.build-tool.publish.username%" const val gradleInternalRepositoryPassword = "%gradle.internal.repository.build-tool.publish.password%" enum class ReleaseType(val gradleProperty: String, val username: String, val password: String, val userProvidedVersion: Boolean = false) { Snapshot("snapshot", "bot-build-tool", "credentialsJSON:fc942743-b732-4204-a131-26bb066c2073"), Alpha("alpha", "bot-build-tool", "credentialsJSON:fc942743-b732-4204-a131-26bb066c2073", true), Milestone("milestone", "bot-build-tool", "credentialsJSON:fc942743-b732-4204-a131-26bb066c2073"), Release("release", "bot-build-tool", "credentialsJSON:fc942743-b732-4204-a131-26bb066c2073") } <|file_sep|>updated/.teamcity/ReleaseType.kt const val gradleInternalRepositoryUsername = "%gradle.internal.repository.build-tool.publish.username%" const val gradleInternalRepositoryPassword = "%gradle.internal.repository.build-tool.publish.password%" enum class ReleaseType(val gradleProperty: String, val username: String, val password: String, val userProvidedVersion: Boolean = false) { Snapshot("snapshot", gradleInternalRepositoryUsername, gradleInternalRepositoryPassword), Alpha("alpha", gradleInternalRepositoryUsername, gradleInternalRepositoryPassword, true), Milestone("milestone", gradleInternalRepositoryUsername, gradleInternalRepositoryPassword), Release("release", gradleInternalRepositoryUsername, gradleInternalRepositoryPassword) }
52aeea3fcf586e7feefdda51779478244cf28fe7
.teamcity/ReleaseType.kt
.teamcity/ReleaseType.kt
Kotlin
<|file_sep|>original/templates/default/view.xml.erb <listView> <owner class="hudson" reference="../../.."/> <name><%= @new_resource.view_name %></name> <filterExecutors>false</filterExecutors> <filterQueue>false</filterQueue> <properties class="hudson.model.View$PropertyList"/> <jobNames> <comparator class="hudson.util.CaseInsensitiveComparator"/> <%- @new_resource.jobs.each do |job| -%> <string><%= job %></string> <%- end -%> </jobNames> <jobFilters/> <columns> <hudson.views.StatusColumn/> <hudson.views.WeatherColumn/> <hudson.views.JobColumn/> <hudson.views.LastSuccessColumn/> <hudson.views.LastFailureColumn/> <hudson.views.LastDurationColumn/> <hudson.views.BuildButtonColumn/> <|file_sep|>current/templates/default/view.xml.erb <listView> <owner class="hudson" reference="../../.."/> <name><%= @new_resource.view_name %></name> <filterExecutors>false</filterExecutors> <filterQueue>false</filterQueue> <properties class="hudson.model.View$PropertyList"/> <jobNames> <comparator class="hudson.util.CaseInsensitiveComparator"/> <%- @new_resource.jobs.each do |job| -%> <string><%= job %></string> <%- end -%> </jobNames> <jobFilters/> <columns> <hudson.views.StatusColumn/> <hudson.views.WeatherColumn/> <hudson.views.JobColumn/> <hudson.views.LastSuccessColumn/> <hudson.views.LastFailureColumn/> <hudson.views.LastDurationColumn/> <hudson.views.BuildButtonColumn/> <|file_sep|>updated/templates/default/view.xml.erb
<listView> <owner class="hudson" reference="../../.."/> <name><%= @new_resource.view_name %></name> <filterExecutors>false</filterExecutors> <filterQueue>false</filterQueue> <properties class="hudson.model.View$PropertyList"/> <jobNames> <comparator class="hudson.util.CaseInsensitiveComparator"/> <%- @new_resource.jobs.sort.each do |job| # No really, if they aren't sorted this won't load -%> <string><%= job %></string> <%- end -%> </jobNames> <jobFilters/> <columns> <hudson.views.StatusColumn/> <hudson.views.WeatherColumn/> <hudson.views.JobColumn/> <hudson.views.LastSuccessColumn/> <hudson.views.LastFailureColumn/> <hudson.views.LastDurationColumn/> <hudson.views.BuildButtonColumn/>
<|file_sep|>original/templates/default/view.xml.erb <listView> <owner class="hudson" reference="../../.."/> <name><%= @new_resource.view_name %></name> <filterExecutors>false</filterExecutors> <filterQueue>false</filterQueue> <properties class="hudson.model.View$PropertyList"/> <jobNames> <comparator class="hudson.util.CaseInsensitiveComparator"/> <%- @new_resource.jobs.each do |job| -%> <string><%= job %></string> <%- end -%> </jobNames> <jobFilters/> <columns> <hudson.views.StatusColumn/> <hudson.views.WeatherColumn/> <hudson.views.JobColumn/> <hudson.views.LastSuccessColumn/> <hudson.views.LastFailureColumn/> <hudson.views.LastDurationColumn/> <hudson.views.BuildButtonColumn/> <|file_sep|>current/templates/default/view.xml.erb <listView> <owner class="hudson" reference="../../.."/> <name><%= @new_resource.view_name %></name> <filterExecutors>false</filterExecutors> <filterQueue>false</filterQueue> <properties class="hudson.model.View$PropertyList"/> <jobNames> <comparator class="hudson.util.CaseInsensitiveComparator"/> <%- @new_resource.jobs.each do |job| -%> <string><%= job %></string> <%- end -%> </jobNames> <jobFilters/> <columns> <hudson.views.StatusColumn/> <hudson.views.WeatherColumn/> <hudson.views.JobColumn/> <hudson.views.LastSuccessColumn/> <hudson.views.LastFailureColumn/> <hudson.views.LastDurationColumn/> <hudson.views.BuildButtonColumn/> <|file_sep|>updated/templates/default/view.xml.erb <listView> <owner class="hudson" reference="../../.."/> <name><%= @new_resource.view_name %></name> <filterExecutors>false</filterExecutors> <filterQueue>false</filterQueue> <properties class="hudson.model.View$PropertyList"/> <jobNames> <comparator class="hudson.util.CaseInsensitiveComparator"/> <%- @new_resource.jobs.sort.each do |job| # No really, if they aren't sorted this won't load -%> <string><%= job %></string> <%- end -%> </jobNames> <jobFilters/> <columns> <hudson.views.StatusColumn/> <hudson.views.WeatherColumn/> <hudson.views.JobColumn/> <hudson.views.LastSuccessColumn/> <hudson.views.LastFailureColumn/> <hudson.views.LastDurationColumn/> <hudson.views.BuildButtonColumn/>
1ecbc48598b25dbe93a1913e3123f7b8fec022d2
templates/default/view.xml.erb
templates/default/view.xml.erb
HTML+ERB
<|file_sep|>original/fraction-list/src/main/resources/org/wildfly/swarm/fractionlist/fraction-packages.properties # packages can be foo+bar, if both are required to activate the fraction, or foo,bar if either will requires the fraction # can be mixed and matched: some-fraction=foo+bar,baz, with + taking precedence # If the package ends with *, it is checked as a prefix ejb=javax.ejb infinispan=org.infinispan jaxrs=javax.ws.rs jaxrs-weld=javax.ws.rs+javax.inject jpa=javax.persistence jsf=javax.faces messaging=javax.jms spring=org.springframework* swagger=io.swagger.annotations undertow=javax.servlet webservices=javax.jws weld=javax.inject <|file_sep|>current/fraction-list/src/main/resources/org/wildfly/swarm/fractionlist/fraction-packages.properties # packages can be foo+bar, if both are required to activate the fraction, or foo,bar if either will requires the fraction # can be mixed and matched: some-fraction=foo+bar,baz, with + taking precedence # If the package ends with *, it is checked as a prefix ejb=javax.ejb infinispan=org.infinispan jaxrs=javax.ws.rs jaxrs-weld=javax.ws.rs+javax.inject jpa=javax.persistence jsf=javax.faces messaging=javax.jms spring=org.springframework* swagger=io.swagger.annotations undertow=javax.servlet webservices=javax.jws weld=javax.inject <|file_sep|>updated/fraction-list/src/main/resources/org/wildfly/swarm/fractionlist/fraction-packages.properties
# packages can be foo+bar, if both are required to activate the fraction, or foo,bar if either will requires the fraction # can be mixed and matched: some-fraction=foo+bar,baz, with + taking precedence # If the package ends with *, it is checked as a prefix ejb=javax.ejb infinispan=org.infinispan jaxrs=javax.ws.rs jaxrs-weld=javax.ws.rs+javax.inject jpa=javax.persistence jsf=javax.faces messaging=javax.jms spring=org.springframework* swagger=io.swagger.annotations undertow=javax.servlet webservices=javax.jws weld=javax.inject transactions=javax.transaction
<|file_sep|>original/fraction-list/src/main/resources/org/wildfly/swarm/fractionlist/fraction-packages.properties # packages can be foo+bar, if both are required to activate the fraction, or foo,bar if either will requires the fraction # can be mixed and matched: some-fraction=foo+bar,baz, with + taking precedence # If the package ends with *, it is checked as a prefix ejb=javax.ejb infinispan=org.infinispan jaxrs=javax.ws.rs jaxrs-weld=javax.ws.rs+javax.inject jpa=javax.persistence jsf=javax.faces messaging=javax.jms spring=org.springframework* swagger=io.swagger.annotations undertow=javax.servlet webservices=javax.jws weld=javax.inject <|file_sep|>current/fraction-list/src/main/resources/org/wildfly/swarm/fractionlist/fraction-packages.properties # packages can be foo+bar, if both are required to activate the fraction, or foo,bar if either will requires the fraction # can be mixed and matched: some-fraction=foo+bar,baz, with + taking precedence # If the package ends with *, it is checked as a prefix ejb=javax.ejb infinispan=org.infinispan jaxrs=javax.ws.rs jaxrs-weld=javax.ws.rs+javax.inject jpa=javax.persistence jsf=javax.faces messaging=javax.jms spring=org.springframework* swagger=io.swagger.annotations undertow=javax.servlet webservices=javax.jws weld=javax.inject <|file_sep|>updated/fraction-list/src/main/resources/org/wildfly/swarm/fractionlist/fraction-packages.properties # packages can be foo+bar, if both are required to activate the fraction, or foo,bar if either will requires the fraction # can be mixed and matched: some-fraction=foo+bar,baz, with + taking precedence # If the package ends with *, it is checked as a prefix ejb=javax.ejb infinispan=org.infinispan jaxrs=javax.ws.rs jaxrs-weld=javax.ws.rs+javax.inject jpa=javax.persistence jsf=javax.faces messaging=javax.jms spring=org.springframework* swagger=io.swagger.annotations undertow=javax.servlet webservices=javax.jws weld=javax.inject transactions=javax.transaction
053743de09422740eb2ece73282f7db6d44b4c88
fraction-list/src/main/resources/org/wildfly/swarm/fractionlist/fraction-packages.properties
fraction-list/src/main/resources/org/wildfly/swarm/fractionlist/fraction-packages.properties
INI
<|file_sep|>original/src/templates/base.html <!doctype html> <html lang="en-US"> <head> <title>:title:</title> <meta name="description" content="Allan Stewart's personal website"> <meta name="keywords" content="software craftsman professional developer"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="shortcut icon" href="/favicon.jpg"> <link rel="shortcut icon" sizes="144x144" href="/favicon144.jpg"> <link rel="stylesheet" type="text/css" href="/css/style.css"> </head> <body> <nav> :nav: </nav> <div id="content"> :content: </div> </body> </html> <|file_sep|>current/src/templates/base.html <!doctype html> <html lang="en-US"> <head> <title>:title:</title> <meta name="description" content="Allan Stewart's personal website"> <meta name="keywords" content="software craftsman professional developer"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="shortcut icon" href="/favicon.jpg"> <link rel="shortcut icon" sizes="144x144" href="/favicon144.jpg"> <link rel="stylesheet" type="text/css" href="/css/style.css"> </head> <body> <nav> :nav: </nav> <div id="content"> :content: </div> </body> </html> <|file_sep|>updated/src/templates/base.html
<!doctype html> <html lang="en-US"> <head> <title>:title:</title> <meta name="description" content="Allan Stewart's personal website"> <meta name="keywords" content="software craftsman professional developer"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="shortcut icon" href="/favicon.jpg"> <link rel="shortcut icon" sizes="144x144" href="/favicon144.jpg"> <link rel="stylesheet" type="text/css" href="/css/style.css"> <link rel="alternate" type="application/rss+xml" href="http://allan-stewart.github.io/blog/rss.xml" /> </head> <body> <nav> :nav: </nav> <div id="content"> :content: </div> </body> </html>
<|file_sep|>original/src/templates/base.html <!doctype html> <html lang="en-US"> <head> <title>:title:</title> <meta name="description" content="Allan Stewart's personal website"> <meta name="keywords" content="software craftsman professional developer"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="shortcut icon" href="/favicon.jpg"> <link rel="shortcut icon" sizes="144x144" href="/favicon144.jpg"> <link rel="stylesheet" type="text/css" href="/css/style.css"> </head> <body> <nav> :nav: </nav> <div id="content"> :content: </div> </body> </html> <|file_sep|>current/src/templates/base.html <!doctype html> <html lang="en-US"> <head> <title>:title:</title> <meta name="description" content="Allan Stewart's personal website"> <meta name="keywords" content="software craftsman professional developer"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="shortcut icon" href="/favicon.jpg"> <link rel="shortcut icon" sizes="144x144" href="/favicon144.jpg"> <link rel="stylesheet" type="text/css" href="/css/style.css"> </head> <body> <nav> :nav: </nav> <div id="content"> :content: </div> </body> </html> <|file_sep|>updated/src/templates/base.html <!doctype html> <html lang="en-US"> <head> <title>:title:</title> <meta name="description" content="Allan Stewart's personal website"> <meta name="keywords" content="software craftsman professional developer"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="shortcut icon" href="/favicon.jpg"> <link rel="shortcut icon" sizes="144x144" href="/favicon144.jpg"> <link rel="stylesheet" type="text/css" href="/css/style.css"> <link rel="alternate" type="application/rss+xml" href="http://allan-stewart.github.io/blog/rss.xml" /> </head> <body> <nav> :nav: </nav> <div id="content"> :content: </div> </body> </html>
95dd96ce9a1d4aa8d3d88d54f7a8cc7fb4692b3d
src/templates/base.html
src/templates/base.html
HTML
<|file_sep|>app/views/categories/index.html.erb.diff original: <div class="container"> updated: <div class="container hidden"> <|file_sep|>original/app/views/categories/index.html.erb <div class="container"> <div class="row"> <div class="col-xs-12"> <h1 id="category-header">CATEGORIES</h1> </div> </div> </div> <div class="container category-list"> <div class="row"> <% @categories.each do |category| %> <div class="col-xs-4 category"> <h4><a href="/categories/<%=category.id%>"><%= category.name.upcase %></a></h4> </div> <%end%> </div> </div> <|file_sep|>current/app/views/categories/index.html.erb <div class="container hidden"> <div class="row"> <div class="col-xs-12"> <h1 id="category-header">CATEGORIES</h1> </div> </div> </div> <div class="container category-list"> <div class="row"> <% @categories.each do |category| %> <div class="col-xs-4 category"> <h4><a href="/categories/<%=category.id%>"><%= category.name.upcase %></a></h4> </div> <%end%> </div> </div> <|file_sep|>updated/app/views/categories/index.html.erb
<div class="container hidden"> <div class="row"> <div class="col-xs-12"> <h1 id="category-header">CATEGORIES</h1> </div> </div> </div> <div class="container category-list hidden"> <div class="row"> <% @categories.each do |category| %> <div class="col-xs-4 category"> <h4><a href="/categories/<%=category.id%>"><%= category.name.upcase %></a></h4> </div> <%end%> </div> </div>
<|file_sep|>app/views/categories/index.html.erb.diff original: <div class="container"> updated: <div class="container hidden"> <|file_sep|>original/app/views/categories/index.html.erb <div class="container"> <div class="row"> <div class="col-xs-12"> <h1 id="category-header">CATEGORIES</h1> </div> </div> </div> <div class="container category-list"> <div class="row"> <% @categories.each do |category| %> <div class="col-xs-4 category"> <h4><a href="/categories/<%=category.id%>"><%= category.name.upcase %></a></h4> </div> <%end%> </div> </div> <|file_sep|>current/app/views/categories/index.html.erb <div class="container hidden"> <div class="row"> <div class="col-xs-12"> <h1 id="category-header">CATEGORIES</h1> </div> </div> </div> <div class="container category-list"> <div class="row"> <% @categories.each do |category| %> <div class="col-xs-4 category"> <h4><a href="/categories/<%=category.id%>"><%= category.name.upcase %></a></h4> </div> <%end%> </div> </div> <|file_sep|>updated/app/views/categories/index.html.erb <div class="container hidden"> <div class="row"> <div class="col-xs-12"> <h1 id="category-header">CATEGORIES</h1> </div> </div> </div> <div class="container category-list hidden"> <div class="row"> <% @categories.each do |category| %> <div class="col-xs-4 category"> <h4><a href="/categories/<%=category.id%>"><%= category.name.upcase %></a></h4> </div> <%end%> </div> </div>
5d9baa1d715d11780edc62ada71628c1092c31f9
app/views/categories/index.html.erb
app/views/categories/index.html.erb
HTML+ERB
<|file_sep|>original/server/startup/migrations/v078.js RocketChat.Migrations.add({ version: 78, up: function() { RocketChat.models.Permissions.update({ _id: { $in: ['create-c', 'create-d', 'create-p'] }}, { $addToSet: { roles: 'bot' }}, { multi: true }); } }); <|file_sep|>current/server/startup/migrations/v078.js RocketChat.Migrations.add({ version: 78, up: function() { RocketChat.models.Permissions.update({ _id: { $in: ['create-c', 'create-d', 'create-p'] }}, { $addToSet: { roles: 'bot' }}, { multi: true }); } }); <|file_sep|>updated/server/startup/migrations/v078.js
RocketChat.Migrations.add({ version: 78, up: function() { RocketChat.models.Permissions.update({ _id: { $in: ['create-c', 'create-d', 'create-p'] }}, { $addToSet: { roles: 'bot' }}, { multi: true }); } });
<|file_sep|>original/server/startup/migrations/v078.js RocketChat.Migrations.add({ version: 78, up: function() { RocketChat.models.Permissions.update({ _id: { $in: ['create-c', 'create-d', 'create-p'] }}, { $addToSet: { roles: 'bot' }}, { multi: true }); } }); <|file_sep|>current/server/startup/migrations/v078.js RocketChat.Migrations.add({ version: 78, up: function() { RocketChat.models.Permissions.update({ _id: { $in: ['create-c', 'create-d', 'create-p'] }}, { $addToSet: { roles: 'bot' }}, { multi: true }); } }); <|file_sep|>updated/server/startup/migrations/v078.js RocketChat.Migrations.add({ version: 78, up: function() { RocketChat.models.Permissions.update({ _id: { $in: ['create-c', 'create-d', 'create-p'] }}, { $addToSet: { roles: 'bot' }}, { multi: true }); } });
c58b235fd119448e97ae63b65d8981dc4ea0083d
server/startup/migrations/v078.js
server/startup/migrations/v078.js
JavaScript
<|file_sep|>original/.github/workflows/gradle-wrapper-validation.yml <|file_sep|>current/.github/workflows/gradle-wrapper-validation.yml <|file_sep|>updated/.github/workflows/gradle-wrapper-validation.yml
name: "Validate Gradle Wrapper" on: [push, pull_request] jobs: validation: name: "Validation" runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - uses: gradle/wrapper-validation-action@v1
<|file_sep|>original/.github/workflows/gradle-wrapper-validation.yml <|file_sep|>current/.github/workflows/gradle-wrapper-validation.yml <|file_sep|>updated/.github/workflows/gradle-wrapper-validation.yml name: "Validate Gradle Wrapper" on: [push, pull_request] jobs: validation: name: "Validation" runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - uses: gradle/wrapper-validation-action@v1
40793daebe160838d8ab0cc1ddac54c2feada057
.github/workflows/gradle-wrapper-validation.yml
.github/workflows/gradle-wrapper-validation.yml
YAML
<|file_sep|>src/components/pages/Notes.jsx.diff original: handleAlert(alert) { this.refs.alerts.addAlert(alert) } // FIXME: hard code alert to test componentDidMount() { const alerts = [ { type: 'success', message: 'Note successfully created', }, { type: 'error', message: 'Failed to create note', } ]; alerts.forEach(alert => setTimeout(() => this.handleAlert(alert), 1000)); } updated: <|file_sep|>src/components/pages/Notes.jsx.diff original: <div> <AlertsWrapper ref="alerts" /> <NoteForm alertHandler={alert => this.handleAlert(alert)} /> updated: <div style={{ marginTop: '65px' }}> <NoteForm alertHandler={alert => this.props.alertHandler(alert)} /> <|file_sep|>src/components/pages/Notes.jsx.diff original: alertHandler={alert => this.handleAlert(alert)} updated: alertHandler={alert => this.props.alertHandler(alert)} <|file_sep|>original/src/components/pages/Notes.jsx displayModal(note) { this.setState({ modal: true, note, }); } handleAlert(alert) { this.refs.alerts.addAlert(alert) } // FIXME: hard code alert to test componentDidMount() { const alerts = [ { type: 'success', message: 'Note successfully created', }, { type: 'error', message: 'Failed to create note', } ]; alerts.forEach(alert => setTimeout(() => this.handleAlert(alert), 1000)); } render() { <|file_sep|>current/src/components/pages/Notes.jsx displayModal(note) { this.setState({ modal: true, note, }); } render() { return ( <div style={{ marginTop: '65px' }}> <NoteForm alertHandler={alert => this.props.alertHandler(alert)} /> <NotesWrapper alertHandler={alert => this.props.alertHandler(alert)} modalHandler={note => this.displayModal(note)} /> {this.state.modal ? <UpdateModal alertHandler={alert => this.handleAlert(alert)} note={this.state.note} onDismiss={() => this.dismissModal()} /> : null} </div> ); } } <|file_sep|>updated/src/components/pages/Notes.jsx
displayModal(note) { this.setState({ modal: true, note, }); } render() { return ( <div style={{ marginTop: '65px' }}> <NoteForm alertHandler={alert => this.props.alertHandler(alert)} /> <NotesWrapper alertHandler={alert => this.props.alertHandler(alert)} modalHandler={note => this.displayModal(note)} /> {this.state.modal ? <UpdateModal alertHandler={alert => this.props.alertHandler(alert)} note={this.state.note} onDismiss={() => this.dismissModal()} /> : null} </div> ); } }
<|file_sep|>src/components/pages/Notes.jsx.diff original: handleAlert(alert) { this.refs.alerts.addAlert(alert) } // FIXME: hard code alert to test componentDidMount() { const alerts = [ { type: 'success', message: 'Note successfully created', }, { type: 'error', message: 'Failed to create note', } ]; alerts.forEach(alert => setTimeout(() => this.handleAlert(alert), 1000)); } updated: <|file_sep|>src/components/pages/Notes.jsx.diff original: <div> <AlertsWrapper ref="alerts" /> <NoteForm alertHandler={alert => this.handleAlert(alert)} /> updated: <div style={{ marginTop: '65px' }}> <NoteForm alertHandler={alert => this.props.alertHandler(alert)} /> <|file_sep|>src/components/pages/Notes.jsx.diff original: alertHandler={alert => this.handleAlert(alert)} updated: alertHandler={alert => this.props.alertHandler(alert)} <|file_sep|>original/src/components/pages/Notes.jsx displayModal(note) { this.setState({ modal: true, note, }); } handleAlert(alert) { this.refs.alerts.addAlert(alert) } // FIXME: hard code alert to test componentDidMount() { const alerts = [ { type: 'success', message: 'Note successfully created', }, { type: 'error', message: 'Failed to create note', } ]; alerts.forEach(alert => setTimeout(() => this.handleAlert(alert), 1000)); } render() { <|file_sep|>current/src/components/pages/Notes.jsx displayModal(note) { this.setState({ modal: true, note, }); } render() { return ( <div style={{ marginTop: '65px' }}> <NoteForm alertHandler={alert => this.props.alertHandler(alert)} /> <NotesWrapper alertHandler={alert => this.props.alertHandler(alert)} modalHandler={note => this.displayModal(note)} /> {this.state.modal ? <UpdateModal alertHandler={alert => this.handleAlert(alert)} note={this.state.note} onDismiss={() => this.dismissModal()} /> : null} </div> ); } } <|file_sep|>updated/src/components/pages/Notes.jsx displayModal(note) { this.setState({ modal: true, note, }); } render() { return ( <div style={{ marginTop: '65px' }}> <NoteForm alertHandler={alert => this.props.alertHandler(alert)} /> <NotesWrapper alertHandler={alert => this.props.alertHandler(alert)} modalHandler={note => this.displayModal(note)} /> {this.state.modal ? <UpdateModal alertHandler={alert => this.props.alertHandler(alert)} note={this.state.note} onDismiss={() => this.dismissModal()} /> : null} </div> ); } }
effb03d9a855e665b9075ebd406dafefd084bdb0
src/components/pages/Notes.jsx
src/components/pages/Notes.jsx
JSX
<|file_sep|>original/.travis.yml language: node_js node_js: - "0.10" - "0.12" before_script: - POSTGRES_USER=postgres npm run setup_test_db <|file_sep|>current/.travis.yml language: node_js node_js: - "0.10" - "0.12" before_script: - POSTGRES_USER=postgres npm run setup_test_db <|file_sep|>updated/.travis.yml
language: node_js node_js: - "0.10" - "0.12" - "4.4" - "6.2" before_script: - POSTGRES_USER=postgres npm run setup_test_db
<|file_sep|>original/.travis.yml language: node_js node_js: - "0.10" - "0.12" before_script: - POSTGRES_USER=postgres npm run setup_test_db <|file_sep|>current/.travis.yml language: node_js node_js: - "0.10" - "0.12" before_script: - POSTGRES_USER=postgres npm run setup_test_db <|file_sep|>updated/.travis.yml language: node_js node_js: - "0.10" - "0.12" - "4.4" - "6.2" before_script: - POSTGRES_USER=postgres npm run setup_test_db
7ddba16671c1a528378bc4426f7be15f0c68d104
.travis.yml
.travis.yml
YAML
<|file_sep|>original/build/tasks/dist/prepare-index.js var gulp = require('gulp'); var inject = require('gulp-inject'); var path = require('path'); var join = path.join; module.exports = function(config) { gulp.task('dist:index', function() { gulp.src(config.paths.app.index, {'base': 'src'}) .pipe(inject(gulp.src(config.paths.lib.styles.prod, {'read': false}), { 'ignorePath': 'bower_components', 'addRootSlash': false, name: 'lib' })) .pipe(inject(gulp.src(join(config.distDir, '/all.css'), {'read': false}), {'ignorePath': config.distDir, 'addRootSlash': false})) .pipe(inject(gulp.src(join(config.distDir, '/all.js'), {'read': false}), {'ignorePath': config.distDir, 'addRootSlash': false})) .pipe(gulp.dest(config.distDir)) }); }; <|file_sep|>current/build/tasks/dist/prepare-index.js var gulp = require('gulp'); var inject = require('gulp-inject'); var path = require('path'); var join = path.join; module.exports = function(config) { gulp.task('dist:index', function() { gulp.src(config.paths.app.index, {'base': 'src'}) .pipe(inject(gulp.src(config.paths.lib.styles.prod, {'read': false}), { 'ignorePath': 'bower_components', 'addRootSlash': false, name: 'lib' })) .pipe(inject(gulp.src(join(config.distDir, '/all.css'), {'read': false}), {'ignorePath': config.distDir, 'addRootSlash': false})) .pipe(inject(gulp.src(join(config.distDir, '/all.js'), {'read': false}), {'ignorePath': config.distDir, 'addRootSlash': false})) .pipe(gulp.dest(config.distDir)) }); }; <|file_sep|>updated/build/tasks/dist/prepare-index.js
var inject = require('gulp-inject'); var path = require('path'); var join = path.join; module.exports = function(config) { gulp.task('dist:index', function() { gulp.src(config.paths.app.index, {'base': 'src'}) .pipe(inject(gulp.src(config.paths.lib.styles.prod, {'read': false}), { 'ignorePath': 'bower_components', 'addRootSlash': false, name: 'lib', 'transform': function(filepath) { return '<link data-spark-injected rel="stylesheet" href="' + filepath + '">' } })) .pipe(inject(gulp.src(join(config.distDir, '/all.css'), {'read': false}), { 'ignorePath': config.distDir, 'addRootSlash': false, 'transform': function(filepath) { return '<link data-spark-injected rel="stylesheet" href="' + filepath + '">' }
<|file_sep|>original/build/tasks/dist/prepare-index.js var gulp = require('gulp'); var inject = require('gulp-inject'); var path = require('path'); var join = path.join; module.exports = function(config) { gulp.task('dist:index', function() { gulp.src(config.paths.app.index, {'base': 'src'}) .pipe(inject(gulp.src(config.paths.lib.styles.prod, {'read': false}), { 'ignorePath': 'bower_components', 'addRootSlash': false, name: 'lib' })) .pipe(inject(gulp.src(join(config.distDir, '/all.css'), {'read': false}), {'ignorePath': config.distDir, 'addRootSlash': false})) .pipe(inject(gulp.src(join(config.distDir, '/all.js'), {'read': false}), {'ignorePath': config.distDir, 'addRootSlash': false})) .pipe(gulp.dest(config.distDir)) }); }; <|file_sep|>current/build/tasks/dist/prepare-index.js var gulp = require('gulp'); var inject = require('gulp-inject'); var path = require('path'); var join = path.join; module.exports = function(config) { gulp.task('dist:index', function() { gulp.src(config.paths.app.index, {'base': 'src'}) .pipe(inject(gulp.src(config.paths.lib.styles.prod, {'read': false}), { 'ignorePath': 'bower_components', 'addRootSlash': false, name: 'lib' })) .pipe(inject(gulp.src(join(config.distDir, '/all.css'), {'read': false}), {'ignorePath': config.distDir, 'addRootSlash': false})) .pipe(inject(gulp.src(join(config.distDir, '/all.js'), {'read': false}), {'ignorePath': config.distDir, 'addRootSlash': false})) .pipe(gulp.dest(config.distDir)) }); }; <|file_sep|>updated/build/tasks/dist/prepare-index.js var inject = require('gulp-inject'); var path = require('path'); var join = path.join; module.exports = function(config) { gulp.task('dist:index', function() { gulp.src(config.paths.app.index, {'base': 'src'}) .pipe(inject(gulp.src(config.paths.lib.styles.prod, {'read': false}), { 'ignorePath': 'bower_components', 'addRootSlash': false, name: 'lib', 'transform': function(filepath) { return '<link data-spark-injected rel="stylesheet" href="' + filepath + '">' } })) .pipe(inject(gulp.src(join(config.distDir, '/all.css'), {'read': false}), { 'ignorePath': config.distDir, 'addRootSlash': false, 'transform': function(filepath) { return '<link data-spark-injected rel="stylesheet" href="' + filepath + '">' }
e6f65e58473f822d08377f506474a8b468b2e338
build/tasks/dist/prepare-index.js
build/tasks/dist/prepare-index.js
JavaScript
<|file_sep|>original/lib/docs/scrapers/node.rb options[:container] = '#apicontent' options[:skip] = %w(index.html all.html documentation.html synopsis.html) options[:attribution] = <<-HTML &copy; Joyent, Inc. and other Node contributors<br> Licensed under the MIT License.<br> Node.js is a trademark of Joyent, Inc. and is used with its permission.<br> We are not endorsed by or affiliated with Joyent. HTML version do self.release = '5.11.0' self.base_url = 'https://nodejs.org/api/' end version '4 LTS' do self.release = '4.4.3' self.base_url = "https://nodejs.org/dist/v#{release}/docs/api/" end end end <|file_sep|>current/lib/docs/scrapers/node.rb options[:container] = '#apicontent' options[:skip] = %w(index.html all.html documentation.html synopsis.html) options[:attribution] = <<-HTML &copy; Joyent, Inc. and other Node contributors<br> Licensed under the MIT License.<br> Node.js is a trademark of Joyent, Inc. and is used with its permission.<br> We are not endorsed by or affiliated with Joyent. HTML version do self.release = '5.11.0' self.base_url = 'https://nodejs.org/api/' end version '4 LTS' do self.release = '4.4.3' self.base_url = "https://nodejs.org/dist/v#{release}/docs/api/" end end end <|file_sep|>updated/lib/docs/scrapers/node.rb
options[:container] = '#apicontent' options[:skip] = %w(index.html all.html documentation.html synopsis.html) options[:attribution] = <<-HTML &copy; Joyent, Inc. and other Node contributors<br> Licensed under the MIT License.<br> Node.js is a trademark of Joyent, Inc. and is used with its permission.<br> We are not endorsed by or affiliated with Joyent. HTML version do self.release = '6.0.0' self.base_url = 'https://nodejs.org/api/' end version '4 LTS' do self.release = '4.4.3' self.base_url = "https://nodejs.org/dist/v#{release}/docs/api/" end end end
<|file_sep|>original/lib/docs/scrapers/node.rb options[:container] = '#apicontent' options[:skip] = %w(index.html all.html documentation.html synopsis.html) options[:attribution] = <<-HTML &copy; Joyent, Inc. and other Node contributors<br> Licensed under the MIT License.<br> Node.js is a trademark of Joyent, Inc. and is used with its permission.<br> We are not endorsed by or affiliated with Joyent. HTML version do self.release = '5.11.0' self.base_url = 'https://nodejs.org/api/' end version '4 LTS' do self.release = '4.4.3' self.base_url = "https://nodejs.org/dist/v#{release}/docs/api/" end end end <|file_sep|>current/lib/docs/scrapers/node.rb options[:container] = '#apicontent' options[:skip] = %w(index.html all.html documentation.html synopsis.html) options[:attribution] = <<-HTML &copy; Joyent, Inc. and other Node contributors<br> Licensed under the MIT License.<br> Node.js is a trademark of Joyent, Inc. and is used with its permission.<br> We are not endorsed by or affiliated with Joyent. HTML version do self.release = '5.11.0' self.base_url = 'https://nodejs.org/api/' end version '4 LTS' do self.release = '4.4.3' self.base_url = "https://nodejs.org/dist/v#{release}/docs/api/" end end end <|file_sep|>updated/lib/docs/scrapers/node.rb options[:container] = '#apicontent' options[:skip] = %w(index.html all.html documentation.html synopsis.html) options[:attribution] = <<-HTML &copy; Joyent, Inc. and other Node contributors<br> Licensed under the MIT License.<br> Node.js is a trademark of Joyent, Inc. and is used with its permission.<br> We are not endorsed by or affiliated with Joyent. HTML version do self.release = '6.0.0' self.base_url = 'https://nodejs.org/api/' end version '4 LTS' do self.release = '4.4.3' self.base_url = "https://nodejs.org/dist/v#{release}/docs/api/" end end end
c3b3001c54f2a9214a432c73f44e9b78ce96e894
lib/docs/scrapers/node.rb
lib/docs/scrapers/node.rb
Ruby
<|file_sep|>original/azure-pipelines-1.yml <|file_sep|>current/azure-pipelines-1.yml <|file_sep|>updated/azure-pipelines-1.yml
trigger: branches: include: - main tags: include: - v* - refs/tags/v* strategy: matrix: windows: imageName: 'windows-latest' pool: vmImage: $(imageName) steps: - task: NodeTool@0 inputs:
<|file_sep|>original/azure-pipelines-1.yml <|file_sep|>current/azure-pipelines-1.yml <|file_sep|>updated/azure-pipelines-1.yml trigger: branches: include: - main tags: include: - v* - refs/tags/v* strategy: matrix: windows: imageName: 'windows-latest' pool: vmImage: $(imageName) steps: - task: NodeTool@0 inputs:
1d82fe7870d26a2ef049045d8a4d82b2b6cf4afd
azure-pipelines-1.yml
azure-pipelines-1.yml
YAML
<|file_sep|>original/.travis.yml osx_image: xcode6.4 language: objective-c before_install: - sudo gem install cocoapods --no-document --quiet - sudo gem install xcpretty --no-document --quiet - export LANG=en_US.UTF-8 - cd DTModelStorageTests script: rake <|file_sep|>current/.travis.yml osx_image: xcode6.4 language: objective-c before_install: - sudo gem install cocoapods --no-document --quiet - sudo gem install xcpretty --no-document --quiet - export LANG=en_US.UTF-8 - cd DTModelStorageTests script: rake <|file_sep|>updated/.travis.yml
osx_image: xcode7 language: objective-c before_install: - sudo gem install cocoapods --no-document --quiet - sudo gem install xcpretty --no-document --quiet - export LANG=en_US.UTF-8 - cd DTModelStorageTests script: rake
<|file_sep|>original/.travis.yml osx_image: xcode6.4 language: objective-c before_install: - sudo gem install cocoapods --no-document --quiet - sudo gem install xcpretty --no-document --quiet - export LANG=en_US.UTF-8 - cd DTModelStorageTests script: rake <|file_sep|>current/.travis.yml osx_image: xcode6.4 language: objective-c before_install: - sudo gem install cocoapods --no-document --quiet - sudo gem install xcpretty --no-document --quiet - export LANG=en_US.UTF-8 - cd DTModelStorageTests script: rake <|file_sep|>updated/.travis.yml osx_image: xcode7 language: objective-c before_install: - sudo gem install cocoapods --no-document --quiet - sudo gem install xcpretty --no-document --quiet - export LANG=en_US.UTF-8 - cd DTModelStorageTests script: rake
bcec4bc07d16a44d9b8cc2f8587d1545347a1638
.travis.yml
.travis.yml
YAML
<|file_sep|>original/lib/skr/models/gl_period.rb module Skr class GlPeriod < Skr::Model is_immutable def self.current attr = { year: Time.now.year, period: Time.now.month } GlPeriod.where( attr ).first || GlPeriod.create( attr ) end end end <|file_sep|>current/lib/skr/models/gl_period.rb module Skr class GlPeriod < Skr::Model is_immutable def self.current attr = { year: Time.now.year, period: Time.now.month } GlPeriod.where( attr ).first || GlPeriod.create( attr ) end end end <|file_sep|>updated/lib/skr/models/gl_period.rb
module Skr class GlPeriod < Skr::Model is_immutable def self.current attr = { year: Time.now.year, period: Time.now.month } GlPeriod.where( attr ).first || GlPeriod.create( attr ) end def self.is_date_locked?( date ) date && GlPeriod.select(:is_locked).where( year: date.year, period: date.month, is_locked: true ).first end end end
<|file_sep|>original/lib/skr/models/gl_period.rb module Skr class GlPeriod < Skr::Model is_immutable def self.current attr = { year: Time.now.year, period: Time.now.month } GlPeriod.where( attr ).first || GlPeriod.create( attr ) end end end <|file_sep|>current/lib/skr/models/gl_period.rb module Skr class GlPeriod < Skr::Model is_immutable def self.current attr = { year: Time.now.year, period: Time.now.month } GlPeriod.where( attr ).first || GlPeriod.create( attr ) end end end <|file_sep|>updated/lib/skr/models/gl_period.rb module Skr class GlPeriod < Skr::Model is_immutable def self.current attr = { year: Time.now.year, period: Time.now.month } GlPeriod.where( attr ).first || GlPeriod.create( attr ) end def self.is_date_locked?( date ) date && GlPeriod.select(:is_locked).where( year: date.year, period: date.month, is_locked: true ).first end end end
a47b73072a47ab5469adbc083d0ce5fd2b92d58b
lib/skr/models/gl_period.rb
lib/skr/models/gl_period.rb
Ruby
<|file_sep|>original/docs/advanced_usage.rst ============== Advanced Usage ============== Using Pre/Post-Generate Hooks ----------------------------- You can have Python or Shell scripts that run before and/or after your project is generated. Put them in `hooks/` like this:: cookiecutter-something/ ├── {{cookiecutter.repo_name}}/ ├── hooks │ ├── pre_gen_project.py │ └── post_gen_project.py └── cookiecutter.json Shell scripts work similarly:: <|file_sep|>current/docs/advanced_usage.rst ============== Advanced Usage ============== Using Pre/Post-Generate Hooks ----------------------------- You can have Python or Shell scripts that run before and/or after your project is generated. Put them in `hooks/` like this:: cookiecutter-something/ ├── {{cookiecutter.repo_name}}/ ├── hooks │ ├── pre_gen_project.py │ └── post_gen_project.py └── cookiecutter.json Shell scripts work similarly:: <|file_sep|>updated/docs/advanced_usage.rst
============== Advanced Usage ============== Using Pre/Post-Generate Hooks (0.7.0+) -------------------------------------- .. warning:: This feature is available only in the master branch on GitHub and is not on PyPI yet. It's part of the upcoming 0.7.0 release. You can have Python or Shell scripts that run before and/or after your project is generated. Put them in `hooks/` like this:: cookiecutter-something/ ├── {{cookiecutter.repo_name}}/ ├── hooks │ ├── pre_gen_project.py │ └── post_gen_project.py └── cookiecutter.json
<|file_sep|>original/docs/advanced_usage.rst ============== Advanced Usage ============== Using Pre/Post-Generate Hooks ----------------------------- You can have Python or Shell scripts that run before and/or after your project is generated. Put them in `hooks/` like this:: cookiecutter-something/ ├── {{cookiecutter.repo_name}}/ ├── hooks │ ├── pre_gen_project.py │ └── post_gen_project.py └── cookiecutter.json Shell scripts work similarly:: <|file_sep|>current/docs/advanced_usage.rst ============== Advanced Usage ============== Using Pre/Post-Generate Hooks ----------------------------- You can have Python or Shell scripts that run before and/or after your project is generated. Put them in `hooks/` like this:: cookiecutter-something/ ├── {{cookiecutter.repo_name}}/ ├── hooks │ ├── pre_gen_project.py │ └── post_gen_project.py └── cookiecutter.json Shell scripts work similarly:: <|file_sep|>updated/docs/advanced_usage.rst ============== Advanced Usage ============== Using Pre/Post-Generate Hooks (0.7.0+) -------------------------------------- .. warning:: This feature is available only in the master branch on GitHub and is not on PyPI yet. It's part of the upcoming 0.7.0 release. You can have Python or Shell scripts that run before and/or after your project is generated. Put them in `hooks/` like this:: cookiecutter-something/ ├── {{cookiecutter.repo_name}}/ ├── hooks │ ├── pre_gen_project.py │ └── post_gen_project.py └── cookiecutter.json
1ea2fcca229d03f9418bb4cffa9e8fd29da5d27c
docs/advanced_usage.rst
docs/advanced_usage.rst
reStructuredText
<|file_sep|>original/bot/multithreading/worker/pool/name_generator.py class WorkerPoolNameGenerator: def __init__(self, base_name: str, max_workers: int, max_seconds_idle: int): self.base_name = base_name self.max_workers = max_workers self.max_seconds_idle = max_seconds_idle def get_name(self, number: int, is_temporal: bool = False): name = self.base_name + "#{current}/{max}".format(current=number, max=self.max_workers) if is_temporal: name += "(temp,max_idle:{max_seconds_idle}s)".format(max_seconds_idle=self.max_seconds_idle) return name <|file_sep|>current/bot/multithreading/worker/pool/name_generator.py class WorkerPoolNameGenerator: def __init__(self, base_name: str, max_workers: int, max_seconds_idle: int): self.base_name = base_name self.max_workers = max_workers self.max_seconds_idle = max_seconds_idle def get_name(self, number: int, is_temporal: bool = False): name = self.base_name + "#{current}/{max}".format(current=number, max=self.max_workers) if is_temporal: name += "(temp,max_idle:{max_seconds_idle}s)".format(max_seconds_idle=self.max_seconds_idle) return name <|file_sep|>updated/bot/multithreading/worker/pool/name_generator.py
class WorkerPoolNameGenerator: def __init__(self, base_name: str, max_workers: int, max_seconds_idle: int): self.base_name = base_name self.max_workers = max_workers self.max_seconds_idle = max_seconds_idle def get_name(self, number: int, is_temporal: bool = False): name = self.base_name + "#{current}/{max}".format(current=number, max=self.max_workers) if is_temporal: name += "(max_idle:{max_seconds_idle}s)".format(max_seconds_idle=self.max_seconds_idle) return name
<|file_sep|>original/bot/multithreading/worker/pool/name_generator.py class WorkerPoolNameGenerator: def __init__(self, base_name: str, max_workers: int, max_seconds_idle: int): self.base_name = base_name self.max_workers = max_workers self.max_seconds_idle = max_seconds_idle def get_name(self, number: int, is_temporal: bool = False): name = self.base_name + "#{current}/{max}".format(current=number, max=self.max_workers) if is_temporal: name += "(temp,max_idle:{max_seconds_idle}s)".format(max_seconds_idle=self.max_seconds_idle) return name <|file_sep|>current/bot/multithreading/worker/pool/name_generator.py class WorkerPoolNameGenerator: def __init__(self, base_name: str, max_workers: int, max_seconds_idle: int): self.base_name = base_name self.max_workers = max_workers self.max_seconds_idle = max_seconds_idle def get_name(self, number: int, is_temporal: bool = False): name = self.base_name + "#{current}/{max}".format(current=number, max=self.max_workers) if is_temporal: name += "(temp,max_idle:{max_seconds_idle}s)".format(max_seconds_idle=self.max_seconds_idle) return name <|file_sep|>updated/bot/multithreading/worker/pool/name_generator.py class WorkerPoolNameGenerator: def __init__(self, base_name: str, max_workers: int, max_seconds_idle: int): self.base_name = base_name self.max_workers = max_workers self.max_seconds_idle = max_seconds_idle def get_name(self, number: int, is_temporal: bool = False): name = self.base_name + "#{current}/{max}".format(current=number, max=self.max_workers) if is_temporal: name += "(max_idle:{max_seconds_idle}s)".format(max_seconds_idle=self.max_seconds_idle) return name
638c1d92d82cfa5d8e9a3c5bfacee630282cc0a4
bot/multithreading/worker/pool/name_generator.py
bot/multithreading/worker/pool/name_generator.py
Python
<|file_sep|>original/rancher-config/rancher-compose.yml version: '2' services: register-with-a-gp: scale: 1 start_on_create: true health_check: response_timeout: 5000 healthy_threshold: 2 port: 3333 unhealthy_threshold: 3 initializing_timeout: 60000 interval: 20000 strategy: recreate request_line: GET "/" "HTTP/1.0" reinitializing_timeout: 60000 <|file_sep|>current/rancher-config/rancher-compose.yml version: '2' services: register-with-a-gp: scale: 1 start_on_create: true health_check: response_timeout: 5000 healthy_threshold: 2 port: 3333 unhealthy_threshold: 3 initializing_timeout: 60000 interval: 20000 strategy: recreate request_line: GET "/" "HTTP/1.0" reinitializing_timeout: 60000 <|file_sep|>updated/rancher-config/rancher-compose.yml
version: '2' services: register-with-a-gp: scale: $INITIAL_CONTAINER_SCALE start_on_create: true health_check: response_timeout: 5000 healthy_threshold: 2 port: 3333 unhealthy_threshold: 3 initializing_timeout: 60000 interval: 20000 strategy: recreate request_line: GET "/" "HTTP/1.0" reinitializing_timeout: 60000
<|file_sep|>original/rancher-config/rancher-compose.yml version: '2' services: register-with-a-gp: scale: 1 start_on_create: true health_check: response_timeout: 5000 healthy_threshold: 2 port: 3333 unhealthy_threshold: 3 initializing_timeout: 60000 interval: 20000 strategy: recreate request_line: GET "/" "HTTP/1.0" reinitializing_timeout: 60000 <|file_sep|>current/rancher-config/rancher-compose.yml version: '2' services: register-with-a-gp: scale: 1 start_on_create: true health_check: response_timeout: 5000 healthy_threshold: 2 port: 3333 unhealthy_threshold: 3 initializing_timeout: 60000 interval: 20000 strategy: recreate request_line: GET "/" "HTTP/1.0" reinitializing_timeout: 60000 <|file_sep|>updated/rancher-config/rancher-compose.yml version: '2' services: register-with-a-gp: scale: $INITIAL_CONTAINER_SCALE start_on_create: true health_check: response_timeout: 5000 healthy_threshold: 2 port: 3333 unhealthy_threshold: 3 initializing_timeout: 60000 interval: 20000 strategy: recreate request_line: GET "/" "HTTP/1.0" reinitializing_timeout: 60000
eac56b71af38f869ec08d42e05c048fb8979550d
rancher-config/rancher-compose.yml
rancher-config/rancher-compose.yml
YAML
<|file_sep|>original/Formula/gdb.rb require 'formula' class Gdb < Formula homepage 'http://www.gnu.org/software/gdb/' url 'http://ftpmirror.gnu.org/gdb/gdb-7.3.1.tar.bz2' md5 'b89a5fac359c618dda97b88645ceab47' depends_on 'readline' def install system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking", "--with-python=/usr", "--with-system-readline" system "make" system "make install" end def caveats; <<-EOS.undent gdb requires special privileges to access Mach ports. <|file_sep|>current/Formula/gdb.rb require 'formula' class Gdb < Formula homepage 'http://www.gnu.org/software/gdb/' url 'http://ftpmirror.gnu.org/gdb/gdb-7.3.1.tar.bz2' md5 'b89a5fac359c618dda97b88645ceab47' depends_on 'readline' def install system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking", "--with-python=/usr", "--with-system-readline" system "make" system "make install" end def caveats; <<-EOS.undent gdb requires special privileges to access Mach ports. <|file_sep|>updated/Formula/gdb.rb
require 'formula' class Gdb < Formula homepage 'http://www.gnu.org/software/gdb/' url 'http://ftpmirror.gnu.org/gdb/gdb-7.3.1.tar.bz2' mirror 'http://ftp.gnu.org/gnu/gdb/gdb-7.3.1.tar.bz2' md5 'b89a5fac359c618dda97b88645ceab47' depends_on 'readline' def install system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking", "--with-python=/usr", "--with-system-readline" system "make" system "make install" end def caveats; <<-EOS.undent
<|file_sep|>original/Formula/gdb.rb require 'formula' class Gdb < Formula homepage 'http://www.gnu.org/software/gdb/' url 'http://ftpmirror.gnu.org/gdb/gdb-7.3.1.tar.bz2' md5 'b89a5fac359c618dda97b88645ceab47' depends_on 'readline' def install system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking", "--with-python=/usr", "--with-system-readline" system "make" system "make install" end def caveats; <<-EOS.undent gdb requires special privileges to access Mach ports. <|file_sep|>current/Formula/gdb.rb require 'formula' class Gdb < Formula homepage 'http://www.gnu.org/software/gdb/' url 'http://ftpmirror.gnu.org/gdb/gdb-7.3.1.tar.bz2' md5 'b89a5fac359c618dda97b88645ceab47' depends_on 'readline' def install system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking", "--with-python=/usr", "--with-system-readline" system "make" system "make install" end def caveats; <<-EOS.undent gdb requires special privileges to access Mach ports. <|file_sep|>updated/Formula/gdb.rb require 'formula' class Gdb < Formula homepage 'http://www.gnu.org/software/gdb/' url 'http://ftpmirror.gnu.org/gdb/gdb-7.3.1.tar.bz2' mirror 'http://ftp.gnu.org/gnu/gdb/gdb-7.3.1.tar.bz2' md5 'b89a5fac359c618dda97b88645ceab47' depends_on 'readline' def install system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking", "--with-python=/usr", "--with-system-readline" system "make" system "make install" end def caveats; <<-EOS.undent
5d6af2f90d623cb8a912a750b60411b885e25640
Formula/gdb.rb
Formula/gdb.rb
Ruby
<|file_sep|>original/common/src/main/scala/gu/msnotifications/SasTokenGeneration.scala import org.apache.commons.codec.binary.Base64 object SasTokenGeneration { val expiresInMins = 60 /** * From [[https://github.com/Azure/azure-notificationhubs-java-backend/blob/master/NotificationHubs/src/com/windowsazure/messaging/NamespaceManager.java#L233]] * Licensed under Apache License 2.0 - [[https://github.com/Azure/azure-notificationhubs-java-backend/blob/master/LICENSE]] */ def generateSasToken(sasKeyName: String, sasKeyValue: String, uri: String) = { val targetUri = URLEncoder.encode(uri.toLowerCase, "UTF-8").toLowerCase val expires = (System.currentTimeMillis + (expiresInMins * 60 * 1000)) / 1000 val rawHmac = { val toSign = s"$targetUri\n$expires" val keyBytes = sasKeyValue.getBytes("UTF-8") val signingKey = new SecretKeySpec(keyBytes, "HmacSHA256") val mac = Mac.getInstance("HmacSHA256") mac.init(signingKey) mac.doFinal(toSign.getBytes("UTF-8")) } <|file_sep|>current/common/src/main/scala/gu/msnotifications/SasTokenGeneration.scala import org.apache.commons.codec.binary.Base64 object SasTokenGeneration { val expiresInMins = 60 /** * From [[https://github.com/Azure/azure-notificationhubs-java-backend/blob/master/NotificationHubs/src/com/windowsazure/messaging/NamespaceManager.java#L233]] * Licensed under Apache License 2.0 - [[https://github.com/Azure/azure-notificationhubs-java-backend/blob/master/LICENSE]] */ def generateSasToken(sasKeyName: String, sasKeyValue: String, uri: String) = { val targetUri = URLEncoder.encode(uri.toLowerCase, "UTF-8").toLowerCase val expires = (System.currentTimeMillis + (expiresInMins * 60 * 1000)) / 1000 val rawHmac = { val toSign = s"$targetUri\n$expires" val keyBytes = sasKeyValue.getBytes("UTF-8") val signingKey = new SecretKeySpec(keyBytes, "HmacSHA256") val mac = Mac.getInstance("HmacSHA256") mac.init(signingKey) mac.doFinal(toSign.getBytes("UTF-8")) } <|file_sep|>updated/common/src/main/scala/gu/msnotifications/SasTokenGeneration.scala
import org.apache.commons.codec.binary.Base64 object SasTokenGeneration { val expiresInMins = 60 /** * From [[https://github.com/Azure/azure-notificationhubs-java-backend/blob/master/NotificationHubs/src/com/windowsazure/messaging/NamespaceManager.java#L233]] * Licensed under Apache License 2.0 - [[https://github.com/Azure/azure-notificationhubs-java-backend/blob/master/LICENSE]] */ def generateSasToken(sasKeyName: String, sasKeyValue: String, uri: String): String = { val targetUri = URLEncoder.encode(uri.toLowerCase, "UTF-8").toLowerCase val expires = (System.currentTimeMillis + (expiresInMins * 60 * 1000)) / 1000 val rawHmac = { val toSign = s"$targetUri\n$expires" val keyBytes = sasKeyValue.getBytes("UTF-8") val signingKey = new SecretKeySpec(keyBytes, "HmacSHA256") val mac = Mac.getInstance("HmacSHA256") mac.init(signingKey) mac.doFinal(toSign.getBytes("UTF-8")) }
<|file_sep|>original/common/src/main/scala/gu/msnotifications/SasTokenGeneration.scala import org.apache.commons.codec.binary.Base64 object SasTokenGeneration { val expiresInMins = 60 /** * From [[https://github.com/Azure/azure-notificationhubs-java-backend/blob/master/NotificationHubs/src/com/windowsazure/messaging/NamespaceManager.java#L233]] * Licensed under Apache License 2.0 - [[https://github.com/Azure/azure-notificationhubs-java-backend/blob/master/LICENSE]] */ def generateSasToken(sasKeyName: String, sasKeyValue: String, uri: String) = { val targetUri = URLEncoder.encode(uri.toLowerCase, "UTF-8").toLowerCase val expires = (System.currentTimeMillis + (expiresInMins * 60 * 1000)) / 1000 val rawHmac = { val toSign = s"$targetUri\n$expires" val keyBytes = sasKeyValue.getBytes("UTF-8") val signingKey = new SecretKeySpec(keyBytes, "HmacSHA256") val mac = Mac.getInstance("HmacSHA256") mac.init(signingKey) mac.doFinal(toSign.getBytes("UTF-8")) } <|file_sep|>current/common/src/main/scala/gu/msnotifications/SasTokenGeneration.scala import org.apache.commons.codec.binary.Base64 object SasTokenGeneration { val expiresInMins = 60 /** * From [[https://github.com/Azure/azure-notificationhubs-java-backend/blob/master/NotificationHubs/src/com/windowsazure/messaging/NamespaceManager.java#L233]] * Licensed under Apache License 2.0 - [[https://github.com/Azure/azure-notificationhubs-java-backend/blob/master/LICENSE]] */ def generateSasToken(sasKeyName: String, sasKeyValue: String, uri: String) = { val targetUri = URLEncoder.encode(uri.toLowerCase, "UTF-8").toLowerCase val expires = (System.currentTimeMillis + (expiresInMins * 60 * 1000)) / 1000 val rawHmac = { val toSign = s"$targetUri\n$expires" val keyBytes = sasKeyValue.getBytes("UTF-8") val signingKey = new SecretKeySpec(keyBytes, "HmacSHA256") val mac = Mac.getInstance("HmacSHA256") mac.init(signingKey) mac.doFinal(toSign.getBytes("UTF-8")) } <|file_sep|>updated/common/src/main/scala/gu/msnotifications/SasTokenGeneration.scala import org.apache.commons.codec.binary.Base64 object SasTokenGeneration { val expiresInMins = 60 /** * From [[https://github.com/Azure/azure-notificationhubs-java-backend/blob/master/NotificationHubs/src/com/windowsazure/messaging/NamespaceManager.java#L233]] * Licensed under Apache License 2.0 - [[https://github.com/Azure/azure-notificationhubs-java-backend/blob/master/LICENSE]] */ def generateSasToken(sasKeyName: String, sasKeyValue: String, uri: String): String = { val targetUri = URLEncoder.encode(uri.toLowerCase, "UTF-8").toLowerCase val expires = (System.currentTimeMillis + (expiresInMins * 60 * 1000)) / 1000 val rawHmac = { val toSign = s"$targetUri\n$expires" val keyBytes = sasKeyValue.getBytes("UTF-8") val signingKey = new SecretKeySpec(keyBytes, "HmacSHA256") val mac = Mac.getInstance("HmacSHA256") mac.init(signingKey) mac.doFinal(toSign.getBytes("UTF-8")) }
7b42e0c50c58ecc61c94e2d9b217ae32d83b3101
common/src/main/scala/gu/msnotifications/SasTokenGeneration.scala
common/src/main/scala/gu/msnotifications/SasTokenGeneration.scala
Scala
<|file_sep|>original/README.md # prosemirror-commands [ [**WEBSITE**](http://prosemirror.net) | [**ISSUES**](https://github.com/prosemirror/prosemirror/issues) | [**FORUM**](https://discuss.prosemirror.net) | [**GITTER**](https://gitter.im/ProseMirror/prosemirror) | [**CHANGELOG**](https://github.com/ProseMirror/prosemirror/blob/master/CHANGELOG.md) ] ProseMirror is a well-behaved rich semantic content editor based on contentEditable, with support for collaborative editing and custom document schemas. This [module](http://prosemirror.net/docs/ref/#commands) implements a number of editing commands, which are functions that abstract editing actions which can be bound to keys. The [project page](http://prosemirror.net) has more information, a number of [examples](http://prosemirror.net/examples/) and the [documentation](http://prosemirror.net/docs/). This code is released under an [MIT license](https://github.com/prosemirror/prosemirror/tree/master/LICENSE). There's a [forum](http://discuss.prosemirror.net) for general discussion and support requests, and the [Github bug tracker](https://github.com/prosemirror/prosemirror/issues) <|file_sep|>current/README.md # prosemirror-commands [ [**WEBSITE**](http://prosemirror.net) | [**ISSUES**](https://github.com/prosemirror/prosemirror/issues) | [**FORUM**](https://discuss.prosemirror.net) | [**GITTER**](https://gitter.im/ProseMirror/prosemirror) | [**CHANGELOG**](https://github.com/ProseMirror/prosemirror/blob/master/CHANGELOG.md) ] ProseMirror is a well-behaved rich semantic content editor based on contentEditable, with support for collaborative editing and custom document schemas. This [module](http://prosemirror.net/docs/ref/#commands) implements a number of editing commands, which are functions that abstract editing actions which can be bound to keys. The [project page](http://prosemirror.net) has more information, a number of [examples](http://prosemirror.net/examples/) and the [documentation](http://prosemirror.net/docs/). This code is released under an [MIT license](https://github.com/prosemirror/prosemirror/tree/master/LICENSE). There's a [forum](http://discuss.prosemirror.net) for general discussion and support requests, and the [Github bug tracker](https://github.com/prosemirror/prosemirror/issues) <|file_sep|>updated/README.md
# prosemirror-commands [ [**WEBSITE**](http://prosemirror.net) | [**ISSUES**](https://github.com/prosemirror/prosemirror/issues) | [**FORUM**](https://discuss.prosemirror.net) | [**GITTER**](https://gitter.im/ProseMirror/prosemirror) | [**CHANGELOG**](https://github.com/ProseMirror/prosemirror/blob/master/CHANGELOG.md) ] This is a [core module](http://prosemirror.net/docs/ref/#commands) of [ProseMirror](http://prosemirror.net). ProseMirror is a well-behaved rich semantic content editor based on contentEditable, with support for collaborative editing and custom document schemas. This [module](http://prosemirror.net/docs/ref/#commands) implements a number of editing commands, which are functions that abstract editing actions which can be bound to keys. The [project page](http://prosemirror.net) has more information, a number of [examples](http://prosemirror.net/examples/) and the [documentation](http://prosemirror.net/docs/). This code is released under an [MIT license](https://github.com/prosemirror/prosemirror/tree/master/LICENSE). There's a [forum](http://discuss.prosemirror.net) for general discussion and support requests, and the
<|file_sep|>original/README.md # prosemirror-commands [ [**WEBSITE**](http://prosemirror.net) | [**ISSUES**](https://github.com/prosemirror/prosemirror/issues) | [**FORUM**](https://discuss.prosemirror.net) | [**GITTER**](https://gitter.im/ProseMirror/prosemirror) | [**CHANGELOG**](https://github.com/ProseMirror/prosemirror/blob/master/CHANGELOG.md) ] ProseMirror is a well-behaved rich semantic content editor based on contentEditable, with support for collaborative editing and custom document schemas. This [module](http://prosemirror.net/docs/ref/#commands) implements a number of editing commands, which are functions that abstract editing actions which can be bound to keys. The [project page](http://prosemirror.net) has more information, a number of [examples](http://prosemirror.net/examples/) and the [documentation](http://prosemirror.net/docs/). This code is released under an [MIT license](https://github.com/prosemirror/prosemirror/tree/master/LICENSE). There's a [forum](http://discuss.prosemirror.net) for general discussion and support requests, and the [Github bug tracker](https://github.com/prosemirror/prosemirror/issues) <|file_sep|>current/README.md # prosemirror-commands [ [**WEBSITE**](http://prosemirror.net) | [**ISSUES**](https://github.com/prosemirror/prosemirror/issues) | [**FORUM**](https://discuss.prosemirror.net) | [**GITTER**](https://gitter.im/ProseMirror/prosemirror) | [**CHANGELOG**](https://github.com/ProseMirror/prosemirror/blob/master/CHANGELOG.md) ] ProseMirror is a well-behaved rich semantic content editor based on contentEditable, with support for collaborative editing and custom document schemas. This [module](http://prosemirror.net/docs/ref/#commands) implements a number of editing commands, which are functions that abstract editing actions which can be bound to keys. The [project page](http://prosemirror.net) has more information, a number of [examples](http://prosemirror.net/examples/) and the [documentation](http://prosemirror.net/docs/). This code is released under an [MIT license](https://github.com/prosemirror/prosemirror/tree/master/LICENSE). There's a [forum](http://discuss.prosemirror.net) for general discussion and support requests, and the [Github bug tracker](https://github.com/prosemirror/prosemirror/issues) <|file_sep|>updated/README.md # prosemirror-commands [ [**WEBSITE**](http://prosemirror.net) | [**ISSUES**](https://github.com/prosemirror/prosemirror/issues) | [**FORUM**](https://discuss.prosemirror.net) | [**GITTER**](https://gitter.im/ProseMirror/prosemirror) | [**CHANGELOG**](https://github.com/ProseMirror/prosemirror/blob/master/CHANGELOG.md) ] This is a [core module](http://prosemirror.net/docs/ref/#commands) of [ProseMirror](http://prosemirror.net). ProseMirror is a well-behaved rich semantic content editor based on contentEditable, with support for collaborative editing and custom document schemas. This [module](http://prosemirror.net/docs/ref/#commands) implements a number of editing commands, which are functions that abstract editing actions which can be bound to keys. The [project page](http://prosemirror.net) has more information, a number of [examples](http://prosemirror.net/examples/) and the [documentation](http://prosemirror.net/docs/). This code is released under an [MIT license](https://github.com/prosemirror/prosemirror/tree/master/LICENSE). There's a [forum](http://discuss.prosemirror.net) for general discussion and support requests, and the
62727f7b7ba246c543bf959f8c47bf5e18a7cea8
README.md
README.md
Markdown
<|file_sep|>original/Set-1/2.rb #!/usr/bin/env ruby def treatAsHex s [s].pack('H*').unpack('B*').last.to_i 2 end public def xor(str1, str2) h1 = treatAsHex str1 h2 = treatAsHex str2 (h1 ^ h2).to_s(16) end def help "Usage: ruby #{__FILE__} <string1> <string1>" end def main str1 = ARGV[0] str2 = ARGV[1] unless str1 and str2 <|file_sep|>current/Set-1/2.rb #!/usr/bin/env ruby def treatAsHex s [s].pack('H*').unpack('B*').last.to_i 2 end public def xor(str1, str2) h1 = treatAsHex str1 h2 = treatAsHex str2 (h1 ^ h2).to_s(16) end def help "Usage: ruby #{__FILE__} <string1> <string1>" end def main str1 = ARGV[0] str2 = ARGV[1] unless str1 and str2 <|file_sep|>updated/Set-1/2.rb
#!/usr/bin/env ruby def treatAsHex s [s].pack('H*').unpack('B*').last.to_i 2 end public def xor(str1, str2) str1.scan(/\w\w/).zip(str2.scan(/\w\w/)).map { |s1_c, s2_c| h1 = treatAsHex s1_c h2 = treatAsHex s2_c (h1 ^ h2).to_s(16).rjust(2, '0') }.join end def help "Usage: ruby #{__FILE__} <string1> <string1>" end def main str1 = ARGV[0]
<|file_sep|>original/Set-1/2.rb #!/usr/bin/env ruby def treatAsHex s [s].pack('H*').unpack('B*').last.to_i 2 end public def xor(str1, str2) h1 = treatAsHex str1 h2 = treatAsHex str2 (h1 ^ h2).to_s(16) end def help "Usage: ruby #{__FILE__} <string1> <string1>" end def main str1 = ARGV[0] str2 = ARGV[1] unless str1 and str2 <|file_sep|>current/Set-1/2.rb #!/usr/bin/env ruby def treatAsHex s [s].pack('H*').unpack('B*').last.to_i 2 end public def xor(str1, str2) h1 = treatAsHex str1 h2 = treatAsHex str2 (h1 ^ h2).to_s(16) end def help "Usage: ruby #{__FILE__} <string1> <string1>" end def main str1 = ARGV[0] str2 = ARGV[1] unless str1 and str2 <|file_sep|>updated/Set-1/2.rb #!/usr/bin/env ruby def treatAsHex s [s].pack('H*').unpack('B*').last.to_i 2 end public def xor(str1, str2) str1.scan(/\w\w/).zip(str2.scan(/\w\w/)).map { |s1_c, s2_c| h1 = treatAsHex s1_c h2 = treatAsHex s2_c (h1 ^ h2).to_s(16).rjust(2, '0') }.join end def help "Usage: ruby #{__FILE__} <string1> <string1>" end def main str1 = ARGV[0]
d8b21f1d11c2e4c10a6e18ab2aa383da59113da6
Set-1/2.rb
Set-1/2.rb
Ruby
<|file_sep|>.github/workflows/contributions-validator.yml.diff original: python-version: '3.6' updated: python-version: '3.7' <|file_sep|>original/.github/workflows/contributions-validator.yml name: Test changed markdown documentation files. steps: - uses: actions/checkout@v1 - uses: actions/setup-python@v1 with: python-version: '3.6' - name: Install packages run: | pip install absl-py attrs tensorflow tensorflow_hub pyaml ruamel.yaml pip freeze all - name: Debug information run: | echo $(git status) echo $(git branch) echo $(git remote) echo $(git diff origin/master --name-only) echo $(ls) - name: Run validator on changed files run: | git diff origin/master --name-only --relative=assets/docs | xargs python3.6 ./tools/validator.py python3.6 ./tools/tags_validator_main.py <|file_sep|>current/.github/workflows/contributions-validator.yml name: Test changed markdown documentation files. steps: - uses: actions/checkout@v1 - uses: actions/setup-python@v1 with: python-version: '3.7' - name: Install packages run: | pip install absl-py attrs tensorflow tensorflow_hub pyaml ruamel.yaml pip freeze all - name: Debug information run: | echo $(git status) echo $(git branch) echo $(git remote) echo $(git diff origin/master --name-only) echo $(ls) - name: Run validator on changed files run: | git diff origin/master --name-only --relative=assets/docs | xargs python3.6 ./tools/validator.py python3.6 ./tools/tags_validator_main.py <|file_sep|>updated/.github/workflows/contributions-validator.yml
name: Test changed markdown documentation files. steps: - uses: actions/checkout@v1 - uses: actions/setup-python@v1 with: python-version: '3.7' - name: Install packages run: | pip install absl-py attrs tensorflow tensorflow_hub pyaml ruamel.yaml pip freeze all - name: Debug information run: | echo $(git status) echo $(git branch) echo $(git remote) echo $(git diff origin/master --name-only) echo $(ls) - name: Run validator on changed files run: | git diff origin/master --name-only --relative=assets/docs | xargs python3.7 ./tools/validator.py python3.7 ./tools/tags_validator_main.py
<|file_sep|>.github/workflows/contributions-validator.yml.diff original: python-version: '3.6' updated: python-version: '3.7' <|file_sep|>original/.github/workflows/contributions-validator.yml name: Test changed markdown documentation files. steps: - uses: actions/checkout@v1 - uses: actions/setup-python@v1 with: python-version: '3.6' - name: Install packages run: | pip install absl-py attrs tensorflow tensorflow_hub pyaml ruamel.yaml pip freeze all - name: Debug information run: | echo $(git status) echo $(git branch) echo $(git remote) echo $(git diff origin/master --name-only) echo $(ls) - name: Run validator on changed files run: | git diff origin/master --name-only --relative=assets/docs | xargs python3.6 ./tools/validator.py python3.6 ./tools/tags_validator_main.py <|file_sep|>current/.github/workflows/contributions-validator.yml name: Test changed markdown documentation files. steps: - uses: actions/checkout@v1 - uses: actions/setup-python@v1 with: python-version: '3.7' - name: Install packages run: | pip install absl-py attrs tensorflow tensorflow_hub pyaml ruamel.yaml pip freeze all - name: Debug information run: | echo $(git status) echo $(git branch) echo $(git remote) echo $(git diff origin/master --name-only) echo $(ls) - name: Run validator on changed files run: | git diff origin/master --name-only --relative=assets/docs | xargs python3.6 ./tools/validator.py python3.6 ./tools/tags_validator_main.py <|file_sep|>updated/.github/workflows/contributions-validator.yml name: Test changed markdown documentation files. steps: - uses: actions/checkout@v1 - uses: actions/setup-python@v1 with: python-version: '3.7' - name: Install packages run: | pip install absl-py attrs tensorflow tensorflow_hub pyaml ruamel.yaml pip freeze all - name: Debug information run: | echo $(git status) echo $(git branch) echo $(git remote) echo $(git diff origin/master --name-only) echo $(ls) - name: Run validator on changed files run: | git diff origin/master --name-only --relative=assets/docs | xargs python3.7 ./tools/validator.py python3.7 ./tools/tags_validator_main.py
4ab0a98d88b1a47d912739feabc2ee92a31c76c0
.github/workflows/contributions-validator.yml
.github/workflows/contributions-validator.yml
YAML
<|file_sep|>lib/minty.rb.diff original: def initialize(endpoint = 'http://test.datacite.com') @endpoint = endpoint updated: def initialize(endpoint = 'http://test.datacite.com', user = nil, pass = nil) @endpoint = RestClient::Resource.new(endpoint, user, pass) <|file_sep|>lib/minty.rb.diff original: response = RestClient.get "#{@endpoint}/doi/#{doi}" response.to_str updated: response = @endpoint["doi/#{doi}"].get <|file_sep|>original/lib/minty.rb require "minty/version" require "rest_client" module Minty class DataCite def initialize(endpoint = 'http://test.datacite.com') @endpoint = endpoint end def resolve(doi) response = RestClient.get "#{@endpoint}/doi/#{doi}" response.to_str end end end <|file_sep|>current/lib/minty.rb require "minty/version" require "rest_client" module Minty class DataCite def initialize(endpoint = 'http://test.datacite.com', user = nil, pass = nil) @endpoint = RestClient::Resource.new(endpoint, user, pass) end def resolve(doi) response = @endpoint["doi/#{doi}"].get end end end <|file_sep|>updated/lib/minty.rb
require "rest_client" module Minty class DataCite def initialize(endpoint = 'http://test.datacite.com', user = nil, pass = nil) @endpoint = RestClient::Resource.new(endpoint, user, pass) end def resolve(doi) response = @endpoint["doi/#{doi}"].get end def mint(doi, url) response = @endpoint['doi'].post "doi=#{doi}\nurl=#{url}", :content_type => 'text/plain;charset=UTF-8' end end end
<|file_sep|>lib/minty.rb.diff original: def initialize(endpoint = 'http://test.datacite.com') @endpoint = endpoint updated: def initialize(endpoint = 'http://test.datacite.com', user = nil, pass = nil) @endpoint = RestClient::Resource.new(endpoint, user, pass) <|file_sep|>lib/minty.rb.diff original: response = RestClient.get "#{@endpoint}/doi/#{doi}" response.to_str updated: response = @endpoint["doi/#{doi}"].get <|file_sep|>original/lib/minty.rb require "minty/version" require "rest_client" module Minty class DataCite def initialize(endpoint = 'http://test.datacite.com') @endpoint = endpoint end def resolve(doi) response = RestClient.get "#{@endpoint}/doi/#{doi}" response.to_str end end end <|file_sep|>current/lib/minty.rb require "minty/version" require "rest_client" module Minty class DataCite def initialize(endpoint = 'http://test.datacite.com', user = nil, pass = nil) @endpoint = RestClient::Resource.new(endpoint, user, pass) end def resolve(doi) response = @endpoint["doi/#{doi}"].get end end end <|file_sep|>updated/lib/minty.rb require "rest_client" module Minty class DataCite def initialize(endpoint = 'http://test.datacite.com', user = nil, pass = nil) @endpoint = RestClient::Resource.new(endpoint, user, pass) end def resolve(doi) response = @endpoint["doi/#{doi}"].get end def mint(doi, url) response = @endpoint['doi'].post "doi=#{doi}\nurl=#{url}", :content_type => 'text/plain;charset=UTF-8' end end end
160dfbcbf1291655684b6c6449c6ffbbeb55b0b2
lib/minty.rb
lib/minty.rb
Ruby
<|file_sep|>original/app/src/main/res/layout/navigation_view_group.xml <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="?attr/listPreferredItemHeightSmall" android:gravity="center_vertical" android:orientation="horizontal" android:paddingStart="?attr/listPreferredItemPaddingStart" android:paddingEnd="?attr/listPreferredItemPaddingEnd"> <TextView android:id="@+id/title" android:layout_width="0dp" android:layout_height="wrap_content" android:layout_weight="1" android:ellipsize="end" android:maxLines="1" android:textAppearance="@style/TextAppearance.Medium.SubHeading" tools:text="Header" /> <ImageView <|file_sep|>current/app/src/main/res/layout/navigation_view_group.xml <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="?attr/listPreferredItemHeightSmall" android:gravity="center_vertical" android:orientation="horizontal" android:paddingStart="?attr/listPreferredItemPaddingStart" android:paddingEnd="?attr/listPreferredItemPaddingEnd"> <TextView android:id="@+id/title" android:layout_width="0dp" android:layout_height="wrap_content" android:layout_weight="1" android:ellipsize="end" android:maxLines="1" android:textAppearance="@style/TextAppearance.Medium.SubHeading" tools:text="Header" /> <ImageView <|file_sep|>updated/app/src/main/res/layout/navigation_view_group.xml
<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="?attr/listPreferredItemHeightSmall" android:gravity="center_vertical" android:background="?android:attr/colorBackground" android:orientation="horizontal" android:paddingStart="?attr/listPreferredItemPaddingStart" android:paddingEnd="?attr/listPreferredItemPaddingEnd"> <TextView android:id="@+id/title" android:layout_width="0dp" android:layout_height="wrap_content" android:layout_weight="1" android:ellipsize="end" android:maxLines="1" android:textAppearance="@style/TextAppearance.Medium.SubHeading" tools:text="Header" />
<|file_sep|>original/app/src/main/res/layout/navigation_view_group.xml <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="?attr/listPreferredItemHeightSmall" android:gravity="center_vertical" android:orientation="horizontal" android:paddingStart="?attr/listPreferredItemPaddingStart" android:paddingEnd="?attr/listPreferredItemPaddingEnd"> <TextView android:id="@+id/title" android:layout_width="0dp" android:layout_height="wrap_content" android:layout_weight="1" android:ellipsize="end" android:maxLines="1" android:textAppearance="@style/TextAppearance.Medium.SubHeading" tools:text="Header" /> <ImageView <|file_sep|>current/app/src/main/res/layout/navigation_view_group.xml <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="?attr/listPreferredItemHeightSmall" android:gravity="center_vertical" android:orientation="horizontal" android:paddingStart="?attr/listPreferredItemPaddingStart" android:paddingEnd="?attr/listPreferredItemPaddingEnd"> <TextView android:id="@+id/title" android:layout_width="0dp" android:layout_height="wrap_content" android:layout_weight="1" android:ellipsize="end" android:maxLines="1" android:textAppearance="@style/TextAppearance.Medium.SubHeading" tools:text="Header" /> <ImageView <|file_sep|>updated/app/src/main/res/layout/navigation_view_group.xml <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="?attr/listPreferredItemHeightSmall" android:gravity="center_vertical" android:background="?android:attr/colorBackground" android:orientation="horizontal" android:paddingStart="?attr/listPreferredItemPaddingStart" android:paddingEnd="?attr/listPreferredItemPaddingEnd"> <TextView android:id="@+id/title" android:layout_width="0dp" android:layout_height="wrap_content" android:layout_weight="1" android:ellipsize="end" android:maxLines="1" android:textAppearance="@style/TextAppearance.Medium.SubHeading" tools:text="Header" />
2eab43a66994b148472ee3ab9c411b3c214f4354
app/src/main/res/layout/navigation_view_group.xml
app/src/main/res/layout/navigation_view_group.xml
XML
<|file_sep|>original/.travis.yml language: swift osx_image: xcode8.3 xcode_project: Bourne.xcodeproj xcode_scheme: - Bourne-iOS Tests - Bourne-tvOS Tests - Bourne-macOS Tests <|file_sep|>current/.travis.yml language: swift osx_image: xcode8.3 xcode_project: Bourne.xcodeproj xcode_scheme: - Bourne-iOS Tests - Bourne-tvOS Tests - Bourne-macOS Tests <|file_sep|>updated/.travis.yml
language: swift osx_image: xcode8.3 xcode_project: Bourne.xcodeproj matrix: include: - xcode_scheme: Bourne-iOS Tests xcode_sdk: iphonesimulator10.3 - xcode_scheme: Bourne-macOS Tests xcode_sdk: macosx10.12 - xcode_scheme: Bourne-tvOS Tests xcode_sdk: appletvsimulator10.2
<|file_sep|>original/.travis.yml language: swift osx_image: xcode8.3 xcode_project: Bourne.xcodeproj xcode_scheme: - Bourne-iOS Tests - Bourne-tvOS Tests - Bourne-macOS Tests <|file_sep|>current/.travis.yml language: swift osx_image: xcode8.3 xcode_project: Bourne.xcodeproj xcode_scheme: - Bourne-iOS Tests - Bourne-tvOS Tests - Bourne-macOS Tests <|file_sep|>updated/.travis.yml language: swift osx_image: xcode8.3 xcode_project: Bourne.xcodeproj matrix: include: - xcode_scheme: Bourne-iOS Tests xcode_sdk: iphonesimulator10.3 - xcode_scheme: Bourne-macOS Tests xcode_sdk: macosx10.12 - xcode_scheme: Bourne-tvOS Tests xcode_sdk: appletvsimulator10.2
e41e575a0509ef5cef16487286383ec636bb84b9
.travis.yml
.travis.yml
YAML