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|>.travis.yml.diff
original:
- TOXENV=py26
updated:
<|file_sep|>original/.travis.yml
language: python
sudo: false
env:
- TOXENV=py26
- TOXENV=py27
- TOXENV=py33
- TOXENV=py34
- TOXENV=pypy
install:
- travis_retry pip install tox
script:
- tox
<|file_sep|>current/.travis.yml
language: python
sudo: false
env:
- TOXENV=py27
- TOXENV=py33
- TOXENV=py34
- TOXENV=pypy
install:
- travis_retry pip install tox
script:
- tox
<|file_sep|>updated/.travis.yml | language: python
sudo: false
env:
- TOXENV=py27
- TOXENV=py33
- TOXENV=py34
- TOXENV=py35
- TOXENV=pypy
install:
- travis_retry pip install tox
script:
- tox | <|file_sep|>.travis.yml.diff
original:
- TOXENV=py26
updated:
<|file_sep|>original/.travis.yml
language: python
sudo: false
env:
- TOXENV=py26
- TOXENV=py27
- TOXENV=py33
- TOXENV=py34
- TOXENV=pypy
install:
- travis_retry pip install tox
script:
- tox
<|file_sep|>current/.travis.yml
language: python
sudo: false
env:
- TOXENV=py27
- TOXENV=py33
- TOXENV=py34
- TOXENV=pypy
install:
- travis_retry pip install tox
script:
- tox
<|file_sep|>updated/.travis.yml
language: python
sudo: false
env:
- TOXENV=py27
- TOXENV=py33
- TOXENV=py34
- TOXENV=py35
- TOXENV=pypy
install:
- travis_retry pip install tox
script:
- tox | c7293a70b931ef5c606e885f424551b96e23d3e6 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/index.js
var conf = require("./server/conf"),
app = require("./server/app"),
log = conf.log;
app.listen(conf.PORT, function() {
log.info("Server_listening on port %s", conf.PORT);
});
<|file_sep|>current/index.js
var conf = require("./server/conf"),
app = require("./server/app"),
log = conf.log;
app.listen(conf.PORT, function() {
log.info("Server_listening on port %s", conf.PORT);
});
<|file_sep|>updated/index.js | var conf = require("./server/conf"),
app = require("./server/app"),
log = conf.log;
app.listen(conf.PORT, function() {
log.info("Server_listening on port %s", conf.PORT)
}); | <|file_sep|>original/index.js
var conf = require("./server/conf"),
app = require("./server/app"),
log = conf.log;
app.listen(conf.PORT, function() {
log.info("Server_listening on port %s", conf.PORT);
});
<|file_sep|>current/index.js
var conf = require("./server/conf"),
app = require("./server/app"),
log = conf.log;
app.listen(conf.PORT, function() {
log.info("Server_listening on port %s", conf.PORT);
});
<|file_sep|>updated/index.js
var conf = require("./server/conf"),
app = require("./server/app"),
log = conf.log;
app.listen(conf.PORT, function() {
log.info("Server_listening on port %s", conf.PORT)
}); | 2c3fd0151118a3ab537b6318b2c9aeb839b78c31 | index.js | index.js | JavaScript |
<|file_sep|>original/lib/docs/filters/marionette/clean_html.rb
root_page? ? root : other
doc
end
def root
at_css('p').remove
at_css('h1').content = 'Backbone.Marionette'
end
def other
css('#source + h2', '#improve', '#source', '.glyphicon', 'p > br').remove
css('pre > code').each do |node|
node.parent['data-language'] = node['class'][/lang-(\w+)/, 1] if node['class']
node.before(node.children).remove
end
css('h2', 'h3').each do |node|
if anchor = node.at_css('a.anchor[name]')
id = anchor['name']
else
<|file_sep|>current/lib/docs/filters/marionette/clean_html.rb
root_page? ? root : other
doc
end
def root
at_css('p').remove
at_css('h1').content = 'Backbone.Marionette'
end
def other
css('#source + h2', '#improve', '#source', '.glyphicon', 'p > br').remove
css('pre > code').each do |node|
node.parent['data-language'] = node['class'][/lang-(\w+)/, 1] if node['class']
node.before(node.children).remove
end
css('h2', 'h3').each do |node|
if anchor = node.at_css('a.anchor[name]')
id = anchor['name']
else
<|file_sep|>updated/lib/docs/filters/marionette/clean_html.rb | root_page? ? root : other
doc
end
def root
at_css('p').remove
at_css('h1').content = 'Backbone.Marionette'
end
def other
css('#source + h2', '#improve', '#source', '.glyphicon').remove
css('p > br').each do |node|
node.replace(' ')
end
css('pre > code').each do |node|
node.parent['data-language'] = node['class'][/lang-(\w+)/, 1] if node['class']
node.before(node.children).remove
end
| <|file_sep|>original/lib/docs/filters/marionette/clean_html.rb
root_page? ? root : other
doc
end
def root
at_css('p').remove
at_css('h1').content = 'Backbone.Marionette'
end
def other
css('#source + h2', '#improve', '#source', '.glyphicon', 'p > br').remove
css('pre > code').each do |node|
node.parent['data-language'] = node['class'][/lang-(\w+)/, 1] if node['class']
node.before(node.children).remove
end
css('h2', 'h3').each do |node|
if anchor = node.at_css('a.anchor[name]')
id = anchor['name']
else
<|file_sep|>current/lib/docs/filters/marionette/clean_html.rb
root_page? ? root : other
doc
end
def root
at_css('p').remove
at_css('h1').content = 'Backbone.Marionette'
end
def other
css('#source + h2', '#improve', '#source', '.glyphicon', 'p > br').remove
css('pre > code').each do |node|
node.parent['data-language'] = node['class'][/lang-(\w+)/, 1] if node['class']
node.before(node.children).remove
end
css('h2', 'h3').each do |node|
if anchor = node.at_css('a.anchor[name]')
id = anchor['name']
else
<|file_sep|>updated/lib/docs/filters/marionette/clean_html.rb
root_page? ? root : other
doc
end
def root
at_css('p').remove
at_css('h1').content = 'Backbone.Marionette'
end
def other
css('#source + h2', '#improve', '#source', '.glyphicon').remove
css('p > br').each do |node|
node.replace(' ')
end
css('pre > code').each do |node|
node.parent['data-language'] = node['class'][/lang-(\w+)/, 1] if node['class']
node.before(node.children).remove
end
| e4bcfef354357aaee319127d4b5a7f0efe7257bf | lib/docs/filters/marionette/clean_html.rb | lib/docs/filters/marionette/clean_html.rb | Ruby |
<|file_sep|>CMakeLists.txt.diff
original:
IF(CMAKE_COMPILER_IS_GNUCC)
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra -Wno-missing-field-initializers -Og -g")
updated:
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra -Wno-missing-field-initializers ")
IF(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Og -g")
<|file_sep|>original/CMakeLists.txt
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra -Wno-missing-field-initializers -Og -g")
ENDIF()
FIND_PACKAGE(OpenMP)
IF(OPENMP_FOUND)
SET (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${OpenMP_CXX_FLAGS}")
ENDIF()
ADD_LIBRARY(eve_nerd SHARED src/dijkstra.cpp src/min_heap.cpp src/universe.cpp)
ADD_EXECUTABLE(eve_nerd_bin src/main.cpp)
INCLUDE_DIRECTORIES(include)
SET_TARGET_PROPERTIES(eve_nerd_bin PROPERTIES OUTPUT_NAME eve_nerd)
TARGET_LINK_LIBRARIES(eve_nerd_bin readline)
TARGET_LINK_LIBRARIES(eve_nerd_bin eve_nerd)
FIND_PACKAGE(SWIG REQUIRED)
INCLUDE(${SWIG_USE_FILE})
<|file_sep|>current/CMakeLists.txt
IF(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Og -g")
ENDIF()
FIND_PACKAGE(OpenMP)
IF(OPENMP_FOUND)
SET (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${OpenMP_CXX_FLAGS}")
ENDIF()
ADD_LIBRARY(eve_nerd SHARED src/dijkstra.cpp src/min_heap.cpp src/universe.cpp)
ADD_EXECUTABLE(eve_nerd_bin src/main.cpp)
INCLUDE_DIRECTORIES(include)
SET_TARGET_PROPERTIES(eve_nerd_bin PROPERTIES OUTPUT_NAME eve_nerd)
TARGET_LINK_LIBRARIES(eve_nerd_bin readline)
TARGET_LINK_LIBRARIES(eve_nerd_bin eve_nerd)
FIND_PACKAGE(SWIG REQUIRED)
<|file_sep|>updated/CMakeLists.txt |
IF(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Og -g")
ENDIF()
FIND_PACKAGE(OpenMP)
IF(OPENMP_FOUND)
SET (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${OpenMP_CXX_FLAGS}")
ENDIF()
SET(CMAKE_CXX_STANDARD 11)
SET(CMAKE_CXX_STANDARD_REQUIRED ON)
ADD_LIBRARY(eve_nerd SHARED src/dijkstra.cpp src/min_heap.cpp src/universe.cpp)
ADD_EXECUTABLE(eve_nerd_bin src/main.cpp)
INCLUDE_DIRECTORIES(include)
SET_TARGET_PROPERTIES(eve_nerd_bin PROPERTIES OUTPUT_NAME eve_nerd)
TARGET_LINK_LIBRARIES(eve_nerd_bin readline) | <|file_sep|>CMakeLists.txt.diff
original:
IF(CMAKE_COMPILER_IS_GNUCC)
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra -Wno-missing-field-initializers -Og -g")
updated:
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra -Wno-missing-field-initializers ")
IF(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Og -g")
<|file_sep|>original/CMakeLists.txt
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra -Wno-missing-field-initializers -Og -g")
ENDIF()
FIND_PACKAGE(OpenMP)
IF(OPENMP_FOUND)
SET (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${OpenMP_CXX_FLAGS}")
ENDIF()
ADD_LIBRARY(eve_nerd SHARED src/dijkstra.cpp src/min_heap.cpp src/universe.cpp)
ADD_EXECUTABLE(eve_nerd_bin src/main.cpp)
INCLUDE_DIRECTORIES(include)
SET_TARGET_PROPERTIES(eve_nerd_bin PROPERTIES OUTPUT_NAME eve_nerd)
TARGET_LINK_LIBRARIES(eve_nerd_bin readline)
TARGET_LINK_LIBRARIES(eve_nerd_bin eve_nerd)
FIND_PACKAGE(SWIG REQUIRED)
INCLUDE(${SWIG_USE_FILE})
<|file_sep|>current/CMakeLists.txt
IF(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Og -g")
ENDIF()
FIND_PACKAGE(OpenMP)
IF(OPENMP_FOUND)
SET (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${OpenMP_CXX_FLAGS}")
ENDIF()
ADD_LIBRARY(eve_nerd SHARED src/dijkstra.cpp src/min_heap.cpp src/universe.cpp)
ADD_EXECUTABLE(eve_nerd_bin src/main.cpp)
INCLUDE_DIRECTORIES(include)
SET_TARGET_PROPERTIES(eve_nerd_bin PROPERTIES OUTPUT_NAME eve_nerd)
TARGET_LINK_LIBRARIES(eve_nerd_bin readline)
TARGET_LINK_LIBRARIES(eve_nerd_bin eve_nerd)
FIND_PACKAGE(SWIG REQUIRED)
<|file_sep|>updated/CMakeLists.txt
IF(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Og -g")
ENDIF()
FIND_PACKAGE(OpenMP)
IF(OPENMP_FOUND)
SET (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${OpenMP_CXX_FLAGS}")
ENDIF()
SET(CMAKE_CXX_STANDARD 11)
SET(CMAKE_CXX_STANDARD_REQUIRED ON)
ADD_LIBRARY(eve_nerd SHARED src/dijkstra.cpp src/min_heap.cpp src/universe.cpp)
ADD_EXECUTABLE(eve_nerd_bin src/main.cpp)
INCLUDE_DIRECTORIES(include)
SET_TARGET_PROPERTIES(eve_nerd_bin PROPERTIES OUTPUT_NAME eve_nerd)
TARGET_LINK_LIBRARIES(eve_nerd_bin readline) | 32d0295edcfc82273363d8f655d67d55444aed8b | CMakeLists.txt | CMakeLists.txt | Text |
<|file_sep|>original/test/Transforms/LoopVectorize/loop-vect-option.ll
<|file_sep|>current/test/Transforms/LoopVectorize/loop-vect-option.ll
<|file_sep|>updated/test/Transforms/LoopVectorize/loop-vect-option.ll | target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
; RUN: opt < %s -S -passes='loop-vectorize<interleave-forced-only;vectorize-forced-only>' 2>&1 | FileCheck %s
; RUN: opt < %s -S -passes='loop-vectorize<no-interleave-forced-only;no-vectorize-forced-only>' 2>&1 | FileCheck %s
; Dummy test to check LoopVectorize options.
; CHECK-LABEL: dummy
define void @dummy() {
ret void
} | <|file_sep|>original/test/Transforms/LoopVectorize/loop-vect-option.ll
<|file_sep|>current/test/Transforms/LoopVectorize/loop-vect-option.ll
<|file_sep|>updated/test/Transforms/LoopVectorize/loop-vect-option.ll
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
; RUN: opt < %s -S -passes='loop-vectorize<interleave-forced-only;vectorize-forced-only>' 2>&1 | FileCheck %s
; RUN: opt < %s -S -passes='loop-vectorize<no-interleave-forced-only;no-vectorize-forced-only>' 2>&1 | FileCheck %s
; Dummy test to check LoopVectorize options.
; CHECK-LABEL: dummy
define void @dummy() {
ret void
} | a277430f59eadd28eb6140ea31e39025fa8fd179 | test/Transforms/LoopVectorize/loop-vect-option.ll | test/Transforms/LoopVectorize/loop-vect-option.ll | LLVM |
<|file_sep|>original/library.properties
name=MCCI Catena Arduino Platform Library
version=0.7.1
author=Terry Moore
maintainer=MCCI Corporation <techsupport@mcci.com>
sentence=Arduino library for MCCI Catena 4410/4420/4450/4551 systems.
paragraph=This library provides platform support for MCCI's family of IoT systems, based on the Adafruit Feather M0 LoRa, or on the Murata LoRaWAN module. FRAM system configuration, generalized polling, and a number of low-level drivers are included for the peripherals that are included with the system. A non-blocking event-driven USB-serial command interface is also provided, along with a generalized command parsing framework.
category=Other
architectures=samd,stm32
url=https://github.com/mcci-catena/Catena-Arduino-Platform
dot_a_linkage=true
includes=Catena.h
<|file_sep|>current/library.properties
name=MCCI Catena Arduino Platform Library
version=0.7.1
author=Terry Moore
maintainer=MCCI Corporation <techsupport@mcci.com>
sentence=Arduino library for MCCI Catena 4410/4420/4450/4551 systems.
paragraph=This library provides platform support for MCCI's family of IoT systems, based on the Adafruit Feather M0 LoRa, or on the Murata LoRaWAN module. FRAM system configuration, generalized polling, and a number of low-level drivers are included for the peripherals that are included with the system. A non-blocking event-driven USB-serial command interface is also provided, along with a generalized command parsing framework.
category=Other
architectures=samd,stm32
url=https://github.com/mcci-catena/Catena-Arduino-Platform
dot_a_linkage=true
includes=Catena.h
<|file_sep|>updated/library.properties | name=MCCI Catena Arduino Platform Library
version=0.7.1
author=Terry Moore, ChaeHee Won
maintainer=MCCI Corporation <techsupport@mcci.com>
sentence=Arduino library for MCCI Catena 4410/4420/4450/4551 systems.
paragraph=This library provides platform support for MCCI's family of IoT systems, based on the Adafruit Feather M0 LoRa, or on the Murata LoRaWAN module. FRAM system configuration, generalized polling, and a number of low-level drivers are included for the peripherals that are included with the system. A non-blocking event-driven USB-serial command interface is also provided, along with a generalized command parsing framework.
category=Other
architectures=samd,stm32
url=https://github.com/mcci-catena/Catena-Arduino-Platform
dot_a_linkage=true
includes=Catena.h | <|file_sep|>original/library.properties
name=MCCI Catena Arduino Platform Library
version=0.7.1
author=Terry Moore
maintainer=MCCI Corporation <techsupport@mcci.com>
sentence=Arduino library for MCCI Catena 4410/4420/4450/4551 systems.
paragraph=This library provides platform support for MCCI's family of IoT systems, based on the Adafruit Feather M0 LoRa, or on the Murata LoRaWAN module. FRAM system configuration, generalized polling, and a number of low-level drivers are included for the peripherals that are included with the system. A non-blocking event-driven USB-serial command interface is also provided, along with a generalized command parsing framework.
category=Other
architectures=samd,stm32
url=https://github.com/mcci-catena/Catena-Arduino-Platform
dot_a_linkage=true
includes=Catena.h
<|file_sep|>current/library.properties
name=MCCI Catena Arduino Platform Library
version=0.7.1
author=Terry Moore
maintainer=MCCI Corporation <techsupport@mcci.com>
sentence=Arduino library for MCCI Catena 4410/4420/4450/4551 systems.
paragraph=This library provides platform support for MCCI's family of IoT systems, based on the Adafruit Feather M0 LoRa, or on the Murata LoRaWAN module. FRAM system configuration, generalized polling, and a number of low-level drivers are included for the peripherals that are included with the system. A non-blocking event-driven USB-serial command interface is also provided, along with a generalized command parsing framework.
category=Other
architectures=samd,stm32
url=https://github.com/mcci-catena/Catena-Arduino-Platform
dot_a_linkage=true
includes=Catena.h
<|file_sep|>updated/library.properties
name=MCCI Catena Arduino Platform Library
version=0.7.1
author=Terry Moore, ChaeHee Won
maintainer=MCCI Corporation <techsupport@mcci.com>
sentence=Arduino library for MCCI Catena 4410/4420/4450/4551 systems.
paragraph=This library provides platform support for MCCI's family of IoT systems, based on the Adafruit Feather M0 LoRa, or on the Murata LoRaWAN module. FRAM system configuration, generalized polling, and a number of low-level drivers are included for the peripherals that are included with the system. A non-blocking event-driven USB-serial command interface is also provided, along with a generalized command parsing framework.
category=Other
architectures=samd,stm32
url=https://github.com/mcci-catena/Catena-Arduino-Platform
dot_a_linkage=true
includes=Catena.h | 90351f6bdb8bbb6964e3832a399e2f0d810c39a3 | library.properties | library.properties | INI |
<|file_sep|>original/CODE_OF_CONDUCT.md
<|file_sep|>current/CODE_OF_CONDUCT.md
<|file_sep|>updated/CODE_OF_CONDUCT.md | # Community Participation Guidelines
This repository is governed by Mozilla's code of conduct and etiquette guidelines.
For more details, please read the
[Mozilla Community Participation Guidelines](https://www.mozilla.org/about/governance/policies/participation/).
## How to Report
For more information on how to report violations of the Community Participation Guidelines, please read our '[How to Report](https://www.mozilla.org/about/governance/policies/participation/reporting/)' page.
<!--
## Project Specific Etiquette
In some cases, there will be additional project etiquette i.e.: (https://bugzilla.mozilla.org/page.cgi?id=etiquette.html).
Please update for your project.
--> | <|file_sep|>original/CODE_OF_CONDUCT.md
<|file_sep|>current/CODE_OF_CONDUCT.md
<|file_sep|>updated/CODE_OF_CONDUCT.md
# Community Participation Guidelines
This repository is governed by Mozilla's code of conduct and etiquette guidelines.
For more details, please read the
[Mozilla Community Participation Guidelines](https://www.mozilla.org/about/governance/policies/participation/).
## How to Report
For more information on how to report violations of the Community Participation Guidelines, please read our '[How to Report](https://www.mozilla.org/about/governance/policies/participation/reporting/)' page.
<!--
## Project Specific Etiquette
In some cases, there will be additional project etiquette i.e.: (https://bugzilla.mozilla.org/page.cgi?id=etiquette.html).
Please update for your project.
--> | 5526c372591a7e281e011c34faecbeeaad7133fe | CODE_OF_CONDUCT.md | CODE_OF_CONDUCT.md | Markdown |
<|file_sep|>original/requirements/static-testing.txt
flake8==3.5.0
flake8-docstrings==1.1.0
flake8-bugbear==17.4.0;python_version>="3.5"
flake8-import-order==0.15
mccabe==0.6.1
pep8-naming==0.4.1
mypy==0.550
vulture==0.26
bandit==1.4.0
pipdeptree==0.10.1
safety==1.6.1
xenon==0.5.4
<|file_sep|>current/requirements/static-testing.txt
flake8==3.5.0
flake8-docstrings==1.1.0
flake8-bugbear==17.4.0;python_version>="3.5"
flake8-import-order==0.15
mccabe==0.6.1
pep8-naming==0.4.1
mypy==0.550
vulture==0.26
bandit==1.4.0
pipdeptree==0.10.1
safety==1.6.1
xenon==0.5.4
<|file_sep|>updated/requirements/static-testing.txt | flake8==3.5.0
flake8-docstrings==1.1.0
flake8-bugbear==17.4.0;python_version>="3.5"
flake8-import-order==0.16
mccabe==0.6.1
pep8-naming==0.4.1
mypy==0.550
vulture==0.26
bandit==1.4.0
pipdeptree==0.10.1
safety==1.6.1
xenon==0.5.4 | <|file_sep|>original/requirements/static-testing.txt
flake8==3.5.0
flake8-docstrings==1.1.0
flake8-bugbear==17.4.0;python_version>="3.5"
flake8-import-order==0.15
mccabe==0.6.1
pep8-naming==0.4.1
mypy==0.550
vulture==0.26
bandit==1.4.0
pipdeptree==0.10.1
safety==1.6.1
xenon==0.5.4
<|file_sep|>current/requirements/static-testing.txt
flake8==3.5.0
flake8-docstrings==1.1.0
flake8-bugbear==17.4.0;python_version>="3.5"
flake8-import-order==0.15
mccabe==0.6.1
pep8-naming==0.4.1
mypy==0.550
vulture==0.26
bandit==1.4.0
pipdeptree==0.10.1
safety==1.6.1
xenon==0.5.4
<|file_sep|>updated/requirements/static-testing.txt
flake8==3.5.0
flake8-docstrings==1.1.0
flake8-bugbear==17.4.0;python_version>="3.5"
flake8-import-order==0.16
mccabe==0.6.1
pep8-naming==0.4.1
mypy==0.550
vulture==0.26
bandit==1.4.0
pipdeptree==0.10.1
safety==1.6.1
xenon==0.5.4 | 6b5d95a6c6da1521767f1e14fa231ae0f5536007 | requirements/static-testing.txt | requirements/static-testing.txt | Text |
<|file_sep|>original/app/controllers/items_controller.rb
class ItemsController < ApplicationController
def index
@items = Item.all
respond_to do |format|
format.html # index.html.erb
format.xml { render xml: @items }
format.json { render json: @items }
end
def create
@item = Item.new(item_params)
if @item.save
render json: @item
else
# ?
end
end
def show
@item = Item.find(params[:section][:item])
<|file_sep|>current/app/controllers/items_controller.rb
class ItemsController < ApplicationController
def index
@items = Item.all
respond_to do |format|
format.html # index.html.erb
format.xml { render xml: @items }
format.json { render json: @items }
end
def create
@item = Item.new(item_params)
if @item.save
render json: @item
else
# ?
end
end
def show
@item = Item.find(params[:section][:item])
<|file_sep|>updated/app/controllers/items_controller.rb | class ItemsController < ApplicationController
def index
@items = Item.all
respond_to do |format|
format.html # index.html.erb
format.xml { render xml: @items }
format.json { render json: @items }
end
end
def create
@item = Item.new(item_params)
if @item.save
render json: @item
else
# ?
end
end
def show | <|file_sep|>original/app/controllers/items_controller.rb
class ItemsController < ApplicationController
def index
@items = Item.all
respond_to do |format|
format.html # index.html.erb
format.xml { render xml: @items }
format.json { render json: @items }
end
def create
@item = Item.new(item_params)
if @item.save
render json: @item
else
# ?
end
end
def show
@item = Item.find(params[:section][:item])
<|file_sep|>current/app/controllers/items_controller.rb
class ItemsController < ApplicationController
def index
@items = Item.all
respond_to do |format|
format.html # index.html.erb
format.xml { render xml: @items }
format.json { render json: @items }
end
def create
@item = Item.new(item_params)
if @item.save
render json: @item
else
# ?
end
end
def show
@item = Item.find(params[:section][:item])
<|file_sep|>updated/app/controllers/items_controller.rb
class ItemsController < ApplicationController
def index
@items = Item.all
respond_to do |format|
format.html # index.html.erb
format.xml { render xml: @items }
format.json { render json: @items }
end
end
def create
@item = Item.new(item_params)
if @item.save
render json: @item
else
# ?
end
end
def show | b948e257305acf31722bc048c2cb4eec76af9780 | app/controllers/items_controller.rb | app/controllers/items_controller.rb | Ruby |
<|file_sep|>original/cookbooks/chef/attributes/default.rb
# Add the opscode APT source for chef
default[:apt][:sources] = node[:apt][:sources] | ["opscode"]
# Set the default server version
default[:chef][:server][:version] = "12.0.8-1"
# Set the default client version
default[:chef][:client][:version] = "12.9.41-1"
<|file_sep|>current/cookbooks/chef/attributes/default.rb
# Add the opscode APT source for chef
default[:apt][:sources] = node[:apt][:sources] | ["opscode"]
# Set the default server version
default[:chef][:server][:version] = "12.0.8-1"
# Set the default client version
default[:chef][:client][:version] = "12.9.41-1"
<|file_sep|>updated/cookbooks/chef/attributes/default.rb | # Add the opscode APT source for chef
default[:apt][:sources] = node[:apt][:sources] | ["opscode"]
# Set the default server version
default[:chef][:server][:version] = "12.0.8-1"
# Set the default client version
default[:chef][:client][:version] = "12.10.24-1" | <|file_sep|>original/cookbooks/chef/attributes/default.rb
# Add the opscode APT source for chef
default[:apt][:sources] = node[:apt][:sources] | ["opscode"]
# Set the default server version
default[:chef][:server][:version] = "12.0.8-1"
# Set the default client version
default[:chef][:client][:version] = "12.9.41-1"
<|file_sep|>current/cookbooks/chef/attributes/default.rb
# Add the opscode APT source for chef
default[:apt][:sources] = node[:apt][:sources] | ["opscode"]
# Set the default server version
default[:chef][:server][:version] = "12.0.8-1"
# Set the default client version
default[:chef][:client][:version] = "12.9.41-1"
<|file_sep|>updated/cookbooks/chef/attributes/default.rb
# Add the opscode APT source for chef
default[:apt][:sources] = node[:apt][:sources] | ["opscode"]
# Set the default server version
default[:chef][:server][:version] = "12.0.8-1"
# Set the default client version
default[:chef][:client][:version] = "12.10.24-1" | f8dbb973859a4686501746d22cf8a0617352b5e3 | cookbooks/chef/attributes/default.rb | cookbooks/chef/attributes/default.rb | Ruby |
<|file_sep|>original/app/views/drinks/_form.html.haml
- content_for :actions do
%li
= link_to 'delete drink', @drink, method: :delete, confirm: "Really delete drink #{@drink.name}?"
= semantic_form_for @drink, :html => { :class => 'form-horizontal' } do |f|
= f.semantic_errors
= f.inputs do
= f.input :name, hint:'the label says…'
= f.input :price, as: :number, hint:'e.g. 1.50'
= f.input :bottle_size, hint: '0.5 or 0.33?'
= f.input :caffeine, hint: 'in mg/100 ml'
= f.input :logo, hint: 'make it look pretty'
= f.input :active
= f.actions do
= f.action :submit
<|file_sep|>current/app/views/drinks/_form.html.haml
- content_for :actions do
%li
= link_to 'delete drink', @drink, method: :delete, confirm: "Really delete drink #{@drink.name}?"
= semantic_form_for @drink, :html => { :class => 'form-horizontal' } do |f|
= f.semantic_errors
= f.inputs do
= f.input :name, hint:'the label says…'
= f.input :price, as: :number, hint:'e.g. 1.50'
= f.input :bottle_size, hint: '0.5 or 0.33?'
= f.input :caffeine, hint: 'in mg/100 ml'
= f.input :logo, hint: 'make it look pretty'
= f.input :active
= f.actions do
= f.action :submit
<|file_sep|>updated/app/views/drinks/_form.html.haml | - content_for :actions do
%li
= link_to 'delete drink', @drink, method: :delete, confirm: "Really delete drink #{@drink.name}?"
= semantic_form_for @drink, :html => { :class => 'form-horizontal' } do |f|
= f.semantic_errors
= f.inputs do
= f.input :name, hint:'the label says…'
= f.input :price, as: :number, hint:'e.g. 1.50; locked due to vandalism', :input_html => { :disabled => true }
= f.input :bottle_size, hint: '0.5 or 0.33?'
= f.input :caffeine, hint: 'in mg/100 ml'
= f.input :logo, hint: 'make it look pretty'
= f.input :active
= f.actions do
= f.action :submit | <|file_sep|>original/app/views/drinks/_form.html.haml
- content_for :actions do
%li
= link_to 'delete drink', @drink, method: :delete, confirm: "Really delete drink #{@drink.name}?"
= semantic_form_for @drink, :html => { :class => 'form-horizontal' } do |f|
= f.semantic_errors
= f.inputs do
= f.input :name, hint:'the label says…'
= f.input :price, as: :number, hint:'e.g. 1.50'
= f.input :bottle_size, hint: '0.5 or 0.33?'
= f.input :caffeine, hint: 'in mg/100 ml'
= f.input :logo, hint: 'make it look pretty'
= f.input :active
= f.actions do
= f.action :submit
<|file_sep|>current/app/views/drinks/_form.html.haml
- content_for :actions do
%li
= link_to 'delete drink', @drink, method: :delete, confirm: "Really delete drink #{@drink.name}?"
= semantic_form_for @drink, :html => { :class => 'form-horizontal' } do |f|
= f.semantic_errors
= f.inputs do
= f.input :name, hint:'the label says…'
= f.input :price, as: :number, hint:'e.g. 1.50'
= f.input :bottle_size, hint: '0.5 or 0.33?'
= f.input :caffeine, hint: 'in mg/100 ml'
= f.input :logo, hint: 'make it look pretty'
= f.input :active
= f.actions do
= f.action :submit
<|file_sep|>updated/app/views/drinks/_form.html.haml
- content_for :actions do
%li
= link_to 'delete drink', @drink, method: :delete, confirm: "Really delete drink #{@drink.name}?"
= semantic_form_for @drink, :html => { :class => 'form-horizontal' } do |f|
= f.semantic_errors
= f.inputs do
= f.input :name, hint:'the label says…'
= f.input :price, as: :number, hint:'e.g. 1.50; locked due to vandalism', :input_html => { :disabled => true }
= f.input :bottle_size, hint: '0.5 or 0.33?'
= f.input :caffeine, hint: 'in mg/100 ml'
= f.input :logo, hint: 'make it look pretty'
= f.input :active
= f.actions do
= f.action :submit | 55695ff430f27484b062275089ba5a35b06e33eb | app/views/drinks/_form.html.haml | app/views/drinks/_form.html.haml | Haml |
<|file_sep|>original/src/manifest.json
"icons": {
"16": "icons/16.png",
"48": "icons/48.png",
"128": "icons/128.png"
},
"browser_action": {
"default_icon": {
"19": "icons/19.png",
"38": "icons/38.png"
}
},
"author": "ghostwords",
"background": {
"scripts": [
"lib/vendor/underscore.js",
"js/background.js"
]
},
"content_scripts": [
<|file_sep|>current/src/manifest.json
"icons": {
"16": "icons/16.png",
"48": "icons/48.png",
"128": "icons/128.png"
},
"browser_action": {
"default_icon": {
"19": "icons/19.png",
"38": "icons/38.png"
}
},
"author": "ghostwords",
"background": {
"scripts": [
"lib/vendor/underscore.js",
"js/background.js"
]
},
"content_scripts": [
<|file_sep|>updated/src/manifest.json | "icons": {
"16": "icons/16.png",
"48": "icons/48.png",
"128": "icons/128.png"
},
"browser_action": {
"default_icon": {
"19": "icons/19.png",
"38": "icons/38.png"
},
"default_title": "Chameleon"
},
"author": "ghostwords",
"background": {
"scripts": [
"lib/vendor/underscore.js",
"js/background.js"
]
}, | <|file_sep|>original/src/manifest.json
"icons": {
"16": "icons/16.png",
"48": "icons/48.png",
"128": "icons/128.png"
},
"browser_action": {
"default_icon": {
"19": "icons/19.png",
"38": "icons/38.png"
}
},
"author": "ghostwords",
"background": {
"scripts": [
"lib/vendor/underscore.js",
"js/background.js"
]
},
"content_scripts": [
<|file_sep|>current/src/manifest.json
"icons": {
"16": "icons/16.png",
"48": "icons/48.png",
"128": "icons/128.png"
},
"browser_action": {
"default_icon": {
"19": "icons/19.png",
"38": "icons/38.png"
}
},
"author": "ghostwords",
"background": {
"scripts": [
"lib/vendor/underscore.js",
"js/background.js"
]
},
"content_scripts": [
<|file_sep|>updated/src/manifest.json
"icons": {
"16": "icons/16.png",
"48": "icons/48.png",
"128": "icons/128.png"
},
"browser_action": {
"default_icon": {
"19": "icons/19.png",
"38": "icons/38.png"
},
"default_title": "Chameleon"
},
"author": "ghostwords",
"background": {
"scripts": [
"lib/vendor/underscore.js",
"js/background.js"
]
}, | 28cf0057603a076d1f1f1f605c216895b5ed01c6 | src/manifest.json | src/manifest.json | JSON |
<|file_sep|>original/routes/api.js
var util = require('util');
var router = express.Router();
//new Weather API using the key defaulted from the environment
var weather = new Weather();
/* GET home page. */
router.post('/weather', function(req, res, next) {
var zip = req.body.text;
var fahrenheit = !req.body.command.includes('c');
if (!zip || !isValidUSZip(zip.trim())) {
res.json({
text: "I'm sorry I didn't understand. Please use a US zip"
});
}
weather.getWeatherByZip(zip.trim(), function handleResponse(err, result) {
if (err) {
res.json({
text: "I'm sorry I couldn't process your request. Please try again later"
});
<|file_sep|>current/routes/api.js
var util = require('util');
var router = express.Router();
//new Weather API using the key defaulted from the environment
var weather = new Weather();
/* GET home page. */
router.post('/weather', function(req, res, next) {
var zip = req.body.text;
var fahrenheit = !req.body.command.includes('c');
if (!zip || !isValidUSZip(zip.trim())) {
res.json({
text: "I'm sorry I didn't understand. Please use a US zip"
});
}
weather.getWeatherByZip(zip.trim(), function handleResponse(err, result) {
if (err) {
res.json({
text: "I'm sorry I couldn't process your request. Please try again later"
});
<|file_sep|>updated/routes/api.js | var util = require('util');
var router = express.Router();
//new Weather API using the key defaulted from the environment
var weather = new Weather();
/* GET home page. */
router.post('/weather', function(req, res, next) {
var zip = req.body.text;
var fahrenheit = req.body.command.indexOf('c') == -1;
if (!zip || !isValidUSZip(zip.trim())) {
res.json({
text: "I'm sorry I didn't understand. Please use a US zip"
});
}
weather.getWeatherByZip(zip.trim(), function handleResponse(err, result) {
if (err) {
res.json({
text: "I'm sorry I couldn't process your request. Please try again later"
}); | <|file_sep|>original/routes/api.js
var util = require('util');
var router = express.Router();
//new Weather API using the key defaulted from the environment
var weather = new Weather();
/* GET home page. */
router.post('/weather', function(req, res, next) {
var zip = req.body.text;
var fahrenheit = !req.body.command.includes('c');
if (!zip || !isValidUSZip(zip.trim())) {
res.json({
text: "I'm sorry I didn't understand. Please use a US zip"
});
}
weather.getWeatherByZip(zip.trim(), function handleResponse(err, result) {
if (err) {
res.json({
text: "I'm sorry I couldn't process your request. Please try again later"
});
<|file_sep|>current/routes/api.js
var util = require('util');
var router = express.Router();
//new Weather API using the key defaulted from the environment
var weather = new Weather();
/* GET home page. */
router.post('/weather', function(req, res, next) {
var zip = req.body.text;
var fahrenheit = !req.body.command.includes('c');
if (!zip || !isValidUSZip(zip.trim())) {
res.json({
text: "I'm sorry I didn't understand. Please use a US zip"
});
}
weather.getWeatherByZip(zip.trim(), function handleResponse(err, result) {
if (err) {
res.json({
text: "I'm sorry I couldn't process your request. Please try again later"
});
<|file_sep|>updated/routes/api.js
var util = require('util');
var router = express.Router();
//new Weather API using the key defaulted from the environment
var weather = new Weather();
/* GET home page. */
router.post('/weather', function(req, res, next) {
var zip = req.body.text;
var fahrenheit = req.body.command.indexOf('c') == -1;
if (!zip || !isValidUSZip(zip.trim())) {
res.json({
text: "I'm sorry I didn't understand. Please use a US zip"
});
}
weather.getWeatherByZip(zip.trim(), function handleResponse(err, result) {
if (err) {
res.json({
text: "I'm sorry I couldn't process your request. Please try again later"
}); | 3909ff306bd2949fbda42e7a1933123e9e62eba3 | routes/api.js | routes/api.js | JavaScript |
<|file_sep|>test/ELF/lto/linkonce-odr.ll.diff
original:
; RUN: ld.lld %t1.o %t2.o -o %t.so -shared
; RUN: llvm-readobj -t %t.so | FileCheck %s
updated:
; RUN: ld.lld %t1.o %t2.o -o %t.so -shared -save-temps
; RUN: llvm-dis %t.so.lto.opt.bc -o - | FileCheck %s
<|file_sep|>original/test/ELF/lto/linkonce-odr.ll
; RUN: llvm-readobj -t %t.so | FileCheck %s
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
declare void @f()
define void @g() {
call void @f()
ret void
}
; Be sure that the linkonce_odr symbol 'f' is kept.
; CHECK: Symbol {
; CHECK: Name: f
; CHECK: Value: 0x1010
; CHECK: Size: 1
; CHECK: Binding: Weak
; CHECK: Type: Function
; CHECK: Other: 0
; CHECK: Section: .text
; CHECK: }
<|file_sep|>current/test/ELF/lto/linkonce-odr.ll
; RUN: llvm-dis %t.so.lto.opt.bc -o - | FileCheck %s
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
declare void @f()
define void @g() {
call void @f()
ret void
}
; Be sure that the linkonce_odr symbol 'f' is kept.
; CHECK: Symbol {
; CHECK: Name: f
; CHECK: Value: 0x1010
; CHECK: Size: 1
; CHECK: Binding: Weak
; CHECK: Type: Function
; CHECK: Other: 0
; CHECK: Section: .text
; CHECK: }
<|file_sep|>updated/test/ELF/lto/linkonce-odr.ll | ; REQUIRES: x86
; RUN: llvm-as %p/Inputs/linkonce-odr.ll -o %t1.o
; RUN: llc %s -o %t2.o -filetype=obj
; RUN: ld.lld %t1.o %t2.o -o %t.so -shared -save-temps
; RUN: llvm-dis %t.so.lto.opt.bc -o - | FileCheck %s
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
declare void @f()
define void @g() {
call void @f()
ret void
}
; Be sure that 'f' is kept and has weak_odr visibility.
; CHECK: define weak_odr void @f() | <|file_sep|>test/ELF/lto/linkonce-odr.ll.diff
original:
; RUN: ld.lld %t1.o %t2.o -o %t.so -shared
; RUN: llvm-readobj -t %t.so | FileCheck %s
updated:
; RUN: ld.lld %t1.o %t2.o -o %t.so -shared -save-temps
; RUN: llvm-dis %t.so.lto.opt.bc -o - | FileCheck %s
<|file_sep|>original/test/ELF/lto/linkonce-odr.ll
; RUN: llvm-readobj -t %t.so | FileCheck %s
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
declare void @f()
define void @g() {
call void @f()
ret void
}
; Be sure that the linkonce_odr symbol 'f' is kept.
; CHECK: Symbol {
; CHECK: Name: f
; CHECK: Value: 0x1010
; CHECK: Size: 1
; CHECK: Binding: Weak
; CHECK: Type: Function
; CHECK: Other: 0
; CHECK: Section: .text
; CHECK: }
<|file_sep|>current/test/ELF/lto/linkonce-odr.ll
; RUN: llvm-dis %t.so.lto.opt.bc -o - | FileCheck %s
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
declare void @f()
define void @g() {
call void @f()
ret void
}
; Be sure that the linkonce_odr symbol 'f' is kept.
; CHECK: Symbol {
; CHECK: Name: f
; CHECK: Value: 0x1010
; CHECK: Size: 1
; CHECK: Binding: Weak
; CHECK: Type: Function
; CHECK: Other: 0
; CHECK: Section: .text
; CHECK: }
<|file_sep|>updated/test/ELF/lto/linkonce-odr.ll
; REQUIRES: x86
; RUN: llvm-as %p/Inputs/linkonce-odr.ll -o %t1.o
; RUN: llc %s -o %t2.o -filetype=obj
; RUN: ld.lld %t1.o %t2.o -o %t.so -shared -save-temps
; RUN: llvm-dis %t.so.lto.opt.bc -o - | FileCheck %s
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
declare void @f()
define void @g() {
call void @f()
ret void
}
; Be sure that 'f' is kept and has weak_odr visibility.
; CHECK: define weak_odr void @f() | a8341b05e9d2ad8d61e0f6946543546b646be080 | test/ELF/lto/linkonce-odr.ll | test/ELF/lto/linkonce-odr.ll | LLVM |
<|file_sep|>original/js/notes-on-how-to-beautify-eval-statements.txt
<|file_sep|>current/js/notes-on-how-to-beautify-eval-statements.txt
<|file_sep|>updated/js/notes-on-how-to-beautify-eval-statements.txt | //first do a window.dump + "\n" to get a beautified version
var xyz = function() {
print();function(){};
}
function extractBody(f) {
var s = "" + f;
var skip = s.indexOf("{") + 2;
return s.substring(skip, s.length - 2);
}
//window.dump(extractBody(xyz) + "\n");
print(extractBody(xyz))
// var xyz = function() {
// GAddMessages({});'use strict';
// }
// function extractBody(f) {
// var s = "" + f;
// var skip = s.indexOf("{") + 2;
// return s.substring(skip, s.length - 2); | <|file_sep|>original/js/notes-on-how-to-beautify-eval-statements.txt
<|file_sep|>current/js/notes-on-how-to-beautify-eval-statements.txt
<|file_sep|>updated/js/notes-on-how-to-beautify-eval-statements.txt
//first do a window.dump + "\n" to get a beautified version
var xyz = function() {
print();function(){};
}
function extractBody(f) {
var s = "" + f;
var skip = s.indexOf("{") + 2;
return s.substring(skip, s.length - 2);
}
//window.dump(extractBody(xyz) + "\n");
print(extractBody(xyz))
// var xyz = function() {
// GAddMessages({});'use strict';
// }
// function extractBody(f) {
// var s = "" + f;
// var skip = s.indexOf("{") + 2;
// return s.substring(skip, s.length - 2); | 38a78e44a3d11eaa5a12e9b7a4d27629a8bb3459 | js/notes-on-how-to-beautify-eval-statements.txt | js/notes-on-how-to-beautify-eval-statements.txt | Text |
<|file_sep|>original/content/blog/2017/algorithms-for-everyone.md
<|file_sep|>current/content/blog/2017/algorithms-for-everyone.md
<|file_sep|>updated/content/blog/2017/algorithms-for-everyone.md | ---
date: 2017-09-07
title: "Algorithms for Everyone"
description: "Another approach to learning algorithms"
tags: [ "algorithms", "computer science"]
---
I'm writing a series of articles about common computer science algorithms
on [Medium](https://medium.com/@uncompiled).
Algorithms are really nothing more than a process used to solve a problem,
but most textbooks on algorithms assume the reader has a background in
computer science or mathematics. I've spent many hours studying
algorithms reading (and re-reading) proofs by induction and I don't think
that this is the best method for learning how algorithms work.
Other people have already proved the mathematical correctness of these
algorithms, so my goal is to explain *what* a specific algorithm does,
*how* it works, and *why* you should care about this algorithm using
approachable language and relatable examples.
| <|file_sep|>original/content/blog/2017/algorithms-for-everyone.md
<|file_sep|>current/content/blog/2017/algorithms-for-everyone.md
<|file_sep|>updated/content/blog/2017/algorithms-for-everyone.md
---
date: 2017-09-07
title: "Algorithms for Everyone"
description: "Another approach to learning algorithms"
tags: [ "algorithms", "computer science"]
---
I'm writing a series of articles about common computer science algorithms
on [Medium](https://medium.com/@uncompiled).
Algorithms are really nothing more than a process used to solve a problem,
but most textbooks on algorithms assume the reader has a background in
computer science or mathematics. I've spent many hours studying
algorithms reading (and re-reading) proofs by induction and I don't think
that this is the best method for learning how algorithms work.
Other people have already proved the mathematical correctness of these
algorithms, so my goal is to explain *what* a specific algorithm does,
*how* it works, and *why* you should care about this algorithm using
approachable language and relatable examples.
| a831725e8aad117c289f86c430af372650b8b22f | content/blog/2017/algorithms-for-everyone.md | content/blog/2017/algorithms-for-everyone.md | Markdown |
<|file_sep|>original/examples/overviewmap-custom.html
---
layout: example.html
title: Custom Overview Map
shortdesc: Example of OverviewMap control with advanced customization.
docs: >
<p>This example demonstrates how you can customize the overviewmap control using its supported options as well as defining custom CSS. You can also rotate the map using the shift key to see how the overview map reacts.</p>
tags: "overview, overviewmap"
cloak:
- key: 0e6fc415256d4fbb9b5166a718591d71
value: Your API key from http://www.thunderforest.com/docs/apikeys/ here
---
<div id="map" class="map"></div>
<|file_sep|>current/examples/overviewmap-custom.html
---
layout: example.html
title: Custom Overview Map
shortdesc: Example of OverviewMap control with advanced customization.
docs: >
<p>This example demonstrates how you can customize the overviewmap control using its supported options as well as defining custom CSS. You can also rotate the map using the shift key to see how the overview map reacts.</p>
tags: "overview, overviewmap"
cloak:
- key: 0e6fc415256d4fbb9b5166a718591d71
value: Your API key from http://www.thunderforest.com/docs/apikeys/ here
---
<div id="map" class="map"></div>
<|file_sep|>updated/examples/overviewmap-custom.html | ---
layout: example.html
title: Custom Overview Map
shortdesc: Example of OverviewMap control with advanced customization.
docs: >
<p>This example demonstrates how you can customize the overviewmap control using its supported options as well as defining custom CSS. You can also rotate the map using the shift key to see how the overview map reacts.</p>
tags: "overview, overviewmap"
cloak:
- key: 0e6fc415256d4fbb9b5166a718591d71
value: Your API key from http://www.thunderforest.com/docs/apikeys/ here
---
<div class="mapcontainer">
<div id="map" class="map"></div>
</div>
<div><input type="checkbox" id="rotateWithView">Rotate with view</div> | <|file_sep|>original/examples/overviewmap-custom.html
---
layout: example.html
title: Custom Overview Map
shortdesc: Example of OverviewMap control with advanced customization.
docs: >
<p>This example demonstrates how you can customize the overviewmap control using its supported options as well as defining custom CSS. You can also rotate the map using the shift key to see how the overview map reacts.</p>
tags: "overview, overviewmap"
cloak:
- key: 0e6fc415256d4fbb9b5166a718591d71
value: Your API key from http://www.thunderforest.com/docs/apikeys/ here
---
<div id="map" class="map"></div>
<|file_sep|>current/examples/overviewmap-custom.html
---
layout: example.html
title: Custom Overview Map
shortdesc: Example of OverviewMap control with advanced customization.
docs: >
<p>This example demonstrates how you can customize the overviewmap control using its supported options as well as defining custom CSS. You can also rotate the map using the shift key to see how the overview map reacts.</p>
tags: "overview, overviewmap"
cloak:
- key: 0e6fc415256d4fbb9b5166a718591d71
value: Your API key from http://www.thunderforest.com/docs/apikeys/ here
---
<div id="map" class="map"></div>
<|file_sep|>updated/examples/overviewmap-custom.html
---
layout: example.html
title: Custom Overview Map
shortdesc: Example of OverviewMap control with advanced customization.
docs: >
<p>This example demonstrates how you can customize the overviewmap control using its supported options as well as defining custom CSS. You can also rotate the map using the shift key to see how the overview map reacts.</p>
tags: "overview, overviewmap"
cloak:
- key: 0e6fc415256d4fbb9b5166a718591d71
value: Your API key from http://www.thunderforest.com/docs/apikeys/ here
---
<div class="mapcontainer">
<div id="map" class="map"></div>
</div>
<div><input type="checkbox" id="rotateWithView">Rotate with view</div> | 763cc15c52a938737d0139674af8d6a233811c3f | examples/overviewmap-custom.html | examples/overviewmap-custom.html | HTML |
<|file_sep|>original/templates/tag-chooser.html
<|file_sep|>current/templates/tag-chooser.html
<|file_sep|>updated/templates/tag-chooser.html | <div class="col-md-12" id="tag-chooser-input">
<label for="tag-chooser">
Choose a tag to display all notes with this tag.
</label>
<select id="tag-chooser" class="form-control">
<option selected value="showall">
-- Show all --
</option>
</select>
</div> | <|file_sep|>original/templates/tag-chooser.html
<|file_sep|>current/templates/tag-chooser.html
<|file_sep|>updated/templates/tag-chooser.html
<div class="col-md-12" id="tag-chooser-input">
<label for="tag-chooser">
Choose a tag to display all notes with this tag.
</label>
<select id="tag-chooser" class="form-control">
<option selected value="showall">
-- Show all --
</option>
</select>
</div> | d9510ac9e01d2e3bb68f92c54dac2ba78bb5aa67 | templates/tag-chooser.html | templates/tag-chooser.html | HTML |
<|file_sep|>original/README.md
### Options
| Option | Description |
| ----------------- |------------ |
| `consul` | The location of the consul instance (IP/FQDN with port) to query. Defaults to localhost:8500.
| `service` | Name of the service registered in consul. Defaults to "".
| `expect` | Number of expected service instances registered in consul. Defaults to 1.
| `endpoint` | The endpoint of the service to be poked. Defaults to "/".
| `retry` | Number of retries after a failing poke. Defaults to 0 (Poke once).
| `timeout` | Timeout of each poke retry (in milliseconds). Defaults to 0.
### Examples
The CLI interface supports all of the options detailed above.
```shell
$ pocker -consul 127.0.0.1:8500 \
-service healthy-service \
-expect 5 \
-endpoint /healthcheck \
-retry 3 \
-timeout 3000
```
<|file_sep|>current/README.md
### Options
| Option | Description |
| ----------------- |------------ |
| `consul` | The location of the consul instance (IP/FQDN with port) to query. Defaults to localhost:8500.
| `service` | Name of the service registered in consul. Defaults to "".
| `expect` | Number of expected service instances registered in consul. Defaults to 1.
| `endpoint` | The endpoint of the service to be poked. Defaults to "/".
| `retry` | Number of retries after a failing poke. Defaults to 0 (Poke once).
| `timeout` | Timeout of each poke retry (in milliseconds). Defaults to 0.
### Examples
The CLI interface supports all of the options detailed above.
```shell
$ pocker -consul 127.0.0.1:8500 \
-service healthy-service \
-expect 5 \
-endpoint /healthcheck \
-retry 3 \
-timeout 3000
```
<|file_sep|>updated/README.md |
### Examples
The CLI interface supports all of the options detailed above.
```shell
$ pocker -consul 127.0.0.1:8500 \
-service healthy-service \
-expect 5 \
-endpoint /healthcheck \
-retry 3 \
-timeout 3000
```
```shell
$ docker run --rm selimekizoglu/pocker:latest -consul 127.0.0.1:8500 \
-service healthy-service \
-expect 5 \
-endpoint /healthcheck \
-retry 3 \
-timeout 3000
``` | <|file_sep|>original/README.md
### Options
| Option | Description |
| ----------------- |------------ |
| `consul` | The location of the consul instance (IP/FQDN with port) to query. Defaults to localhost:8500.
| `service` | Name of the service registered in consul. Defaults to "".
| `expect` | Number of expected service instances registered in consul. Defaults to 1.
| `endpoint` | The endpoint of the service to be poked. Defaults to "/".
| `retry` | Number of retries after a failing poke. Defaults to 0 (Poke once).
| `timeout` | Timeout of each poke retry (in milliseconds). Defaults to 0.
### Examples
The CLI interface supports all of the options detailed above.
```shell
$ pocker -consul 127.0.0.1:8500 \
-service healthy-service \
-expect 5 \
-endpoint /healthcheck \
-retry 3 \
-timeout 3000
```
<|file_sep|>current/README.md
### Options
| Option | Description |
| ----------------- |------------ |
| `consul` | The location of the consul instance (IP/FQDN with port) to query. Defaults to localhost:8500.
| `service` | Name of the service registered in consul. Defaults to "".
| `expect` | Number of expected service instances registered in consul. Defaults to 1.
| `endpoint` | The endpoint of the service to be poked. Defaults to "/".
| `retry` | Number of retries after a failing poke. Defaults to 0 (Poke once).
| `timeout` | Timeout of each poke retry (in milliseconds). Defaults to 0.
### Examples
The CLI interface supports all of the options detailed above.
```shell
$ pocker -consul 127.0.0.1:8500 \
-service healthy-service \
-expect 5 \
-endpoint /healthcheck \
-retry 3 \
-timeout 3000
```
<|file_sep|>updated/README.md
### Examples
The CLI interface supports all of the options detailed above.
```shell
$ pocker -consul 127.0.0.1:8500 \
-service healthy-service \
-expect 5 \
-endpoint /healthcheck \
-retry 3 \
-timeout 3000
```
```shell
$ docker run --rm selimekizoglu/pocker:latest -consul 127.0.0.1:8500 \
-service healthy-service \
-expect 5 \
-endpoint /healthcheck \
-retry 3 \
-timeout 3000
``` | 04941b4318882ef220e1b96994d207855f862e9b | README.md | README.md | Markdown |
<|file_sep|>original/requirements_dev.txt
pip==9.0.1
bumpversion==0.5.3
wheel==0.29.0
watchdog==0.8.3
flake8==3.4.1
tox==2.8.2
coverage==4.4.1
Sphinx==1.6.3
cryptography==2.0.3
PyYAML==3.12
pytest==2.9.2
pytest-runner==2.11.1
<|file_sep|>current/requirements_dev.txt
pip==9.0.1
bumpversion==0.5.3
wheel==0.29.0
watchdog==0.8.3
flake8==3.4.1
tox==2.8.2
coverage==4.4.1
Sphinx==1.6.3
cryptography==2.0.3
PyYAML==3.12
pytest==2.9.2
pytest-runner==2.11.1
<|file_sep|>updated/requirements_dev.txt | pip==9.0.1
bumpversion==0.5.3
wheel==0.29.0
watchdog==0.8.3
flake8==3.4.1
tox==2.8.2
coverage==4.4.1
Sphinx==1.6.3
cryptography==2.0.3
PyYAML==3.12
pytest==3.2.2
pytest-runner==2.11.1 | <|file_sep|>original/requirements_dev.txt
pip==9.0.1
bumpversion==0.5.3
wheel==0.29.0
watchdog==0.8.3
flake8==3.4.1
tox==2.8.2
coverage==4.4.1
Sphinx==1.6.3
cryptography==2.0.3
PyYAML==3.12
pytest==2.9.2
pytest-runner==2.11.1
<|file_sep|>current/requirements_dev.txt
pip==9.0.1
bumpversion==0.5.3
wheel==0.29.0
watchdog==0.8.3
flake8==3.4.1
tox==2.8.2
coverage==4.4.1
Sphinx==1.6.3
cryptography==2.0.3
PyYAML==3.12
pytest==2.9.2
pytest-runner==2.11.1
<|file_sep|>updated/requirements_dev.txt
pip==9.0.1
bumpversion==0.5.3
wheel==0.29.0
watchdog==0.8.3
flake8==3.4.1
tox==2.8.2
coverage==4.4.1
Sphinx==1.6.3
cryptography==2.0.3
PyYAML==3.12
pytest==3.2.2
pytest-runner==2.11.1 | 77084600cf32ed0386282237c5ceaf2cae6b63aa | requirements_dev.txt | requirements_dev.txt | Text |
<|file_sep|>original/.swiftlint.yml
# Configuration for SwiftLint (https://github.com/realm/SwiftLint)
excluded:
- Carthage
enabled_rules:
- empty_count
- missing_docs
disabled_rules:
- comma
- conditional_binding_cascade
- cyclomatic_complexity
- function_body_length
- line_length
- opening_brace
- valid_docs
<|file_sep|>current/.swiftlint.yml
# Configuration for SwiftLint (https://github.com/realm/SwiftLint)
excluded:
- Carthage
enabled_rules:
- empty_count
- missing_docs
disabled_rules:
- comma
- conditional_binding_cascade
- cyclomatic_complexity
- function_body_length
- line_length
- opening_brace
- valid_docs
<|file_sep|>updated/.swiftlint.yml | # Configuration for SwiftLint (https://github.com/realm/SwiftLint)
excluded:
- Carthage
enabled_rules:
- empty_count
# - missing_docs
disabled_rules:
- comma
- conditional_binding_cascade
- cyclomatic_complexity
- function_body_length
- line_length
- opening_brace
- valid_docs | <|file_sep|>original/.swiftlint.yml
# Configuration for SwiftLint (https://github.com/realm/SwiftLint)
excluded:
- Carthage
enabled_rules:
- empty_count
- missing_docs
disabled_rules:
- comma
- conditional_binding_cascade
- cyclomatic_complexity
- function_body_length
- line_length
- opening_brace
- valid_docs
<|file_sep|>current/.swiftlint.yml
# Configuration for SwiftLint (https://github.com/realm/SwiftLint)
excluded:
- Carthage
enabled_rules:
- empty_count
- missing_docs
disabled_rules:
- comma
- conditional_binding_cascade
- cyclomatic_complexity
- function_body_length
- line_length
- opening_brace
- valid_docs
<|file_sep|>updated/.swiftlint.yml
# Configuration for SwiftLint (https://github.com/realm/SwiftLint)
excluded:
- Carthage
enabled_rules:
- empty_count
# - missing_docs
disabled_rules:
- comma
- conditional_binding_cascade
- cyclomatic_complexity
- function_body_length
- line_length
- opening_brace
- valid_docs | 24b7afdfa49103b9ac83a798b0c9b6c407923e8c | .swiftlint.yml | .swiftlint.yml | YAML |
<|file_sep|>original/core/templates/loginflowv2/done.php
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
style('core', 'login/authpicker');
/** @var array $_ */
?>
<div class="picker-window">
<h2><?php p($l->t('Account connected')) ?></h2>
<p class="info">
<?php print_unescaped($l->t('Your client should now be connected! You can close this window.')) ?>
</p>
<br/>
</div>
<|file_sep|>current/core/templates/loginflowv2/done.php
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
style('core', 'login/authpicker');
/** @var array $_ */
?>
<div class="picker-window">
<h2><?php p($l->t('Account connected')) ?></h2>
<p class="info">
<?php print_unescaped($l->t('Your client should now be connected! You can close this window.')) ?>
</p>
<br/>
</div>
<|file_sep|>updated/core/templates/loginflowv2/done.php | * GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
style('core', 'login/authpicker');
/** @var array $_ */
?>
<div class="picker-window">
<h2><?php p($l->t('Account connected')) ?></h2>
<p class="info">
<?php p($l->t('Your client should now be connected!')) ?><br/>
<?php p($l->t('You can close this window.')) ?>
</p>
<br/>
</div> | <|file_sep|>original/core/templates/loginflowv2/done.php
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
style('core', 'login/authpicker');
/** @var array $_ */
?>
<div class="picker-window">
<h2><?php p($l->t('Account connected')) ?></h2>
<p class="info">
<?php print_unescaped($l->t('Your client should now be connected! You can close this window.')) ?>
</p>
<br/>
</div>
<|file_sep|>current/core/templates/loginflowv2/done.php
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
style('core', 'login/authpicker');
/** @var array $_ */
?>
<div class="picker-window">
<h2><?php p($l->t('Account connected')) ?></h2>
<p class="info">
<?php print_unescaped($l->t('Your client should now be connected! You can close this window.')) ?>
</p>
<br/>
</div>
<|file_sep|>updated/core/templates/loginflowv2/done.php
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
style('core', 'login/authpicker');
/** @var array $_ */
?>
<div class="picker-window">
<h2><?php p($l->t('Account connected')) ?></h2>
<p class="info">
<?php p($l->t('Your client should now be connected!')) ?><br/>
<?php p($l->t('You can close this window.')) ?>
</p>
<br/>
</div> | 1d82bb55dbf9a8f12603570a7203ce80b818f443 | core/templates/loginflowv2/done.php | core/templates/loginflowv2/done.php | PHP |
<|file_sep|>original/sale_channel/models/sale.py
index=True,
)
@api.multi
def onchange_partner_id(self, partner_id):
"""Add values from sales_channel partner, if available."""
res = super(SaleOrder, self).onchange_partner_id(partner_id)
if partner_id:
partner = self.env['res.partner'].browse(partner_id)
if partner.sales_channel_id:
res['value']['sales_channel_id'] = partner.sales_channel_id
return res
@api.model
def _prepare_invoice(self, order, lines):
"""Make sure sales_channel_id is set on invoice."""
val = super(SaleOrder, self)._prepare_invoice(order, lines)
if order.sales_channel_id:
val.update({
'sales_channel_id': order.sales_channel_id.id,
})
<|file_sep|>current/sale_channel/models/sale.py
index=True,
)
@api.multi
def onchange_partner_id(self, partner_id):
"""Add values from sales_channel partner, if available."""
res = super(SaleOrder, self).onchange_partner_id(partner_id)
if partner_id:
partner = self.env['res.partner'].browse(partner_id)
if partner.sales_channel_id:
res['value']['sales_channel_id'] = partner.sales_channel_id
return res
@api.model
def _prepare_invoice(self, order, lines):
"""Make sure sales_channel_id is set on invoice."""
val = super(SaleOrder, self)._prepare_invoice(order, lines)
if order.sales_channel_id:
val.update({
'sales_channel_id': order.sales_channel_id.id,
})
<|file_sep|>updated/sale_channel/models/sale.py | index=True,
)
@api.multi
def onchange_partner_id(self, partner_id):
"""Add values from sales_channel partner, if available."""
res = super(SaleOrder, self).onchange_partner_id(partner_id)
if partner_id:
partner = self.env['res.partner'].browse(partner_id)
if partner.sales_channel_id:
res['value']['sales_channel_id'] = partner.sales_channel_id.id
return res
@api.model
def _prepare_invoice(self, order, lines):
"""Make sure sales_channel_id is set on invoice."""
val = super(SaleOrder, self)._prepare_invoice(order, lines)
if order.sales_channel_id:
val.update({
'sales_channel_id': order.sales_channel_id.id,
}) | <|file_sep|>original/sale_channel/models/sale.py
index=True,
)
@api.multi
def onchange_partner_id(self, partner_id):
"""Add values from sales_channel partner, if available."""
res = super(SaleOrder, self).onchange_partner_id(partner_id)
if partner_id:
partner = self.env['res.partner'].browse(partner_id)
if partner.sales_channel_id:
res['value']['sales_channel_id'] = partner.sales_channel_id
return res
@api.model
def _prepare_invoice(self, order, lines):
"""Make sure sales_channel_id is set on invoice."""
val = super(SaleOrder, self)._prepare_invoice(order, lines)
if order.sales_channel_id:
val.update({
'sales_channel_id': order.sales_channel_id.id,
})
<|file_sep|>current/sale_channel/models/sale.py
index=True,
)
@api.multi
def onchange_partner_id(self, partner_id):
"""Add values from sales_channel partner, if available."""
res = super(SaleOrder, self).onchange_partner_id(partner_id)
if partner_id:
partner = self.env['res.partner'].browse(partner_id)
if partner.sales_channel_id:
res['value']['sales_channel_id'] = partner.sales_channel_id
return res
@api.model
def _prepare_invoice(self, order, lines):
"""Make sure sales_channel_id is set on invoice."""
val = super(SaleOrder, self)._prepare_invoice(order, lines)
if order.sales_channel_id:
val.update({
'sales_channel_id': order.sales_channel_id.id,
})
<|file_sep|>updated/sale_channel/models/sale.py
index=True,
)
@api.multi
def onchange_partner_id(self, partner_id):
"""Add values from sales_channel partner, if available."""
res = super(SaleOrder, self).onchange_partner_id(partner_id)
if partner_id:
partner = self.env['res.partner'].browse(partner_id)
if partner.sales_channel_id:
res['value']['sales_channel_id'] = partner.sales_channel_id.id
return res
@api.model
def _prepare_invoice(self, order, lines):
"""Make sure sales_channel_id is set on invoice."""
val = super(SaleOrder, self)._prepare_invoice(order, lines)
if order.sales_channel_id:
val.update({
'sales_channel_id': order.sales_channel_id.id,
}) | 1f9ee69ad3bf2e370e473070ebc13ecda18cac20 | sale_channel/models/sale.py | sale_channel/models/sale.py | Python |
<|file_sep|>tests/test_samtools_python.py.diff
original:
updated:
def test_idxstats_parse_old_style_output():
bam_filename = "./pysam_data/ex2.bam"
lines = pysam.idxstats(bam_filename, old_style_output=True)
for line in lines:
_seqname, _seqlen, nmapped, _nunmapped = line.split()
def test_bedcov_old_style_output():
bam_filename = "./pysam_data/ex1.bam"
bed_filename = "./pysam_data/ex1.bed"
lines = pysam.bedcov(bed_filename, bam_filename, old_style_output=True)
for line in lines:
fields = line.split('\t')
assert len(fields) in [4, 5], "bedcov should give tab delimited output with 4 or 5 fields. Split line (%s) gives %d fields." % (fields, len(fields))
<|file_sep|>tests/test_samtools_python.py.diff
original:
lines = pysam.idxstats(bam_filename)
updated:
idxstats_string = pysam.idxstats(bam_filename, old_style_output=True)
lines = idxstats_string.splitlines()
<|file_sep|>tests/test_samtools_python.py.diff
original:
_seqname, _seqlen, nmapped, _nunmapped = line.split()
updated:
splt = line.split("\t")
_seqname, _seqlen, nmapped, _nunmapped = splt
<|file_sep|>original/tests/test_samtools_python.py
import pysam
def test_idxstats_parse():
bam_filename = "./pysam_data/ex2.bam"
lines = pysam.idxstats(bam_filename)
for line in lines:
_seqname, _seqlen, nmapped, _nunmapped = line.split()
def test_bedcov():
bam_filename = "./pysam_data/ex1.bam"
bed_filename = "./pysam_data/ex1.bed"
lines = pysam.bedcov(bed_filename, bam_filename)
for line in lines:
fields = line.split('\t')
assert len(fields) in [4, 5], "bedcov should give tab delimited output with 4 or 5 fields. Split line (%s) gives %d fields." % (fields, len(fields))
<|file_sep|>current/tests/test_samtools_python.py
lines = pysam.bedcov(bed_filename, bam_filename, old_style_output=True)
for line in lines:
fields = line.split('\t')
assert len(fields) in [4, 5], "bedcov should give tab delimited output with 4 or 5 fields. Split line (%s) gives %d fields." % (fields, len(fields))
def test_idxstats_parse():
bam_filename = "./pysam_data/ex2.bam"
idxstats_string = pysam.idxstats(bam_filename, old_style_output=True)
lines = idxstats_string.splitlines()
for line in lines:
splt = line.split("\t")
_seqname, _seqlen, nmapped, _nunmapped = splt
def test_bedcov():
bam_filename = "./pysam_data/ex1.bam"
bed_filename = "./pysam_data/ex1.bed"
lines = pysam.bedcov(bed_filename, bam_filename)
for line in lines:
fields = line.split('\t')
assert len(fields) in [4, 5], "bedcov should give tab delimited output with 4 or 5 fields. Split line (%s) gives %d fields." % (fields, len(fields))
<|file_sep|>updated/tests/test_samtools_python.py | for line in lines:
fields = line.split('\t')
assert len(fields) in [4, 5], "bedcov should give tab delimited output with 4 or 5 fields. Split line (%s) gives %d fields." % (fields, len(fields))
def test_idxstats_parse():
bam_filename = "./pysam_data/ex2.bam"
idxstats_string = pysam.idxstats(bam_filename, old_style_output=True)
lines = idxstats_string.splitlines()
for line in lines:
splt = line.split("\t")
_seqname, _seqlen, nmapped, _nunmapped = splt
def test_bedcov():
bam_filename = "./pysam_data/ex1.bam"
bed_filename = "./pysam_data/ex1.bed"
bedcov_string = pysam.bedcov(bed_filename, bam_filename, old_style_output=True)
lines = bedcov_string.splitlines()
for line in lines:
fields = line.split('\t')
assert len(fields) in [4, 5], "bedcov should give tab delimited output with 4 or 5 fields. Split line (%s) gives %d fields." % (fields, len(fields)) | <|file_sep|>tests/test_samtools_python.py.diff
original:
updated:
def test_idxstats_parse_old_style_output():
bam_filename = "./pysam_data/ex2.bam"
lines = pysam.idxstats(bam_filename, old_style_output=True)
for line in lines:
_seqname, _seqlen, nmapped, _nunmapped = line.split()
def test_bedcov_old_style_output():
bam_filename = "./pysam_data/ex1.bam"
bed_filename = "./pysam_data/ex1.bed"
lines = pysam.bedcov(bed_filename, bam_filename, old_style_output=True)
for line in lines:
fields = line.split('\t')
assert len(fields) in [4, 5], "bedcov should give tab delimited output with 4 or 5 fields. Split line (%s) gives %d fields." % (fields, len(fields))
<|file_sep|>tests/test_samtools_python.py.diff
original:
lines = pysam.idxstats(bam_filename)
updated:
idxstats_string = pysam.idxstats(bam_filename, old_style_output=True)
lines = idxstats_string.splitlines()
<|file_sep|>tests/test_samtools_python.py.diff
original:
_seqname, _seqlen, nmapped, _nunmapped = line.split()
updated:
splt = line.split("\t")
_seqname, _seqlen, nmapped, _nunmapped = splt
<|file_sep|>original/tests/test_samtools_python.py
import pysam
def test_idxstats_parse():
bam_filename = "./pysam_data/ex2.bam"
lines = pysam.idxstats(bam_filename)
for line in lines:
_seqname, _seqlen, nmapped, _nunmapped = line.split()
def test_bedcov():
bam_filename = "./pysam_data/ex1.bam"
bed_filename = "./pysam_data/ex1.bed"
lines = pysam.bedcov(bed_filename, bam_filename)
for line in lines:
fields = line.split('\t')
assert len(fields) in [4, 5], "bedcov should give tab delimited output with 4 or 5 fields. Split line (%s) gives %d fields." % (fields, len(fields))
<|file_sep|>current/tests/test_samtools_python.py
lines = pysam.bedcov(bed_filename, bam_filename, old_style_output=True)
for line in lines:
fields = line.split('\t')
assert len(fields) in [4, 5], "bedcov should give tab delimited output with 4 or 5 fields. Split line (%s) gives %d fields." % (fields, len(fields))
def test_idxstats_parse():
bam_filename = "./pysam_data/ex2.bam"
idxstats_string = pysam.idxstats(bam_filename, old_style_output=True)
lines = idxstats_string.splitlines()
for line in lines:
splt = line.split("\t")
_seqname, _seqlen, nmapped, _nunmapped = splt
def test_bedcov():
bam_filename = "./pysam_data/ex1.bam"
bed_filename = "./pysam_data/ex1.bed"
lines = pysam.bedcov(bed_filename, bam_filename)
for line in lines:
fields = line.split('\t')
assert len(fields) in [4, 5], "bedcov should give tab delimited output with 4 or 5 fields. Split line (%s) gives %d fields." % (fields, len(fields))
<|file_sep|>updated/tests/test_samtools_python.py
for line in lines:
fields = line.split('\t')
assert len(fields) in [4, 5], "bedcov should give tab delimited output with 4 or 5 fields. Split line (%s) gives %d fields." % (fields, len(fields))
def test_idxstats_parse():
bam_filename = "./pysam_data/ex2.bam"
idxstats_string = pysam.idxstats(bam_filename, old_style_output=True)
lines = idxstats_string.splitlines()
for line in lines:
splt = line.split("\t")
_seqname, _seqlen, nmapped, _nunmapped = splt
def test_bedcov():
bam_filename = "./pysam_data/ex1.bam"
bed_filename = "./pysam_data/ex1.bed"
bedcov_string = pysam.bedcov(bed_filename, bam_filename, old_style_output=True)
lines = bedcov_string.splitlines()
for line in lines:
fields = line.split('\t')
assert len(fields) in [4, 5], "bedcov should give tab delimited output with 4 or 5 fields. Split line (%s) gives %d fields." % (fields, len(fields)) | 6d2f9bfbe1011c04e014016171d98fef1d12e840 | tests/test_samtools_python.py | tests/test_samtools_python.py | Python |
<|file_sep|>original/doc/unit-tests.md
Compiling/running unit tests
------------------------------------
Unit tests will be automatically compiled if dependencies were met in configure
and tests weren't explicitly disabled.
After configuring, they can be run with 'make check'.
To run the bitcoind tests manually, launch src/test/test_bitcoin .
To add more bitcoind tests, add `BOOST_AUTO_TEST_CASE` functions to the existing
.cpp files in the test/ directory or add new .cpp files that
implement new BOOST_AUTO_TEST_SUITE sections.
To run the bitcoin-qt tests manually, launch src/qt/test/bitcoin-qt_test
To add more bitcoin-qt tests, add them to the `src/qt/test/` directory and
the `src/qt/test/test_main.cpp` file.
<|file_sep|>current/doc/unit-tests.md
Compiling/running unit tests
------------------------------------
Unit tests will be automatically compiled if dependencies were met in configure
and tests weren't explicitly disabled.
After configuring, they can be run with 'make check'.
To run the bitcoind tests manually, launch src/test/test_bitcoin .
To add more bitcoind tests, add `BOOST_AUTO_TEST_CASE` functions to the existing
.cpp files in the test/ directory or add new .cpp files that
implement new BOOST_AUTO_TEST_SUITE sections.
To run the bitcoin-qt tests manually, launch src/qt/test/bitcoin-qt_test
To add more bitcoin-qt tests, add them to the `src/qt/test/` directory and
the `src/qt/test/test_main.cpp` file.
<|file_sep|>updated/doc/unit-tests.md | Compiling/running unit tests
------------------------------------
Unit tests will be automatically compiled if dependencies were met in configure
and tests weren't explicitly disabled.
After configuring, they can be run with 'make check'.
To run the bitcoind tests manually, launch src/test/test_bitcoin .
To add more bitcoind tests, add `BOOST_AUTO_TEST_CASE` functions to the existing
.cpp files in the test/ directory or add new .cpp files that
implement new BOOST_AUTO_TEST_SUITE sections.
To run the bitcoin-qt tests manually, launch src/qt/test/test_bitcoin-qt
To add more bitcoin-qt tests, add them to the `src/qt/test/` directory and
the `src/qt/test/test_main.cpp` file. | <|file_sep|>original/doc/unit-tests.md
Compiling/running unit tests
------------------------------------
Unit tests will be automatically compiled if dependencies were met in configure
and tests weren't explicitly disabled.
After configuring, they can be run with 'make check'.
To run the bitcoind tests manually, launch src/test/test_bitcoin .
To add more bitcoind tests, add `BOOST_AUTO_TEST_CASE` functions to the existing
.cpp files in the test/ directory or add new .cpp files that
implement new BOOST_AUTO_TEST_SUITE sections.
To run the bitcoin-qt tests manually, launch src/qt/test/bitcoin-qt_test
To add more bitcoin-qt tests, add them to the `src/qt/test/` directory and
the `src/qt/test/test_main.cpp` file.
<|file_sep|>current/doc/unit-tests.md
Compiling/running unit tests
------------------------------------
Unit tests will be automatically compiled if dependencies were met in configure
and tests weren't explicitly disabled.
After configuring, they can be run with 'make check'.
To run the bitcoind tests manually, launch src/test/test_bitcoin .
To add more bitcoind tests, add `BOOST_AUTO_TEST_CASE` functions to the existing
.cpp files in the test/ directory or add new .cpp files that
implement new BOOST_AUTO_TEST_SUITE sections.
To run the bitcoin-qt tests manually, launch src/qt/test/bitcoin-qt_test
To add more bitcoin-qt tests, add them to the `src/qt/test/` directory and
the `src/qt/test/test_main.cpp` file.
<|file_sep|>updated/doc/unit-tests.md
Compiling/running unit tests
------------------------------------
Unit tests will be automatically compiled if dependencies were met in configure
and tests weren't explicitly disabled.
After configuring, they can be run with 'make check'.
To run the bitcoind tests manually, launch src/test/test_bitcoin .
To add more bitcoind tests, add `BOOST_AUTO_TEST_CASE` functions to the existing
.cpp files in the test/ directory or add new .cpp files that
implement new BOOST_AUTO_TEST_SUITE sections.
To run the bitcoin-qt tests manually, launch src/qt/test/test_bitcoin-qt
To add more bitcoin-qt tests, add them to the `src/qt/test/` directory and
the `src/qt/test/test_main.cpp` file. | f9a8fc4b1a7579b843e3b1a3136ef85a0435c918 | doc/unit-tests.md | doc/unit-tests.md | Markdown |
<|file_sep|>original/quantityfield/widgets.py
return [(x, x) for x in allowed_types]
def __init__(self, attrs=None, base_units=None, allowed_types=None):
choices = self.get_choices(allowed_types)
self.base_units = base_units
attrs = attrs or {}
attrs.setdefault('step', 'any')
widgets = (
NumberInput(attrs=attrs),
Select(attrs=attrs, choices=choices)
)
super(QuantityWidget, self).__init__(widgets, attrs)
def decompress(self, value):
non_decimal = re.compile(r'[^\d.]+')
if value:
number_value = non_decimal.sub('', str(value))
return [number_value, self.base_units]
return [None, self.base_units]
<|file_sep|>current/quantityfield/widgets.py
return [(x, x) for x in allowed_types]
def __init__(self, attrs=None, base_units=None, allowed_types=None):
choices = self.get_choices(allowed_types)
self.base_units = base_units
attrs = attrs or {}
attrs.setdefault('step', 'any')
widgets = (
NumberInput(attrs=attrs),
Select(attrs=attrs, choices=choices)
)
super(QuantityWidget, self).__init__(widgets, attrs)
def decompress(self, value):
non_decimal = re.compile(r'[^\d.]+')
if value:
number_value = non_decimal.sub('', str(value))
return [number_value, self.base_units]
return [None, self.base_units]
<|file_sep|>updated/quantityfield/widgets.py | return [(x, x) for x in allowed_types]
def __init__(self, attrs=None, base_units=None, allowed_types=None):
choices = self.get_choices(allowed_types)
self.base_units = base_units
attrs = attrs or {}
attrs.setdefault('step', 'any')
widgets = (
NumberInput(attrs=attrs),
Select(attrs=attrs, choices=choices)
)
super(QuantityWidget, self).__init__(widgets, attrs)
def decompress(self, value):
non_decimal = re.compile(r'[^\d.]+')
if value:
number_value = non_decimal.sub('', str(value))
return [number_value, self.base_units]
return [None, self.base_units] | <|file_sep|>original/quantityfield/widgets.py
return [(x, x) for x in allowed_types]
def __init__(self, attrs=None, base_units=None, allowed_types=None):
choices = self.get_choices(allowed_types)
self.base_units = base_units
attrs = attrs or {}
attrs.setdefault('step', 'any')
widgets = (
NumberInput(attrs=attrs),
Select(attrs=attrs, choices=choices)
)
super(QuantityWidget, self).__init__(widgets, attrs)
def decompress(self, value):
non_decimal = re.compile(r'[^\d.]+')
if value:
number_value = non_decimal.sub('', str(value))
return [number_value, self.base_units]
return [None, self.base_units]
<|file_sep|>current/quantityfield/widgets.py
return [(x, x) for x in allowed_types]
def __init__(self, attrs=None, base_units=None, allowed_types=None):
choices = self.get_choices(allowed_types)
self.base_units = base_units
attrs = attrs or {}
attrs.setdefault('step', 'any')
widgets = (
NumberInput(attrs=attrs),
Select(attrs=attrs, choices=choices)
)
super(QuantityWidget, self).__init__(widgets, attrs)
def decompress(self, value):
non_decimal = re.compile(r'[^\d.]+')
if value:
number_value = non_decimal.sub('', str(value))
return [number_value, self.base_units]
return [None, self.base_units]
<|file_sep|>updated/quantityfield/widgets.py
return [(x, x) for x in allowed_types]
def __init__(self, attrs=None, base_units=None, allowed_types=None):
choices = self.get_choices(allowed_types)
self.base_units = base_units
attrs = attrs or {}
attrs.setdefault('step', 'any')
widgets = (
NumberInput(attrs=attrs),
Select(attrs=attrs, choices=choices)
)
super(QuantityWidget, self).__init__(widgets, attrs)
def decompress(self, value):
non_decimal = re.compile(r'[^\d.]+')
if value:
number_value = non_decimal.sub('', str(value))
return [number_value, self.base_units]
return [None, self.base_units] | 7b1a0022b41dbf17de352e4686458e5250b28e49 | quantityfield/widgets.py | quantityfield/widgets.py | Python |
<|file_sep|>original/src/Backend/Core/Layout/Sass/components/_action-bar.scss
margin-top: 10px;
.btn-text {
display: block;
font-size: $font-size-extra-small;
}
.btn {
padding: 2px 6px 3px;
}
}
@media screen and (min-width: $screen-md) {
.content-action-bar .btn-toolbar {
margin-top: 0;
.btn-text {
display: inline-block;
font-size: $font-size-base;
}
<|file_sep|>current/src/Backend/Core/Layout/Sass/components/_action-bar.scss
margin-top: 10px;
.btn-text {
display: block;
font-size: $font-size-extra-small;
}
.btn {
padding: 2px 6px 3px;
}
}
@media screen and (min-width: $screen-md) {
.content-action-bar .btn-toolbar {
margin-top: 0;
.btn-text {
display: inline-block;
font-size: $font-size-base;
}
<|file_sep|>updated/src/Backend/Core/Layout/Sass/components/_action-bar.scss | margin-top: 10px;
.btn-text {
display: block;
font-size: $font-size-extra-small;
}
.btn {
padding: 2px 6px 3px;
}
.btn-group .dropdown-toggle {
padding: 9px 6px 10px;
}
}
@media screen and (min-width: $screen-md) {
.content-action-bar .btn-toolbar {
margin-top: 0;
| <|file_sep|>original/src/Backend/Core/Layout/Sass/components/_action-bar.scss
margin-top: 10px;
.btn-text {
display: block;
font-size: $font-size-extra-small;
}
.btn {
padding: 2px 6px 3px;
}
}
@media screen and (min-width: $screen-md) {
.content-action-bar .btn-toolbar {
margin-top: 0;
.btn-text {
display: inline-block;
font-size: $font-size-base;
}
<|file_sep|>current/src/Backend/Core/Layout/Sass/components/_action-bar.scss
margin-top: 10px;
.btn-text {
display: block;
font-size: $font-size-extra-small;
}
.btn {
padding: 2px 6px 3px;
}
}
@media screen and (min-width: $screen-md) {
.content-action-bar .btn-toolbar {
margin-top: 0;
.btn-text {
display: inline-block;
font-size: $font-size-base;
}
<|file_sep|>updated/src/Backend/Core/Layout/Sass/components/_action-bar.scss
margin-top: 10px;
.btn-text {
display: block;
font-size: $font-size-extra-small;
}
.btn {
padding: 2px 6px 3px;
}
.btn-group .dropdown-toggle {
padding: 9px 6px 10px;
}
}
@media screen and (min-width: $screen-md) {
.content-action-bar .btn-toolbar {
margin-top: 0;
| dc9ce5e3ecac4c7b1f8f5117967b7cdeca08ccef | src/Backend/Core/Layout/Sass/components/_action-bar.scss | src/Backend/Core/Layout/Sass/components/_action-bar.scss | SCSS |
<|file_sep|>original/.circleci/config.yml
build:
docker:
# specify the version you desire here
- image: circleci/openjdk:8-jdk
# Specify service dependencies here if necessary
# CircleCI maintains a library of pre-built images
# documented at https://circleci.com/docs/2.0/circleci-images/
# - image: circleci/postgres:9.4
working_directory: ~/spark-crowd
environment:
# Customize the JVM maximum heap limit
JVM_OPTS: -Xmx3200m
TERM: dumb
steps:
- checkout
# Download and cache dependencies
<|file_sep|>current/.circleci/config.yml
build:
docker:
# specify the version you desire here
- image: circleci/openjdk:8-jdk
# Specify service dependencies here if necessary
# CircleCI maintains a library of pre-built images
# documented at https://circleci.com/docs/2.0/circleci-images/
# - image: circleci/postgres:9.4
working_directory: ~/spark-crowd
environment:
# Customize the JVM maximum heap limit
JVM_OPTS: -Xmx3200m
TERM: dumb
steps:
- checkout
# Download and cache dependencies
<|file_sep|>updated/.circleci/config.yml | build:
docker:
# specify the version you desire here
- image: circleci/openjdk:8-jdk
# Specify service dependencies here if necessary
# CircleCI maintains a library of pre-built images
# documented at https://circleci.com/docs/2.0/circleci-images/
# - image: circleci/postgres:9.4
working_directory: ~/spark-crowd/spark-crowd
environment:
# Customize the JVM maximum heap limit
JVM_OPTS: -Xmx3200m
TERM: dumb
steps:
- checkout
# Download and cache dependencies | <|file_sep|>original/.circleci/config.yml
build:
docker:
# specify the version you desire here
- image: circleci/openjdk:8-jdk
# Specify service dependencies here if necessary
# CircleCI maintains a library of pre-built images
# documented at https://circleci.com/docs/2.0/circleci-images/
# - image: circleci/postgres:9.4
working_directory: ~/spark-crowd
environment:
# Customize the JVM maximum heap limit
JVM_OPTS: -Xmx3200m
TERM: dumb
steps:
- checkout
# Download and cache dependencies
<|file_sep|>current/.circleci/config.yml
build:
docker:
# specify the version you desire here
- image: circleci/openjdk:8-jdk
# Specify service dependencies here if necessary
# CircleCI maintains a library of pre-built images
# documented at https://circleci.com/docs/2.0/circleci-images/
# - image: circleci/postgres:9.4
working_directory: ~/spark-crowd
environment:
# Customize the JVM maximum heap limit
JVM_OPTS: -Xmx3200m
TERM: dumb
steps:
- checkout
# Download and cache dependencies
<|file_sep|>updated/.circleci/config.yml
build:
docker:
# specify the version you desire here
- image: circleci/openjdk:8-jdk
# Specify service dependencies here if necessary
# CircleCI maintains a library of pre-built images
# documented at https://circleci.com/docs/2.0/circleci-images/
# - image: circleci/postgres:9.4
working_directory: ~/spark-crowd/spark-crowd
environment:
# Customize the JVM maximum heap limit
JVM_OPTS: -Xmx3200m
TERM: dumb
steps:
- checkout
# Download and cache dependencies | 484bfd6a3f34dfda059e7341e8a32448128c0bfb | .circleci/config.yml | .circleci/config.yml | YAML |
<|file_sep|>db/migrate/20150109204655_fix_phone_number_fields.rb.diff
original:
Organization.all.each do |o|
old_phone = o.phone
new_phone = old_phone.gsub(/[^0-9]/, "")
o.update(phone: new_phone)
end
puts Organization.pluck(:phone)
change_column :organizations, :phone, :string, :limit => 10, :null => false
updated:
<|file_sep|>original/db/migrate/20150109204655_fix_phone_number_fields.rb
class FixPhoneNumberFields < ActiveRecord::Migration
def change
Organization.all.each do |o|
old_phone = o.phone
new_phone = old_phone.gsub(/[^0-9]/, "")
o.update(phone: new_phone)
end
puts Organization.pluck(:phone)
change_column :organizations, :phone, :string, :limit => 10, :null => false
add_column :organizations, :phone_ext, :string, :limit => 6, :default => nil, :after => :phone
end
end
<|file_sep|>current/db/migrate/20150109204655_fix_phone_number_fields.rb
class FixPhoneNumberFields < ActiveRecord::Migration
def change
add_column :organizations, :phone_ext, :string, :limit => 6, :default => nil, :after => :phone
end
end
<|file_sep|>updated/db/migrate/20150109204655_fix_phone_number_fields.rb | class FixPhoneNumberFields < ActiveRecord::Migration
def change
add_column :organizations, :phone_ext, :string, :limit => 6, :default => nil, :after => :phone
add_column :users, :phone_ext, :string, :limit => 6, :default => nil, :after => :phone
add_column :vendors, :phone_ext, :string, :limit => 6, :default => nil, :after => :phone
end
end | <|file_sep|>db/migrate/20150109204655_fix_phone_number_fields.rb.diff
original:
Organization.all.each do |o|
old_phone = o.phone
new_phone = old_phone.gsub(/[^0-9]/, "")
o.update(phone: new_phone)
end
puts Organization.pluck(:phone)
change_column :organizations, :phone, :string, :limit => 10, :null => false
updated:
<|file_sep|>original/db/migrate/20150109204655_fix_phone_number_fields.rb
class FixPhoneNumberFields < ActiveRecord::Migration
def change
Organization.all.each do |o|
old_phone = o.phone
new_phone = old_phone.gsub(/[^0-9]/, "")
o.update(phone: new_phone)
end
puts Organization.pluck(:phone)
change_column :organizations, :phone, :string, :limit => 10, :null => false
add_column :organizations, :phone_ext, :string, :limit => 6, :default => nil, :after => :phone
end
end
<|file_sep|>current/db/migrate/20150109204655_fix_phone_number_fields.rb
class FixPhoneNumberFields < ActiveRecord::Migration
def change
add_column :organizations, :phone_ext, :string, :limit => 6, :default => nil, :after => :phone
end
end
<|file_sep|>updated/db/migrate/20150109204655_fix_phone_number_fields.rb
class FixPhoneNumberFields < ActiveRecord::Migration
def change
add_column :organizations, :phone_ext, :string, :limit => 6, :default => nil, :after => :phone
add_column :users, :phone_ext, :string, :limit => 6, :default => nil, :after => :phone
add_column :vendors, :phone_ext, :string, :limit => 6, :default => nil, :after => :phone
end
end | 55556d41132ab765adc3c85eae8d26c3f9cd704e | db/migrate/20150109204655_fix_phone_number_fields.rb | db/migrate/20150109204655_fix_phone_number_fields.rb | Ruby |
<|file_sep|>original/client/components/filters/ordinal-date/ordinal-date.filter.js
'use strict';
angular.module('mementoMovieApp')
.filter('ordinalDate', function ($filter) {
var suffixes = ["th", "st", "nd", "rd"];
return function(input) {
if (!input) {
return;
}
var date = new Date(input);
var monthYear = $filter('date')(date, 'MMMM yyyy').split(' ');
var day = date.getDate();
var suffix = (day <= 3) ? suffixes[day] : suffixes[0];
return monthYear[0] + ' ' + day + suffix + ', ' + monthYear[1];
};
});
<|file_sep|>current/client/components/filters/ordinal-date/ordinal-date.filter.js
'use strict';
angular.module('mementoMovieApp')
.filter('ordinalDate', function ($filter) {
var suffixes = ["th", "st", "nd", "rd"];
return function(input) {
if (!input) {
return;
}
var date = new Date(input);
var monthYear = $filter('date')(date, 'MMMM yyyy').split(' ');
var day = date.getDate();
var suffix = (day <= 3) ? suffixes[day] : suffixes[0];
return monthYear[0] + ' ' + day + suffix + ', ' + monthYear[1];
};
});
<|file_sep|>updated/client/components/filters/ordinal-date/ordinal-date.filter.js | angular.module('mementoMovieApp')
.filter('ordinalDate', function ($filter) {
var suffixes = ["th", "st", "nd", "rd"];
return function(input) {
if (!input) {
return;
}
var date;
if (input.indexOf('9999') === 0) {
return 'TBA';
} else if (input.indexOf('99') === 5) {
return input.slice(0, 4);
} else if (input.indexOf('99') === 8) {
date = new Date(input.slice(0, 7));
return $filter('date')(date, 'MMMM yyyy');
} else {
date = new Date(input);
var monthYear = $filter('date')(date, 'MMMM yyyy').split(' '); | <|file_sep|>original/client/components/filters/ordinal-date/ordinal-date.filter.js
'use strict';
angular.module('mementoMovieApp')
.filter('ordinalDate', function ($filter) {
var suffixes = ["th", "st", "nd", "rd"];
return function(input) {
if (!input) {
return;
}
var date = new Date(input);
var monthYear = $filter('date')(date, 'MMMM yyyy').split(' ');
var day = date.getDate();
var suffix = (day <= 3) ? suffixes[day] : suffixes[0];
return monthYear[0] + ' ' + day + suffix + ', ' + monthYear[1];
};
});
<|file_sep|>current/client/components/filters/ordinal-date/ordinal-date.filter.js
'use strict';
angular.module('mementoMovieApp')
.filter('ordinalDate', function ($filter) {
var suffixes = ["th", "st", "nd", "rd"];
return function(input) {
if (!input) {
return;
}
var date = new Date(input);
var monthYear = $filter('date')(date, 'MMMM yyyy').split(' ');
var day = date.getDate();
var suffix = (day <= 3) ? suffixes[day] : suffixes[0];
return monthYear[0] + ' ' + day + suffix + ', ' + monthYear[1];
};
});
<|file_sep|>updated/client/components/filters/ordinal-date/ordinal-date.filter.js
angular.module('mementoMovieApp')
.filter('ordinalDate', function ($filter) {
var suffixes = ["th", "st", "nd", "rd"];
return function(input) {
if (!input) {
return;
}
var date;
if (input.indexOf('9999') === 0) {
return 'TBA';
} else if (input.indexOf('99') === 5) {
return input.slice(0, 4);
} else if (input.indexOf('99') === 8) {
date = new Date(input.slice(0, 7));
return $filter('date')(date, 'MMMM yyyy');
} else {
date = new Date(input);
var monthYear = $filter('date')(date, 'MMMM yyyy').split(' '); | 19e72171793322cb3cf5031b6d20a3dd7b270957 | client/components/filters/ordinal-date/ordinal-date.filter.js | client/components/filters/ordinal-date/ordinal-date.filter.js | JavaScript |
<|file_sep|>tox.ini.diff
original:
deps =
{[testenv]deps}
updated:
<|file_sep|>original/tox.ini
[tox]
minversion = 1.6
envlist = docs,pep8
skipsdist = True
[testenv]
usedevelop = True
setenv = VIRTUAL_ENV={envdir}
deps = -r{toxinidir}/test-requirements.txt
[testenv:venv]
commands = {posargs}
[testenv:docs]
basepython = python2
commands = sphinx-build -W -b html doc/source doc/build/html
[testenv:pep8]
deps =
{[testenv]deps}
commands =
<|file_sep|>current/tox.ini
[tox]
minversion = 1.6
envlist = docs,pep8
skipsdist = True
[testenv]
usedevelop = True
setenv = VIRTUAL_ENV={envdir}
deps = -r{toxinidir}/test-requirements.txt
[testenv:venv]
commands = {posargs}
[testenv:docs]
basepython = python2
commands = sphinx-build -W -b html doc/source doc/build/html
[testenv:pep8]
commands =
flake8
# sh ./tools/coding-checks.sh --pylint '{posargs}'
<|file_sep|>updated/tox.ini | minversion = 1.6
envlist = docs,pep8
skipsdist = True
[testenv]
usedevelop = True
setenv = VIRTUAL_ENV={envdir}
deps = -r{toxinidir}/test-requirements.txt
[testenv:venv]
commands = {posargs}
[testenv:docs]
basepython = python2
commands = sphinx-build -W -b html doc/source doc/build/html
[testenv:pep8]
commands =
flake8
bash -c "find {toxinidir} -type f \( -name '*.po' -o -name '*.pot' \) -print0 | xargs -0 -n1 --no-run-if-empty msgfmt --check-format -o /dev/null"
whitelist_externals = bash | <|file_sep|>tox.ini.diff
original:
deps =
{[testenv]deps}
updated:
<|file_sep|>original/tox.ini
[tox]
minversion = 1.6
envlist = docs,pep8
skipsdist = True
[testenv]
usedevelop = True
setenv = VIRTUAL_ENV={envdir}
deps = -r{toxinidir}/test-requirements.txt
[testenv:venv]
commands = {posargs}
[testenv:docs]
basepython = python2
commands = sphinx-build -W -b html doc/source doc/build/html
[testenv:pep8]
deps =
{[testenv]deps}
commands =
<|file_sep|>current/tox.ini
[tox]
minversion = 1.6
envlist = docs,pep8
skipsdist = True
[testenv]
usedevelop = True
setenv = VIRTUAL_ENV={envdir}
deps = -r{toxinidir}/test-requirements.txt
[testenv:venv]
commands = {posargs}
[testenv:docs]
basepython = python2
commands = sphinx-build -W -b html doc/source doc/build/html
[testenv:pep8]
commands =
flake8
# sh ./tools/coding-checks.sh --pylint '{posargs}'
<|file_sep|>updated/tox.ini
minversion = 1.6
envlist = docs,pep8
skipsdist = True
[testenv]
usedevelop = True
setenv = VIRTUAL_ENV={envdir}
deps = -r{toxinidir}/test-requirements.txt
[testenv:venv]
commands = {posargs}
[testenv:docs]
basepython = python2
commands = sphinx-build -W -b html doc/source doc/build/html
[testenv:pep8]
commands =
flake8
bash -c "find {toxinidir} -type f \( -name '*.po' -o -name '*.pot' \) -print0 | xargs -0 -n1 --no-run-if-empty msgfmt --check-format -o /dev/null"
whitelist_externals = bash | 24a4a22b548d868903cf8c27cc1f7d222f33bb7c | tox.ini | tox.ini | INI |
<|file_sep|>original/app/views/base_mailer/access_details_email.html.slim
doctype html
html
head
meta content='text/html; charset=UTF-8' http-equiv='Content-Type'
body
= render partial: 'base_mailer/shared/gov.uk.logo'
table style="padding-left:60px;"
tr
td
table style="width:550px; color:#fff; padding-bottom:30px;"
= render partial: 'base_mailer/shared/moj.logo'
= render partial: 'base_mailer/shared/application_number_light'
table style="max-width:525px;"
tr
td
p style="font-family:arial; font-size:19px; line-height:26px;"
= t('.intro')
<|file_sep|>current/app/views/base_mailer/access_details_email.html.slim
doctype html
html
head
meta content='text/html; charset=UTF-8' http-equiv='Content-Type'
body
= render partial: 'base_mailer/shared/gov.uk.logo'
table style="padding-left:60px;"
tr
td
table style="width:550px; color:#fff; padding-bottom:30px;"
= render partial: 'base_mailer/shared/moj.logo'
= render partial: 'base_mailer/shared/application_number_light'
table style="max-width:525px;"
tr
td
p style="font-family:arial; font-size:19px; line-height:26px;"
= t('.intro')
<|file_sep|>updated/app/views/base_mailer/access_details_email.html.slim | doctype html
html
head
meta content='text/html; charset=UTF-8' http-equiv='Content-Type'
body
= render partial: 'base_mailer/shared/gov.uk.logo'
table style="padding-left:60px;"
tr
td
table style="width:550px; padding-bottom:30px;"
= render partial: 'base_mailer/shared/moj.logo'
= render partial: 'base_mailer/shared/application_number_light'
table style="max-width:525px;"
tr
td
p style="font-family:arial; font-size:19px; line-height:26px;"
= t('.intro') | <|file_sep|>original/app/views/base_mailer/access_details_email.html.slim
doctype html
html
head
meta content='text/html; charset=UTF-8' http-equiv='Content-Type'
body
= render partial: 'base_mailer/shared/gov.uk.logo'
table style="padding-left:60px;"
tr
td
table style="width:550px; color:#fff; padding-bottom:30px;"
= render partial: 'base_mailer/shared/moj.logo'
= render partial: 'base_mailer/shared/application_number_light'
table style="max-width:525px;"
tr
td
p style="font-family:arial; font-size:19px; line-height:26px;"
= t('.intro')
<|file_sep|>current/app/views/base_mailer/access_details_email.html.slim
doctype html
html
head
meta content='text/html; charset=UTF-8' http-equiv='Content-Type'
body
= render partial: 'base_mailer/shared/gov.uk.logo'
table style="padding-left:60px;"
tr
td
table style="width:550px; color:#fff; padding-bottom:30px;"
= render partial: 'base_mailer/shared/moj.logo'
= render partial: 'base_mailer/shared/application_number_light'
table style="max-width:525px;"
tr
td
p style="font-family:arial; font-size:19px; line-height:26px;"
= t('.intro')
<|file_sep|>updated/app/views/base_mailer/access_details_email.html.slim
doctype html
html
head
meta content='text/html; charset=UTF-8' http-equiv='Content-Type'
body
= render partial: 'base_mailer/shared/gov.uk.logo'
table style="padding-left:60px;"
tr
td
table style="width:550px; padding-bottom:30px;"
= render partial: 'base_mailer/shared/moj.logo'
= render partial: 'base_mailer/shared/application_number_light'
table style="max-width:525px;"
tr
td
p style="font-family:arial; font-size:19px; line-height:26px;"
= t('.intro') | 429879f4e4e41c6d57519548b09dd0d3a6a0b638 | app/views/base_mailer/access_details_email.html.slim | app/views/base_mailer/access_details_email.html.slim | Slim |
<|file_sep|>original/midterm/problem4.py
<|file_sep|>current/midterm/problem4.py
<|file_sep|>updated/midterm/problem4.py | # Problem 4
# 10.0 points possible (graded)
# Implement a function called closest_power that meets the specifications below.
# For example,
# closest_power(3,12) returns 2
# closest_power(4,12) returns 2
# closest_power(4,1) returns 0
def closest_power(base, num):
'''
base: base of the exponential, integer > 1
num: number you want to be closest to, integer > 0
Find the integer exponent such that base**exponent is closest to num.
Note that the base**exponent may be either greater or smaller than num.
In case of a tie, return the smaller value.
Returns the exponent.
'''
num = int(num)
difference = base**num | <|file_sep|>original/midterm/problem4.py
<|file_sep|>current/midterm/problem4.py
<|file_sep|>updated/midterm/problem4.py
# Problem 4
# 10.0 points possible (graded)
# Implement a function called closest_power that meets the specifications below.
# For example,
# closest_power(3,12) returns 2
# closest_power(4,12) returns 2
# closest_power(4,1) returns 0
def closest_power(base, num):
'''
base: base of the exponential, integer > 1
num: number you want to be closest to, integer > 0
Find the integer exponent such that base**exponent is closest to num.
Note that the base**exponent may be either greater or smaller than num.
In case of a tie, return the smaller value.
Returns the exponent.
'''
num = int(num)
difference = base**num | c6c92b1d073151d0c7173d9718e79465c3ce5803 | midterm/problem4.py | midterm/problem4.py | Python |
<|file_sep|>original/packages/_all.scss
// Packages
@import './text/_switch-text-type-tool';
@import './paragraph/_paragraph';
@import './heading/_heading';
@import './blockquote/_blockquote';
@import './codeblock/_codeblock';
@import './list/_list';
@import './link/_link';
@import './embed/_embed';
@import './image/_image';
@import './figure/_figure';
@import './table/_table';
@import './emphasis/_emphasis';
@import './strong/_strong';
@import './subscript/_subscript';
@import './superscript/_superscript';
@import './code/_code';
<|file_sep|>current/packages/_all.scss
// Packages
@import './text/_switch-text-type-tool';
@import './paragraph/_paragraph';
@import './heading/_heading';
@import './blockquote/_blockquote';
@import './codeblock/_codeblock';
@import './list/_list';
@import './link/_link';
@import './embed/_embed';
@import './image/_image';
@import './figure/_figure';
@import './table/_table';
@import './emphasis/_emphasis';
@import './strong/_strong';
@import './subscript/_subscript';
@import './superscript/_superscript';
@import './code/_code';
<|file_sep|>updated/packages/_all.scss | // Packages
@import './text/_switch-text-type-tool';
@import './paragraph/_paragraph';
@import './heading/_heading';
@import './blockquote/_blockquote';
@import './codeblock/_codeblock';
@import './list/_list';
@import './link/_link';
@import './embed/_embed';
@import './image/_image';
@import './table/_table';
@import './emphasis/_emphasis';
@import './strong/_strong';
@import './subscript/_subscript';
@import './superscript/_superscript';
@import './code/_code'; | <|file_sep|>original/packages/_all.scss
// Packages
@import './text/_switch-text-type-tool';
@import './paragraph/_paragraph';
@import './heading/_heading';
@import './blockquote/_blockquote';
@import './codeblock/_codeblock';
@import './list/_list';
@import './link/_link';
@import './embed/_embed';
@import './image/_image';
@import './figure/_figure';
@import './table/_table';
@import './emphasis/_emphasis';
@import './strong/_strong';
@import './subscript/_subscript';
@import './superscript/_superscript';
@import './code/_code';
<|file_sep|>current/packages/_all.scss
// Packages
@import './text/_switch-text-type-tool';
@import './paragraph/_paragraph';
@import './heading/_heading';
@import './blockquote/_blockquote';
@import './codeblock/_codeblock';
@import './list/_list';
@import './link/_link';
@import './embed/_embed';
@import './image/_image';
@import './figure/_figure';
@import './table/_table';
@import './emphasis/_emphasis';
@import './strong/_strong';
@import './subscript/_subscript';
@import './superscript/_superscript';
@import './code/_code';
<|file_sep|>updated/packages/_all.scss
// Packages
@import './text/_switch-text-type-tool';
@import './paragraph/_paragraph';
@import './heading/_heading';
@import './blockquote/_blockquote';
@import './codeblock/_codeblock';
@import './list/_list';
@import './link/_link';
@import './embed/_embed';
@import './image/_image';
@import './table/_table';
@import './emphasis/_emphasis';
@import './strong/_strong';
@import './subscript/_subscript';
@import './superscript/_superscript';
@import './code/_code'; | 488860fdeee779dde059562552a67d15153e2c03 | packages/_all.scss | packages/_all.scss | SCSS |
<|file_sep|>kolibri/core/assets/src/conditionalPromise.js.diff
original:
* Create a conditional promise - like a promise, but cancelable!
updated:
* Create a conditional promise - like a promise, but with an additional method 'only'
* that allows for chaining resolve/reject handlers that will only be called if a
* certain condition pertains.
<|file_sep|>kolibri/core/assets/src/conditionalPromise.js.diff
original:
only(cancelCheck, resolve, reject) {
updated:
only(continueCheck, resolve, reject) {
<|file_sep|>kolibri/core/assets/src/conditionalPromise.js.diff
original:
* When the promise resolves, call the resolve function, only if cancelCheck evaluates to true.
* @param {cancelCheck} Function - Function that returns a Boolean.
updated:
* When the promise resolves, call resolve function, only if continueCheck evaluates to true.
* @param {continueCheck} Function - Function that returns a Boolean,
<|file_sep|>kolibri/core/assets/src/conditionalPromise.js.diff
original:
if (cancelCheck() && resolve) {
updated:
if (continueCheck() && resolve) {
<|file_sep|>original/kolibri/core/assets/src/conditionalPromise.js
* @param {resolve} Function - Function to call if the Promise succeeds.
* @param {reject} Function - Function to call if the Promise fails.
*/
this._promise.then((success) => {
if (cancelCheck() && resolve) {
resolve(success);
}
}, (error) => {
if (cancelCheck() && reject) {
reject(error);
}
});
return this;
}
static all(promises) {
/*
* Equivalent of Promise.all, but return a ConditionalPromise instead.
* @param {promises} [Promise|ConditionalPromise] - an array of Promises
*/
const conditionalPromise = new ConditionalPromise();
<|file_sep|>current/kolibri/core/assets/src/conditionalPromise.js
* When the promise resolves, call resolve function, only if continueCheck evaluates to true.
* @param {continueCheck} Function - Function that returns a Boolean,
* @param {resolve} Function - Function to call if the Promise succeeds.
* @param {reject} Function - Function to call if the Promise fails.
*/
this._promise.then((success) => {
if (continueCheck() && resolve) {
resolve(success);
}
}, (error) => {
if (cancelCheck() && reject) {
reject(error);
}
});
return this;
}
static all(promises) {
/*
* Equivalent of Promise.all, but return a ConditionalPromise instead.
* @param {promises} [Promise|ConditionalPromise] - an array of Promises
<|file_sep|>updated/kolibri/core/assets/src/conditionalPromise.js | * When the promise resolves, call resolve function, only if continueCheck evaluates to true.
* @param {continueCheck} Function - Function that returns a Boolean,
* @param {resolve} Function - Function to call if the Promise succeeds.
* @param {reject} Function - Function to call if the Promise fails.
*/
this._promise.then((success) => {
if (continueCheck() && resolve) {
resolve(success);
}
}, (error) => {
if (continueCheck() && reject) {
reject(error);
}
});
return this;
}
static all(promises) {
/*
* Equivalent of Promise.all, but return a ConditionalPromise instead.
* @param {promises} [Promise|ConditionalPromise] - an array of Promises | <|file_sep|>kolibri/core/assets/src/conditionalPromise.js.diff
original:
* Create a conditional promise - like a promise, but cancelable!
updated:
* Create a conditional promise - like a promise, but with an additional method 'only'
* that allows for chaining resolve/reject handlers that will only be called if a
* certain condition pertains.
<|file_sep|>kolibri/core/assets/src/conditionalPromise.js.diff
original:
only(cancelCheck, resolve, reject) {
updated:
only(continueCheck, resolve, reject) {
<|file_sep|>kolibri/core/assets/src/conditionalPromise.js.diff
original:
* When the promise resolves, call the resolve function, only if cancelCheck evaluates to true.
* @param {cancelCheck} Function - Function that returns a Boolean.
updated:
* When the promise resolves, call resolve function, only if continueCheck evaluates to true.
* @param {continueCheck} Function - Function that returns a Boolean,
<|file_sep|>kolibri/core/assets/src/conditionalPromise.js.diff
original:
if (cancelCheck() && resolve) {
updated:
if (continueCheck() && resolve) {
<|file_sep|>original/kolibri/core/assets/src/conditionalPromise.js
* @param {resolve} Function - Function to call if the Promise succeeds.
* @param {reject} Function - Function to call if the Promise fails.
*/
this._promise.then((success) => {
if (cancelCheck() && resolve) {
resolve(success);
}
}, (error) => {
if (cancelCheck() && reject) {
reject(error);
}
});
return this;
}
static all(promises) {
/*
* Equivalent of Promise.all, but return a ConditionalPromise instead.
* @param {promises} [Promise|ConditionalPromise] - an array of Promises
*/
const conditionalPromise = new ConditionalPromise();
<|file_sep|>current/kolibri/core/assets/src/conditionalPromise.js
* When the promise resolves, call resolve function, only if continueCheck evaluates to true.
* @param {continueCheck} Function - Function that returns a Boolean,
* @param {resolve} Function - Function to call if the Promise succeeds.
* @param {reject} Function - Function to call if the Promise fails.
*/
this._promise.then((success) => {
if (continueCheck() && resolve) {
resolve(success);
}
}, (error) => {
if (cancelCheck() && reject) {
reject(error);
}
});
return this;
}
static all(promises) {
/*
* Equivalent of Promise.all, but return a ConditionalPromise instead.
* @param {promises} [Promise|ConditionalPromise] - an array of Promises
<|file_sep|>updated/kolibri/core/assets/src/conditionalPromise.js
* When the promise resolves, call resolve function, only if continueCheck evaluates to true.
* @param {continueCheck} Function - Function that returns a Boolean,
* @param {resolve} Function - Function to call if the Promise succeeds.
* @param {reject} Function - Function to call if the Promise fails.
*/
this._promise.then((success) => {
if (continueCheck() && resolve) {
resolve(success);
}
}, (error) => {
if (continueCheck() && reject) {
reject(error);
}
});
return this;
}
static all(promises) {
/*
* Equivalent of Promise.all, but return a ConditionalPromise instead.
* @param {promises} [Promise|ConditionalPromise] - an array of Promises | e0cf6c755e7f3fbdff5a63d1ce233146da2d67a7 | kolibri/core/assets/src/conditionalPromise.js | kolibri/core/assets/src/conditionalPromise.js | JavaScript |
<|file_sep|>original/Tests/Agiil.Web.TestBuild/Bootstrap/DataPackagesModule.cs
string DataPackagesNamespace => NamespaceMarker.Namespace;
protected override void Load(ContainerBuilder builder)
{
var packageTypes = GetDataPackageTypes();
foreach(var packageType in packageTypes)
{
builder
.RegisterType(packageType)
.WithMetadata<DataPackageMetadata>(config => {
config.For(x => x.PackageTypeName, packageType.Name);
});
}
}
IEnumerable<Type> GetDataPackageTypes()
{
return (from type in Assembly.GetExecutingAssembly().GetExportedTypes()
where
type.IsClass
<|file_sep|>current/Tests/Agiil.Web.TestBuild/Bootstrap/DataPackagesModule.cs
string DataPackagesNamespace => NamespaceMarker.Namespace;
protected override void Load(ContainerBuilder builder)
{
var packageTypes = GetDataPackageTypes();
foreach(var packageType in packageTypes)
{
builder
.RegisterType(packageType)
.WithMetadata<DataPackageMetadata>(config => {
config.For(x => x.PackageTypeName, packageType.Name);
});
}
}
IEnumerable<Type> GetDataPackageTypes()
{
return (from type in Assembly.GetExecutingAssembly().GetExportedTypes()
where
type.IsClass
<|file_sep|>updated/Tests/Agiil.Web.TestBuild/Bootstrap/DataPackagesModule.cs | string DataPackagesNamespace => NamespaceMarker.Namespace;
protected override void Load(ContainerBuilder builder)
{
var packageTypes = GetDataPackageTypes();
foreach(var packageType in packageTypes)
{
builder
.RegisterType(packageType)
.As<IDataPackage>()
.WithMetadata<DataPackageMetadata>(config => {
config.For(x => x.PackageTypeName, packageType.Name);
});
}
}
IEnumerable<Type> GetDataPackageTypes()
{
return (from type in Assembly.GetExecutingAssembly().GetExportedTypes()
where | <|file_sep|>original/Tests/Agiil.Web.TestBuild/Bootstrap/DataPackagesModule.cs
string DataPackagesNamespace => NamespaceMarker.Namespace;
protected override void Load(ContainerBuilder builder)
{
var packageTypes = GetDataPackageTypes();
foreach(var packageType in packageTypes)
{
builder
.RegisterType(packageType)
.WithMetadata<DataPackageMetadata>(config => {
config.For(x => x.PackageTypeName, packageType.Name);
});
}
}
IEnumerable<Type> GetDataPackageTypes()
{
return (from type in Assembly.GetExecutingAssembly().GetExportedTypes()
where
type.IsClass
<|file_sep|>current/Tests/Agiil.Web.TestBuild/Bootstrap/DataPackagesModule.cs
string DataPackagesNamespace => NamespaceMarker.Namespace;
protected override void Load(ContainerBuilder builder)
{
var packageTypes = GetDataPackageTypes();
foreach(var packageType in packageTypes)
{
builder
.RegisterType(packageType)
.WithMetadata<DataPackageMetadata>(config => {
config.For(x => x.PackageTypeName, packageType.Name);
});
}
}
IEnumerable<Type> GetDataPackageTypes()
{
return (from type in Assembly.GetExecutingAssembly().GetExportedTypes()
where
type.IsClass
<|file_sep|>updated/Tests/Agiil.Web.TestBuild/Bootstrap/DataPackagesModule.cs
string DataPackagesNamespace => NamespaceMarker.Namespace;
protected override void Load(ContainerBuilder builder)
{
var packageTypes = GetDataPackageTypes();
foreach(var packageType in packageTypes)
{
builder
.RegisterType(packageType)
.As<IDataPackage>()
.WithMetadata<DataPackageMetadata>(config => {
config.For(x => x.PackageTypeName, packageType.Name);
});
}
}
IEnumerable<Type> GetDataPackageTypes()
{
return (from type in Assembly.GetExecutingAssembly().GetExportedTypes()
where | e4df1c0d9a261fbe22dc64f23d09ceff15d8c73b | Tests/Agiil.Web.TestBuild/Bootstrap/DataPackagesModule.cs | Tests/Agiil.Web.TestBuild/Bootstrap/DataPackagesModule.cs | C# |
<|file_sep|>original/lib/serverspec/type/base.rb
module Serverspec
module Type
class Base
def initialize(name=nil)
@name = name
end
def to_s
type = self.class.name.split(':')[-1]
type.gsub!(/([a-z\d])([A-Z])/, '\1 \2')
type.capitalize!
%Q!#{type} "#{@name}"!
end
end
end
end
<|file_sep|>current/lib/serverspec/type/base.rb
module Serverspec
module Type
class Base
def initialize(name=nil)
@name = name
end
def to_s
type = self.class.name.split(':')[-1]
type.gsub!(/([a-z\d])([A-Z])/, '\1 \2')
type.capitalize!
%Q!#{type} "#{@name}"!
end
end
end
end
<|file_sep|>updated/lib/serverspec/type/base.rb | module Serverspec
module Type
class Base
def initialize(name=nil)
@name = name
end
def to_s
type = self.class.name.split(':')[-1]
type.gsub!(/([a-z\d])([A-Z])/, '\1 \2')
type.capitalize!
%Q!#{type} "#{@name}"!
end
alias_method :inspect, :to_s
end
end
end | <|file_sep|>original/lib/serverspec/type/base.rb
module Serverspec
module Type
class Base
def initialize(name=nil)
@name = name
end
def to_s
type = self.class.name.split(':')[-1]
type.gsub!(/([a-z\d])([A-Z])/, '\1 \2')
type.capitalize!
%Q!#{type} "#{@name}"!
end
end
end
end
<|file_sep|>current/lib/serverspec/type/base.rb
module Serverspec
module Type
class Base
def initialize(name=nil)
@name = name
end
def to_s
type = self.class.name.split(':')[-1]
type.gsub!(/([a-z\d])([A-Z])/, '\1 \2')
type.capitalize!
%Q!#{type} "#{@name}"!
end
end
end
end
<|file_sep|>updated/lib/serverspec/type/base.rb
module Serverspec
module Type
class Base
def initialize(name=nil)
@name = name
end
def to_s
type = self.class.name.split(':')[-1]
type.gsub!(/([a-z\d])([A-Z])/, '\1 \2')
type.capitalize!
%Q!#{type} "#{@name}"!
end
alias_method :inspect, :to_s
end
end
end | 2843cabc8afd7d9de70b1ba5cb9d0e906f7524d4 | lib/serverspec/type/base.rb | lib/serverspec/type/base.rb | Ruby |
<|file_sep|>original/insts/jg/FREEVERB/denormals.h
// Macro for killing denormalled numbers
//
// Written by Jezar at Dreampoint, June 2000
// http://www.dreampoint.co.uk
// Based on IS_DENORMAL macro by Jon Watte
// This code is public domain
#ifndef _denormals_
#define _denormals_
#if 0
#define undenormalise(sample) if(((*(unsigned int*)&sample)&0x7f800000)==0) sample=0.0f
#else
#define undenormalise(sample)
#endif
#endif//_denormals_
//ends
<|file_sep|>current/insts/jg/FREEVERB/denormals.h
// Macro for killing denormalled numbers
//
// Written by Jezar at Dreampoint, June 2000
// http://www.dreampoint.co.uk
// Based on IS_DENORMAL macro by Jon Watte
// This code is public domain
#ifndef _denormals_
#define _denormals_
#if 0
#define undenormalise(sample) if(((*(unsigned int*)&sample)&0x7f800000)==0) sample=0.0f
#else
#define undenormalise(sample)
#endif
#endif//_denormals_
//ends
<|file_sep|>updated/insts/jg/FREEVERB/denormals.h | // Written by Jezar at Dreampoint, June 2000
// http://www.dreampoint.co.uk
// Based on IS_DENORMAL macro by Jon Watte
// This code is public domain
#ifndef _denormals_
#define _denormals_
#if defined(i386)
#ifdef NOMORE // original code doesn't work on recent gcc compilers
#define undenormalise(sample) \
if (((*(unsigned int*)&sample)&0x7f800000) == 0) sample = 0.0f
#else // !NOMORE
// see <ccrma-mail.stanford.edu/pipermail/planetccrma/2005-January/007868.html>
static inline float undenormalise(volatile float s)
{
s += 9.8607615E-32f; | <|file_sep|>original/insts/jg/FREEVERB/denormals.h
// Macro for killing denormalled numbers
//
// Written by Jezar at Dreampoint, June 2000
// http://www.dreampoint.co.uk
// Based on IS_DENORMAL macro by Jon Watte
// This code is public domain
#ifndef _denormals_
#define _denormals_
#if 0
#define undenormalise(sample) if(((*(unsigned int*)&sample)&0x7f800000)==0) sample=0.0f
#else
#define undenormalise(sample)
#endif
#endif//_denormals_
//ends
<|file_sep|>current/insts/jg/FREEVERB/denormals.h
// Macro for killing denormalled numbers
//
// Written by Jezar at Dreampoint, June 2000
// http://www.dreampoint.co.uk
// Based on IS_DENORMAL macro by Jon Watte
// This code is public domain
#ifndef _denormals_
#define _denormals_
#if 0
#define undenormalise(sample) if(((*(unsigned int*)&sample)&0x7f800000)==0) sample=0.0f
#else
#define undenormalise(sample)
#endif
#endif//_denormals_
//ends
<|file_sep|>updated/insts/jg/FREEVERB/denormals.h
// Written by Jezar at Dreampoint, June 2000
// http://www.dreampoint.co.uk
// Based on IS_DENORMAL macro by Jon Watte
// This code is public domain
#ifndef _denormals_
#define _denormals_
#if defined(i386)
#ifdef NOMORE // original code doesn't work on recent gcc compilers
#define undenormalise(sample) \
if (((*(unsigned int*)&sample)&0x7f800000) == 0) sample = 0.0f
#else // !NOMORE
// see <ccrma-mail.stanford.edu/pipermail/planetccrma/2005-January/007868.html>
static inline float undenormalise(volatile float s)
{
s += 9.8607615E-32f; | 67c6e446503055f3b29f2ecd8269b09f5743ab85 | insts/jg/FREEVERB/denormals.h | insts/jg/FREEVERB/denormals.h | C |
<|file_sep|>app/js/script.js.diff
original:
for (var i = 1; i < 50; i++) {
var x = (spacing * i) + (squareD * (i - 1))
var y = spacing
updated:
// Create a line of squares
var i = 1
var x = 0
var y = spacing
while (x < canvas.width) {
x = (spacing * i) + (squareD * (i - 1))
y = spacing
<|file_sep|>app/js/script.js.diff
original:
updated:
i++
<|file_sep|>original/app/js/script.js
var rectMainColor = '#ff0000'
// Square Dimension
var squareD = 6
// spacing beetween squares
var spacing = 3
c.fillStyle = 'chartreuse'
c.fillRect(spacing, 50, squareD, squareD)
c.fillRect((spacing * 2) + squareD, 50, squareD, squareD)
c.fillRect((spacing * 3) + (squareD * 2), 50, squareD, squareD)
c.fillRect((spacing * 4) + (squareD * 3), 50, squareD, squareD)
c.fillStyle = rectMainColor
for (var i = 1; i < 50; i++) {
var x = (spacing * i) + (squareD * (i - 1))
var y = spacing
c.fillRect(x, y, squareD, squareD)
}
})
<|file_sep|>current/app/js/script.js
var spacing = 3
c.fillStyle = 'chartreuse'
c.fillRect(spacing, 50, squareD, squareD)
c.fillRect((spacing * 2) + squareD, 50, squareD, squareD)
c.fillRect((spacing * 3) + (squareD * 2), 50, squareD, squareD)
c.fillRect((spacing * 4) + (squareD * 3), 50, squareD, squareD)
c.fillStyle = rectMainColor
// Create a line of squares
var i = 1
var x = 0
var y = spacing
while (x < canvas.width) {
x = (spacing * i) + (squareD * (i - 1))
y = spacing
c.fillRect(x, y, squareD, squareD)
i++
}
})
<|file_sep|>updated/app/js/script.js |
c.fillStyle = 'chartreuse'
c.fillRect(spacing, 50, squareD, squareD)
c.fillRect((spacing * 2) + squareD, 50, squareD, squareD)
c.fillRect((spacing * 3) + (squareD * 2), 50, squareD, squareD)
c.fillRect((spacing * 4) + (squareD * 3), 50, squareD, squareD)
c.fillStyle = rectMainColor
// Create a line of squares
var i = 1
var x = 0
var y = spacing
while (x < canvas.width) {
x = (spacing * i) + (squareD * (i - 1))
y = spacing
c.fillRect(x, y, squareD, squareD)
i++
}
console.log(i)
}) | <|file_sep|>app/js/script.js.diff
original:
for (var i = 1; i < 50; i++) {
var x = (spacing * i) + (squareD * (i - 1))
var y = spacing
updated:
// Create a line of squares
var i = 1
var x = 0
var y = spacing
while (x < canvas.width) {
x = (spacing * i) + (squareD * (i - 1))
y = spacing
<|file_sep|>app/js/script.js.diff
original:
updated:
i++
<|file_sep|>original/app/js/script.js
var rectMainColor = '#ff0000'
// Square Dimension
var squareD = 6
// spacing beetween squares
var spacing = 3
c.fillStyle = 'chartreuse'
c.fillRect(spacing, 50, squareD, squareD)
c.fillRect((spacing * 2) + squareD, 50, squareD, squareD)
c.fillRect((spacing * 3) + (squareD * 2), 50, squareD, squareD)
c.fillRect((spacing * 4) + (squareD * 3), 50, squareD, squareD)
c.fillStyle = rectMainColor
for (var i = 1; i < 50; i++) {
var x = (spacing * i) + (squareD * (i - 1))
var y = spacing
c.fillRect(x, y, squareD, squareD)
}
})
<|file_sep|>current/app/js/script.js
var spacing = 3
c.fillStyle = 'chartreuse'
c.fillRect(spacing, 50, squareD, squareD)
c.fillRect((spacing * 2) + squareD, 50, squareD, squareD)
c.fillRect((spacing * 3) + (squareD * 2), 50, squareD, squareD)
c.fillRect((spacing * 4) + (squareD * 3), 50, squareD, squareD)
c.fillStyle = rectMainColor
// Create a line of squares
var i = 1
var x = 0
var y = spacing
while (x < canvas.width) {
x = (spacing * i) + (squareD * (i - 1))
y = spacing
c.fillRect(x, y, squareD, squareD)
i++
}
})
<|file_sep|>updated/app/js/script.js
c.fillStyle = 'chartreuse'
c.fillRect(spacing, 50, squareD, squareD)
c.fillRect((spacing * 2) + squareD, 50, squareD, squareD)
c.fillRect((spacing * 3) + (squareD * 2), 50, squareD, squareD)
c.fillRect((spacing * 4) + (squareD * 3), 50, squareD, squareD)
c.fillStyle = rectMainColor
// Create a line of squares
var i = 1
var x = 0
var y = spacing
while (x < canvas.width) {
x = (spacing * i) + (squareD * (i - 1))
y = spacing
c.fillRect(x, y, squareD, squareD)
i++
}
console.log(i)
}) | a28398835f182b28f44e811a15cf25d28c7a316e | app/js/script.js | app/js/script.js | JavaScript |
<|file_sep|>original/minitest-sugar.gemspec
require_relative "lib/minitest/sugar/version"
Gem::Specification.new do |s|
s.name = "minitest-sugar"
s.version = Minitest::Sugar::VERSION
s.summary = "Useful helpers for Minitest 5+"
s.description = "Enough sugar for your Minitest diet"
s.author = "Francesco Rodriguez"
s.email = "frodsan@protonmail.ch"
s.homepage = "https://github.com/frodsan/minitest-sugar"
s.license = "MIT"
s.files = Dir["LICENSE", "README.md", "lib/**/*.rb"]
s.test_files = Dir["test/**/*.rb"]
s.add_dependency "minitest", "~> 5.0"
end
<|file_sep|>current/minitest-sugar.gemspec
require_relative "lib/minitest/sugar/version"
Gem::Specification.new do |s|
s.name = "minitest-sugar"
s.version = Minitest::Sugar::VERSION
s.summary = "Useful helpers for Minitest 5+"
s.description = "Enough sugar for your Minitest diet"
s.author = "Francesco Rodriguez"
s.email = "frodsan@protonmail.ch"
s.homepage = "https://github.com/frodsan/minitest-sugar"
s.license = "MIT"
s.files = Dir["LICENSE", "README.md", "lib/**/*.rb"]
s.test_files = Dir["test/**/*.rb"]
s.add_dependency "minitest", "~> 5.0"
end
<|file_sep|>updated/minitest-sugar.gemspec | require_relative "lib/minitest/sugar/version"
Gem::Specification.new do |s|
s.name = "minitest-sugar"
s.version = Minitest::Sugar::VERSION
s.summary = "Useful helpers for Minitest 5+"
s.description = "Enough sugar for your Minitest diet"
s.author = "Francesco Rodriguez"
s.email = "frodsan@protonmail.ch"
s.homepage = "https://github.com/frodsan/minitest-sugar"
s.license = "MIT"
s.files = Dir["LICENSE", "README.md", "lib/**/*.rb"]
s.test_files = Dir["test/**/*.rb"]
s.add_dependency "minitest", "~> 5.0"
s.add_development_dependency "rake", "~> 10.0"
end | <|file_sep|>original/minitest-sugar.gemspec
require_relative "lib/minitest/sugar/version"
Gem::Specification.new do |s|
s.name = "minitest-sugar"
s.version = Minitest::Sugar::VERSION
s.summary = "Useful helpers for Minitest 5+"
s.description = "Enough sugar for your Minitest diet"
s.author = "Francesco Rodriguez"
s.email = "frodsan@protonmail.ch"
s.homepage = "https://github.com/frodsan/minitest-sugar"
s.license = "MIT"
s.files = Dir["LICENSE", "README.md", "lib/**/*.rb"]
s.test_files = Dir["test/**/*.rb"]
s.add_dependency "minitest", "~> 5.0"
end
<|file_sep|>current/minitest-sugar.gemspec
require_relative "lib/minitest/sugar/version"
Gem::Specification.new do |s|
s.name = "minitest-sugar"
s.version = Minitest::Sugar::VERSION
s.summary = "Useful helpers for Minitest 5+"
s.description = "Enough sugar for your Minitest diet"
s.author = "Francesco Rodriguez"
s.email = "frodsan@protonmail.ch"
s.homepage = "https://github.com/frodsan/minitest-sugar"
s.license = "MIT"
s.files = Dir["LICENSE", "README.md", "lib/**/*.rb"]
s.test_files = Dir["test/**/*.rb"]
s.add_dependency "minitest", "~> 5.0"
end
<|file_sep|>updated/minitest-sugar.gemspec
require_relative "lib/minitest/sugar/version"
Gem::Specification.new do |s|
s.name = "minitest-sugar"
s.version = Minitest::Sugar::VERSION
s.summary = "Useful helpers for Minitest 5+"
s.description = "Enough sugar for your Minitest diet"
s.author = "Francesco Rodriguez"
s.email = "frodsan@protonmail.ch"
s.homepage = "https://github.com/frodsan/minitest-sugar"
s.license = "MIT"
s.files = Dir["LICENSE", "README.md", "lib/**/*.rb"]
s.test_files = Dir["test/**/*.rb"]
s.add_dependency "minitest", "~> 5.0"
s.add_development_dependency "rake", "~> 10.0"
end | 1d2389d9ecfcb50f9069a05926d5c3c2ebbc9308 | minitest-sugar.gemspec | minitest-sugar.gemspec | Ruby |
<|file_sep|>original/src/parser/python/print_libpython.py
static_link = 0
# Note that this adds libraries we've certainly already linked to.
libs = distutils.sysconfig.get_config_var("LIBS")
libs += " " + distutils.sysconfig.get_config_var("SYSLIBS")
if static_link:
prefix = distutils.sysconfig.get_config_var("LIBPL")
pythonlib = distutils.sysconfig.get_config_var("BLDLIBRARY")
if len(pythonlib) > 0:
print prefix + '/' + pythonlib, libs
sys.exit(0)
# else try shared linkage
linkshared = distutils.sysconfig.get_config_vars("LINKFORSHARED")[0]
# FIXME: Will this sanity test work for all platforms??
# NB: sys.platform can help us if we need to test for platform
if linkshared.find("ython") != -1:
print linkshared, libs
sys.exit(0)
<|file_sep|>current/src/parser/python/print_libpython.py
static_link = 0
# Note that this adds libraries we've certainly already linked to.
libs = distutils.sysconfig.get_config_var("LIBS")
libs += " " + distutils.sysconfig.get_config_var("SYSLIBS")
if static_link:
prefix = distutils.sysconfig.get_config_var("LIBPL")
pythonlib = distutils.sysconfig.get_config_var("BLDLIBRARY")
if len(pythonlib) > 0:
print prefix + '/' + pythonlib, libs
sys.exit(0)
# else try shared linkage
linkshared = distutils.sysconfig.get_config_vars("LINKFORSHARED")[0]
# FIXME: Will this sanity test work for all platforms??
# NB: sys.platform can help us if we need to test for platform
if linkshared.find("ython") != -1:
print linkshared, libs
sys.exit(0)
<|file_sep|>updated/src/parser/python/print_libpython.py | static_link = 0
# Note that this adds libraries we've certainly already linked to.
libs = distutils.sysconfig.get_config_var("LIBS")
libs += " " + distutils.sysconfig.get_config_var("SYSLIBS")
if static_link:
prefix = distutils.sysconfig.get_config_var("LIBPL")
pythonlib = distutils.sysconfig.get_config_var("BLDLIBRARY")
if len(pythonlib) > 0:
import os.path
plib = prefix + '/' + pythonlib
# Must see if file exists, because it doesn't in Jaguar!
if os.path.exists(plib):
print plib, libs
sys.exit(0)
# else try shared linkage
linkshared = distutils.sysconfig.get_config_vars("LINKFORSHARED")[0]
# FIXME: Will this sanity test work for all platforms?? | <|file_sep|>original/src/parser/python/print_libpython.py
static_link = 0
# Note that this adds libraries we've certainly already linked to.
libs = distutils.sysconfig.get_config_var("LIBS")
libs += " " + distutils.sysconfig.get_config_var("SYSLIBS")
if static_link:
prefix = distutils.sysconfig.get_config_var("LIBPL")
pythonlib = distutils.sysconfig.get_config_var("BLDLIBRARY")
if len(pythonlib) > 0:
print prefix + '/' + pythonlib, libs
sys.exit(0)
# else try shared linkage
linkshared = distutils.sysconfig.get_config_vars("LINKFORSHARED")[0]
# FIXME: Will this sanity test work for all platforms??
# NB: sys.platform can help us if we need to test for platform
if linkshared.find("ython") != -1:
print linkshared, libs
sys.exit(0)
<|file_sep|>current/src/parser/python/print_libpython.py
static_link = 0
# Note that this adds libraries we've certainly already linked to.
libs = distutils.sysconfig.get_config_var("LIBS")
libs += " " + distutils.sysconfig.get_config_var("SYSLIBS")
if static_link:
prefix = distutils.sysconfig.get_config_var("LIBPL")
pythonlib = distutils.sysconfig.get_config_var("BLDLIBRARY")
if len(pythonlib) > 0:
print prefix + '/' + pythonlib, libs
sys.exit(0)
# else try shared linkage
linkshared = distutils.sysconfig.get_config_vars("LINKFORSHARED")[0]
# FIXME: Will this sanity test work for all platforms??
# NB: sys.platform can help us if we need to test for platform
if linkshared.find("ython") != -1:
print linkshared, libs
sys.exit(0)
<|file_sep|>updated/src/parser/python/print_libpython.py
static_link = 0
# Note that this adds libraries we've certainly already linked to.
libs = distutils.sysconfig.get_config_var("LIBS")
libs += " " + distutils.sysconfig.get_config_var("SYSLIBS")
if static_link:
prefix = distutils.sysconfig.get_config_var("LIBPL")
pythonlib = distutils.sysconfig.get_config_var("BLDLIBRARY")
if len(pythonlib) > 0:
import os.path
plib = prefix + '/' + pythonlib
# Must see if file exists, because it doesn't in Jaguar!
if os.path.exists(plib):
print plib, libs
sys.exit(0)
# else try shared linkage
linkshared = distutils.sysconfig.get_config_vars("LINKFORSHARED")[0]
# FIXME: Will this sanity test work for all platforms?? | 523ee893118413caa45e66869e9380f5e52f3402 | src/parser/python/print_libpython.py | src/parser/python/print_libpython.py | Python |
<|file_sep|>app/Console/Kernel.php.diff
original:
updated:
use App\Jobs\NoAttendanceJediPush;
<|file_sep|>original/app/Console/Kernel.php
*
* @return void
*/
protected function schedule(Schedule $schedule): void
{
$schedule->command('horizon:snapshot')->everyFiveMinutes();
$schedule->job(new WeeklyAttendance())->weekly()->sundays()->at('11:00');
$schedule->job(new DailyDuesSummary())->daily()->at('11:00');
}
/**
* Register the commands for the application.
*
* @return void
*/
protected function commands(): void
{
$this->load(__DIR__.'/Commands');
include base_path('routes/console.php');
<|file_sep|>current/app/Console/Kernel.php
* @param \Illuminate\Console\Scheduling\Schedule $schedule
*
* @return void
*/
protected function schedule(Schedule $schedule): void
{
$schedule->command('horizon:snapshot')->everyFiveMinutes();
$schedule->job(new WeeklyAttendance())->weekly()->sundays()->at('11:00');
$schedule->job(new DailyDuesSummary())->daily()->at('11:00');
}
/**
* Register the commands for the application.
*
* @return void
*/
protected function commands(): void
{
$this->load(__DIR__.'/Commands');
<|file_sep|>updated/app/Console/Kernel.php | * @param \Illuminate\Console\Scheduling\Schedule $schedule
*
* @return void
*/
protected function schedule(Schedule $schedule): void
{
$schedule->command('horizon:snapshot')->everyFiveMinutes();
$schedule->job(new WeeklyAttendance())->weekly()->sundays()->at('11:00');
$schedule->job(new DailyDuesSummary())->daily()->at('11:00');
$schedule->job(new NoAttendanceJediPush())->daily()->at('10:00');
}
/**
* Register the commands for the application.
*
* @return void
*/
protected function commands(): void
{
$this->load(__DIR__.'/Commands'); | <|file_sep|>app/Console/Kernel.php.diff
original:
updated:
use App\Jobs\NoAttendanceJediPush;
<|file_sep|>original/app/Console/Kernel.php
*
* @return void
*/
protected function schedule(Schedule $schedule): void
{
$schedule->command('horizon:snapshot')->everyFiveMinutes();
$schedule->job(new WeeklyAttendance())->weekly()->sundays()->at('11:00');
$schedule->job(new DailyDuesSummary())->daily()->at('11:00');
}
/**
* Register the commands for the application.
*
* @return void
*/
protected function commands(): void
{
$this->load(__DIR__.'/Commands');
include base_path('routes/console.php');
<|file_sep|>current/app/Console/Kernel.php
* @param \Illuminate\Console\Scheduling\Schedule $schedule
*
* @return void
*/
protected function schedule(Schedule $schedule): void
{
$schedule->command('horizon:snapshot')->everyFiveMinutes();
$schedule->job(new WeeklyAttendance())->weekly()->sundays()->at('11:00');
$schedule->job(new DailyDuesSummary())->daily()->at('11:00');
}
/**
* Register the commands for the application.
*
* @return void
*/
protected function commands(): void
{
$this->load(__DIR__.'/Commands');
<|file_sep|>updated/app/Console/Kernel.php
* @param \Illuminate\Console\Scheduling\Schedule $schedule
*
* @return void
*/
protected function schedule(Schedule $schedule): void
{
$schedule->command('horizon:snapshot')->everyFiveMinutes();
$schedule->job(new WeeklyAttendance())->weekly()->sundays()->at('11:00');
$schedule->job(new DailyDuesSummary())->daily()->at('11:00');
$schedule->job(new NoAttendanceJediPush())->daily()->at('10:00');
}
/**
* Register the commands for the application.
*
* @return void
*/
protected function commands(): void
{
$this->load(__DIR__.'/Commands'); | f0ea7d7ac5c1d0369168fb0c695f40e6c124f818 | app/Console/Kernel.php | app/Console/Kernel.php | PHP |
<|file_sep|>config/s3ProjectConfig.js.diff
original:
'ember-data.js': fileObject('ember-data', '.js', 'text/javascript', revision, tag, date),
'ember-data.min.js': fileObject('ember-data.min', '.js', 'text/javascript', revision, tag, date),
'ember-data.prod.js': fileObject('ember-data.prod', '.js', 'text/javascript', revision, tag, date)
updated:
'ember-data.js': fileObject('ember-data.js', 'text/javascript', revision, tag, date),
'ember-data.js.map': fileObject('ember-data.js.map', 'application/json', revision, tag, date),
'ember-data.min.js': fileObject('ember-data.min.js', 'text/javascript', revision, tag, date),
'ember-data.prod.js': fileObject('ember-data.prod.js', 'text/javascript', revision, tag, date)
<|file_sep|>config/s3ProjectConfig.js.diff
original:
function fileObject(baseName, extension, contentType, currentRevision, tag, date) {
var fullName = "/" + baseName + extension;
updated:
function fileObject(fileName, contentType, currentRevision, tag, date) {
<|file_sep|>config/s3ProjectConfig.js.diff
original:
'canary' + fullName,
'canary/daily/' + date + fullName,
'canary/shas/' + currentRevision + fullName
updated:
'canary' + fileName,
'canary/daily/' + date + fileName,
'canary/shas/' + currentRevision + fileName
<|file_sep|>config/s3ProjectConfig.js.diff
original:
'stable' + fullName,
'stable/daily/' + date + fullName,
'stable/shas/' + currentRevision + fullName
updated:
'stable' + fileName,
'stable/daily/' + date + fileName,
'stable/shas/' + currentRevision + fileName
<|file_sep|>original/config/s3ProjectConfig.js
return {
contentType: contentType,
destinations: {
canary: [
'canary' + fullName,
'canary/daily/' + date + fullName,
'canary/shas/' + currentRevision + fullName
],
stable: [
'stable' + fullName,
'stable/daily/' + date + fullName,
'stable/shas/' + currentRevision + fullName
],
beta: [
'beta' + fullName,
'beta/daily/' + date + fullName,
'beta/shas/' + currentRevision + fullName
]
}
}
}
<|file_sep|>current/config/s3ProjectConfig.js
return {
contentType: contentType,
destinations: {
canary: [
'canary' + fileName,
'canary/daily/' + date + fileName,
'canary/shas/' + currentRevision + fileName
],
stable: [
'stable' + fileName,
'stable/daily/' + date + fileName,
'stable/shas/' + currentRevision + fileName
],
beta: [
'beta' + fullName,
'beta/daily/' + date + fullName,
'beta/shas/' + currentRevision + fullName
]
}
}
}
<|file_sep|>updated/config/s3ProjectConfig.js | return {
contentType: contentType,
destinations: {
canary: [
'canary' + fileName,
'canary/daily/' + date + fileName,
'canary/shas/' + currentRevision + fileName
],
stable: [
'stable' + fileName,
'stable/daily/' + date + fileName,
'stable/shas/' + currentRevision + fileName
],
beta: [
'beta' + fileName,
'beta/daily/' + date + fileName,
'beta/shas/' + currentRevision + fileName
]
}
}
} | <|file_sep|>config/s3ProjectConfig.js.diff
original:
'ember-data.js': fileObject('ember-data', '.js', 'text/javascript', revision, tag, date),
'ember-data.min.js': fileObject('ember-data.min', '.js', 'text/javascript', revision, tag, date),
'ember-data.prod.js': fileObject('ember-data.prod', '.js', 'text/javascript', revision, tag, date)
updated:
'ember-data.js': fileObject('ember-data.js', 'text/javascript', revision, tag, date),
'ember-data.js.map': fileObject('ember-data.js.map', 'application/json', revision, tag, date),
'ember-data.min.js': fileObject('ember-data.min.js', 'text/javascript', revision, tag, date),
'ember-data.prod.js': fileObject('ember-data.prod.js', 'text/javascript', revision, tag, date)
<|file_sep|>config/s3ProjectConfig.js.diff
original:
function fileObject(baseName, extension, contentType, currentRevision, tag, date) {
var fullName = "/" + baseName + extension;
updated:
function fileObject(fileName, contentType, currentRevision, tag, date) {
<|file_sep|>config/s3ProjectConfig.js.diff
original:
'canary' + fullName,
'canary/daily/' + date + fullName,
'canary/shas/' + currentRevision + fullName
updated:
'canary' + fileName,
'canary/daily/' + date + fileName,
'canary/shas/' + currentRevision + fileName
<|file_sep|>config/s3ProjectConfig.js.diff
original:
'stable' + fullName,
'stable/daily/' + date + fullName,
'stable/shas/' + currentRevision + fullName
updated:
'stable' + fileName,
'stable/daily/' + date + fileName,
'stable/shas/' + currentRevision + fileName
<|file_sep|>original/config/s3ProjectConfig.js
return {
contentType: contentType,
destinations: {
canary: [
'canary' + fullName,
'canary/daily/' + date + fullName,
'canary/shas/' + currentRevision + fullName
],
stable: [
'stable' + fullName,
'stable/daily/' + date + fullName,
'stable/shas/' + currentRevision + fullName
],
beta: [
'beta' + fullName,
'beta/daily/' + date + fullName,
'beta/shas/' + currentRevision + fullName
]
}
}
}
<|file_sep|>current/config/s3ProjectConfig.js
return {
contentType: contentType,
destinations: {
canary: [
'canary' + fileName,
'canary/daily/' + date + fileName,
'canary/shas/' + currentRevision + fileName
],
stable: [
'stable' + fileName,
'stable/daily/' + date + fileName,
'stable/shas/' + currentRevision + fileName
],
beta: [
'beta' + fullName,
'beta/daily/' + date + fullName,
'beta/shas/' + currentRevision + fullName
]
}
}
}
<|file_sep|>updated/config/s3ProjectConfig.js
return {
contentType: contentType,
destinations: {
canary: [
'canary' + fileName,
'canary/daily/' + date + fileName,
'canary/shas/' + currentRevision + fileName
],
stable: [
'stable' + fileName,
'stable/daily/' + date + fileName,
'stable/shas/' + currentRevision + fileName
],
beta: [
'beta' + fileName,
'beta/daily/' + date + fileName,
'beta/shas/' + currentRevision + fileName
]
}
}
} | ef97c2dbab688fd40e603f2169d06f4038c6bdb6 | config/s3ProjectConfig.js | config/s3ProjectConfig.js | JavaScript |
<|file_sep|>original/spec/controllers/user_controller_spec.rb
<|file_sep|>current/spec/controllers/user_controller_spec.rb
<|file_sep|>updated/spec/controllers/user_controller_spec.rb | require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
describe UserController do
describe 'GET signchangeaddress' do
render_views
it "redirects an anonymous request to the signin page" do
get :signchangeaddress
expect(response).to redirect_to(signin_path(:token => PostRedirect.last.token))
end
it "displays the address template" do
user = FactoryGirl.create(:user, :dob => '2/2/2000')
session[:user_id] = user.id
get :signchangeaddress
expect(response).to render_template('signchangeaddress')
end
context 'when supplied with the "submitted_signchangeaddress_do" param' do | <|file_sep|>original/spec/controllers/user_controller_spec.rb
<|file_sep|>current/spec/controllers/user_controller_spec.rb
<|file_sep|>updated/spec/controllers/user_controller_spec.rb
require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
describe UserController do
describe 'GET signchangeaddress' do
render_views
it "redirects an anonymous request to the signin page" do
get :signchangeaddress
expect(response).to redirect_to(signin_path(:token => PostRedirect.last.token))
end
it "displays the address template" do
user = FactoryGirl.create(:user, :dob => '2/2/2000')
session[:user_id] = user.id
get :signchangeaddress
expect(response).to render_template('signchangeaddress')
end
context 'when supplied with the "submitted_signchangeaddress_do" param' do | 4f19b87969dadb278471549ea6d1e3572cb6192e | spec/controllers/user_controller_spec.rb | spec/controllers/user_controller_spec.rb | Ruby |
<|file_sep|>original/travis/sh/buildReleaseWrapper.sh
<|file_sep|>current/travis/sh/buildReleaseWrapper.sh
<|file_sep|>updated/travis/sh/buildReleaseWrapper.sh | #!/usr/bin/env bash
#
# Copyright (C) 2015-2016 Orange
# 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.
#
set -ev
echo "TRAVIS_BRANCH: <$TRAVIS_BRANCH> - TRAVIS_TAG: <$TRAVIS_TAG>"
#Download dependencies
mvnw -q help:evaluate -Dexpression=project.version --settings settings.xml
# Capture execution of maven command - It looks like grep cannot be used like this on travis | <|file_sep|>original/travis/sh/buildReleaseWrapper.sh
<|file_sep|>current/travis/sh/buildReleaseWrapper.sh
<|file_sep|>updated/travis/sh/buildReleaseWrapper.sh
#!/usr/bin/env bash
#
# Copyright (C) 2015-2016 Orange
# 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.
#
set -ev
echo "TRAVIS_BRANCH: <$TRAVIS_BRANCH> - TRAVIS_TAG: <$TRAVIS_TAG>"
#Download dependencies
mvnw -q help:evaluate -Dexpression=project.version --settings settings.xml
# Capture execution of maven command - It looks like grep cannot be used like this on travis | 9194754c1a663b0d128efda5cd796e105defc2d7 | travis/sh/buildReleaseWrapper.sh | travis/sh/buildReleaseWrapper.sh | Shell |
<|file_sep|>original/message.go
package coinbase
type Message struct {
Type string `json:"type"`
TradeId int `json:"trade_id,number"`
OrderId string `json:"order_id"`
Sequence int `json:"sequence,number"`
MakerOrderId string `json:"maker_order_id"`
TakerOrderId string `json:"taker_order_id"`
Time Time `json:"time,string"`
RemainingSize float64 `json:"remaining_size,string"`
NewSize float64 `json:"new_size,string"`
OldSize float64 `json:"old_size,string"`
Size float64 `json:"size,string"`
Price float64 `json:"price,string"`
Side string `json:"side"`
Reason string `json:"reason"`
}
<|file_sep|>current/message.go
package coinbase
type Message struct {
Type string `json:"type"`
TradeId int `json:"trade_id,number"`
OrderId string `json:"order_id"`
Sequence int `json:"sequence,number"`
MakerOrderId string `json:"maker_order_id"`
TakerOrderId string `json:"taker_order_id"`
Time Time `json:"time,string"`
RemainingSize float64 `json:"remaining_size,string"`
NewSize float64 `json:"new_size,string"`
OldSize float64 `json:"old_size,string"`
Size float64 `json:"size,string"`
Price float64 `json:"price,string"`
Side string `json:"side"`
Reason string `json:"reason"`
}
<|file_sep|>updated/message.go |
type Message struct {
Type string `json:"type"`
TradeId int `json:"trade_id,number"`
OrderId string `json:"order_id"`
Sequence int `json:"sequence,number"`
MakerOrderId string `json:"maker_order_id"`
TakerOrderId string `json:"taker_order_id"`
Time Time `json:"time,string"`
RemainingSize float64 `json:"remaining_size,string"`
NewSize float64 `json:"new_size,string"`
OldSize float64 `json:"old_size,string"`
Size float64 `json:"size,string"`
Price float64 `json:"price,string"`
Side string `json:"side"`
Reason string `json:"reason"`
OrderType string `json:"order_type"`
Funds float64 `json:"funds,string"`
NewFunds float64 `json:"new_funds,string"`
OldFunds float64 `json:"old_funds,string"`
} | <|file_sep|>original/message.go
package coinbase
type Message struct {
Type string `json:"type"`
TradeId int `json:"trade_id,number"`
OrderId string `json:"order_id"`
Sequence int `json:"sequence,number"`
MakerOrderId string `json:"maker_order_id"`
TakerOrderId string `json:"taker_order_id"`
Time Time `json:"time,string"`
RemainingSize float64 `json:"remaining_size,string"`
NewSize float64 `json:"new_size,string"`
OldSize float64 `json:"old_size,string"`
Size float64 `json:"size,string"`
Price float64 `json:"price,string"`
Side string `json:"side"`
Reason string `json:"reason"`
}
<|file_sep|>current/message.go
package coinbase
type Message struct {
Type string `json:"type"`
TradeId int `json:"trade_id,number"`
OrderId string `json:"order_id"`
Sequence int `json:"sequence,number"`
MakerOrderId string `json:"maker_order_id"`
TakerOrderId string `json:"taker_order_id"`
Time Time `json:"time,string"`
RemainingSize float64 `json:"remaining_size,string"`
NewSize float64 `json:"new_size,string"`
OldSize float64 `json:"old_size,string"`
Size float64 `json:"size,string"`
Price float64 `json:"price,string"`
Side string `json:"side"`
Reason string `json:"reason"`
}
<|file_sep|>updated/message.go
type Message struct {
Type string `json:"type"`
TradeId int `json:"trade_id,number"`
OrderId string `json:"order_id"`
Sequence int `json:"sequence,number"`
MakerOrderId string `json:"maker_order_id"`
TakerOrderId string `json:"taker_order_id"`
Time Time `json:"time,string"`
RemainingSize float64 `json:"remaining_size,string"`
NewSize float64 `json:"new_size,string"`
OldSize float64 `json:"old_size,string"`
Size float64 `json:"size,string"`
Price float64 `json:"price,string"`
Side string `json:"side"`
Reason string `json:"reason"`
OrderType string `json:"order_type"`
Funds float64 `json:"funds,string"`
NewFunds float64 `json:"new_funds,string"`
OldFunds float64 `json:"old_funds,string"`
} | 5c3ed5d14c129b7cf0370081e0d73203341c11a1 | message.go | message.go | Go |
<|file_sep|>original/src/themes/material/sort.scss
@import "variables";
table {
th:hover {
.sort {
visibility: visible !important;
}
}
}
.sort {
display: inline;
cursor: pointer;
visibility: hidden;
width: 10px;
outline: none;
border: none;
background: transparent;
padding: 0;
&.active {
<|file_sep|>current/src/themes/material/sort.scss
@import "variables";
table {
th:hover {
.sort {
visibility: visible !important;
}
}
}
.sort {
display: inline;
cursor: pointer;
visibility: hidden;
width: 10px;
outline: none;
border: none;
background: transparent;
padding: 0;
&.active {
<|file_sep|>updated/src/themes/material/sort.scss | @import "variables";
table {
th:hover {
.sort {
visibility: visible;
}
}
}
.sort {
display: inline;
cursor: pointer;
visibility: hidden;
width: 10px;
outline: none;
border: none;
background: transparent;
padding: 0;
&.active { | <|file_sep|>original/src/themes/material/sort.scss
@import "variables";
table {
th:hover {
.sort {
visibility: visible !important;
}
}
}
.sort {
display: inline;
cursor: pointer;
visibility: hidden;
width: 10px;
outline: none;
border: none;
background: transparent;
padding: 0;
&.active {
<|file_sep|>current/src/themes/material/sort.scss
@import "variables";
table {
th:hover {
.sort {
visibility: visible !important;
}
}
}
.sort {
display: inline;
cursor: pointer;
visibility: hidden;
width: 10px;
outline: none;
border: none;
background: transparent;
padding: 0;
&.active {
<|file_sep|>updated/src/themes/material/sort.scss
@import "variables";
table {
th:hover {
.sort {
visibility: visible;
}
}
}
.sort {
display: inline;
cursor: pointer;
visibility: hidden;
width: 10px;
outline: none;
border: none;
background: transparent;
padding: 0;
&.active { | b3606f05c14fa907512a53a2b685a8a96b4c66ca | src/themes/material/sort.scss | src/themes/material/sort.scss | SCSS |
<|file_sep|>package.json.diff
original:
"build": "uglifyjs js/bundle.js -o build/bundle.min.js --comments '/^\\!|^@preserve|^@cc_on|\\bMIT\\b|\\bMPL\\b|\\bGPL\\b|\\(c\\)|License|Copyright/' -c -m; uglifyjs js/app.js -o build/app.min.js -c -m",
updated:
"build": "uglifyjs js/bundle.js -o build/bundle.min.js --comments '/^\\!|^@preserve|^@cc_on|\\bMIT\\b|\\bMPL\\b|\\bGPL\\b|\\(c\\)|License|Copyright/' -c -m; uglifyjs js/app.js -o build/app.min.js -c -m; cat css/*.css | cleancss -o build/app.min.css",
<|file_sep|>original/package.json
{
"name": "loclock",
"version": "0.1.5",
"scripts": {
"build": "uglifyjs js/bundle.js -o build/bundle.min.js --comments '/^\\!|^@preserve|^@cc_on|\\bMIT\\b|\\bMPL\\b|\\bGPL\\b|\\(c\\)|License|Copyright/' -c -m; uglifyjs js/app.js -o build/app.min.js -c -m",
"bundle": "browserify -r iscroll -r js-base64 -i buffer -r moment-timezone -o js/bundle.js",
"start": "browser-sync start --files='index.html, css/*.css, js/*.js' --server"
},
"dependencies": {
"iscroll": "^5.1.3",
"js-base64": "^2.1.8",
"moment-timezone": "^0.3.1"
},
"devDependencies": {
"browser-sync": "^2.7.1",
"browserify": "^10.1.3",
"uglify-js": "^2.4.21"
},
"private": true
}
<|file_sep|>current/package.json
{
"name": "loclock",
"version": "0.1.5",
"scripts": {
"build": "uglifyjs js/bundle.js -o build/bundle.min.js --comments '/^\\!|^@preserve|^@cc_on|\\bMIT\\b|\\bMPL\\b|\\bGPL\\b|\\(c\\)|License|Copyright/' -c -m; uglifyjs js/app.js -o build/app.min.js -c -m; cat css/*.css | cleancss -o build/app.min.css",
"bundle": "browserify -r iscroll -r js-base64 -i buffer -r moment-timezone -o js/bundle.js",
"start": "browser-sync start --files='index.html, css/*.css, js/*.js' --server"
},
"dependencies": {
"iscroll": "^5.1.3",
"js-base64": "^2.1.8",
"moment-timezone": "^0.3.1"
},
"devDependencies": {
"browser-sync": "^2.7.1",
"browserify": "^10.1.3",
"uglify-js": "^2.4.21"
},
"private": true
}
<|file_sep|>updated/package.json | {
"name": "loclock",
"version": "0.1.5",
"scripts": {
"build": "uglifyjs js/bundle.js -o build/bundle.min.js --comments '/^\\!|^@preserve|^@cc_on|\\bMIT\\b|\\bMPL\\b|\\bGPL\\b|\\(c\\)|License|Copyright/' -c -m; uglifyjs js/app.js -o build/app.min.js -c -m; cat css/*.css | cleancss -o build/app.min.css",
"bundle": "browserify -r iscroll -r js-base64 -i buffer -r moment-timezone -o js/bundle.js",
"start": "browser-sync start --files='index.html, css/*.css, js/*.js' --server"
},
"dependencies": {
"iscroll": "^5.1.3",
"js-base64": "^2.1.8",
"moment-timezone": "^0.3.1"
},
"devDependencies": {
"browser-sync": "^2.7.1",
"browserify": "^10.1.3",
"clean-css": "^3.2.10",
"uglify-js": "^2.4.21"
},
"private": true
} | <|file_sep|>package.json.diff
original:
"build": "uglifyjs js/bundle.js -o build/bundle.min.js --comments '/^\\!|^@preserve|^@cc_on|\\bMIT\\b|\\bMPL\\b|\\bGPL\\b|\\(c\\)|License|Copyright/' -c -m; uglifyjs js/app.js -o build/app.min.js -c -m",
updated:
"build": "uglifyjs js/bundle.js -o build/bundle.min.js --comments '/^\\!|^@preserve|^@cc_on|\\bMIT\\b|\\bMPL\\b|\\bGPL\\b|\\(c\\)|License|Copyright/' -c -m; uglifyjs js/app.js -o build/app.min.js -c -m; cat css/*.css | cleancss -o build/app.min.css",
<|file_sep|>original/package.json
{
"name": "loclock",
"version": "0.1.5",
"scripts": {
"build": "uglifyjs js/bundle.js -o build/bundle.min.js --comments '/^\\!|^@preserve|^@cc_on|\\bMIT\\b|\\bMPL\\b|\\bGPL\\b|\\(c\\)|License|Copyright/' -c -m; uglifyjs js/app.js -o build/app.min.js -c -m",
"bundle": "browserify -r iscroll -r js-base64 -i buffer -r moment-timezone -o js/bundle.js",
"start": "browser-sync start --files='index.html, css/*.css, js/*.js' --server"
},
"dependencies": {
"iscroll": "^5.1.3",
"js-base64": "^2.1.8",
"moment-timezone": "^0.3.1"
},
"devDependencies": {
"browser-sync": "^2.7.1",
"browserify": "^10.1.3",
"uglify-js": "^2.4.21"
},
"private": true
}
<|file_sep|>current/package.json
{
"name": "loclock",
"version": "0.1.5",
"scripts": {
"build": "uglifyjs js/bundle.js -o build/bundle.min.js --comments '/^\\!|^@preserve|^@cc_on|\\bMIT\\b|\\bMPL\\b|\\bGPL\\b|\\(c\\)|License|Copyright/' -c -m; uglifyjs js/app.js -o build/app.min.js -c -m; cat css/*.css | cleancss -o build/app.min.css",
"bundle": "browserify -r iscroll -r js-base64 -i buffer -r moment-timezone -o js/bundle.js",
"start": "browser-sync start --files='index.html, css/*.css, js/*.js' --server"
},
"dependencies": {
"iscroll": "^5.1.3",
"js-base64": "^2.1.8",
"moment-timezone": "^0.3.1"
},
"devDependencies": {
"browser-sync": "^2.7.1",
"browserify": "^10.1.3",
"uglify-js": "^2.4.21"
},
"private": true
}
<|file_sep|>updated/package.json
{
"name": "loclock",
"version": "0.1.5",
"scripts": {
"build": "uglifyjs js/bundle.js -o build/bundle.min.js --comments '/^\\!|^@preserve|^@cc_on|\\bMIT\\b|\\bMPL\\b|\\bGPL\\b|\\(c\\)|License|Copyright/' -c -m; uglifyjs js/app.js -o build/app.min.js -c -m; cat css/*.css | cleancss -o build/app.min.css",
"bundle": "browserify -r iscroll -r js-base64 -i buffer -r moment-timezone -o js/bundle.js",
"start": "browser-sync start --files='index.html, css/*.css, js/*.js' --server"
},
"dependencies": {
"iscroll": "^5.1.3",
"js-base64": "^2.1.8",
"moment-timezone": "^0.3.1"
},
"devDependencies": {
"browser-sync": "^2.7.1",
"browserify": "^10.1.3",
"clean-css": "^3.2.10",
"uglify-js": "^2.4.21"
},
"private": true
} | cca15bcd9c088a3aebe7e6160d5bd4d8ef891ad9 | package.json | package.json | JSON |
<|file_sep|>original/CHANGELOG.md
# Changelog
## v0.4.1 (2017-09-03)
### Fixed
- Fix path to service provider in composer.json
## v0.4 (2017-09-03)
### Added
- Add support for Laravel 5.5 version
## v0.3 (2017-08-04)
### Added
- Create default `ImageController` for showing processed images
## v0.2.2 (2017-08-04)
### Changed
- Add `width` and `height` parameters at beginning of options array in `url()` method
<|file_sep|>current/CHANGELOG.md
# Changelog
## v0.4.1 (2017-09-03)
### Fixed
- Fix path to service provider in composer.json
## v0.4 (2017-09-03)
### Added
- Add support for Laravel 5.5 version
## v0.3 (2017-08-04)
### Added
- Create default `ImageController` for showing processed images
## v0.2.2 (2017-08-04)
### Changed
- Add `width` and `height` parameters at beginning of options array in `url()` method
<|file_sep|>updated/CHANGELOG.md | # Changelog
## v0.4.2 (2017-09-03)
### Fixed
- Fix service provider namespace in composer.json
## v0.4.1 (2017-09-03)
### Fixed
- Fix path to service provider in composer.json
## v0.4 (2017-09-03)
### Added
- Add support for Laravel 5.5 version
## v0.3 (2017-08-04)
### Added
- Create default `ImageController` for showing processed images | <|file_sep|>original/CHANGELOG.md
# Changelog
## v0.4.1 (2017-09-03)
### Fixed
- Fix path to service provider in composer.json
## v0.4 (2017-09-03)
### Added
- Add support for Laravel 5.5 version
## v0.3 (2017-08-04)
### Added
- Create default `ImageController` for showing processed images
## v0.2.2 (2017-08-04)
### Changed
- Add `width` and `height` parameters at beginning of options array in `url()` method
<|file_sep|>current/CHANGELOG.md
# Changelog
## v0.4.1 (2017-09-03)
### Fixed
- Fix path to service provider in composer.json
## v0.4 (2017-09-03)
### Added
- Add support for Laravel 5.5 version
## v0.3 (2017-08-04)
### Added
- Create default `ImageController` for showing processed images
## v0.2.2 (2017-08-04)
### Changed
- Add `width` and `height` parameters at beginning of options array in `url()` method
<|file_sep|>updated/CHANGELOG.md
# Changelog
## v0.4.2 (2017-09-03)
### Fixed
- Fix service provider namespace in composer.json
## v0.4.1 (2017-09-03)
### Fixed
- Fix path to service provider in composer.json
## v0.4 (2017-09-03)
### Added
- Add support for Laravel 5.5 version
## v0.3 (2017-08-04)
### Added
- Create default `ImageController` for showing processed images | ba7bfa621146c842e29c9c1bbed86c66ab3c581b | CHANGELOG.md | CHANGELOG.md | Markdown |
<|file_sep|>original/README.md

> A Node.js toolkit for micro service architectures
#senecajs.org
This repo contains the documentation website for [Seneca.js][]. This documentation is available at
[senecajs.org][] or can be ran locally by cloning this repo and following the steps below.
## Contributing
Seneca and its docs are __open projects__ and encourage participation. If you feel you can help in
any way, be it with examples, extra testing, tutorials, or new features please be our guest.
Please make all content changes in the [/src/pages][] folder. All changes are built just before we
redeploy the site so you only need to include changes in your PR. Upon your PR being accepted your
changes will be deployed.
Please see our [/contribute][] page for more information.
## Run Locally
After cloning, you will need to get dependencies via npm,
```
<|file_sep|>current/README.md

> A Node.js toolkit for micro service architectures
#senecajs.org
This repo contains the documentation website for [Seneca.js][]. This documentation is available at
[senecajs.org][] or can be ran locally by cloning this repo and following the steps below.
## Contributing
Seneca and its docs are __open projects__ and encourage participation. If you feel you can help in
any way, be it with examples, extra testing, tutorials, or new features please be our guest.
Please make all content changes in the [/src/pages][] folder. All changes are built just before we
redeploy the site so you only need to include changes in your PR. Upon your PR being accepted your
changes will be deployed.
Please see our [/contribute][] page for more information.
## Run Locally
After cloning, you will need to get dependencies via npm,
```
<|file_sep|>updated/README.md | 
> A Node.js toolkit for micro service architectures
#senecajs.org
This repo contains the documentation website for [Seneca.js][]. This documentation is available at
[senecajs.org][] or can be ran locally by cloning this repo and following the steps below.
## Contributing
Seneca and its docs are __open projects__ and encourage participation. If you feel you can help in
any way, be it with examples, extra testing, tutorials, or new features please be our guest.
Please make all content changes in the [/src/pages][] folder. All changes are built just before we
redeploy the site so you only need to include changes in your PR. Upon your PR being accepted your
changes will be deployed.
Please see our [/contribute][] page for more information.
## Run Locally
After cloning, you will need to get dependencies via npm,
``` | <|file_sep|>original/README.md

> A Node.js toolkit for micro service architectures
#senecajs.org
This repo contains the documentation website for [Seneca.js][]. This documentation is available at
[senecajs.org][] or can be ran locally by cloning this repo and following the steps below.
## Contributing
Seneca and its docs are __open projects__ and encourage participation. If you feel you can help in
any way, be it with examples, extra testing, tutorials, or new features please be our guest.
Please make all content changes in the [/src/pages][] folder. All changes are built just before we
redeploy the site so you only need to include changes in your PR. Upon your PR being accepted your
changes will be deployed.
Please see our [/contribute][] page for more information.
## Run Locally
After cloning, you will need to get dependencies via npm,
```
<|file_sep|>current/README.md

> A Node.js toolkit for micro service architectures
#senecajs.org
This repo contains the documentation website for [Seneca.js][]. This documentation is available at
[senecajs.org][] or can be ran locally by cloning this repo and following the steps below.
## Contributing
Seneca and its docs are __open projects__ and encourage participation. If you feel you can help in
any way, be it with examples, extra testing, tutorials, or new features please be our guest.
Please make all content changes in the [/src/pages][] folder. All changes are built just before we
redeploy the site so you only need to include changes in your PR. Upon your PR being accepted your
changes will be deployed.
Please see our [/contribute][] page for more information.
## Run Locally
After cloning, you will need to get dependencies via npm,
```
<|file_sep|>updated/README.md

> A Node.js toolkit for micro service architectures
#senecajs.org
This repo contains the documentation website for [Seneca.js][]. This documentation is available at
[senecajs.org][] or can be ran locally by cloning this repo and following the steps below.
## Contributing
Seneca and its docs are __open projects__ and encourage participation. If you feel you can help in
any way, be it with examples, extra testing, tutorials, or new features please be our guest.
Please make all content changes in the [/src/pages][] folder. All changes are built just before we
redeploy the site so you only need to include changes in your PR. Upon your PR being accepted your
changes will be deployed.
Please see our [/contribute][] page for more information.
## Run Locally
After cloning, you will need to get dependencies via npm,
``` | 4c9308331a475d818e449a372608c260eb220c5e | README.md | README.md | Markdown |
<|file_sep|>original/spreadflow_core/test/test_eventdispatcher.py
<|file_sep|>current/spreadflow_core/test/test_eventdispatcher.py
<|file_sep|>updated/spreadflow_core/test/test_eventdispatcher.py | from __future__ import absolute_import
from __future__ import division
from __future__ import unicode_literals
from mock import Mock
from testtools import TestCase
from spreadflow_core.eventdispatcher import EventDispatcher
class TestEvent(object):
pass
class OtherEvent(object):
pass
class EventDispatcherTestCase(TestCase):
def test_manage_listeners(self):
dispatcher = EventDispatcher()
listeners = list(dispatcher.get_listeners(TestEvent)) | <|file_sep|>original/spreadflow_core/test/test_eventdispatcher.py
<|file_sep|>current/spreadflow_core/test/test_eventdispatcher.py
<|file_sep|>updated/spreadflow_core/test/test_eventdispatcher.py
from __future__ import absolute_import
from __future__ import division
from __future__ import unicode_literals
from mock import Mock
from testtools import TestCase
from spreadflow_core.eventdispatcher import EventDispatcher
class TestEvent(object):
pass
class OtherEvent(object):
pass
class EventDispatcherTestCase(TestCase):
def test_manage_listeners(self):
dispatcher = EventDispatcher()
listeners = list(dispatcher.get_listeners(TestEvent)) | 74f4359ce3afddc3fab122e0aa741a4b0b276821 | spreadflow_core/test/test_eventdispatcher.py | spreadflow_core/test/test_eventdispatcher.py | Python |
<|file_sep|>public/index.php.diff
original:
updated:
/**
* Initialize application
*/
foreach (glob(__DIR__ . '/../src/*.php') as $file) {
include_once $file;
}
<|file_sep|>public/index.php.diff
original:
* Init and run application
updated:
* Run application
<|file_sep|>original/public/index.php
}
);
register_shutdown_function(
function () {
$error = error_get_last();
$errors = [E_ERROR, E_PARSE, E_CORE_ERROR, E_CORE_WARNING, E_COMPILE_ERROR, E_COMPILE_WARNING];
if ($error && in_array($error['type'], $errors)) {
echo '<pre>' . print_r($error, 1) . '</pre>';
}
}
);
/**
* Init and run application
*/
foreach (glob(__DIR__ . '/../src/*.php') as $file) {
include_once $file;
}
app\run();
<|file_sep|>current/public/index.php
}
);
register_shutdown_function(
function () {
$error = error_get_last();
$errors = [E_ERROR, E_PARSE, E_CORE_ERROR, E_CORE_WARNING, E_COMPILE_ERROR, E_COMPILE_WARNING];
if ($error && in_array($error['type'], $errors)) {
echo '<pre>' . print_r($error, 1) . '</pre>';
}
}
);
/**
* Run application
*/
foreach (glob(__DIR__ . '/../src/*.php') as $file) {
include_once $file;
}
app\run();
<|file_sep|>updated/public/index.php | );
set_exception_handler(
function ($e) {
echo '<pre>' . (string) $e . '</pre>';
}
);
register_shutdown_function(
function () {
$error = error_get_last();
$errors = [E_ERROR, E_PARSE, E_CORE_ERROR, E_CORE_WARNING, E_COMPILE_ERROR, E_COMPILE_WARNING];
if ($error && in_array($error['type'], $errors)) {
echo '<pre>' . print_r($error, 1) . '</pre>';
}
}
);
/**
* Run application
*/
app\run(); | <|file_sep|>public/index.php.diff
original:
updated:
/**
* Initialize application
*/
foreach (glob(__DIR__ . '/../src/*.php') as $file) {
include_once $file;
}
<|file_sep|>public/index.php.diff
original:
* Init and run application
updated:
* Run application
<|file_sep|>original/public/index.php
}
);
register_shutdown_function(
function () {
$error = error_get_last();
$errors = [E_ERROR, E_PARSE, E_CORE_ERROR, E_CORE_WARNING, E_COMPILE_ERROR, E_COMPILE_WARNING];
if ($error && in_array($error['type'], $errors)) {
echo '<pre>' . print_r($error, 1) . '</pre>';
}
}
);
/**
* Init and run application
*/
foreach (glob(__DIR__ . '/../src/*.php') as $file) {
include_once $file;
}
app\run();
<|file_sep|>current/public/index.php
}
);
register_shutdown_function(
function () {
$error = error_get_last();
$errors = [E_ERROR, E_PARSE, E_CORE_ERROR, E_CORE_WARNING, E_COMPILE_ERROR, E_COMPILE_WARNING];
if ($error && in_array($error['type'], $errors)) {
echo '<pre>' . print_r($error, 1) . '</pre>';
}
}
);
/**
* Run application
*/
foreach (glob(__DIR__ . '/../src/*.php') as $file) {
include_once $file;
}
app\run();
<|file_sep|>updated/public/index.php
);
set_exception_handler(
function ($e) {
echo '<pre>' . (string) $e . '</pre>';
}
);
register_shutdown_function(
function () {
$error = error_get_last();
$errors = [E_ERROR, E_PARSE, E_CORE_ERROR, E_CORE_WARNING, E_COMPILE_ERROR, E_COMPILE_WARNING];
if ($error && in_array($error['type'], $errors)) {
echo '<pre>' . print_r($error, 1) . '</pre>';
}
}
);
/**
* Run application
*/
app\run(); | eb06f2abd12a1e77b6b79ed09ddca27f83ee6fe5 | public/index.php | public/index.php | PHP |
<|file_sep|>original/searchcore/src/vespa/searchcore/proton/common/CMakeLists.txt
feeddebugger.cpp
feedtoken.cpp
hw_info_sampler.cpp
indexschema_inspector.cpp
monitored_refcount.cpp
operation_rate_tracker.cpp
select_utils.cpp
selectcontext.cpp
selectpruner.cpp
state_reporter_utils.cpp
statusreport.cpp
transient_memory_usage_provider.cpp
DEPENDS
searchcore_proton_metrics
searchcore_fconfig
${VESPA_STDCXX_FS_LIB}
)
if(VESPA_OS_DISTRO_COMBINED STREQUAL "rhel 8.2")
set_source_files_properties(hw_info_sampler.cpp PROPERTIES COMPILE_FLAGS -DRHEL_8_2_KLUDGE)
endif()
<|file_sep|>current/searchcore/src/vespa/searchcore/proton/common/CMakeLists.txt
feeddebugger.cpp
feedtoken.cpp
hw_info_sampler.cpp
indexschema_inspector.cpp
monitored_refcount.cpp
operation_rate_tracker.cpp
select_utils.cpp
selectcontext.cpp
selectpruner.cpp
state_reporter_utils.cpp
statusreport.cpp
transient_memory_usage_provider.cpp
DEPENDS
searchcore_proton_metrics
searchcore_fconfig
${VESPA_STDCXX_FS_LIB}
)
if(VESPA_OS_DISTRO_COMBINED STREQUAL "rhel 8.2")
set_source_files_properties(hw_info_sampler.cpp PROPERTIES COMPILE_FLAGS -DRHEL_8_2_KLUDGE)
endif()
<|file_sep|>updated/searchcore/src/vespa/searchcore/proton/common/CMakeLists.txt | feeddebugger.cpp
feedtoken.cpp
hw_info_sampler.cpp
indexschema_inspector.cpp
monitored_refcount.cpp
operation_rate_tracker.cpp
select_utils.cpp
selectcontext.cpp
selectpruner.cpp
state_reporter_utils.cpp
statusreport.cpp
transient_memory_usage_provider.cpp
DEPENDS
searchcore_proton_metrics
searchcore_fconfig
${VESPA_STDCXX_FS_LIB}
)
if(VESPA_OS_DISTRO_COMBINED STREQUAL "rhel 8.2" OR VESPA_OS_DISTRO_COMBINED STREQUAL "centos 8")
set_source_files_properties(hw_info_sampler.cpp PROPERTIES COMPILE_FLAGS -DRHEL_8_2_KLUDGE)
endif() | <|file_sep|>original/searchcore/src/vespa/searchcore/proton/common/CMakeLists.txt
feeddebugger.cpp
feedtoken.cpp
hw_info_sampler.cpp
indexschema_inspector.cpp
monitored_refcount.cpp
operation_rate_tracker.cpp
select_utils.cpp
selectcontext.cpp
selectpruner.cpp
state_reporter_utils.cpp
statusreport.cpp
transient_memory_usage_provider.cpp
DEPENDS
searchcore_proton_metrics
searchcore_fconfig
${VESPA_STDCXX_FS_LIB}
)
if(VESPA_OS_DISTRO_COMBINED STREQUAL "rhel 8.2")
set_source_files_properties(hw_info_sampler.cpp PROPERTIES COMPILE_FLAGS -DRHEL_8_2_KLUDGE)
endif()
<|file_sep|>current/searchcore/src/vespa/searchcore/proton/common/CMakeLists.txt
feeddebugger.cpp
feedtoken.cpp
hw_info_sampler.cpp
indexschema_inspector.cpp
monitored_refcount.cpp
operation_rate_tracker.cpp
select_utils.cpp
selectcontext.cpp
selectpruner.cpp
state_reporter_utils.cpp
statusreport.cpp
transient_memory_usage_provider.cpp
DEPENDS
searchcore_proton_metrics
searchcore_fconfig
${VESPA_STDCXX_FS_LIB}
)
if(VESPA_OS_DISTRO_COMBINED STREQUAL "rhel 8.2")
set_source_files_properties(hw_info_sampler.cpp PROPERTIES COMPILE_FLAGS -DRHEL_8_2_KLUDGE)
endif()
<|file_sep|>updated/searchcore/src/vespa/searchcore/proton/common/CMakeLists.txt
feeddebugger.cpp
feedtoken.cpp
hw_info_sampler.cpp
indexschema_inspector.cpp
monitored_refcount.cpp
operation_rate_tracker.cpp
select_utils.cpp
selectcontext.cpp
selectpruner.cpp
state_reporter_utils.cpp
statusreport.cpp
transient_memory_usage_provider.cpp
DEPENDS
searchcore_proton_metrics
searchcore_fconfig
${VESPA_STDCXX_FS_LIB}
)
if(VESPA_OS_DISTRO_COMBINED STREQUAL "rhel 8.2" OR VESPA_OS_DISTRO_COMBINED STREQUAL "centos 8")
set_source_files_properties(hw_info_sampler.cpp PROPERTIES COMPILE_FLAGS -DRHEL_8_2_KLUDGE)
endif() | a17dda15aeee8d03fbc38f3928f21d02fc53b966 | searchcore/src/vespa/searchcore/proton/common/CMakeLists.txt | searchcore/src/vespa/searchcore/proton/common/CMakeLists.txt | Text |
<|file_sep|>original/slave/skia_slave_scripts/run_gm.py
import sys
JSON_SUMMARY_FILENAME = 'actual-results.json'
class RunGM(BuildStep):
def _Run(self):
output_dir = os.path.join(self._device_dirs.GMDir(), self._gm_image_subdir)
cmd = ['--writePath', output_dir,
'--writeJsonSummaryPath', os.path.join(output_dir,
JSON_SUMMARY_FILENAME),
] + self._gm_args
# msaa16 is flaky on Macs (driver bug?) so we skip the test for now
if sys.platform == 'darwin':
cmd.extend(['--exclude-config', 'msaa16'])
self.RunFlavoredCmd('gm', cmd)
if '__main__' == __name__:
sys.exit(BuildStep.RunBuildStep(RunGM))
<|file_sep|>current/slave/skia_slave_scripts/run_gm.py
import sys
JSON_SUMMARY_FILENAME = 'actual-results.json'
class RunGM(BuildStep):
def _Run(self):
output_dir = os.path.join(self._device_dirs.GMDir(), self._gm_image_subdir)
cmd = ['--writePath', output_dir,
'--writeJsonSummaryPath', os.path.join(output_dir,
JSON_SUMMARY_FILENAME),
] + self._gm_args
# msaa16 is flaky on Macs (driver bug?) so we skip the test for now
if sys.platform == 'darwin':
cmd.extend(['--exclude-config', 'msaa16'])
self.RunFlavoredCmd('gm', cmd)
if '__main__' == __name__:
sys.exit(BuildStep.RunBuildStep(RunGM))
<|file_sep|>updated/slave/skia_slave_scripts/run_gm.py | import sys
JSON_SUMMARY_FILENAME = 'actual-results.json'
class RunGM(BuildStep):
def _Run(self):
output_dir = os.path.join(self._device_dirs.GMDir(), self._gm_image_subdir)
cmd = ['--writePath', output_dir,
'--writeJsonSummaryPath', os.path.join(output_dir,
JSON_SUMMARY_FILENAME),
] + self._gm_args
# msaa16 is flaky on Macs (driver bug?) so we skip the test for now
if sys.platform == 'darwin':
cmd.extend(['--excludeConfig', 'msaa16'])
self.RunFlavoredCmd('gm', cmd)
if '__main__' == __name__:
sys.exit(BuildStep.RunBuildStep(RunGM)) | <|file_sep|>original/slave/skia_slave_scripts/run_gm.py
import sys
JSON_SUMMARY_FILENAME = 'actual-results.json'
class RunGM(BuildStep):
def _Run(self):
output_dir = os.path.join(self._device_dirs.GMDir(), self._gm_image_subdir)
cmd = ['--writePath', output_dir,
'--writeJsonSummaryPath', os.path.join(output_dir,
JSON_SUMMARY_FILENAME),
] + self._gm_args
# msaa16 is flaky on Macs (driver bug?) so we skip the test for now
if sys.platform == 'darwin':
cmd.extend(['--exclude-config', 'msaa16'])
self.RunFlavoredCmd('gm', cmd)
if '__main__' == __name__:
sys.exit(BuildStep.RunBuildStep(RunGM))
<|file_sep|>current/slave/skia_slave_scripts/run_gm.py
import sys
JSON_SUMMARY_FILENAME = 'actual-results.json'
class RunGM(BuildStep):
def _Run(self):
output_dir = os.path.join(self._device_dirs.GMDir(), self._gm_image_subdir)
cmd = ['--writePath', output_dir,
'--writeJsonSummaryPath', os.path.join(output_dir,
JSON_SUMMARY_FILENAME),
] + self._gm_args
# msaa16 is flaky on Macs (driver bug?) so we skip the test for now
if sys.platform == 'darwin':
cmd.extend(['--exclude-config', 'msaa16'])
self.RunFlavoredCmd('gm', cmd)
if '__main__' == __name__:
sys.exit(BuildStep.RunBuildStep(RunGM))
<|file_sep|>updated/slave/skia_slave_scripts/run_gm.py
import sys
JSON_SUMMARY_FILENAME = 'actual-results.json'
class RunGM(BuildStep):
def _Run(self):
output_dir = os.path.join(self._device_dirs.GMDir(), self._gm_image_subdir)
cmd = ['--writePath', output_dir,
'--writeJsonSummaryPath', os.path.join(output_dir,
JSON_SUMMARY_FILENAME),
] + self._gm_args
# msaa16 is flaky on Macs (driver bug?) so we skip the test for now
if sys.platform == 'darwin':
cmd.extend(['--excludeConfig', 'msaa16'])
self.RunFlavoredCmd('gm', cmd)
if '__main__' == __name__:
sys.exit(BuildStep.RunBuildStep(RunGM)) | fa7228e26791987e43fdcb216f98658b45a8b220 | slave/skia_slave_scripts/run_gm.py | slave/skia_slave_scripts/run_gm.py | Python |
<|file_sep|>original/requirements.txt
Twisted==17.5.0
beautifulsoup4==4.6.0
psutil==5.2.2
python-dateutil==2.6.0
ply==3.10
enum34==1.1.6
twitter==1.17.1
requests==2.18.1
pytimeparse==1.1.6
pymysql==0.7.11
pycrypto==2.6.1
pyasn1==0.2.3
isodate==0.5.4
jq==0.1.6
google-api-python-client==1.6.2
pyxDamerauLevenshtein==1.4.1
re2==0.2.22
parsedatetime==2.4
cryptography==1.9
<|file_sep|>current/requirements.txt
Twisted==17.5.0
beautifulsoup4==4.6.0
psutil==5.2.2
python-dateutil==2.6.0
ply==3.10
enum34==1.1.6
twitter==1.17.1
requests==2.18.1
pytimeparse==1.1.6
pymysql==0.7.11
pycrypto==2.6.1
pyasn1==0.2.3
isodate==0.5.4
jq==0.1.6
google-api-python-client==1.6.2
pyxDamerauLevenshtein==1.4.1
re2==0.2.22
parsedatetime==2.4
cryptography==1.9
<|file_sep|>updated/requirements.txt | Twisted==17.5.0
beautifulsoup4==4.6.0
psutil==5.2.2
python-dateutil==2.6.1
ply==3.10
enum34==1.1.6
twitter==1.17.1
requests==2.18.1
pytimeparse==1.1.6
pymysql==0.7.11
pycrypto==2.6.1
pyasn1==0.2.3
isodate==0.5.4
jq==0.1.6
google-api-python-client==1.6.2
pyxDamerauLevenshtein==1.4.1
re2==0.2.22
parsedatetime==2.4
cryptography==1.9 | <|file_sep|>original/requirements.txt
Twisted==17.5.0
beautifulsoup4==4.6.0
psutil==5.2.2
python-dateutil==2.6.0
ply==3.10
enum34==1.1.6
twitter==1.17.1
requests==2.18.1
pytimeparse==1.1.6
pymysql==0.7.11
pycrypto==2.6.1
pyasn1==0.2.3
isodate==0.5.4
jq==0.1.6
google-api-python-client==1.6.2
pyxDamerauLevenshtein==1.4.1
re2==0.2.22
parsedatetime==2.4
cryptography==1.9
<|file_sep|>current/requirements.txt
Twisted==17.5.0
beautifulsoup4==4.6.0
psutil==5.2.2
python-dateutil==2.6.0
ply==3.10
enum34==1.1.6
twitter==1.17.1
requests==2.18.1
pytimeparse==1.1.6
pymysql==0.7.11
pycrypto==2.6.1
pyasn1==0.2.3
isodate==0.5.4
jq==0.1.6
google-api-python-client==1.6.2
pyxDamerauLevenshtein==1.4.1
re2==0.2.22
parsedatetime==2.4
cryptography==1.9
<|file_sep|>updated/requirements.txt
Twisted==17.5.0
beautifulsoup4==4.6.0
psutil==5.2.2
python-dateutil==2.6.1
ply==3.10
enum34==1.1.6
twitter==1.17.1
requests==2.18.1
pytimeparse==1.1.6
pymysql==0.7.11
pycrypto==2.6.1
pyasn1==0.2.3
isodate==0.5.4
jq==0.1.6
google-api-python-client==1.6.2
pyxDamerauLevenshtein==1.4.1
re2==0.2.22
parsedatetime==2.4
cryptography==1.9 | fd675bea3a6827dfb54643ec018f9c10507eb444 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/.travis.yml
bundler_args: --without development
language: ruby
rvm:
- jruby-19mode
- rbx-19mode
- 1.9.3
- 2.0.0
- 2.1.0
matrix:
allow_failures:
- rvm:
- rbx-19mode
- jruby-19mode
env:
- OCTONAUT_TEST_LOGIN="api-padawan" OCTONAUT_TEST_TOKEN="6a21f190e3422bf89afa8b360d923b0c30e8fbfa"
before_script:
- chmod 600 tmp/fakehome/.netrc
<|file_sep|>current/.travis.yml
bundler_args: --without development
language: ruby
rvm:
- jruby-19mode
- rbx-19mode
- 1.9.3
- 2.0.0
- 2.1.0
matrix:
allow_failures:
- rvm:
- rbx-19mode
- jruby-19mode
env:
- OCTONAUT_TEST_LOGIN="api-padawan" OCTONAUT_TEST_TOKEN="6a21f190e3422bf89afa8b360d923b0c30e8fbfa"
before_script:
- chmod 600 tmp/fakehome/.netrc
<|file_sep|>updated/.travis.yml | bundler_args: --without development
language: ruby
rvm:
- jruby-19mode
- rbx-19mode
- 1.9.3
- 2.0.0
- 2.1.0
matrix:
allow_failures:
- rvm: rbx-19mode
- rvm: jruby-19mode
env:
- OCTONAUT_TEST_LOGIN="api-padawan" OCTONAUT_TEST_TOKEN="6a21f190e3422bf89afa8b360d923b0c30e8fbfa"
before_script:
- chmod 600 tmp/fakehome/.netrc | <|file_sep|>original/.travis.yml
bundler_args: --without development
language: ruby
rvm:
- jruby-19mode
- rbx-19mode
- 1.9.3
- 2.0.0
- 2.1.0
matrix:
allow_failures:
- rvm:
- rbx-19mode
- jruby-19mode
env:
- OCTONAUT_TEST_LOGIN="api-padawan" OCTONAUT_TEST_TOKEN="6a21f190e3422bf89afa8b360d923b0c30e8fbfa"
before_script:
- chmod 600 tmp/fakehome/.netrc
<|file_sep|>current/.travis.yml
bundler_args: --without development
language: ruby
rvm:
- jruby-19mode
- rbx-19mode
- 1.9.3
- 2.0.0
- 2.1.0
matrix:
allow_failures:
- rvm:
- rbx-19mode
- jruby-19mode
env:
- OCTONAUT_TEST_LOGIN="api-padawan" OCTONAUT_TEST_TOKEN="6a21f190e3422bf89afa8b360d923b0c30e8fbfa"
before_script:
- chmod 600 tmp/fakehome/.netrc
<|file_sep|>updated/.travis.yml
bundler_args: --without development
language: ruby
rvm:
- jruby-19mode
- rbx-19mode
- 1.9.3
- 2.0.0
- 2.1.0
matrix:
allow_failures:
- rvm: rbx-19mode
- rvm: jruby-19mode
env:
- OCTONAUT_TEST_LOGIN="api-padawan" OCTONAUT_TEST_TOKEN="6a21f190e3422bf89afa8b360d923b0c30e8fbfa"
before_script:
- chmod 600 tmp/fakehome/.netrc | 81aa7041141ae3ab3aac0cc7971e9fa7411bfa80 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/app/views/specialEvents/SpecialEventsHeader.js
import {
COLOR_LGREY,
COLOR_BLACK,
} from '../../styles/ColorConstants';
const SpecialEventsHeader = ({ timestamp }) => (
<View
style={styles.header}
>
<Text style={styles.headerText}>
{moment(Number(timestamp)).format('MMM DD hh:mm')}
</Text>
</View>
);
const styles = StyleSheet.create({
header: { justifyContent: 'flex-start', alignItems: 'center', width: 45, backgroundColor: COLOR_LGREY, borderBottomWidth: 1, borderColor: COLOR_LGREY },
headerText: { textAlign: 'right', alignSelf: 'stretch', color: COLOR_BLACK, fontSize: 12, marginTop: 7 },
});
export default SpecialEventsHeader;
<|file_sep|>current/app/views/specialEvents/SpecialEventsHeader.js
import {
COLOR_LGREY,
COLOR_BLACK,
} from '../../styles/ColorConstants';
const SpecialEventsHeader = ({ timestamp }) => (
<View
style={styles.header}
>
<Text style={styles.headerText}>
{moment(Number(timestamp)).format('MMM DD hh:mm')}
</Text>
</View>
);
const styles = StyleSheet.create({
header: { justifyContent: 'flex-start', alignItems: 'center', width: 45, backgroundColor: COLOR_LGREY, borderBottomWidth: 1, borderColor: COLOR_LGREY },
headerText: { textAlign: 'right', alignSelf: 'stretch', color: COLOR_BLACK, fontSize: 12, marginTop: 7 },
});
export default SpecialEventsHeader;
<|file_sep|>updated/app/views/specialEvents/SpecialEventsHeader.js | import {
COLOR_LGREY,
COLOR_BLACK,
} from '../../styles/ColorConstants';
const SpecialEventsHeader = ({ timestamp }) => (
<View
style={styles.header}
>
<Text style={styles.headerText}>
{moment(Number(timestamp)).format('MMM DD h:mm')}
</Text>
</View>
);
const styles = StyleSheet.create({
header: { justifyContent: 'flex-start', alignItems: 'center', width: 45, backgroundColor: COLOR_LGREY, borderBottomWidth: 1, borderColor: COLOR_LGREY },
headerText: { textAlign: 'right', alignSelf: 'stretch', color: COLOR_BLACK, fontSize: 12, marginTop: 7 },
});
export default SpecialEventsHeader; | <|file_sep|>original/app/views/specialEvents/SpecialEventsHeader.js
import {
COLOR_LGREY,
COLOR_BLACK,
} from '../../styles/ColorConstants';
const SpecialEventsHeader = ({ timestamp }) => (
<View
style={styles.header}
>
<Text style={styles.headerText}>
{moment(Number(timestamp)).format('MMM DD hh:mm')}
</Text>
</View>
);
const styles = StyleSheet.create({
header: { justifyContent: 'flex-start', alignItems: 'center', width: 45, backgroundColor: COLOR_LGREY, borderBottomWidth: 1, borderColor: COLOR_LGREY },
headerText: { textAlign: 'right', alignSelf: 'stretch', color: COLOR_BLACK, fontSize: 12, marginTop: 7 },
});
export default SpecialEventsHeader;
<|file_sep|>current/app/views/specialEvents/SpecialEventsHeader.js
import {
COLOR_LGREY,
COLOR_BLACK,
} from '../../styles/ColorConstants';
const SpecialEventsHeader = ({ timestamp }) => (
<View
style={styles.header}
>
<Text style={styles.headerText}>
{moment(Number(timestamp)).format('MMM DD hh:mm')}
</Text>
</View>
);
const styles = StyleSheet.create({
header: { justifyContent: 'flex-start', alignItems: 'center', width: 45, backgroundColor: COLOR_LGREY, borderBottomWidth: 1, borderColor: COLOR_LGREY },
headerText: { textAlign: 'right', alignSelf: 'stretch', color: COLOR_BLACK, fontSize: 12, marginTop: 7 },
});
export default SpecialEventsHeader;
<|file_sep|>updated/app/views/specialEvents/SpecialEventsHeader.js
import {
COLOR_LGREY,
COLOR_BLACK,
} from '../../styles/ColorConstants';
const SpecialEventsHeader = ({ timestamp }) => (
<View
style={styles.header}
>
<Text style={styles.headerText}>
{moment(Number(timestamp)).format('MMM DD h:mm')}
</Text>
</View>
);
const styles = StyleSheet.create({
header: { justifyContent: 'flex-start', alignItems: 'center', width: 45, backgroundColor: COLOR_LGREY, borderBottomWidth: 1, borderColor: COLOR_LGREY },
headerText: { textAlign: 'right', alignSelf: 'stretch', color: COLOR_BLACK, fontSize: 12, marginTop: 7 },
});
export default SpecialEventsHeader; | fa1334f32f209bdf92cb291bbf85a56754e1c8cd | app/views/specialEvents/SpecialEventsHeader.js | app/views/specialEvents/SpecialEventsHeader.js | JavaScript |
<|file_sep|>package.json.diff
original:
"colors": "~1.1.0",
updated:
"colors": "~1.1.2",
<|file_sep|>original/package.json
"keywords": ["irc"],
"author": "Alberto Santini",
"license": "MIT",
"engines": {
"node": ">=0.12.x"
},
"preferGlobal": true,
"scripts": {
"test": "grunt"
},
"dependencies": {
"colors": "~1.1.0",
"irc": "~0.3.12"
},
"devDependencies": {
"grunt": "~0.4.5",
"grunt-cli": "~0.1.13",
"grunt-eslint": "~15.0.0"
}
}
<|file_sep|>current/package.json
"keywords": ["irc"],
"author": "Alberto Santini",
"license": "MIT",
"engines": {
"node": ">=0.12.x"
},
"preferGlobal": true,
"scripts": {
"test": "grunt"
},
"dependencies": {
"colors": "~1.1.2",
"irc": "~0.3.12"
},
"devDependencies": {
"grunt": "~0.4.5",
"grunt-cli": "~0.1.13",
"grunt-eslint": "~15.0.0"
}
}
<|file_sep|>updated/package.json | "keywords": ["irc"],
"author": "Alberto Santini",
"license": "MIT",
"engines": {
"node": ">=0.12.x"
},
"preferGlobal": true,
"scripts": {
"test": "grunt"
},
"dependencies": {
"colors": "~1.1.2",
"irc": "~0.3.12"
},
"devDependencies": {
"grunt": "~0.4.5",
"grunt-cli": "~0.1.13",
"grunt-eslint": "~16.0.0"
}
}
| <|file_sep|>package.json.diff
original:
"colors": "~1.1.0",
updated:
"colors": "~1.1.2",
<|file_sep|>original/package.json
"keywords": ["irc"],
"author": "Alberto Santini",
"license": "MIT",
"engines": {
"node": ">=0.12.x"
},
"preferGlobal": true,
"scripts": {
"test": "grunt"
},
"dependencies": {
"colors": "~1.1.0",
"irc": "~0.3.12"
},
"devDependencies": {
"grunt": "~0.4.5",
"grunt-cli": "~0.1.13",
"grunt-eslint": "~15.0.0"
}
}
<|file_sep|>current/package.json
"keywords": ["irc"],
"author": "Alberto Santini",
"license": "MIT",
"engines": {
"node": ">=0.12.x"
},
"preferGlobal": true,
"scripts": {
"test": "grunt"
},
"dependencies": {
"colors": "~1.1.2",
"irc": "~0.3.12"
},
"devDependencies": {
"grunt": "~0.4.5",
"grunt-cli": "~0.1.13",
"grunt-eslint": "~15.0.0"
}
}
<|file_sep|>updated/package.json
"keywords": ["irc"],
"author": "Alberto Santini",
"license": "MIT",
"engines": {
"node": ">=0.12.x"
},
"preferGlobal": true,
"scripts": {
"test": "grunt"
},
"dependencies": {
"colors": "~1.1.2",
"irc": "~0.3.12"
},
"devDependencies": {
"grunt": "~0.4.5",
"grunt-cli": "~0.1.13",
"grunt-eslint": "~16.0.0"
}
}
| 352620b7d845ee39a23bad22ae33a3201ece34b0 | package.json | package.json | JSON |
<|file_sep|>.travis.yml.diff
original:
matrix:
include:
- php: 5.3
- php: 5.4
- php: 5.5
- php: 5.6
- php: 5.3
env: deps=low
- php: 5.6
env: deps=high
- php: hhvm
updated:
php:
- 5.3
- 5.4
- 5.5
- 5.6
- hhvm
<|file_sep|>original/.travis.yml
matrix:
include:
- php: 5.3
- php: 5.4
- php: 5.5
- php: 5.6
- php: 5.3
env: deps=low
- php: 5.6
env: deps=high
- php: hhvm
env:
global:
- deps=no
install:
- if [ "$symfony" = "no" ]; then composer --prefer-source --dev install; fi;
- if [ "$symfony" = "low" ]; then composer --prefer-source --dev --prefer-lowest --prefer-stable update; fi;
- if [ "$symfony" = "high" ]; then composer --prefer-source --dev update; fi;
<|file_sep|>current/.travis.yml
php:
- 5.3
- 5.4
- 5.5
- 5.6
- hhvm
env:
global:
- deps=no
install:
- if [ "$symfony" = "no" ]; then composer --prefer-source --dev install; fi;
- if [ "$symfony" = "low" ]; then composer --prefer-source --dev --prefer-lowest --prefer-stable update; fi;
- if [ "$symfony" = "high" ]; then composer --prefer-source --dev update; fi;
script:
- ./vendor/bin/phpunit -v --coverage-clover ./build/logs/clover.xml
after_script:
- php ./vendor/bin/coveralls -v
<|file_sep|>updated/.travis.yml | language: php
php:
- 5.3
- 5.4
- 5.5
- 5.6
- hhvm
before_script:
- composer install --dev --prefer-source
script:
- ./vendor/bin/phpunit -v --coverage-clover ./build/logs/clover.xml
after_script:
- php ./vendor/bin/coveralls -v | <|file_sep|>.travis.yml.diff
original:
matrix:
include:
- php: 5.3
- php: 5.4
- php: 5.5
- php: 5.6
- php: 5.3
env: deps=low
- php: 5.6
env: deps=high
- php: hhvm
updated:
php:
- 5.3
- 5.4
- 5.5
- 5.6
- hhvm
<|file_sep|>original/.travis.yml
matrix:
include:
- php: 5.3
- php: 5.4
- php: 5.5
- php: 5.6
- php: 5.3
env: deps=low
- php: 5.6
env: deps=high
- php: hhvm
env:
global:
- deps=no
install:
- if [ "$symfony" = "no" ]; then composer --prefer-source --dev install; fi;
- if [ "$symfony" = "low" ]; then composer --prefer-source --dev --prefer-lowest --prefer-stable update; fi;
- if [ "$symfony" = "high" ]; then composer --prefer-source --dev update; fi;
<|file_sep|>current/.travis.yml
php:
- 5.3
- 5.4
- 5.5
- 5.6
- hhvm
env:
global:
- deps=no
install:
- if [ "$symfony" = "no" ]; then composer --prefer-source --dev install; fi;
- if [ "$symfony" = "low" ]; then composer --prefer-source --dev --prefer-lowest --prefer-stable update; fi;
- if [ "$symfony" = "high" ]; then composer --prefer-source --dev update; fi;
script:
- ./vendor/bin/phpunit -v --coverage-clover ./build/logs/clover.xml
after_script:
- php ./vendor/bin/coveralls -v
<|file_sep|>updated/.travis.yml
language: php
php:
- 5.3
- 5.4
- 5.5
- 5.6
- hhvm
before_script:
- composer install --dev --prefer-source
script:
- ./vendor/bin/phpunit -v --coverage-clover ./build/logs/clover.xml
after_script:
- php ./vendor/bin/coveralls -v | ac1dfc182ab948c902948cfa9d519a6049da5e85 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/pkgs/applications/virtualization/virtualbox/extpack.nix
{stdenv, fetchurl, lib}:
with lib;
let version = "5.2.22";
in
fetchurl rec {
name = "Oracle_VM_VirtualBox_Extension_Pack-${version}.vbox-extpack";
url = "https://download.virtualbox.org/virtualbox/${version}/${name}";
sha256 = "1vria59m7xr521hp2sakfihv8282xcfd5hl6dr1gbcjicmk514kp";
meta = {
description = "Oracle Extension pack for VirtualBox";
license = licenses.virtualbox-puel;
homepage = https://www.virtualbox.org/;
maintainers = with maintainers; [ flokli sander cdepillabout ];
platforms = [ "x86_64-linux" "i686-linux" ];
};
}
<|file_sep|>current/pkgs/applications/virtualization/virtualbox/extpack.nix
{stdenv, fetchurl, lib}:
with lib;
let version = "5.2.22";
in
fetchurl rec {
name = "Oracle_VM_VirtualBox_Extension_Pack-${version}.vbox-extpack";
url = "https://download.virtualbox.org/virtualbox/${version}/${name}";
sha256 = "1vria59m7xr521hp2sakfihv8282xcfd5hl6dr1gbcjicmk514kp";
meta = {
description = "Oracle Extension pack for VirtualBox";
license = licenses.virtualbox-puel;
homepage = https://www.virtualbox.org/;
maintainers = with maintainers; [ flokli sander cdepillabout ];
platforms = [ "x86_64-linux" "i686-linux" ];
};
}
<|file_sep|>updated/pkgs/applications/virtualization/virtualbox/extpack.nix | {stdenv, fetchurl, lib}:
with lib;
let version = "5.2.22";
in
fetchurl rec {
name = "Oracle_VM_VirtualBox_Extension_Pack-${version}.vbox-extpack";
url = "https://download.virtualbox.org/virtualbox/${version}/${name}";
sha256 =
# Manually sha256sum the extensionPack file, must be hex!
# Thus do not use `nix-prefetch-url` but instead plain old `sha256sum`.
let value = "779250666551b2f5426e86c2d21ceb0209b46174536971611025f753535131ef";
in assert (builtins.stringLength value) == 64; value;
meta = {
description = "Oracle Extension pack for VirtualBox";
license = licenses.virtualbox-puel;
homepage = https://www.virtualbox.org/;
maintainers = with maintainers; [ flokli sander cdepillabout ];
platforms = [ "x86_64-linux" "i686-linux" ]; | <|file_sep|>original/pkgs/applications/virtualization/virtualbox/extpack.nix
{stdenv, fetchurl, lib}:
with lib;
let version = "5.2.22";
in
fetchurl rec {
name = "Oracle_VM_VirtualBox_Extension_Pack-${version}.vbox-extpack";
url = "https://download.virtualbox.org/virtualbox/${version}/${name}";
sha256 = "1vria59m7xr521hp2sakfihv8282xcfd5hl6dr1gbcjicmk514kp";
meta = {
description = "Oracle Extension pack for VirtualBox";
license = licenses.virtualbox-puel;
homepage = https://www.virtualbox.org/;
maintainers = with maintainers; [ flokli sander cdepillabout ];
platforms = [ "x86_64-linux" "i686-linux" ];
};
}
<|file_sep|>current/pkgs/applications/virtualization/virtualbox/extpack.nix
{stdenv, fetchurl, lib}:
with lib;
let version = "5.2.22";
in
fetchurl rec {
name = "Oracle_VM_VirtualBox_Extension_Pack-${version}.vbox-extpack";
url = "https://download.virtualbox.org/virtualbox/${version}/${name}";
sha256 = "1vria59m7xr521hp2sakfihv8282xcfd5hl6dr1gbcjicmk514kp";
meta = {
description = "Oracle Extension pack for VirtualBox";
license = licenses.virtualbox-puel;
homepage = https://www.virtualbox.org/;
maintainers = with maintainers; [ flokli sander cdepillabout ];
platforms = [ "x86_64-linux" "i686-linux" ];
};
}
<|file_sep|>updated/pkgs/applications/virtualization/virtualbox/extpack.nix
{stdenv, fetchurl, lib}:
with lib;
let version = "5.2.22";
in
fetchurl rec {
name = "Oracle_VM_VirtualBox_Extension_Pack-${version}.vbox-extpack";
url = "https://download.virtualbox.org/virtualbox/${version}/${name}";
sha256 =
# Manually sha256sum the extensionPack file, must be hex!
# Thus do not use `nix-prefetch-url` but instead plain old `sha256sum`.
let value = "779250666551b2f5426e86c2d21ceb0209b46174536971611025f753535131ef";
in assert (builtins.stringLength value) == 64; value;
meta = {
description = "Oracle Extension pack for VirtualBox";
license = licenses.virtualbox-puel;
homepage = https://www.virtualbox.org/;
maintainers = with maintainers; [ flokli sander cdepillabout ];
platforms = [ "x86_64-linux" "i686-linux" ]; | 22acb2e3c304bc9d40c9804d1a2268d7c1290104 | pkgs/applications/virtualization/virtualbox/extpack.nix | pkgs/applications/virtualization/virtualbox/extpack.nix | Nix |
<|file_sep|>original/.github/workflows/php.yml
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
operating-system: [ubuntu-latest, windows-latest, macos-latest]
php-versions: ['5.6', '7.0', '7.1', '7.2', '7.3', '7.4', '8.0']
name: PHP ${{ matrix.php-versions }} Test on ${{ matrix.operating-system }}
steps:
- uses: actions/checkout@v2
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
<|file_sep|>current/.github/workflows/php.yml
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
operating-system: [ubuntu-latest, windows-latest, macos-latest]
php-versions: ['5.6', '7.0', '7.1', '7.2', '7.3', '7.4', '8.0']
name: PHP ${{ matrix.php-versions }} Test on ${{ matrix.operating-system }}
steps:
- uses: actions/checkout@v2
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
<|file_sep|>updated/.github/workflows/php.yml | pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
operating-system: [ubuntu-latest, windows-latest, macos-latest]
php-versions: ['7.3', '7.4']
name: PHP ${{ matrix.php-versions }} Test on ${{ matrix.operating-system }}
steps:
- uses: actions/checkout@v2
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }} | <|file_sep|>original/.github/workflows/php.yml
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
operating-system: [ubuntu-latest, windows-latest, macos-latest]
php-versions: ['5.6', '7.0', '7.1', '7.2', '7.3', '7.4', '8.0']
name: PHP ${{ matrix.php-versions }} Test on ${{ matrix.operating-system }}
steps:
- uses: actions/checkout@v2
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
<|file_sep|>current/.github/workflows/php.yml
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
operating-system: [ubuntu-latest, windows-latest, macos-latest]
php-versions: ['5.6', '7.0', '7.1', '7.2', '7.3', '7.4', '8.0']
name: PHP ${{ matrix.php-versions }} Test on ${{ matrix.operating-system }}
steps:
- uses: actions/checkout@v2
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
<|file_sep|>updated/.github/workflows/php.yml
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
operating-system: [ubuntu-latest, windows-latest, macos-latest]
php-versions: ['7.3', '7.4']
name: PHP ${{ matrix.php-versions }} Test on ${{ matrix.operating-system }}
steps:
- uses: actions/checkout@v2
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }} | 49c7280795754c2d05909aba492ff0434af9e25e | .github/workflows/php.yml | .github/workflows/php.yml | YAML |
<|file_sep|>original/docs/plugin-compatibility.md
# Plugin Compatibility
Neo is officially compatible with some other Craft plugins, listed below:
- [CP Field Inspect](https://github.com/mmikkel/CpFieldInspect-Craft)
- [Embedded Assets](https://github.com/spicywebau/craft-embedded-assets) (field content is displayed in Neo's collapsed block previews)
- [Super Table](https://github.com/verbb/super-table) (field content is displayed in Neo's collapsed block previews)
- [Typed Link Field](https://github.com/sebastian-lenz/craft-linkfield) (field content is displayed in Neo's collapsed block previews)
- [Linkit](https://github.com/fruitstudios/craft-linkit) (field content is displayed in Neo's collapsed block previews)
- [Category Groups Field](https://github.com/ttempleton/craft-category-groups-field) (field content is displayed in Neo's collapsed block previews)
The following plugins are known to be incompatible with Neo:
- [CraftQL](https://github.com/markhuot/craftql)
- [Reasons](https://github.com/mmikkel/Reasons-Craft3)
- [Preparse Field](https://github.com/aelvan/Preparse-Field-Craft) (may cause issues with Neo blocks disappearing on save)
If you know of a plugin not listed above that's incompatible with Neo, and no issue already exists for Neo or the other plugin, please let us know by [opening an issue on GitHub](https://github.com/spicywebau/craft-neo/issues/new).
<|file_sep|>current/docs/plugin-compatibility.md
# Plugin Compatibility
Neo is officially compatible with some other Craft plugins, listed below:
- [CP Field Inspect](https://github.com/mmikkel/CpFieldInspect-Craft)
- [Embedded Assets](https://github.com/spicywebau/craft-embedded-assets) (field content is displayed in Neo's collapsed block previews)
- [Super Table](https://github.com/verbb/super-table) (field content is displayed in Neo's collapsed block previews)
- [Typed Link Field](https://github.com/sebastian-lenz/craft-linkfield) (field content is displayed in Neo's collapsed block previews)
- [Linkit](https://github.com/fruitstudios/craft-linkit) (field content is displayed in Neo's collapsed block previews)
- [Category Groups Field](https://github.com/ttempleton/craft-category-groups-field) (field content is displayed in Neo's collapsed block previews)
The following plugins are known to be incompatible with Neo:
- [CraftQL](https://github.com/markhuot/craftql)
- [Reasons](https://github.com/mmikkel/Reasons-Craft3)
- [Preparse Field](https://github.com/aelvan/Preparse-Field-Craft) (may cause issues with Neo blocks disappearing on save)
If you know of a plugin not listed above that's incompatible with Neo, and no issue already exists for Neo or the other plugin, please let us know by [opening an issue on GitHub](https://github.com/spicywebau/craft-neo/issues/new).
<|file_sep|>updated/docs/plugin-compatibility.md | # Plugin Compatibility
Neo is officially compatible with some other Craft plugins, listed below:
- [CP Field Inspect](https://github.com/mmikkel/CpFieldInspect-Craft)
- [Embedded Assets](https://github.com/spicywebau/craft-embedded-assets) (field content is displayed in Neo's collapsed block previews)
- [Super Table](https://github.com/verbb/super-table) (field content is displayed in Neo's collapsed block previews)
- [Typed Link Field](https://github.com/sebastian-lenz/craft-linkfield) (field content is displayed in Neo's collapsed block previews)
- [Linkit](https://github.com/fruitstudios/craft-linkit) (field content is displayed in Neo's collapsed block previews)
- [Category Groups Field](https://github.com/ttempleton/craft-category-groups-field) (field content is displayed in Neo's collapsed block previews)
The following plugins are known to be incompatible with Neo:
- [CraftQL](https://github.com/markhuot/craftql)
- [Feed Me](https://github.com/craftcms/feed-me)
- [Reasons](https://github.com/mmikkel/Reasons-Craft3)
- [Preparse Field](https://github.com/aelvan/Preparse-Field-Craft) (may cause issues with Neo blocks disappearing on save)
If you know of a plugin not listed above that's incompatible with Neo, and no issue already exists for Neo or the other plugin, please let us know by [opening an issue on GitHub](https://github.com/spicywebau/craft-neo/issues/new). | <|file_sep|>original/docs/plugin-compatibility.md
# Plugin Compatibility
Neo is officially compatible with some other Craft plugins, listed below:
- [CP Field Inspect](https://github.com/mmikkel/CpFieldInspect-Craft)
- [Embedded Assets](https://github.com/spicywebau/craft-embedded-assets) (field content is displayed in Neo's collapsed block previews)
- [Super Table](https://github.com/verbb/super-table) (field content is displayed in Neo's collapsed block previews)
- [Typed Link Field](https://github.com/sebastian-lenz/craft-linkfield) (field content is displayed in Neo's collapsed block previews)
- [Linkit](https://github.com/fruitstudios/craft-linkit) (field content is displayed in Neo's collapsed block previews)
- [Category Groups Field](https://github.com/ttempleton/craft-category-groups-field) (field content is displayed in Neo's collapsed block previews)
The following plugins are known to be incompatible with Neo:
- [CraftQL](https://github.com/markhuot/craftql)
- [Reasons](https://github.com/mmikkel/Reasons-Craft3)
- [Preparse Field](https://github.com/aelvan/Preparse-Field-Craft) (may cause issues with Neo blocks disappearing on save)
If you know of a plugin not listed above that's incompatible with Neo, and no issue already exists for Neo or the other plugin, please let us know by [opening an issue on GitHub](https://github.com/spicywebau/craft-neo/issues/new).
<|file_sep|>current/docs/plugin-compatibility.md
# Plugin Compatibility
Neo is officially compatible with some other Craft plugins, listed below:
- [CP Field Inspect](https://github.com/mmikkel/CpFieldInspect-Craft)
- [Embedded Assets](https://github.com/spicywebau/craft-embedded-assets) (field content is displayed in Neo's collapsed block previews)
- [Super Table](https://github.com/verbb/super-table) (field content is displayed in Neo's collapsed block previews)
- [Typed Link Field](https://github.com/sebastian-lenz/craft-linkfield) (field content is displayed in Neo's collapsed block previews)
- [Linkit](https://github.com/fruitstudios/craft-linkit) (field content is displayed in Neo's collapsed block previews)
- [Category Groups Field](https://github.com/ttempleton/craft-category-groups-field) (field content is displayed in Neo's collapsed block previews)
The following plugins are known to be incompatible with Neo:
- [CraftQL](https://github.com/markhuot/craftql)
- [Reasons](https://github.com/mmikkel/Reasons-Craft3)
- [Preparse Field](https://github.com/aelvan/Preparse-Field-Craft) (may cause issues with Neo blocks disappearing on save)
If you know of a plugin not listed above that's incompatible with Neo, and no issue already exists for Neo or the other plugin, please let us know by [opening an issue on GitHub](https://github.com/spicywebau/craft-neo/issues/new).
<|file_sep|>updated/docs/plugin-compatibility.md
# Plugin Compatibility
Neo is officially compatible with some other Craft plugins, listed below:
- [CP Field Inspect](https://github.com/mmikkel/CpFieldInspect-Craft)
- [Embedded Assets](https://github.com/spicywebau/craft-embedded-assets) (field content is displayed in Neo's collapsed block previews)
- [Super Table](https://github.com/verbb/super-table) (field content is displayed in Neo's collapsed block previews)
- [Typed Link Field](https://github.com/sebastian-lenz/craft-linkfield) (field content is displayed in Neo's collapsed block previews)
- [Linkit](https://github.com/fruitstudios/craft-linkit) (field content is displayed in Neo's collapsed block previews)
- [Category Groups Field](https://github.com/ttempleton/craft-category-groups-field) (field content is displayed in Neo's collapsed block previews)
The following plugins are known to be incompatible with Neo:
- [CraftQL](https://github.com/markhuot/craftql)
- [Feed Me](https://github.com/craftcms/feed-me)
- [Reasons](https://github.com/mmikkel/Reasons-Craft3)
- [Preparse Field](https://github.com/aelvan/Preparse-Field-Craft) (may cause issues with Neo blocks disappearing on save)
If you know of a plugin not listed above that's incompatible with Neo, and no issue already exists for Neo or the other plugin, please let us know by [opening an issue on GitHub](https://github.com/spicywebau/craft-neo/issues/new). | 4da1b1ce494763ddc227bbddbca8e86afcbdc89c | docs/plugin-compatibility.md | docs/plugin-compatibility.md | Markdown |
<|file_sep|>original/cookbooks/elasticsearch/recipes/sensu_checks.rb
# Only process if we find the monitor cookbook in the run list
return unless node.recipe?('monitor::default')
# Bring in the necessary ruby dependencies
sensu_gem 'rest-client'
# Monitor the cluster status
sensu_check 'check-es-server-cluster-status' do
command "#{node['sensu']['directories']['base']}/plugins/sensu-community-plugins/elasticsearch/check-es-server-cluster-status.rb"
standalone true
end
# TODO: Calculate the warning/critical heap bytes based off of the current number of bytes allocated to the JVM
# # Monitor the cluster JVM heap
# sensu_check 'check-es-heap' do
# command "#{node['sensu']['directories']['base']}/plugins/sensu-community-plugins/elasticsearch/check-es-heap.rb -w #{warning} -c #{critical}"
# standalone true
# end
<|file_sep|>current/cookbooks/elasticsearch/recipes/sensu_checks.rb
# Only process if we find the monitor cookbook in the run list
return unless node.recipe?('monitor::default')
# Bring in the necessary ruby dependencies
sensu_gem 'rest-client'
# Monitor the cluster status
sensu_check 'check-es-server-cluster-status' do
command "#{node['sensu']['directories']['base']}/plugins/sensu-community-plugins/elasticsearch/check-es-server-cluster-status.rb"
standalone true
end
# TODO: Calculate the warning/critical heap bytes based off of the current number of bytes allocated to the JVM
# # Monitor the cluster JVM heap
# sensu_check 'check-es-heap' do
# command "#{node['sensu']['directories']['base']}/plugins/sensu-community-plugins/elasticsearch/check-es-heap.rb -w #{warning} -c #{critical}"
# standalone true
# end
<|file_sep|>updated/cookbooks/elasticsearch/recipes/sensu_checks.rb | # Only process if we find the monitor cookbook in the run list
return unless node.recipe?('monitor::default')
# Bring in the necessary ruby dependencies
sensu_gem 'rest-client'
# Monitor the cluster status
sensu_check 'check-es-server-cluster-status' do
command "#{node['sensu']['directories']['base']}/plugins/sensu-community-plugins/elasticsearch/check-es-cluster-status.rb"
standalone true
end
# TODO: Calculate the warning/critical heap bytes based off of the current number of bytes allocated to the JVM
# # Monitor the cluster JVM heap
# sensu_check 'check-es-heap' do
# command "#{node['sensu']['directories']['base']}/plugins/sensu-community-plugins/elasticsearch/check-es-heap.rb -w #{warning} -c #{critical}"
# standalone true
# end | <|file_sep|>original/cookbooks/elasticsearch/recipes/sensu_checks.rb
# Only process if we find the monitor cookbook in the run list
return unless node.recipe?('monitor::default')
# Bring in the necessary ruby dependencies
sensu_gem 'rest-client'
# Monitor the cluster status
sensu_check 'check-es-server-cluster-status' do
command "#{node['sensu']['directories']['base']}/plugins/sensu-community-plugins/elasticsearch/check-es-server-cluster-status.rb"
standalone true
end
# TODO: Calculate the warning/critical heap bytes based off of the current number of bytes allocated to the JVM
# # Monitor the cluster JVM heap
# sensu_check 'check-es-heap' do
# command "#{node['sensu']['directories']['base']}/plugins/sensu-community-plugins/elasticsearch/check-es-heap.rb -w #{warning} -c #{critical}"
# standalone true
# end
<|file_sep|>current/cookbooks/elasticsearch/recipes/sensu_checks.rb
# Only process if we find the monitor cookbook in the run list
return unless node.recipe?('monitor::default')
# Bring in the necessary ruby dependencies
sensu_gem 'rest-client'
# Monitor the cluster status
sensu_check 'check-es-server-cluster-status' do
command "#{node['sensu']['directories']['base']}/plugins/sensu-community-plugins/elasticsearch/check-es-server-cluster-status.rb"
standalone true
end
# TODO: Calculate the warning/critical heap bytes based off of the current number of bytes allocated to the JVM
# # Monitor the cluster JVM heap
# sensu_check 'check-es-heap' do
# command "#{node['sensu']['directories']['base']}/plugins/sensu-community-plugins/elasticsearch/check-es-heap.rb -w #{warning} -c #{critical}"
# standalone true
# end
<|file_sep|>updated/cookbooks/elasticsearch/recipes/sensu_checks.rb
# Only process if we find the monitor cookbook in the run list
return unless node.recipe?('monitor::default')
# Bring in the necessary ruby dependencies
sensu_gem 'rest-client'
# Monitor the cluster status
sensu_check 'check-es-server-cluster-status' do
command "#{node['sensu']['directories']['base']}/plugins/sensu-community-plugins/elasticsearch/check-es-cluster-status.rb"
standalone true
end
# TODO: Calculate the warning/critical heap bytes based off of the current number of bytes allocated to the JVM
# # Monitor the cluster JVM heap
# sensu_check 'check-es-heap' do
# command "#{node['sensu']['directories']['base']}/plugins/sensu-community-plugins/elasticsearch/check-es-heap.rb -w #{warning} -c #{critical}"
# standalone true
# end | 9ab200edc68e4197866b69ce985e45364cc95b4e | cookbooks/elasticsearch/recipes/sensu_checks.rb | cookbooks/elasticsearch/recipes/sensu_checks.rb | Ruby |
<|file_sep|>original/setup.cfg
[flake8]
count = True
format = pylint
ignore = E501,E201,E202,E251,E302,E126,E123,E261,E128,E124
[nosetests]
logging-format = %(pathname)s:%(lineno)d: %(process)d: %(message)s
verbosity = 2
with-coverage = 1
cover-package = parameters
cover-erase = 1
with-doctest = 1
<|file_sep|>current/setup.cfg
[flake8]
count = True
format = pylint
ignore = E501,E201,E202,E251,E302,E126,E123,E261,E128,E124
[nosetests]
logging-format = %(pathname)s:%(lineno)d: %(process)d: %(message)s
verbosity = 2
with-coverage = 1
cover-package = parameters
cover-erase = 1
with-doctest = 1
<|file_sep|>updated/setup.cfg | [flake8]
count = True
format = pylint
ignore = E501,E201,E202,E251,E302,E126,E123,E261,E128,E124
[nosetests]
logging-format = %(pathname)s:%(lineno)d: %(process)d: %(levelname)s %(message)s
verbosity = 2
with-coverage = 1
cover-package = parameters
cover-erase = 1
with-doctest = 1 | <|file_sep|>original/setup.cfg
[flake8]
count = True
format = pylint
ignore = E501,E201,E202,E251,E302,E126,E123,E261,E128,E124
[nosetests]
logging-format = %(pathname)s:%(lineno)d: %(process)d: %(message)s
verbosity = 2
with-coverage = 1
cover-package = parameters
cover-erase = 1
with-doctest = 1
<|file_sep|>current/setup.cfg
[flake8]
count = True
format = pylint
ignore = E501,E201,E202,E251,E302,E126,E123,E261,E128,E124
[nosetests]
logging-format = %(pathname)s:%(lineno)d: %(process)d: %(message)s
verbosity = 2
with-coverage = 1
cover-package = parameters
cover-erase = 1
with-doctest = 1
<|file_sep|>updated/setup.cfg
[flake8]
count = True
format = pylint
ignore = E501,E201,E202,E251,E302,E126,E123,E261,E128,E124
[nosetests]
logging-format = %(pathname)s:%(lineno)d: %(process)d: %(levelname)s %(message)s
verbosity = 2
with-coverage = 1
cover-package = parameters
cover-erase = 1
with-doctest = 1 | 27aa00ee94dc4ae8f604e4c2f312d33fbcee6529 | setup.cfg | setup.cfg | INI |
<|file_sep|>original/static/category-notes-template.md
Something about the category.
# Recommendations
Say what everyone is using and what you recommend/don't recommend.
<|file_sep|>current/static/category-notes-template.md
Something about the category.
# Recommendations
Say what everyone is using and what you recommend/don't recommend.
<|file_sep|>updated/static/category-notes-template.md | Something about the category.
# Recommendations
Say what everyone is using and what you recommend/don't recommend. Sort of a “tl;dr” for the category.
# Not included
Say what items aren't included (and give reasons). For instance, “X isn't included because it's worse than the alternatives, Y isn't included because it doesn't build with recent GHC”, etc. | <|file_sep|>original/static/category-notes-template.md
Something about the category.
# Recommendations
Say what everyone is using and what you recommend/don't recommend.
<|file_sep|>current/static/category-notes-template.md
Something about the category.
# Recommendations
Say what everyone is using and what you recommend/don't recommend.
<|file_sep|>updated/static/category-notes-template.md
Something about the category.
# Recommendations
Say what everyone is using and what you recommend/don't recommend. Sort of a “tl;dr” for the category.
# Not included
Say what items aren't included (and give reasons). For instance, “X isn't included because it's worse than the alternatives, Y isn't included because it doesn't build with recent GHC”, etc. | 12eb3323a540720f0454d84c4b29800cb8e0f6c1 | static/category-notes-template.md | static/category-notes-template.md | Markdown |
<|file_sep|>original/priv/qfappscriptdispatcherwrapper.h
#ifndef QFAPPSCRIPTDISPATCHERWRAPPER_H
#define QFAPPSCRIPTDISPATCHERWRAPPER_H
#include <QQuickItem>
#include <QPointer>
#include "qfappdispatcher.h"
class QFAppScriptDispatcherWrapper : public QQuickItem
{
Q_OBJECT
public:
QFAppScriptDispatcherWrapper();
QString type() const;
void setType(const QString &type);
QFAppDispatcher *dispatcher() const;
void setDispatcher(QFAppDispatcher *dispatcher);
public slots:
void dispatch(QJSValue arguments);
<|file_sep|>current/priv/qfappscriptdispatcherwrapper.h
#ifndef QFAPPSCRIPTDISPATCHERWRAPPER_H
#define QFAPPSCRIPTDISPATCHERWRAPPER_H
#include <QQuickItem>
#include <QPointer>
#include "qfappdispatcher.h"
class QFAppScriptDispatcherWrapper : public QQuickItem
{
Q_OBJECT
public:
QFAppScriptDispatcherWrapper();
QString type() const;
void setType(const QString &type);
QFAppDispatcher *dispatcher() const;
void setDispatcher(QFAppDispatcher *dispatcher);
public slots:
void dispatch(QJSValue arguments);
<|file_sep|>updated/priv/qfappscriptdispatcherwrapper.h | #ifndef QFAPPSCRIPTDISPATCHERWRAPPER_H
#define QFAPPSCRIPTDISPATCHERWRAPPER_H
#include <QQuickItem>
#include <QPointer>
#include "qfappdispatcher.h"
class QFAppScriptDispatcherWrapper : public QObject
{
Q_OBJECT
public:
QFAppScriptDispatcherWrapper();
QString type() const;
void setType(const QString &type);
QFAppDispatcher *dispatcher() const;
void setDispatcher(QFAppDispatcher *dispatcher);
public slots:
void dispatch(QJSValue arguments); | <|file_sep|>original/priv/qfappscriptdispatcherwrapper.h
#ifndef QFAPPSCRIPTDISPATCHERWRAPPER_H
#define QFAPPSCRIPTDISPATCHERWRAPPER_H
#include <QQuickItem>
#include <QPointer>
#include "qfappdispatcher.h"
class QFAppScriptDispatcherWrapper : public QQuickItem
{
Q_OBJECT
public:
QFAppScriptDispatcherWrapper();
QString type() const;
void setType(const QString &type);
QFAppDispatcher *dispatcher() const;
void setDispatcher(QFAppDispatcher *dispatcher);
public slots:
void dispatch(QJSValue arguments);
<|file_sep|>current/priv/qfappscriptdispatcherwrapper.h
#ifndef QFAPPSCRIPTDISPATCHERWRAPPER_H
#define QFAPPSCRIPTDISPATCHERWRAPPER_H
#include <QQuickItem>
#include <QPointer>
#include "qfappdispatcher.h"
class QFAppScriptDispatcherWrapper : public QQuickItem
{
Q_OBJECT
public:
QFAppScriptDispatcherWrapper();
QString type() const;
void setType(const QString &type);
QFAppDispatcher *dispatcher() const;
void setDispatcher(QFAppDispatcher *dispatcher);
public slots:
void dispatch(QJSValue arguments);
<|file_sep|>updated/priv/qfappscriptdispatcherwrapper.h
#ifndef QFAPPSCRIPTDISPATCHERWRAPPER_H
#define QFAPPSCRIPTDISPATCHERWRAPPER_H
#include <QQuickItem>
#include <QPointer>
#include "qfappdispatcher.h"
class QFAppScriptDispatcherWrapper : public QObject
{
Q_OBJECT
public:
QFAppScriptDispatcherWrapper();
QString type() const;
void setType(const QString &type);
QFAppDispatcher *dispatcher() const;
void setDispatcher(QFAppDispatcher *dispatcher);
public slots:
void dispatch(QJSValue arguments); | 9aa854c9ff8be24d6d16404b591f9a5b2e2e5237 | priv/qfappscriptdispatcherwrapper.h | priv/qfappscriptdispatcherwrapper.h | C |
<|file_sep|>original/vs2019-build-github.yml
<|file_sep|>current/vs2019-build-github.yml
<|file_sep|>updated/vs2019-build-github.yml | # .NET Desktop
# Build and run tests for .NET Desktop or Windows classic desktop solutions.
# Add steps that publish symbols, save build artifacts, and more:
# https://docs.microsoft.com/azure/devops/pipelines/apps/windows/dot-net
trigger:
- master
pool:
vmImage: 'windows-latest'
variables:
solution: '**/vs2019/TeamReportPlus/*.sln'
buildPlatform: 'Any CPU'
buildConfiguration: 'Release'
steps:
- task: NuGetToolInstaller@1
- task: NuGetCommand@2
inputs: | <|file_sep|>original/vs2019-build-github.yml
<|file_sep|>current/vs2019-build-github.yml
<|file_sep|>updated/vs2019-build-github.yml
# .NET Desktop
# Build and run tests for .NET Desktop or Windows classic desktop solutions.
# Add steps that publish symbols, save build artifacts, and more:
# https://docs.microsoft.com/azure/devops/pipelines/apps/windows/dot-net
trigger:
- master
pool:
vmImage: 'windows-latest'
variables:
solution: '**/vs2019/TeamReportPlus/*.sln'
buildPlatform: 'Any CPU'
buildConfiguration: 'Release'
steps:
- task: NuGetToolInstaller@1
- task: NuGetCommand@2
inputs: | e436623178e6f01a6f201061e4fce6e447f4856e | vs2019-build-github.yml | vs2019-build-github.yml | YAML |
<|file_sep|>original/playbooks/group_vars/all.yml
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
apt_cache_valid_time: 7200
is_digital_ocean: "{{ ansible_system_vendor == 'DigitalOcean' }}"
#NOTE: This check is to work around issues where ansible_virtualization_role is
#incorrectly identified
is_virtual_machine: "{{ ansible_virtualization_role == 'guest' or is_digital_ocean }}"
is_physical_machine: "{{ not is_virtual_machine }}"
<|file_sep|>current/playbooks/group_vars/all.yml
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
apt_cache_valid_time: 7200
is_digital_ocean: "{{ ansible_system_vendor == 'DigitalOcean' }}"
#NOTE: This check is to work around issues where ansible_virtualization_role is
#incorrectly identified
is_virtual_machine: "{{ ansible_virtualization_role == 'guest' or is_digital_ocean }}"
is_physical_machine: "{{ not is_virtual_machine }}"
<|file_sep|>updated/playbooks/group_vars/all.yml | # copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
apt_cache_valid_time: 7200
is_digital_ocean: "{{ ansible_system_vendor == 'DigitalOcean' }}"
#NOTE: This check is to work around issues where ansible_virtualization_role is
#incorrectly identified
is_virtual_machine: "{{ (ansible_virtualization_role is defined and ansible_virtualization_role == 'guest') or is_digital_ocean }}"
is_physical_machine: "{{ not is_virtual_machine }}" | <|file_sep|>original/playbooks/group_vars/all.yml
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
apt_cache_valid_time: 7200
is_digital_ocean: "{{ ansible_system_vendor == 'DigitalOcean' }}"
#NOTE: This check is to work around issues where ansible_virtualization_role is
#incorrectly identified
is_virtual_machine: "{{ ansible_virtualization_role == 'guest' or is_digital_ocean }}"
is_physical_machine: "{{ not is_virtual_machine }}"
<|file_sep|>current/playbooks/group_vars/all.yml
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
apt_cache_valid_time: 7200
is_digital_ocean: "{{ ansible_system_vendor == 'DigitalOcean' }}"
#NOTE: This check is to work around issues where ansible_virtualization_role is
#incorrectly identified
is_virtual_machine: "{{ ansible_virtualization_role == 'guest' or is_digital_ocean }}"
is_physical_machine: "{{ not is_virtual_machine }}"
<|file_sep|>updated/playbooks/group_vars/all.yml
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
apt_cache_valid_time: 7200
is_digital_ocean: "{{ ansible_system_vendor == 'DigitalOcean' }}"
#NOTE: This check is to work around issues where ansible_virtualization_role is
#incorrectly identified
is_virtual_machine: "{{ (ansible_virtualization_role is defined and ansible_virtualization_role == 'guest') or is_digital_ocean }}"
is_physical_machine: "{{ not is_virtual_machine }}" | f7f0f6ff1ef088e91032a9f36995998e8172bd8c | playbooks/group_vars/all.yml | playbooks/group_vars/all.yml | YAML |
<|file_sep|>original/app.yaml
application: gcdc2013-iogrow
version: 9
runtime: python27
api_version: 1
threadsafe: true
inbound_services:
- mail
libraries:
- name: jinja2
version: latest
- name: endpoints
version: latest
- name: django
version: "1.4"
- name: ssl
version: latest
builtins:
- remote_api: on
<|file_sep|>current/app.yaml
application: gcdc2013-iogrow
version: 9
runtime: python27
api_version: 1
threadsafe: true
inbound_services:
- mail
libraries:
- name: jinja2
version: latest
- name: endpoints
version: latest
- name: django
version: "1.4"
- name: ssl
version: latest
builtins:
- remote_api: on
<|file_sep|>updated/app.yaml | application: gcdc2013-iogrow
version: 10
runtime: python27
api_version: 1
threadsafe: true
inbound_services:
- mail
libraries:
- name: jinja2
version: latest
- name: endpoints
version: latest
- name: django
version: "1.4"
- name: ssl
version: latest
builtins:
- remote_api: on
| <|file_sep|>original/app.yaml
application: gcdc2013-iogrow
version: 9
runtime: python27
api_version: 1
threadsafe: true
inbound_services:
- mail
libraries:
- name: jinja2
version: latest
- name: endpoints
version: latest
- name: django
version: "1.4"
- name: ssl
version: latest
builtins:
- remote_api: on
<|file_sep|>current/app.yaml
application: gcdc2013-iogrow
version: 9
runtime: python27
api_version: 1
threadsafe: true
inbound_services:
- mail
libraries:
- name: jinja2
version: latest
- name: endpoints
version: latest
- name: django
version: "1.4"
- name: ssl
version: latest
builtins:
- remote_api: on
<|file_sep|>updated/app.yaml
application: gcdc2013-iogrow
version: 10
runtime: python27
api_version: 1
threadsafe: true
inbound_services:
- mail
libraries:
- name: jinja2
version: latest
- name: endpoints
version: latest
- name: django
version: "1.4"
- name: ssl
version: latest
builtins:
- remote_api: on
| 4a530645535f1dfba482705a6b21d3bcbf35e448 | app.yaml | app.yaml | YAML |
<|file_sep|>original/vendor/gobierto_engines/custom-fields-progress-plugin/app/javascripts/custom_fields_progress_plugin/modules/progress_plugin.js
_insertProgressPlugin(id, data)
}
function _insertProgressPlugin(id, data) {
let element = $(`#${id}`)
element.remove();
let progress_select = $("select[id$='_progress'")
if(progress_select.length) {
progress_select.replaceWith(
$('<input type="text" disabled="disabled">').val(
data.toLocaleString(I18n.locale, { style: 'percent', maximumFractionDigits: 1 })
)
);
}
}
return GobiertoCommonCustomFieldRecordsProgressPluginController;
})();
window.GobiertoAdmin.gobierto_common_custom_field_records_progress_plugin_controller = new GobiertoAdmin.GobiertoCommonCustomFieldRecordsProgressPluginController;
<|file_sep|>current/vendor/gobierto_engines/custom-fields-progress-plugin/app/javascripts/custom_fields_progress_plugin/modules/progress_plugin.js
_insertProgressPlugin(id, data)
}
function _insertProgressPlugin(id, data) {
let element = $(`#${id}`)
element.remove();
let progress_select = $("select[id$='_progress'")
if(progress_select.length) {
progress_select.replaceWith(
$('<input type="text" disabled="disabled">').val(
data.toLocaleString(I18n.locale, { style: 'percent', maximumFractionDigits: 1 })
)
);
}
}
return GobiertoCommonCustomFieldRecordsProgressPluginController;
})();
window.GobiertoAdmin.gobierto_common_custom_field_records_progress_plugin_controller = new GobiertoAdmin.GobiertoCommonCustomFieldRecordsProgressPluginController;
<|file_sep|>updated/vendor/gobierto_engines/custom-fields-progress-plugin/app/javascripts/custom_fields_progress_plugin/modules/progress_plugin.js |
_insertProgressPlugin(id, data)
}
function _insertProgressPlugin(id, data) {
let element = $(`#${id}`)
element.remove();
let progress_select = $("select[id$='_progress'")
if(progress_select.length) {
progress_select.replaceWith(
$('<input type="text" disabled="disabled" data-plugin-type="progress">').val(
data
? data.toLocaleString(I18n.locale, { style: 'percent', maximumFractionDigits: 1 })
: "-"
)
);
}
}
return GobiertoCommonCustomFieldRecordsProgressPluginController;
})(); | <|file_sep|>original/vendor/gobierto_engines/custom-fields-progress-plugin/app/javascripts/custom_fields_progress_plugin/modules/progress_plugin.js
_insertProgressPlugin(id, data)
}
function _insertProgressPlugin(id, data) {
let element = $(`#${id}`)
element.remove();
let progress_select = $("select[id$='_progress'")
if(progress_select.length) {
progress_select.replaceWith(
$('<input type="text" disabled="disabled">').val(
data.toLocaleString(I18n.locale, { style: 'percent', maximumFractionDigits: 1 })
)
);
}
}
return GobiertoCommonCustomFieldRecordsProgressPluginController;
})();
window.GobiertoAdmin.gobierto_common_custom_field_records_progress_plugin_controller = new GobiertoAdmin.GobiertoCommonCustomFieldRecordsProgressPluginController;
<|file_sep|>current/vendor/gobierto_engines/custom-fields-progress-plugin/app/javascripts/custom_fields_progress_plugin/modules/progress_plugin.js
_insertProgressPlugin(id, data)
}
function _insertProgressPlugin(id, data) {
let element = $(`#${id}`)
element.remove();
let progress_select = $("select[id$='_progress'")
if(progress_select.length) {
progress_select.replaceWith(
$('<input type="text" disabled="disabled">').val(
data.toLocaleString(I18n.locale, { style: 'percent', maximumFractionDigits: 1 })
)
);
}
}
return GobiertoCommonCustomFieldRecordsProgressPluginController;
})();
window.GobiertoAdmin.gobierto_common_custom_field_records_progress_plugin_controller = new GobiertoAdmin.GobiertoCommonCustomFieldRecordsProgressPluginController;
<|file_sep|>updated/vendor/gobierto_engines/custom-fields-progress-plugin/app/javascripts/custom_fields_progress_plugin/modules/progress_plugin.js
_insertProgressPlugin(id, data)
}
function _insertProgressPlugin(id, data) {
let element = $(`#${id}`)
element.remove();
let progress_select = $("select[id$='_progress'")
if(progress_select.length) {
progress_select.replaceWith(
$('<input type="text" disabled="disabled" data-plugin-type="progress">').val(
data
? data.toLocaleString(I18n.locale, { style: 'percent', maximumFractionDigits: 1 })
: "-"
)
);
}
}
return GobiertoCommonCustomFieldRecordsProgressPluginController;
})(); | 44c5de464fb6d67396584b4e8bf5703a7784b832 | vendor/gobierto_engines/custom-fields-progress-plugin/app/javascripts/custom_fields_progress_plugin/modules/progress_plugin.js | vendor/gobierto_engines/custom-fields-progress-plugin/app/javascripts/custom_fields_progress_plugin/modules/progress_plugin.js | JavaScript |
<|file_sep|>original/README.md
# PythonWinter2015-C
Python/C interface example
<|file_sep|>current/README.md
# PythonWinter2015-C
Python/C interface example
<|file_sep|>updated/README.md | # PythonWinter2015-C
Python/C interface example
[MSU CMC PYTHON 2015 SPRING](http://uneex.ru/LecturesCMC/PythonDevelopment2015) | <|file_sep|>original/README.md
# PythonWinter2015-C
Python/C interface example
<|file_sep|>current/README.md
# PythonWinter2015-C
Python/C interface example
<|file_sep|>updated/README.md
# PythonWinter2015-C
Python/C interface example
[MSU CMC PYTHON 2015 SPRING](http://uneex.ru/LecturesCMC/PythonDevelopment2015) | b29b6f4e0588561c06a54a7b0d4a26e0b8ee928f | README.md | README.md | Markdown |
<|file_sep|>original/stockflux-launcher/src/app-shortcuts/AppShortcuts.js
const options = {
method: 'GET'
};
OpenfinApiHelpers.getCurrentWindow()
.then(window => window.getOptions())
.then(options => options.customData.apiBaseUrl)
.then(baseUrl => fetch(`${baseUrl}/apps/v1`, options))
.then(response => response.json())
.then(results => {
console.log('results', results);
setApps(results);
})
.catch(console.error);
}, []);
return (
<div className="app-shortcuts">
{apps
.filter(
app =>
<|file_sep|>current/stockflux-launcher/src/app-shortcuts/AppShortcuts.js
const options = {
method: 'GET'
};
OpenfinApiHelpers.getCurrentWindow()
.then(window => window.getOptions())
.then(options => options.customData.apiBaseUrl)
.then(baseUrl => fetch(`${baseUrl}/apps/v1`, options))
.then(response => response.json())
.then(results => {
console.log('results', results);
setApps(results);
})
.catch(console.error);
}, []);
return (
<div className="app-shortcuts">
{apps
.filter(
app =>
<|file_sep|>updated/stockflux-launcher/src/app-shortcuts/AppShortcuts.js | const options = {
method: 'GET'
};
OpenfinApiHelpers.getCurrentWindow()
.then(window => window.getOptions())
.then(options => options.customData.apiBaseUrl)
.then(baseUrl => fetch(`${baseUrl}/apps/v1`, options))
.then(response => response.json())
.then(results => setApps(results))
.catch(console.error);
}, []);
return (
<div className="app-shortcuts">
{apps
.filter(
app =>
app.customConfig !== undefined && app.customConfig.showInLauncher
)
.map(app => { | <|file_sep|>original/stockflux-launcher/src/app-shortcuts/AppShortcuts.js
const options = {
method: 'GET'
};
OpenfinApiHelpers.getCurrentWindow()
.then(window => window.getOptions())
.then(options => options.customData.apiBaseUrl)
.then(baseUrl => fetch(`${baseUrl}/apps/v1`, options))
.then(response => response.json())
.then(results => {
console.log('results', results);
setApps(results);
})
.catch(console.error);
}, []);
return (
<div className="app-shortcuts">
{apps
.filter(
app =>
<|file_sep|>current/stockflux-launcher/src/app-shortcuts/AppShortcuts.js
const options = {
method: 'GET'
};
OpenfinApiHelpers.getCurrentWindow()
.then(window => window.getOptions())
.then(options => options.customData.apiBaseUrl)
.then(baseUrl => fetch(`${baseUrl}/apps/v1`, options))
.then(response => response.json())
.then(results => {
console.log('results', results);
setApps(results);
})
.catch(console.error);
}, []);
return (
<div className="app-shortcuts">
{apps
.filter(
app =>
<|file_sep|>updated/stockflux-launcher/src/app-shortcuts/AppShortcuts.js
const options = {
method: 'GET'
};
OpenfinApiHelpers.getCurrentWindow()
.then(window => window.getOptions())
.then(options => options.customData.apiBaseUrl)
.then(baseUrl => fetch(`${baseUrl}/apps/v1`, options))
.then(response => response.json())
.then(results => setApps(results))
.catch(console.error);
}, []);
return (
<div className="app-shortcuts">
{apps
.filter(
app =>
app.customConfig !== undefined && app.customConfig.showInLauncher
)
.map(app => { | bb0c2f4f9f7a227820308f0802c062520b0f6a00 | stockflux-launcher/src/app-shortcuts/AppShortcuts.js | stockflux-launcher/src/app-shortcuts/AppShortcuts.js | JavaScript |
<|file_sep|>original/composer.json
},
{
"name": "Symfony Community",
"homepage": "http://symfony.com/contributors"
}
],
"require": {
"php": ">=5.3.2",
"symfony/doctrine-bridge": "~2.7|~3.0|~4.0",
"doctrine/doctrine-bundle": "~1.0",
"doctrine/data-fixtures": "~1.0"
},
"autoload": {
"psr-4": { "Doctrine\\Bundle\\FixturesBundle\\": "" }
},
"extra": {
"branch-alias": {
"dev-master": "2.4.x-dev"
}
}
}
<|file_sep|>current/composer.json
},
{
"name": "Symfony Community",
"homepage": "http://symfony.com/contributors"
}
],
"require": {
"php": ">=5.3.2",
"symfony/doctrine-bridge": "~2.7|~3.0|~4.0",
"doctrine/doctrine-bundle": "~1.0",
"doctrine/data-fixtures": "~1.0"
},
"autoload": {
"psr-4": { "Doctrine\\Bundle\\FixturesBundle\\": "" }
},
"extra": {
"branch-alias": {
"dev-master": "2.4.x-dev"
}
}
}
<|file_sep|>updated/composer.json | },
{
"name": "Symfony Community",
"homepage": "http://symfony.com/contributors"
}
],
"require": {
"php": ">=5.3.2",
"symfony/doctrine-bridge": "~2.7|~3.0|~4.0",
"doctrine/doctrine-bundle": "~1.0",
"doctrine/data-fixtures": "~1.0"
},
"autoload": {
"psr-4": { "Doctrine\\Bundle\\FixturesBundle\\": "" }
},
"extra": {
"branch-alias": {
"dev-master": "3.0.x-dev"
}
}
} | <|file_sep|>original/composer.json
},
{
"name": "Symfony Community",
"homepage": "http://symfony.com/contributors"
}
],
"require": {
"php": ">=5.3.2",
"symfony/doctrine-bridge": "~2.7|~3.0|~4.0",
"doctrine/doctrine-bundle": "~1.0",
"doctrine/data-fixtures": "~1.0"
},
"autoload": {
"psr-4": { "Doctrine\\Bundle\\FixturesBundle\\": "" }
},
"extra": {
"branch-alias": {
"dev-master": "2.4.x-dev"
}
}
}
<|file_sep|>current/composer.json
},
{
"name": "Symfony Community",
"homepage": "http://symfony.com/contributors"
}
],
"require": {
"php": ">=5.3.2",
"symfony/doctrine-bridge": "~2.7|~3.0|~4.0",
"doctrine/doctrine-bundle": "~1.0",
"doctrine/data-fixtures": "~1.0"
},
"autoload": {
"psr-4": { "Doctrine\\Bundle\\FixturesBundle\\": "" }
},
"extra": {
"branch-alias": {
"dev-master": "2.4.x-dev"
}
}
}
<|file_sep|>updated/composer.json
},
{
"name": "Symfony Community",
"homepage": "http://symfony.com/contributors"
}
],
"require": {
"php": ">=5.3.2",
"symfony/doctrine-bridge": "~2.7|~3.0|~4.0",
"doctrine/doctrine-bundle": "~1.0",
"doctrine/data-fixtures": "~1.0"
},
"autoload": {
"psr-4": { "Doctrine\\Bundle\\FixturesBundle\\": "" }
},
"extra": {
"branch-alias": {
"dev-master": "3.0.x-dev"
}
}
} | 1e1c65fa442a50d87d9e38abc9e6d20bcdfe8ebc | composer.json | composer.json | JSON |
<|file_sep|>original/requirements.txt
-e git+https://github.com/f5devcentral/f5-ctlr-agent.git@5cb53a0fafc0262bf48e66211842e4d821fb81db#egg=f5-ctlr-agent
-e git+https://github.com/f5devcentral/f5-cccl.git@d8da31b9090042c8f84abdaf8e0ac5f83e30a16a#egg=f5-cccl
<|file_sep|>current/requirements.txt
-e git+https://github.com/f5devcentral/f5-ctlr-agent.git@5cb53a0fafc0262bf48e66211842e4d821fb81db#egg=f5-ctlr-agent
-e git+https://github.com/f5devcentral/f5-cccl.git@d8da31b9090042c8f84abdaf8e0ac5f83e30a16a#egg=f5-cccl
<|file_sep|>updated/requirements.txt | -e git+https://github.com/f5devcentral/f5-ctlr-agent.git@5cb53a0fafc0262bf48e66211842e4d821fb81db#egg=f5-ctlr-agent
-e git+https://github.com/f5devcentral/f5-cccl.git@50b59e38b8e53402edf8b39c0d64c08681e087d5#egg=f5-cccl | <|file_sep|>original/requirements.txt
-e git+https://github.com/f5devcentral/f5-ctlr-agent.git@5cb53a0fafc0262bf48e66211842e4d821fb81db#egg=f5-ctlr-agent
-e git+https://github.com/f5devcentral/f5-cccl.git@d8da31b9090042c8f84abdaf8e0ac5f83e30a16a#egg=f5-cccl
<|file_sep|>current/requirements.txt
-e git+https://github.com/f5devcentral/f5-ctlr-agent.git@5cb53a0fafc0262bf48e66211842e4d821fb81db#egg=f5-ctlr-agent
-e git+https://github.com/f5devcentral/f5-cccl.git@d8da31b9090042c8f84abdaf8e0ac5f83e30a16a#egg=f5-cccl
<|file_sep|>updated/requirements.txt
-e git+https://github.com/f5devcentral/f5-ctlr-agent.git@5cb53a0fafc0262bf48e66211842e4d821fb81db#egg=f5-ctlr-agent
-e git+https://github.com/f5devcentral/f5-cccl.git@50b59e38b8e53402edf8b39c0d64c08681e087d5#egg=f5-cccl | 0d4a62126cd3122f1d76aad9263c267963cc14a9 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/setup_base.py
<|file_sep|>current/setup_base.py
<|file_sep|>updated/setup_base.py | from distutils.core import setup
long_description="""HTML parser designed to follow the WHATWG HTML5
specification. The parser is designed to handle all flavours of HTML and
parses invalid documents using well-defined error handling rules compatible
with the behaviour of major desktop web browsers.
Output is to a tree structure; the current release supports output to
a custom tree similar to DOM and to ElementTree.
"""
classifiers=[
'Development Status :: %(status)s',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Text Processing :: Markup :: HTML'
],
| <|file_sep|>original/setup_base.py
<|file_sep|>current/setup_base.py
<|file_sep|>updated/setup_base.py
from distutils.core import setup
long_description="""HTML parser designed to follow the WHATWG HTML5
specification. The parser is designed to handle all flavours of HTML and
parses invalid documents using well-defined error handling rules compatible
with the behaviour of major desktop web browsers.
Output is to a tree structure; the current release supports output to
a custom tree similar to DOM and to ElementTree.
"""
classifiers=[
'Development Status :: %(status)s',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Text Processing :: Markup :: HTML'
],
| fc60ac22d7497e8350351a5c82a86588c6a224fe | setup_base.py | setup_base.py | Python |
<|file_sep|>original/circle.yml
version: 2.1.0
services:
- docker
dependencies:
cache_directories:
- "~/docker"
override:
- docker info
- gem install git-set-mtime --no-ri --no-rdoc
- git set-mtime
- ruby _scripts/ci-build.rb
test:
override:
- echo "Container tests go here."
deployment:
hub:
branch: master
<|file_sep|>current/circle.yml
version: 2.1.0
services:
- docker
dependencies:
cache_directories:
- "~/docker"
override:
- docker info
- gem install git-set-mtime --no-ri --no-rdoc
- git set-mtime
- ruby _scripts/ci-build.rb
test:
override:
- echo "Container tests go here."
deployment:
hub:
branch: master
<|file_sep|>updated/circle.yml | version: 2.1.0
services:
- docker
dependencies:
cache_directories:
- "~/docker"
override:
- docker info
- ruby _scripts/ci-build.rb
test:
override:
- echo "Container tests go here."
deployment:
hub:
branch: master
commands:
- ruby _scripts/publish.rb | <|file_sep|>original/circle.yml
version: 2.1.0
services:
- docker
dependencies:
cache_directories:
- "~/docker"
override:
- docker info
- gem install git-set-mtime --no-ri --no-rdoc
- git set-mtime
- ruby _scripts/ci-build.rb
test:
override:
- echo "Container tests go here."
deployment:
hub:
branch: master
<|file_sep|>current/circle.yml
version: 2.1.0
services:
- docker
dependencies:
cache_directories:
- "~/docker"
override:
- docker info
- gem install git-set-mtime --no-ri --no-rdoc
- git set-mtime
- ruby _scripts/ci-build.rb
test:
override:
- echo "Container tests go here."
deployment:
hub:
branch: master
<|file_sep|>updated/circle.yml
version: 2.1.0
services:
- docker
dependencies:
cache_directories:
- "~/docker"
override:
- docker info
- ruby _scripts/ci-build.rb
test:
override:
- echo "Container tests go here."
deployment:
hub:
branch: master
commands:
- ruby _scripts/publish.rb | 0f4942e4c5759835377814eddb31db96ce86a05c | circle.yml | circle.yml | YAML |
<|file_sep|>original/bundler-patch.gemspec
spec.email = ['chrismo@clabs.org']
spec.summary = %q{Conservative bundler updates}
# spec.description = ''
spec.homepage = 'https://github.com/livingsocial/bundler-patch'
spec.license = 'MIT'
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
spec.bindir = 'bin'
spec.executables = ['bundler-patch']
spec.require_paths = ['lib']
spec.add_dependency 'bundler-advise', '~> 1.1', '>= 1.1.2'
spec.add_dependency 'slop', '~> 3.0'
spec.add_dependency 'bundler', '~> 1.7'
spec.add_development_dependency 'bundler-fixture', '~> 1.3', '>= 1.3.2'
spec.add_development_dependency 'pry'
spec.add_development_dependency 'rake', '~> 10.0'
spec.add_development_dependency 'rspec', '~> 3.5'
end
<|file_sep|>current/bundler-patch.gemspec
spec.email = ['chrismo@clabs.org']
spec.summary = %q{Conservative bundler updates}
# spec.description = ''
spec.homepage = 'https://github.com/livingsocial/bundler-patch'
spec.license = 'MIT'
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
spec.bindir = 'bin'
spec.executables = ['bundler-patch']
spec.require_paths = ['lib']
spec.add_dependency 'bundler-advise', '~> 1.1', '>= 1.1.2'
spec.add_dependency 'slop', '~> 3.0'
spec.add_dependency 'bundler', '~> 1.7'
spec.add_development_dependency 'bundler-fixture', '~> 1.3', '>= 1.3.2'
spec.add_development_dependency 'pry'
spec.add_development_dependency 'rake', '~> 10.0'
spec.add_development_dependency 'rspec', '~> 3.5'
end
<|file_sep|>updated/bundler-patch.gemspec | spec.email = ['chrismo@clabs.org']
spec.summary = %q{Conservative bundler updates}
# spec.description = ''
spec.homepage = 'https://github.com/livingsocial/bundler-patch'
spec.license = 'MIT'
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
spec.bindir = 'bin'
spec.executables = ['bundler-patch']
spec.require_paths = ['lib']
spec.add_dependency 'bundler-advise', '~> 1.1', '>= 1.1.5'
spec.add_dependency 'slop', '~> 3.0'
spec.add_dependency 'bundler', '~> 1.7'
spec.add_development_dependency 'bundler-fixture', '~> 1.3', '>= 1.3.2'
spec.add_development_dependency 'pry'
spec.add_development_dependency 'rake', '~> 10.0'
spec.add_development_dependency 'rspec', '~> 3.5'
end | <|file_sep|>original/bundler-patch.gemspec
spec.email = ['chrismo@clabs.org']
spec.summary = %q{Conservative bundler updates}
# spec.description = ''
spec.homepage = 'https://github.com/livingsocial/bundler-patch'
spec.license = 'MIT'
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
spec.bindir = 'bin'
spec.executables = ['bundler-patch']
spec.require_paths = ['lib']
spec.add_dependency 'bundler-advise', '~> 1.1', '>= 1.1.2'
spec.add_dependency 'slop', '~> 3.0'
spec.add_dependency 'bundler', '~> 1.7'
spec.add_development_dependency 'bundler-fixture', '~> 1.3', '>= 1.3.2'
spec.add_development_dependency 'pry'
spec.add_development_dependency 'rake', '~> 10.0'
spec.add_development_dependency 'rspec', '~> 3.5'
end
<|file_sep|>current/bundler-patch.gemspec
spec.email = ['chrismo@clabs.org']
spec.summary = %q{Conservative bundler updates}
# spec.description = ''
spec.homepage = 'https://github.com/livingsocial/bundler-patch'
spec.license = 'MIT'
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
spec.bindir = 'bin'
spec.executables = ['bundler-patch']
spec.require_paths = ['lib']
spec.add_dependency 'bundler-advise', '~> 1.1', '>= 1.1.2'
spec.add_dependency 'slop', '~> 3.0'
spec.add_dependency 'bundler', '~> 1.7'
spec.add_development_dependency 'bundler-fixture', '~> 1.3', '>= 1.3.2'
spec.add_development_dependency 'pry'
spec.add_development_dependency 'rake', '~> 10.0'
spec.add_development_dependency 'rspec', '~> 3.5'
end
<|file_sep|>updated/bundler-patch.gemspec
spec.email = ['chrismo@clabs.org']
spec.summary = %q{Conservative bundler updates}
# spec.description = ''
spec.homepage = 'https://github.com/livingsocial/bundler-patch'
spec.license = 'MIT'
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
spec.bindir = 'bin'
spec.executables = ['bundler-patch']
spec.require_paths = ['lib']
spec.add_dependency 'bundler-advise', '~> 1.1', '>= 1.1.5'
spec.add_dependency 'slop', '~> 3.0'
spec.add_dependency 'bundler', '~> 1.7'
spec.add_development_dependency 'bundler-fixture', '~> 1.3', '>= 1.3.2'
spec.add_development_dependency 'pry'
spec.add_development_dependency 'rake', '~> 10.0'
spec.add_development_dependency 'rspec', '~> 3.5'
end | 7f4702dbc7a6aed2e1e5422bf97d530b7cf13481 | bundler-patch.gemspec | bundler-patch.gemspec | Ruby |
<|file_sep|>data/building-hours/1-3-stav.yaml.diff
original:
hours:
- {days: [Mo, Tu, We, Th, Fr, Sa], from: '7:00am', to: '9:45am'}
- {days: [Su], from: '8:30am', to: '10:15am'}
updated:
# hours:
# - {days: [Mo, Tu, We, Th, Fr, Sa], from: '7:00am', to: '9:45am'}
# - {days: [Su], from: '8:30am', to: '10:15am'}
hours: []
<|file_sep|>data/building-hours/1-3-stav.yaml.diff
original:
updated:
notes: NO MEAL PLANS - department charges, cash, credit, Ole or Flex dollars only
<|file_sep|>data/building-hours/1-3-stav.yaml.diff
original:
- {days: [Mo, Tu, We, Th, Fr], from: '10:45am', to: '1:30pm'}
- {days: [Sa, Su], from: '11:00am', to: '1:30pm'}
updated:
- {days: [Mo, Tu, We, Th, Fr], from: '12:00pm', to: '1:00pm'}
<|file_sep|>data/building-hours/1-3-stav.yaml.diff
original:
updated:
notes: NO MEAL PLANS - department charges, cash, credit, Ole or Flex dollars only
<|file_sep|>original/data/building-hours/1-3-stav.yaml
- title: Lunch
hours:
# - {days: [Mo, Tu, We, Th, Fr], from: '10:30am', to: '2:00pm'}
# - {days: [Sa, Su], from: '11:00am', to: '1:30pm'}
- {days: [Mo, Tu, We, Th, Fr], from: '10:45am', to: '1:30pm'}
- {days: [Sa, Su], from: '11:00am', to: '1:30pm'}
- title: Dinner
hours:
# - {days: [Mo, Tu, We, Th, Fr, Sa, Su], from: '4:30pm', to: '7:30pm'}
- {days: [Mo, Tu, We, Th, Fr, Sa, Su], from: '4:30pm', to: '7:00pm'}
breakSchedule:
fall: []
thanksgiving: []
winter: []
interim: []
spring: []
easter: []
summer: []
<|file_sep|>current/data/building-hours/1-3-stav.yaml
- title: Lunch
notes: NO MEAL PLANS - department charges, cash, credit, Ole or Flex dollars only
hours:
# - {days: [Mo, Tu, We, Th, Fr], from: '10:30am', to: '2:00pm'}
# - {days: [Sa, Su], from: '11:00am', to: '1:30pm'}
- {days: [Mo, Tu, We, Th, Fr], from: '12:00pm', to: '1:00pm'}
- title: Dinner
notes: NO MEAL PLANS - department charges, cash, credit, Ole or Flex dollars only
hours:
# - {days: [Mo, Tu, We, Th, Fr, Sa, Su], from: '4:30pm', to: '7:30pm'}
- {days: [Mo, Tu, We, Th, Fr, Sa, Su], from: '4:30pm', to: '7:00pm'}
breakSchedule:
fall: []
thanksgiving: []
winter: []
interim: []
spring: []
easter: []
summer: []
<|file_sep|>updated/data/building-hours/1-3-stav.yaml | - title: Lunch
notes: NO MEAL PLANS - department charges, cash, credit, Ole or Flex dollars only
hours:
# - {days: [Mo, Tu, We, Th, Fr], from: '10:30am', to: '2:00pm'}
# - {days: [Sa, Su], from: '11:00am', to: '1:30pm'}
- {days: [Mo, Tu, We, Th, Fr], from: '12:00pm', to: '1:00pm'}
- title: Dinner
notes: NO MEAL PLANS - department charges, cash, credit, Ole or Flex dollars only
hours:
# - {days: [Mo, Tu, We, Th, Fr, Sa, Su], from: '4:30pm', to: '7:30pm'}
- {days: [Mo, Tu, We, Th, Fr], from: '5:00pm', to: '6:00pm'}
breakSchedule:
fall: []
thanksgiving: []
winter: []
interim: []
spring: []
easter: []
summer: [] | <|file_sep|>data/building-hours/1-3-stav.yaml.diff
original:
hours:
- {days: [Mo, Tu, We, Th, Fr, Sa], from: '7:00am', to: '9:45am'}
- {days: [Su], from: '8:30am', to: '10:15am'}
updated:
# hours:
# - {days: [Mo, Tu, We, Th, Fr, Sa], from: '7:00am', to: '9:45am'}
# - {days: [Su], from: '8:30am', to: '10:15am'}
hours: []
<|file_sep|>data/building-hours/1-3-stav.yaml.diff
original:
updated:
notes: NO MEAL PLANS - department charges, cash, credit, Ole or Flex dollars only
<|file_sep|>data/building-hours/1-3-stav.yaml.diff
original:
- {days: [Mo, Tu, We, Th, Fr], from: '10:45am', to: '1:30pm'}
- {days: [Sa, Su], from: '11:00am', to: '1:30pm'}
updated:
- {days: [Mo, Tu, We, Th, Fr], from: '12:00pm', to: '1:00pm'}
<|file_sep|>data/building-hours/1-3-stav.yaml.diff
original:
updated:
notes: NO MEAL PLANS - department charges, cash, credit, Ole or Flex dollars only
<|file_sep|>original/data/building-hours/1-3-stav.yaml
- title: Lunch
hours:
# - {days: [Mo, Tu, We, Th, Fr], from: '10:30am', to: '2:00pm'}
# - {days: [Sa, Su], from: '11:00am', to: '1:30pm'}
- {days: [Mo, Tu, We, Th, Fr], from: '10:45am', to: '1:30pm'}
- {days: [Sa, Su], from: '11:00am', to: '1:30pm'}
- title: Dinner
hours:
# - {days: [Mo, Tu, We, Th, Fr, Sa, Su], from: '4:30pm', to: '7:30pm'}
- {days: [Mo, Tu, We, Th, Fr, Sa, Su], from: '4:30pm', to: '7:00pm'}
breakSchedule:
fall: []
thanksgiving: []
winter: []
interim: []
spring: []
easter: []
summer: []
<|file_sep|>current/data/building-hours/1-3-stav.yaml
- title: Lunch
notes: NO MEAL PLANS - department charges, cash, credit, Ole or Flex dollars only
hours:
# - {days: [Mo, Tu, We, Th, Fr], from: '10:30am', to: '2:00pm'}
# - {days: [Sa, Su], from: '11:00am', to: '1:30pm'}
- {days: [Mo, Tu, We, Th, Fr], from: '12:00pm', to: '1:00pm'}
- title: Dinner
notes: NO MEAL PLANS - department charges, cash, credit, Ole or Flex dollars only
hours:
# - {days: [Mo, Tu, We, Th, Fr, Sa, Su], from: '4:30pm', to: '7:30pm'}
- {days: [Mo, Tu, We, Th, Fr, Sa, Su], from: '4:30pm', to: '7:00pm'}
breakSchedule:
fall: []
thanksgiving: []
winter: []
interim: []
spring: []
easter: []
summer: []
<|file_sep|>updated/data/building-hours/1-3-stav.yaml
- title: Lunch
notes: NO MEAL PLANS - department charges, cash, credit, Ole or Flex dollars only
hours:
# - {days: [Mo, Tu, We, Th, Fr], from: '10:30am', to: '2:00pm'}
# - {days: [Sa, Su], from: '11:00am', to: '1:30pm'}
- {days: [Mo, Tu, We, Th, Fr], from: '12:00pm', to: '1:00pm'}
- title: Dinner
notes: NO MEAL PLANS - department charges, cash, credit, Ole or Flex dollars only
hours:
# - {days: [Mo, Tu, We, Th, Fr, Sa, Su], from: '4:30pm', to: '7:30pm'}
- {days: [Mo, Tu, We, Th, Fr], from: '5:00pm', to: '6:00pm'}
breakSchedule:
fall: []
thanksgiving: []
winter: []
interim: []
spring: []
easter: []
summer: [] | 144fa82196f65c4e9a9224e2a0bcb2c1630cd6bf | data/building-hours/1-3-stav.yaml | data/building-hours/1-3-stav.yaml | YAML |
<|file_sep|>app/views/finders/_facet_tags.html.erb.diff
original:
<p class="facet-tags__preposition"><%= filter[:preposition] %></p>
<div class="facet-tag">
<p class="facet-tag__text"><%= filter[:text] %></p>
updated:
<span class="facet-tags__preposition"><%= filter[:preposition] %></span>
<span class="facet-tag">
<span class="facet-tag__text"><%= filter[:text] %></span>
<|file_sep|>original/app/views/finders/_facet_tags.html.erb
<div class="facet-tags__group">
<% applied_filter.each do |filter| %>
<div class="facet-tags__wrapper">
<p class="facet-tags__preposition"><%= filter[:preposition] %></p>
<div class="facet-tag">
<p class="facet-tag__text"><%= filter[:text] %></p>
<button type="button"
class="facet-tag__remove"
aria-label="Remove filter <%= filter[:text] %>"
data-module="remove-filter-link"
data-track-label="<%= filter[:data_track_label] %>"
data-facet="<%= filter[:data_facet] %>"
data-value="<%= filter[:data_value] %>"
data-name="<%= filter[:data_name] %>">✕</button>
</div>
</div>
<% end %>
</div>
<% end %>
</div>
<% end %>
<|file_sep|>current/app/views/finders/_facet_tags.html.erb
<div class="facet-tags__group">
<% applied_filter.each do |filter| %>
<div class="facet-tags__wrapper">
<span class="facet-tags__preposition"><%= filter[:preposition] %></span>
<span class="facet-tag">
<span class="facet-tag__text"><%= filter[:text] %></span>
<button type="button"
class="facet-tag__remove"
aria-label="Remove filter <%= filter[:text] %>"
data-module="remove-filter-link"
data-track-label="<%= filter[:data_track_label] %>"
data-facet="<%= filter[:data_facet] %>"
data-value="<%= filter[:data_value] %>"
data-name="<%= filter[:data_name] %>">✕</button>
</div>
</div>
<% end %>
</div>
<% end %>
</div>
<% end %>
<|file_sep|>updated/app/views/finders/_facet_tags.html.erb | <div class="facet-tags__group">
<% applied_filter.each do |filter| %>
<div class="facet-tags__wrapper">
<span class="facet-tags__preposition"><%= filter[:preposition] %></span>
<span class="facet-tag">
<span class="facet-tag__text"><%= filter[:text] %></span>
<button type="button"
class="facet-tag__remove"
aria-label="Remove filter <%= filter[:text] %>"
data-module="remove-filter-link"
data-track-label="<%= filter[:data_track_label] %>"
data-facet="<%= filter[:data_facet] %>"
data-value="<%= filter[:data_value] %>"
data-name="<%= filter[:data_name] %>">✕</button>
</span>
</div>
<% end %>
</div>
<% end %>
</div>
<% end %> | <|file_sep|>app/views/finders/_facet_tags.html.erb.diff
original:
<p class="facet-tags__preposition"><%= filter[:preposition] %></p>
<div class="facet-tag">
<p class="facet-tag__text"><%= filter[:text] %></p>
updated:
<span class="facet-tags__preposition"><%= filter[:preposition] %></span>
<span class="facet-tag">
<span class="facet-tag__text"><%= filter[:text] %></span>
<|file_sep|>original/app/views/finders/_facet_tags.html.erb
<div class="facet-tags__group">
<% applied_filter.each do |filter| %>
<div class="facet-tags__wrapper">
<p class="facet-tags__preposition"><%= filter[:preposition] %></p>
<div class="facet-tag">
<p class="facet-tag__text"><%= filter[:text] %></p>
<button type="button"
class="facet-tag__remove"
aria-label="Remove filter <%= filter[:text] %>"
data-module="remove-filter-link"
data-track-label="<%= filter[:data_track_label] %>"
data-facet="<%= filter[:data_facet] %>"
data-value="<%= filter[:data_value] %>"
data-name="<%= filter[:data_name] %>">✕</button>
</div>
</div>
<% end %>
</div>
<% end %>
</div>
<% end %>
<|file_sep|>current/app/views/finders/_facet_tags.html.erb
<div class="facet-tags__group">
<% applied_filter.each do |filter| %>
<div class="facet-tags__wrapper">
<span class="facet-tags__preposition"><%= filter[:preposition] %></span>
<span class="facet-tag">
<span class="facet-tag__text"><%= filter[:text] %></span>
<button type="button"
class="facet-tag__remove"
aria-label="Remove filter <%= filter[:text] %>"
data-module="remove-filter-link"
data-track-label="<%= filter[:data_track_label] %>"
data-facet="<%= filter[:data_facet] %>"
data-value="<%= filter[:data_value] %>"
data-name="<%= filter[:data_name] %>">✕</button>
</div>
</div>
<% end %>
</div>
<% end %>
</div>
<% end %>
<|file_sep|>updated/app/views/finders/_facet_tags.html.erb
<div class="facet-tags__group">
<% applied_filter.each do |filter| %>
<div class="facet-tags__wrapper">
<span class="facet-tags__preposition"><%= filter[:preposition] %></span>
<span class="facet-tag">
<span class="facet-tag__text"><%= filter[:text] %></span>
<button type="button"
class="facet-tag__remove"
aria-label="Remove filter <%= filter[:text] %>"
data-module="remove-filter-link"
data-track-label="<%= filter[:data_track_label] %>"
data-facet="<%= filter[:data_facet] %>"
data-value="<%= filter[:data_value] %>"
data-name="<%= filter[:data_name] %>">✕</button>
</span>
</div>
<% end %>
</div>
<% end %>
</div>
<% end %> | 844f454b822c9562ca1834c086bf8bb443df2f0f | app/views/finders/_facet_tags.html.erb | app/views/finders/_facet_tags.html.erb | HTML+ERB |
<|file_sep|>original/.travis.yml
# Use Travis's cointainer based infrastructure
sudo: false
addons:
apt:
sources:
- chef-stable-precise
packages:
- chefdk
# Don't `bundle install`
install: echo "skip bundle install"
branches:
only:
- master
# Ensure we make ChefDK's Ruby the default
before_script:
- eval "$(/opt/chefdk/bin/chef shell-init bash)"
# We have to install chef-sugar for ChefSpec
- /opt/chefdk/embedded/bin/chef gem install chef-sugar
<|file_sep|>current/.travis.yml
# Use Travis's cointainer based infrastructure
sudo: false
addons:
apt:
sources:
- chef-stable-precise
packages:
- chefdk
# Don't `bundle install`
install: echo "skip bundle install"
branches:
only:
- master
# Ensure we make ChefDK's Ruby the default
before_script:
- eval "$(/opt/chefdk/bin/chef shell-init bash)"
# We have to install chef-sugar for ChefSpec
- /opt/chefdk/embedded/bin/chef gem install chef-sugar
<|file_sep|>updated/.travis.yml | # Use Travis's cointainer based infrastructure
sudo: false
addons:
apt:
sources:
- chef-current-precise
packages:
- chefdk
# Don't `bundle install`
install: echo "skip bundle install"
branches:
only:
- master
# Ensure we make ChefDK's Ruby the default
before_script:
- eval "$(/opt/chefdk/bin/chef shell-init bash)"
# We have to install chef-sugar for ChefSpec
- /opt/chefdk/embedded/bin/chef gem install chef-sugar | <|file_sep|>original/.travis.yml
# Use Travis's cointainer based infrastructure
sudo: false
addons:
apt:
sources:
- chef-stable-precise
packages:
- chefdk
# Don't `bundle install`
install: echo "skip bundle install"
branches:
only:
- master
# Ensure we make ChefDK's Ruby the default
before_script:
- eval "$(/opt/chefdk/bin/chef shell-init bash)"
# We have to install chef-sugar for ChefSpec
- /opt/chefdk/embedded/bin/chef gem install chef-sugar
<|file_sep|>current/.travis.yml
# Use Travis's cointainer based infrastructure
sudo: false
addons:
apt:
sources:
- chef-stable-precise
packages:
- chefdk
# Don't `bundle install`
install: echo "skip bundle install"
branches:
only:
- master
# Ensure we make ChefDK's Ruby the default
before_script:
- eval "$(/opt/chefdk/bin/chef shell-init bash)"
# We have to install chef-sugar for ChefSpec
- /opt/chefdk/embedded/bin/chef gem install chef-sugar
<|file_sep|>updated/.travis.yml
# Use Travis's cointainer based infrastructure
sudo: false
addons:
apt:
sources:
- chef-current-precise
packages:
- chefdk
# Don't `bundle install`
install: echo "skip bundle install"
branches:
only:
- master
# Ensure we make ChefDK's Ruby the default
before_script:
- eval "$(/opt/chefdk/bin/chef shell-init bash)"
# We have to install chef-sugar for ChefSpec
- /opt/chefdk/embedded/bin/chef gem install chef-sugar | d6519680280db8f8f06369095c332460838bf0e5 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/lib/redmine_recurring_tasks/hooks/issue_sidebar_hook.rb
module RedmineRecurringTasks
module Hooks
class IssueSidebarHook < Redmine::Hook::ViewListener
render_on :view_issues_sidebar_planning_bottom, partial: 'weekly_schedules/issues/sidebar'
end
end
end
<|file_sep|>current/lib/redmine_recurring_tasks/hooks/issue_sidebar_hook.rb
module RedmineRecurringTasks
module Hooks
class IssueSidebarHook < Redmine::Hook::ViewListener
render_on :view_issues_sidebar_planning_bottom, partial: 'weekly_schedules/issues/sidebar'
end
end
end
<|file_sep|>updated/lib/redmine_recurring_tasks/hooks/issue_sidebar_hook.rb | module RedmineRecurringTasks
module Hooks
# Issue sidebar hook for show weekly schedule on issue page
class IssueSidebarHook < Redmine::Hook::ViewListener
render_on :view_issues_sidebar_planning_bottom, partial: 'weekly_schedules/issues/sidebar'
end
end
end | <|file_sep|>original/lib/redmine_recurring_tasks/hooks/issue_sidebar_hook.rb
module RedmineRecurringTasks
module Hooks
class IssueSidebarHook < Redmine::Hook::ViewListener
render_on :view_issues_sidebar_planning_bottom, partial: 'weekly_schedules/issues/sidebar'
end
end
end
<|file_sep|>current/lib/redmine_recurring_tasks/hooks/issue_sidebar_hook.rb
module RedmineRecurringTasks
module Hooks
class IssueSidebarHook < Redmine::Hook::ViewListener
render_on :view_issues_sidebar_planning_bottom, partial: 'weekly_schedules/issues/sidebar'
end
end
end
<|file_sep|>updated/lib/redmine_recurring_tasks/hooks/issue_sidebar_hook.rb
module RedmineRecurringTasks
module Hooks
# Issue sidebar hook for show weekly schedule on issue page
class IssueSidebarHook < Redmine::Hook::ViewListener
render_on :view_issues_sidebar_planning_bottom, partial: 'weekly_schedules/issues/sidebar'
end
end
end | 922f77cac2dd903f46a388a31e864fe5fed612ad | lib/redmine_recurring_tasks/hooks/issue_sidebar_hook.rb | lib/redmine_recurring_tasks/hooks/issue_sidebar_hook.rb | Ruby |
<|file_sep|>original/purchase_from_configuration/purchase_view.xml
<field name="model">purchase.order</field>
<field name="inherit_id" ref="purchase.purchase_order_form"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='order_line']/tree/field[@name='name']" position="after">
<field name="prodlot_id"/>
</xpath>
</field>
</record>
<record id="purchase_order_line_form" model="ir.ui.view">
<field name="model">purchase.order.line</field>
<field name="inherit_id" ref="purchase.purchase_order_line_form2"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='product_id']" position="after">
<field name="prodlot_id"/>
</xpath>
</field>
</record>
</data>
</openerp>
<|file_sep|>current/purchase_from_configuration/purchase_view.xml
<field name="model">purchase.order</field>
<field name="inherit_id" ref="purchase.purchase_order_form"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='order_line']/tree/field[@name='name']" position="after">
<field name="prodlot_id"/>
</xpath>
</field>
</record>
<record id="purchase_order_line_form" model="ir.ui.view">
<field name="model">purchase.order.line</field>
<field name="inherit_id" ref="purchase.purchase_order_line_form2"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='product_id']" position="after">
<field name="prodlot_id"/>
</xpath>
</field>
</record>
</data>
</openerp>
<|file_sep|>updated/purchase_from_configuration/purchase_view.xml | <record id="purchase_order_line_form" model="ir.ui.view">
<field name="model">purchase.order.line</field>
<field name="inherit_id" ref="purchase.purchase_order_line_form2"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='product_id']" position="after">
<field name="prodlot_id"/>
</xpath>
</field>
</record>
<record id="view_purchase_order_filter" model="ir.ui.view">
<field name="model">purchase.order</field>
<field name="inherit_id" ref="purchase.view_purchase_order_filter"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='partner_id']" position="after">
<field name="order_line" string="Serial Number" filter_domain="[('order_line.prodlot_id.name','ilike',self)]"/>
</xpath>
</field>
</record>
</data> | <|file_sep|>original/purchase_from_configuration/purchase_view.xml
<field name="model">purchase.order</field>
<field name="inherit_id" ref="purchase.purchase_order_form"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='order_line']/tree/field[@name='name']" position="after">
<field name="prodlot_id"/>
</xpath>
</field>
</record>
<record id="purchase_order_line_form" model="ir.ui.view">
<field name="model">purchase.order.line</field>
<field name="inherit_id" ref="purchase.purchase_order_line_form2"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='product_id']" position="after">
<field name="prodlot_id"/>
</xpath>
</field>
</record>
</data>
</openerp>
<|file_sep|>current/purchase_from_configuration/purchase_view.xml
<field name="model">purchase.order</field>
<field name="inherit_id" ref="purchase.purchase_order_form"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='order_line']/tree/field[@name='name']" position="after">
<field name="prodlot_id"/>
</xpath>
</field>
</record>
<record id="purchase_order_line_form" model="ir.ui.view">
<field name="model">purchase.order.line</field>
<field name="inherit_id" ref="purchase.purchase_order_line_form2"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='product_id']" position="after">
<field name="prodlot_id"/>
</xpath>
</field>
</record>
</data>
</openerp>
<|file_sep|>updated/purchase_from_configuration/purchase_view.xml
<record id="purchase_order_line_form" model="ir.ui.view">
<field name="model">purchase.order.line</field>
<field name="inherit_id" ref="purchase.purchase_order_line_form2"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='product_id']" position="after">
<field name="prodlot_id"/>
</xpath>
</field>
</record>
<record id="view_purchase_order_filter" model="ir.ui.view">
<field name="model">purchase.order</field>
<field name="inherit_id" ref="purchase.view_purchase_order_filter"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='partner_id']" position="after">
<field name="order_line" string="Serial Number" filter_domain="[('order_line.prodlot_id.name','ilike',self)]"/>
</xpath>
</field>
</record>
</data> | c31b64c3b26a434dd084eb3a971a5e5c923b14aa | purchase_from_configuration/purchase_view.xml | purchase_from_configuration/purchase_view.xml | XML |
<|file_sep|>original/Resources/app.nw/TODO.md
+ quiet backups =>
(into ~/Library/Application Support/Wreathe/Backups/file(date).wreath)
+ allow users to upload own sounds (ambient only? e.g. can't upload click sounds
from settings ui)
+ allow the app to check for updates on startup.
+ Settings save automatically unless the button "Reset" is pressed & confirmed.
this app is about focus and writing, it's not about creating themes
(can put more advanced theme creator on website).
Get out of your own way when designing things: it's not about you.
+ iCloud & file nav implementation (see that lua HN post or w/e)
(if want into App Store).
+ add a favicon for app completeness (and so nothing unexpected happens).
+ "X" button for Control.
+ Elements in the theme editor should be clearly labeled. The mystery meat
design may be slick, but it's mostly inconvenient. User doesn't want or
need to play around with values just to find a specific thing.
+ Show tabs in fullscreen (as superfluous). Tab+border+text color should match
that of tm text color.
+ "X" buttons for tabs.
+ Add "Select Next/Prev Tab" option to Window menu, not View menu.
+ Add some kind of satisfying visual echo on Save.
<|file_sep|>current/Resources/app.nw/TODO.md
+ quiet backups =>
(into ~/Library/Application Support/Wreathe/Backups/file(date).wreath)
+ allow users to upload own sounds (ambient only? e.g. can't upload click sounds
from settings ui)
+ allow the app to check for updates on startup.
+ Settings save automatically unless the button "Reset" is pressed & confirmed.
this app is about focus and writing, it's not about creating themes
(can put more advanced theme creator on website).
Get out of your own way when designing things: it's not about you.
+ iCloud & file nav implementation (see that lua HN post or w/e)
(if want into App Store).
+ add a favicon for app completeness (and so nothing unexpected happens).
+ "X" button for Control.
+ Elements in the theme editor should be clearly labeled. The mystery meat
design may be slick, but it's mostly inconvenient. User doesn't want or
need to play around with values just to find a specific thing.
+ Show tabs in fullscreen (as superfluous). Tab+border+text color should match
that of tm text color.
+ "X" buttons for tabs.
+ Add "Select Next/Prev Tab" option to Window menu, not View menu.
+ Add some kind of satisfying visual echo on Save.
<|file_sep|>updated/Resources/app.nw/TODO.md | (into ~/Library/Application Support/Wreathe/Backups/file(date).wreath)
+ allow users to upload own sounds (ambient only? e.g. can't upload click sounds
from settings ui)
+ allow the app to check for updates on startup.
+ Settings save automatically unless the button "Reset" is pressed & confirmed.
this app is about focus and writing, it's not about creating themes
(can put more advanced theme creator on website).
Get out of your own way when designing things: it's not about you.
+ iCloud & file nav implementation (see that lua HN post or w/e)
(if want into App Store).
+ add a favicon for app completeness (and so nothing unexpected happens).
+ "X" button for Control.
+ Elements in the theme editor should be clearly labeled. The mystery meat
design may be slick, but it's mostly inconvenient. User doesn't want or
need to play around with values just to find a specific thing.
+ Show tabs in fullscreen (as superfluous). Tab+border+text color should match
that of tm text color
("can be done easily" through css with border-color: inherit).
+ "X" buttons for tabs.
+ Add "Select Next/Prev Tab" option to Window menu, not View menu.
+ Add some kind of satisfying visual echo on Save. | <|file_sep|>original/Resources/app.nw/TODO.md
+ quiet backups =>
(into ~/Library/Application Support/Wreathe/Backups/file(date).wreath)
+ allow users to upload own sounds (ambient only? e.g. can't upload click sounds
from settings ui)
+ allow the app to check for updates on startup.
+ Settings save automatically unless the button "Reset" is pressed & confirmed.
this app is about focus and writing, it's not about creating themes
(can put more advanced theme creator on website).
Get out of your own way when designing things: it's not about you.
+ iCloud & file nav implementation (see that lua HN post or w/e)
(if want into App Store).
+ add a favicon for app completeness (and so nothing unexpected happens).
+ "X" button for Control.
+ Elements in the theme editor should be clearly labeled. The mystery meat
design may be slick, but it's mostly inconvenient. User doesn't want or
need to play around with values just to find a specific thing.
+ Show tabs in fullscreen (as superfluous). Tab+border+text color should match
that of tm text color.
+ "X" buttons for tabs.
+ Add "Select Next/Prev Tab" option to Window menu, not View menu.
+ Add some kind of satisfying visual echo on Save.
<|file_sep|>current/Resources/app.nw/TODO.md
+ quiet backups =>
(into ~/Library/Application Support/Wreathe/Backups/file(date).wreath)
+ allow users to upload own sounds (ambient only? e.g. can't upload click sounds
from settings ui)
+ allow the app to check for updates on startup.
+ Settings save automatically unless the button "Reset" is pressed & confirmed.
this app is about focus and writing, it's not about creating themes
(can put more advanced theme creator on website).
Get out of your own way when designing things: it's not about you.
+ iCloud & file nav implementation (see that lua HN post or w/e)
(if want into App Store).
+ add a favicon for app completeness (and so nothing unexpected happens).
+ "X" button for Control.
+ Elements in the theme editor should be clearly labeled. The mystery meat
design may be slick, but it's mostly inconvenient. User doesn't want or
need to play around with values just to find a specific thing.
+ Show tabs in fullscreen (as superfluous). Tab+border+text color should match
that of tm text color.
+ "X" buttons for tabs.
+ Add "Select Next/Prev Tab" option to Window menu, not View menu.
+ Add some kind of satisfying visual echo on Save.
<|file_sep|>updated/Resources/app.nw/TODO.md
(into ~/Library/Application Support/Wreathe/Backups/file(date).wreath)
+ allow users to upload own sounds (ambient only? e.g. can't upload click sounds
from settings ui)
+ allow the app to check for updates on startup.
+ Settings save automatically unless the button "Reset" is pressed & confirmed.
this app is about focus and writing, it's not about creating themes
(can put more advanced theme creator on website).
Get out of your own way when designing things: it's not about you.
+ iCloud & file nav implementation (see that lua HN post or w/e)
(if want into App Store).
+ add a favicon for app completeness (and so nothing unexpected happens).
+ "X" button for Control.
+ Elements in the theme editor should be clearly labeled. The mystery meat
design may be slick, but it's mostly inconvenient. User doesn't want or
need to play around with values just to find a specific thing.
+ Show tabs in fullscreen (as superfluous). Tab+border+text color should match
that of tm text color
("can be done easily" through css with border-color: inherit).
+ "X" buttons for tabs.
+ Add "Select Next/Prev Tab" option to Window menu, not View menu.
+ Add some kind of satisfying visual echo on Save. | 41b5f27c87fccf63b6e05fee78480cbba6841a50 | Resources/app.nw/TODO.md | Resources/app.nw/TODO.md | Markdown |
<|file_sep|>README.md.diff
original:
# k-mer vectors
updated:
# kvector
<|file_sep|>README.md.diff
original:
## What is `k-mer vectors`?
updated:
## What is `kvector`?
<|file_sep|>original/README.md
[](https://travis-ci.org/olgabot/kvector)[](https://pypi.python.org/pypi/kvector)
## What is `k-mer vectors`?
kvector is a small utility for converting motifs to kmer vectors to compare motifs of different lengths
* Free software: BSD license
* Documentation: https://olgabot.github.io/kvector
## Installation
To install this code, clone this github repository and use `pip` to install
git clone git@github.com:olgabot/kvector
cd kvector
pip install . # The "." means "install *this*, the folder where I am now"
## Features
* TODO
<|file_sep|>current/README.md
[](https://travis-ci.org/olgabot/kvector)[](https://pypi.python.org/pypi/kvector)
## What is `kvector`?
kvector is a small utility for converting motifs to kmer vectors to compare motifs of different lengths
* Free software: BSD license
* Documentation: https://olgabot.github.io/kvector
## Installation
To install this code, clone this github repository and use `pip` to install
git clone git@github.com:olgabot/kvector
cd kvector
pip install . # The "." means "install *this*, the folder where I am now"
## Features
* TODO
<|file_sep|>updated/README.md |
To install this code, clone this github repository and use `pip` to install
git clone git@github.com:olgabot/kvector
cd kvector
pip install . # The "." means "install *this*, the folder where I am now"
## Features
### Read HOMER motif file
```python
motifs = kvector.read_motifs("kvector/tests/example.motifs", residues='ACGT')
```
The output is a pandas Series of the motif ids from the file, mapped to a dataframe of the position-weight matrix of the motif.
### Create metadata matrix from the ID lines of the motifs
```python | <|file_sep|>README.md.diff
original:
# k-mer vectors
updated:
# kvector
<|file_sep|>README.md.diff
original:
## What is `k-mer vectors`?
updated:
## What is `kvector`?
<|file_sep|>original/README.md
[](https://travis-ci.org/olgabot/kvector)[](https://pypi.python.org/pypi/kvector)
## What is `k-mer vectors`?
kvector is a small utility for converting motifs to kmer vectors to compare motifs of different lengths
* Free software: BSD license
* Documentation: https://olgabot.github.io/kvector
## Installation
To install this code, clone this github repository and use `pip` to install
git clone git@github.com:olgabot/kvector
cd kvector
pip install . # The "." means "install *this*, the folder where I am now"
## Features
* TODO
<|file_sep|>current/README.md
[](https://travis-ci.org/olgabot/kvector)[](https://pypi.python.org/pypi/kvector)
## What is `kvector`?
kvector is a small utility for converting motifs to kmer vectors to compare motifs of different lengths
* Free software: BSD license
* Documentation: https://olgabot.github.io/kvector
## Installation
To install this code, clone this github repository and use `pip` to install
git clone git@github.com:olgabot/kvector
cd kvector
pip install . # The "." means "install *this*, the folder where I am now"
## Features
* TODO
<|file_sep|>updated/README.md
To install this code, clone this github repository and use `pip` to install
git clone git@github.com:olgabot/kvector
cd kvector
pip install . # The "." means "install *this*, the folder where I am now"
## Features
### Read HOMER motif file
```python
motifs = kvector.read_motifs("kvector/tests/example.motifs", residues='ACGT')
```
The output is a pandas Series of the motif ids from the file, mapped to a dataframe of the position-weight matrix of the motif.
### Create metadata matrix from the ID lines of the motifs
```python | a454dd624d23a6650d5eb17af4c1a21724f3b869 | README.md | README.md | Markdown |
<|file_sep|>original/src/components/base/styles/mixins/shapes.sass
<|file_sep|>current/src/components/base/styles/mixins/shapes.sass
<|file_sep|>updated/src/components/base/styles/mixins/shapes.sass | @mixin shape($width:6rem, $height:4rem, $border-radii:false)
width: $width
height: $height
@if $border-radii != false
border-radius: $border-radii
@mixin rectangle($width:6rem, $height:4rem, $border-radii:false)
+shape($width, $height, $border-radii)
@mixin square($size:4rem, $border-radii:false)
+shape($size, $size, $border-radii)
@mixin circle($size:4rem)
+shape($size, $size, $size)
@mixin oval($width:6rem, $height:4rem)
$_radii: #{$height} / #{$height * 0.5} | <|file_sep|>original/src/components/base/styles/mixins/shapes.sass
<|file_sep|>current/src/components/base/styles/mixins/shapes.sass
<|file_sep|>updated/src/components/base/styles/mixins/shapes.sass
@mixin shape($width:6rem, $height:4rem, $border-radii:false)
width: $width
height: $height
@if $border-radii != false
border-radius: $border-radii
@mixin rectangle($width:6rem, $height:4rem, $border-radii:false)
+shape($width, $height, $border-radii)
@mixin square($size:4rem, $border-radii:false)
+shape($size, $size, $border-radii)
@mixin circle($size:4rem)
+shape($size, $size, $size)
@mixin oval($width:6rem, $height:4rem)
$_radii: #{$height} / #{$height * 0.5} | 1056e313f773b00a7b3bd2a258c8ab1553200c00 | src/components/base/styles/mixins/shapes.sass | src/components/base/styles/mixins/shapes.sass | Sass |
<|file_sep|>src/NCmdLiner.SolutionCreator.Library/Services/FolderResolver.cs.diff
original:
using System.Collections.Generic;
using System.IO;
updated:
using System.IO;
<|file_sep|>src/NCmdLiner.SolutionCreator.Library/Services/FolderResolver.cs.diff
original:
using System.Windows.Documents;
using System.Windows.Media.Media3D;
updated:
<|file_sep|>src/NCmdLiner.SolutionCreator.Library/Services/FolderResolver.cs.diff
original:
using NCmdLiner.SolutionCreator.Library.Common;
updated:
<|file_sep|>original/src/NCmdLiner.SolutionCreator.Library/Services/FolderResolver.cs
_logger = logger;
}
public void Resolve(string sourceFolder, string targetFolder)
{
if (!Directory.Exists(sourceFolder)) throw new DirectoryNotFoundException("Source folder not found: " + sourceFolder);
var sourceDirectory = new DirectoryInfo(sourceFolder);
var sourceDirectories = sourceDirectory.GetDirectories("*", SearchOption.AllDirectories).ToList();
var sourceFiles = sourceDirectory.GetFiles("*", SearchOption.AllDirectories).ToList();
foreach (var sourceSubDirectory in sourceDirectories)
{
var targetSubDirectory = new DirectoryInfo(_textResolver.Resolve(sourceSubDirectory.FullName.Replace(sourceFolder, targetFolder)));
Directory.CreateDirectory(targetSubDirectory.FullName);
}
foreach (var sourceFile in sourceFiles)
{
var targetFile = new FileInfo(_textResolver.Resolve(sourceFile.FullName.Replace(sourceFolder, targetFolder)));
_fileResolver.Resolve(sourceFile.FullName, targetFile.FullName);
<|file_sep|>current/src/NCmdLiner.SolutionCreator.Library/Services/FolderResolver.cs
{
if (!Directory.Exists(sourceFolder)) throw new DirectoryNotFoundException("Source folder not found: " + sourceFolder);
var sourceDirectory = new DirectoryInfo(sourceFolder);
var sourceDirectories = sourceDirectory.GetDirectories("*", SearchOption.AllDirectories).ToList();
var sourceFiles = sourceDirectory.GetFiles("*", SearchOption.AllDirectories).ToList();
foreach (var sourceSubDirectory in sourceDirectories)
{
var targetSubDirectory = new DirectoryInfo(_textResolver.Resolve(sourceSubDirectory.FullName.Replace(sourceFolder, targetFolder)));
Directory.CreateDirectory(targetSubDirectory.FullName);
}
foreach (var sourceFile in sourceFiles)
{
var targetFile = new FileInfo(_textResolver.Resolve(sourceFile.FullName.Replace(sourceFolder, targetFolder)));
_fileResolver.Resolve(sourceFile.FullName, targetFile.FullName);
}
}
}
}
<|file_sep|>updated/src/NCmdLiner.SolutionCreator.Library/Services/FolderResolver.cs |
var sourceDirectory = new DirectoryInfo(sourceFolder);
var sourceDirectories = sourceDirectory.GetDirectories("*", SearchOption.AllDirectories).ToList();
var sourceFiles = sourceDirectory.GetFiles("*", SearchOption.AllDirectories).ToList();
foreach (var sourceSubDirectory in sourceDirectories)
{
var targetSubDirectory = new DirectoryInfo(_textResolver.Resolve(sourceSubDirectory.FullName.Replace(sourceFolder, targetFolder)));
Directory.CreateDirectory(targetSubDirectory.FullName);
}
foreach (var sourceFile in sourceFiles)
{
if (sourceFile.Name == ".git" || sourceFile.Name == ".gitignore") continue;
var targetFile = new FileInfo(_textResolver.Resolve(sourceFile.FullName.Replace(sourceFolder, targetFolder)));
_fileResolver.Resolve(sourceFile.FullName, targetFile.FullName);
}
}
}
} | <|file_sep|>src/NCmdLiner.SolutionCreator.Library/Services/FolderResolver.cs.diff
original:
using System.Collections.Generic;
using System.IO;
updated:
using System.IO;
<|file_sep|>src/NCmdLiner.SolutionCreator.Library/Services/FolderResolver.cs.diff
original:
using System.Windows.Documents;
using System.Windows.Media.Media3D;
updated:
<|file_sep|>src/NCmdLiner.SolutionCreator.Library/Services/FolderResolver.cs.diff
original:
using NCmdLiner.SolutionCreator.Library.Common;
updated:
<|file_sep|>original/src/NCmdLiner.SolutionCreator.Library/Services/FolderResolver.cs
_logger = logger;
}
public void Resolve(string sourceFolder, string targetFolder)
{
if (!Directory.Exists(sourceFolder)) throw new DirectoryNotFoundException("Source folder not found: " + sourceFolder);
var sourceDirectory = new DirectoryInfo(sourceFolder);
var sourceDirectories = sourceDirectory.GetDirectories("*", SearchOption.AllDirectories).ToList();
var sourceFiles = sourceDirectory.GetFiles("*", SearchOption.AllDirectories).ToList();
foreach (var sourceSubDirectory in sourceDirectories)
{
var targetSubDirectory = new DirectoryInfo(_textResolver.Resolve(sourceSubDirectory.FullName.Replace(sourceFolder, targetFolder)));
Directory.CreateDirectory(targetSubDirectory.FullName);
}
foreach (var sourceFile in sourceFiles)
{
var targetFile = new FileInfo(_textResolver.Resolve(sourceFile.FullName.Replace(sourceFolder, targetFolder)));
_fileResolver.Resolve(sourceFile.FullName, targetFile.FullName);
<|file_sep|>current/src/NCmdLiner.SolutionCreator.Library/Services/FolderResolver.cs
{
if (!Directory.Exists(sourceFolder)) throw new DirectoryNotFoundException("Source folder not found: " + sourceFolder);
var sourceDirectory = new DirectoryInfo(sourceFolder);
var sourceDirectories = sourceDirectory.GetDirectories("*", SearchOption.AllDirectories).ToList();
var sourceFiles = sourceDirectory.GetFiles("*", SearchOption.AllDirectories).ToList();
foreach (var sourceSubDirectory in sourceDirectories)
{
var targetSubDirectory = new DirectoryInfo(_textResolver.Resolve(sourceSubDirectory.FullName.Replace(sourceFolder, targetFolder)));
Directory.CreateDirectory(targetSubDirectory.FullName);
}
foreach (var sourceFile in sourceFiles)
{
var targetFile = new FileInfo(_textResolver.Resolve(sourceFile.FullName.Replace(sourceFolder, targetFolder)));
_fileResolver.Resolve(sourceFile.FullName, targetFile.FullName);
}
}
}
}
<|file_sep|>updated/src/NCmdLiner.SolutionCreator.Library/Services/FolderResolver.cs
var sourceDirectory = new DirectoryInfo(sourceFolder);
var sourceDirectories = sourceDirectory.GetDirectories("*", SearchOption.AllDirectories).ToList();
var sourceFiles = sourceDirectory.GetFiles("*", SearchOption.AllDirectories).ToList();
foreach (var sourceSubDirectory in sourceDirectories)
{
var targetSubDirectory = new DirectoryInfo(_textResolver.Resolve(sourceSubDirectory.FullName.Replace(sourceFolder, targetFolder)));
Directory.CreateDirectory(targetSubDirectory.FullName);
}
foreach (var sourceFile in sourceFiles)
{
if (sourceFile.Name == ".git" || sourceFile.Name == ".gitignore") continue;
var targetFile = new FileInfo(_textResolver.Resolve(sourceFile.FullName.Replace(sourceFolder, targetFolder)));
_fileResolver.Resolve(sourceFile.FullName, targetFile.FullName);
}
}
}
} | f62e3da1f950cee0fb356257783d3b672c684754 | src/NCmdLiner.SolutionCreator.Library/Services/FolderResolver.cs | src/NCmdLiner.SolutionCreator.Library/Services/FolderResolver.cs | C# |
<|file_sep|>app/views/admin/valuators/show.html.erb.diff
original:
<% if @valuator.description.present? %>
<%= @valuator.description %>
<% else %>
<%= t("admin.valuators.show.no_description") %>
<% end %>
updated:
<%= @valuator.description.presence || t("admin.valuators.show.no_description") %>
<|file_sep|>app/views/admin/valuators/show.html.erb.diff
original:
<% if @valuator.valuator_group.present? %>
<%= @valuator.valuator_group.try(:name) %>
<% else %>
<%= t("admin.valuators.show.no_group") %>
<% end %>
updated:
<%= @valuator.valuator_group&.name || t("admin.valuators.show.no_group") %>
<|file_sep|>original/app/views/admin/valuators/show.html.erb
<strong><%= t("admin.valuators.show.email") %></strong><br>
<%= @valuator.email %>
</p>
<p>
<strong><%= t("admin.valuators.show.description") %></strong><br>
<% if @valuator.description.present? %>
<%= @valuator.description %>
<% else %>
<%= t("admin.valuators.show.no_description") %>
<% end %>
</p>
<p>
<strong><%= t("admin.valuators.show.group") %></strong><br>
<% if @valuator.valuator_group.present? %>
<%= @valuator.valuator_group.try(:name) %>
<% else %>
<%= t("admin.valuators.show.no_group") %>
<% end %>
</p>
<p>
<|file_sep|>current/app/views/admin/valuators/show.html.erb
<strong><%= t("admin.valuators.show.email") %></strong><br>
<%= @valuator.email %>
</p>
<p>
<strong><%= t("admin.valuators.show.description") %></strong><br>
<%= @valuator.description.presence || t("admin.valuators.show.no_description") %>
</p>
<p>
<strong><%= t("admin.valuators.show.group") %></strong><br>
<%= @valuator.valuator_group&.name || t("admin.valuators.show.no_group") %>
</p>
<p>
<strong><%= t("admin.valuators.show.abilities") %></strong><br>
<% if valuator_abilities(@valuator).present? %>
<%= valuator_abilities(@valuator) %>
<% else %>
<%= t("admin.valuators.show.no_abilities") %>
<% end %>
</p>
</div>
<|file_sep|>updated/app/views/admin/valuators/show.html.erb | <h2><%= @valuator.name %></h2>
<div class="callout highlight">
<p>
<strong><%= t("admin.valuators.show.email") %></strong><br>
<%= @valuator.email %>
</p>
<p>
<strong><%= t("admin.valuators.show.description") %></strong><br>
<%= @valuator.description.presence || t("admin.valuators.show.no_description") %>
</p>
<p>
<strong><%= t("admin.valuators.show.group") %></strong><br>
<%= @valuator.valuator_group&.name || t("admin.valuators.show.no_group") %>
</p>
<p>
<strong><%= t("admin.valuators.show.abilities") %></strong><br>
<%= valuator_abilities(@valuator).presence || t("admin.valuators.show.no_abilities") %>
</p>
</div> | <|file_sep|>app/views/admin/valuators/show.html.erb.diff
original:
<% if @valuator.description.present? %>
<%= @valuator.description %>
<% else %>
<%= t("admin.valuators.show.no_description") %>
<% end %>
updated:
<%= @valuator.description.presence || t("admin.valuators.show.no_description") %>
<|file_sep|>app/views/admin/valuators/show.html.erb.diff
original:
<% if @valuator.valuator_group.present? %>
<%= @valuator.valuator_group.try(:name) %>
<% else %>
<%= t("admin.valuators.show.no_group") %>
<% end %>
updated:
<%= @valuator.valuator_group&.name || t("admin.valuators.show.no_group") %>
<|file_sep|>original/app/views/admin/valuators/show.html.erb
<strong><%= t("admin.valuators.show.email") %></strong><br>
<%= @valuator.email %>
</p>
<p>
<strong><%= t("admin.valuators.show.description") %></strong><br>
<% if @valuator.description.present? %>
<%= @valuator.description %>
<% else %>
<%= t("admin.valuators.show.no_description") %>
<% end %>
</p>
<p>
<strong><%= t("admin.valuators.show.group") %></strong><br>
<% if @valuator.valuator_group.present? %>
<%= @valuator.valuator_group.try(:name) %>
<% else %>
<%= t("admin.valuators.show.no_group") %>
<% end %>
</p>
<p>
<|file_sep|>current/app/views/admin/valuators/show.html.erb
<strong><%= t("admin.valuators.show.email") %></strong><br>
<%= @valuator.email %>
</p>
<p>
<strong><%= t("admin.valuators.show.description") %></strong><br>
<%= @valuator.description.presence || t("admin.valuators.show.no_description") %>
</p>
<p>
<strong><%= t("admin.valuators.show.group") %></strong><br>
<%= @valuator.valuator_group&.name || t("admin.valuators.show.no_group") %>
</p>
<p>
<strong><%= t("admin.valuators.show.abilities") %></strong><br>
<% if valuator_abilities(@valuator).present? %>
<%= valuator_abilities(@valuator) %>
<% else %>
<%= t("admin.valuators.show.no_abilities") %>
<% end %>
</p>
</div>
<|file_sep|>updated/app/views/admin/valuators/show.html.erb
<h2><%= @valuator.name %></h2>
<div class="callout highlight">
<p>
<strong><%= t("admin.valuators.show.email") %></strong><br>
<%= @valuator.email %>
</p>
<p>
<strong><%= t("admin.valuators.show.description") %></strong><br>
<%= @valuator.description.presence || t("admin.valuators.show.no_description") %>
</p>
<p>
<strong><%= t("admin.valuators.show.group") %></strong><br>
<%= @valuator.valuator_group&.name || t("admin.valuators.show.no_group") %>
</p>
<p>
<strong><%= t("admin.valuators.show.abilities") %></strong><br>
<%= valuator_abilities(@valuator).presence || t("admin.valuators.show.no_abilities") %>
</p>
</div> | a3534e1f93a4bcbe244d32e2fb29c7d4e14a2175 | app/views/admin/valuators/show.html.erb | app/views/admin/valuators/show.html.erb | HTML+ERB |
<|file_sep|>.github/workflows/deep-classifier-scraper.yml.diff
original:
updated:
schedule:
- cron: 0 0 15 * * # 15th of the month
<|file_sep|>original/.github/workflows/deep-classifier-scraper.yml
main:
runs-on: ubuntu-latest
steps:
- name: Checkout Actions
uses: actions/checkout@v2
with:
repository: "microsoft/vscode-github-triage-actions"
ref: stable
path: ./actions
- name: Install Actions
run: npm install --production --prefix ./actions
- name: Install Additional Dependencies
# Pulls in a bunch of other packages that arent needed for the rest of the actions
run: npm install @azure/storage-blob@12.1.1
- name: "Run Classifier: Scraper"
uses: ./actions/classifier-deep/train/fetch-issues
with:
blobContainerName: vscode-issue-classifier
blobStorageKey: ${{secrets.AZURE_BLOB_STORAGE_CONNECTION_STRING}}
token: ${{secrets.ISSUE_SCRAPER_TOKEN}}
appInsightsKey: ${{secrets.TRIAGE_ACTIONS_APP_INSIGHTS}}
<|file_sep|>current/.github/workflows/deep-classifier-scraper.yml
main:
runs-on: ubuntu-latest
steps:
- name: Checkout Actions
uses: actions/checkout@v2
with:
repository: "microsoft/vscode-github-triage-actions"
ref: stable
path: ./actions
- name: Install Actions
run: npm install --production --prefix ./actions
- name: Install Additional Dependencies
# Pulls in a bunch of other packages that arent needed for the rest of the actions
run: npm install @azure/storage-blob@12.1.1
- name: "Run Classifier: Scraper"
uses: ./actions/classifier-deep/train/fetch-issues
with:
blobContainerName: vscode-issue-classifier
blobStorageKey: ${{secrets.AZURE_BLOB_STORAGE_CONNECTION_STRING}}
token: ${{secrets.ISSUE_SCRAPER_TOKEN}}
appInsightsKey: ${{secrets.TRIAGE_ACTIONS_APP_INSIGHTS}}
<|file_sep|>updated/.github/workflows/deep-classifier-scraper.yml | main:
runs-on: ubuntu-latest
steps:
- name: Checkout Actions
uses: actions/checkout@v2
with:
repository: "microsoft/vscode-github-triage-actions"
ref: stable
path: ./actions
- name: Install Actions
run: npm install --production --prefix ./actions
- name: Install Additional Dependencies
# Pulls in a bunch of other packages that arent needed for the rest of the actions
run: npm install @azure/storage-blob@12.1.1
- name: "Run Classifier: Scraper"
uses: ./actions/classifier-deep/train/fetch-issues
with:
blobContainerName: vscode-issue-classifier
blobStorageKey: ${{secrets.AZURE_BLOB_STORAGE_CONNECTION_STRING}}
token: ${{secrets.VSCODE_ISSUE_TRIAGE_BOT_PAT}}
appInsightsKey: ${{secrets.TRIAGE_ACTIONS_APP_INSIGHTS}} | <|file_sep|>.github/workflows/deep-classifier-scraper.yml.diff
original:
updated:
schedule:
- cron: 0 0 15 * * # 15th of the month
<|file_sep|>original/.github/workflows/deep-classifier-scraper.yml
main:
runs-on: ubuntu-latest
steps:
- name: Checkout Actions
uses: actions/checkout@v2
with:
repository: "microsoft/vscode-github-triage-actions"
ref: stable
path: ./actions
- name: Install Actions
run: npm install --production --prefix ./actions
- name: Install Additional Dependencies
# Pulls in a bunch of other packages that arent needed for the rest of the actions
run: npm install @azure/storage-blob@12.1.1
- name: "Run Classifier: Scraper"
uses: ./actions/classifier-deep/train/fetch-issues
with:
blobContainerName: vscode-issue-classifier
blobStorageKey: ${{secrets.AZURE_BLOB_STORAGE_CONNECTION_STRING}}
token: ${{secrets.ISSUE_SCRAPER_TOKEN}}
appInsightsKey: ${{secrets.TRIAGE_ACTIONS_APP_INSIGHTS}}
<|file_sep|>current/.github/workflows/deep-classifier-scraper.yml
main:
runs-on: ubuntu-latest
steps:
- name: Checkout Actions
uses: actions/checkout@v2
with:
repository: "microsoft/vscode-github-triage-actions"
ref: stable
path: ./actions
- name: Install Actions
run: npm install --production --prefix ./actions
- name: Install Additional Dependencies
# Pulls in a bunch of other packages that arent needed for the rest of the actions
run: npm install @azure/storage-blob@12.1.1
- name: "Run Classifier: Scraper"
uses: ./actions/classifier-deep/train/fetch-issues
with:
blobContainerName: vscode-issue-classifier
blobStorageKey: ${{secrets.AZURE_BLOB_STORAGE_CONNECTION_STRING}}
token: ${{secrets.ISSUE_SCRAPER_TOKEN}}
appInsightsKey: ${{secrets.TRIAGE_ACTIONS_APP_INSIGHTS}}
<|file_sep|>updated/.github/workflows/deep-classifier-scraper.yml
main:
runs-on: ubuntu-latest
steps:
- name: Checkout Actions
uses: actions/checkout@v2
with:
repository: "microsoft/vscode-github-triage-actions"
ref: stable
path: ./actions
- name: Install Actions
run: npm install --production --prefix ./actions
- name: Install Additional Dependencies
# Pulls in a bunch of other packages that arent needed for the rest of the actions
run: npm install @azure/storage-blob@12.1.1
- name: "Run Classifier: Scraper"
uses: ./actions/classifier-deep/train/fetch-issues
with:
blobContainerName: vscode-issue-classifier
blobStorageKey: ${{secrets.AZURE_BLOB_STORAGE_CONNECTION_STRING}}
token: ${{secrets.VSCODE_ISSUE_TRIAGE_BOT_PAT}}
appInsightsKey: ${{secrets.TRIAGE_ACTIONS_APP_INSIGHTS}} | dd3f3f9d7fe87bd2286defe152b2beff944fedad | .github/workflows/deep-classifier-scraper.yml | .github/workflows/deep-classifier-scraper.yml | YAML |
<|file_sep|>original/config-scripts/clues-indigo/unit-tests.sh
<|file_sep|>current/config-scripts/clues-indigo/unit-tests.sh
<|file_sep|>updated/config-scripts/clues-indigo/unit-tests.sh | #!/bin/bash +x
nosetests -v tests/indigo_orchestrator_test.py tests/mesos_test.py tests/condor_test.py --with-xunit --with-coverage --cover-erase --cover-html --cover-xml --cover-package=mesos,indigo_orchestrator,condor | <|file_sep|>original/config-scripts/clues-indigo/unit-tests.sh
<|file_sep|>current/config-scripts/clues-indigo/unit-tests.sh
<|file_sep|>updated/config-scripts/clues-indigo/unit-tests.sh
#!/bin/bash +x
nosetests -v tests/indigo_orchestrator_test.py tests/mesos_test.py tests/condor_test.py --with-xunit --with-coverage --cover-erase --cover-html --cover-xml --cover-package=mesos,indigo_orchestrator,condor | bde39686aacf1ebaf7702d228d847df3034276f9 | config-scripts/clues-indigo/unit-tests.sh | config-scripts/clues-indigo/unit-tests.sh | Shell |
<|file_sep|>library/src/main/res/values/attrs.xml.diff
original:
<attr name="shadowTranslationZ" format="dimension|reference" />
<attr name="shadowElevation" format="dimension|reference" />
updated:
<attr name="shadowTranslationZ" format="dimension" />
<attr name="shadowElevation" format="dimension" />
<|file_sep|>original/library/src/main/res/values/attrs.xml
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.
-->
<resources xmlns:android="http://schemas.android.com/apk/res/android">
<declare-styleable name="MaterialShadowContainerView">
<attr name="shadowTranslationZ" format="dimension|reference" />
<attr name="shadowElevation" format="dimension|reference" />
<attr name="spotShadowDrawablesList" format="reference" />
<attr name="ambientShadowDrawablesList" format="reference" />
<attr name="forceUseCompatShadow" format="boolean|reference" />
<attr name="affectsDisplayedPosition" format="boolean|reference" />
</declare-styleable>
</resources>
<|file_sep|>current/library/src/main/res/values/attrs.xml
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.
-->
<resources xmlns:android="http://schemas.android.com/apk/res/android">
<declare-styleable name="MaterialShadowContainerView">
<attr name="shadowTranslationZ" format="dimension" />
<attr name="shadowElevation" format="dimension" />
<attr name="spotShadowDrawablesList" format="reference" />
<attr name="ambientShadowDrawablesList" format="reference" />
<attr name="forceUseCompatShadow" format="boolean|reference" />
<attr name="affectsDisplayedPosition" format="boolean|reference" />
</declare-styleable>
</resources>
<|file_sep|>updated/library/src/main/res/values/attrs.xml | 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.
-->
<resources xmlns:android="http://schemas.android.com/apk/res/android">
<declare-styleable name="MaterialShadowContainerView">
<attr name="shadowTranslationZ" format="dimension" />
<attr name="shadowElevation" format="dimension" />
<attr name="spotShadowDrawablesList" format="reference" />
<attr name="ambientShadowDrawablesList" format="reference" />
<attr name="forceUseCompatShadow" format="boolean" />
<attr name="affectsDisplayedPosition" format="boolean" />
</declare-styleable>
</resources> | <|file_sep|>library/src/main/res/values/attrs.xml.diff
original:
<attr name="shadowTranslationZ" format="dimension|reference" />
<attr name="shadowElevation" format="dimension|reference" />
updated:
<attr name="shadowTranslationZ" format="dimension" />
<attr name="shadowElevation" format="dimension" />
<|file_sep|>original/library/src/main/res/values/attrs.xml
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.
-->
<resources xmlns:android="http://schemas.android.com/apk/res/android">
<declare-styleable name="MaterialShadowContainerView">
<attr name="shadowTranslationZ" format="dimension|reference" />
<attr name="shadowElevation" format="dimension|reference" />
<attr name="spotShadowDrawablesList" format="reference" />
<attr name="ambientShadowDrawablesList" format="reference" />
<attr name="forceUseCompatShadow" format="boolean|reference" />
<attr name="affectsDisplayedPosition" format="boolean|reference" />
</declare-styleable>
</resources>
<|file_sep|>current/library/src/main/res/values/attrs.xml
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.
-->
<resources xmlns:android="http://schemas.android.com/apk/res/android">
<declare-styleable name="MaterialShadowContainerView">
<attr name="shadowTranslationZ" format="dimension" />
<attr name="shadowElevation" format="dimension" />
<attr name="spotShadowDrawablesList" format="reference" />
<attr name="ambientShadowDrawablesList" format="reference" />
<attr name="forceUseCompatShadow" format="boolean|reference" />
<attr name="affectsDisplayedPosition" format="boolean|reference" />
</declare-styleable>
</resources>
<|file_sep|>updated/library/src/main/res/values/attrs.xml
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.
-->
<resources xmlns:android="http://schemas.android.com/apk/res/android">
<declare-styleable name="MaterialShadowContainerView">
<attr name="shadowTranslationZ" format="dimension" />
<attr name="shadowElevation" format="dimension" />
<attr name="spotShadowDrawablesList" format="reference" />
<attr name="ambientShadowDrawablesList" format="reference" />
<attr name="forceUseCompatShadow" format="boolean" />
<attr name="affectsDisplayedPosition" format="boolean" />
</declare-styleable>
</resources> | b32dbc3170ab6b88fa4c83f98e7a7cf5d99a8078 | library/src/main/res/values/attrs.xml | library/src/main/res/values/attrs.xml | XML |
<|file_sep|>original/app/js/arethusa.js
'arethusa.core',
'arethusa.morph',
'arethusa.hist'
],
function($routeProvider) {
$routeProvider.when('/', {
controller: 'MainCtrl',
template: '<div ng-include="template"></div>',
resolve: {
loadConfiguration: function($q, $http, $route, configurator) {
return $http({
method: 'GET',
url: $route.current.params.conf || './static/configuration_default.json'
}).then(function(result) {
configurator.configuration = result.data;
});
}
}
}
);
});
<|file_sep|>current/app/js/arethusa.js
'arethusa.core',
'arethusa.morph',
'arethusa.hist'
],
function($routeProvider) {
$routeProvider.when('/', {
controller: 'MainCtrl',
template: '<div ng-include="template"></div>',
resolve: {
loadConfiguration: function($q, $http, $route, configurator) {
return $http({
method: 'GET',
url: $route.current.params.conf || './static/configuration_default.json'
}).then(function(result) {
configurator.configuration = result.data;
});
}
}
}
);
});
<|file_sep|>updated/app/js/arethusa.js | "use strict";
angular.module(
'arethusa', [
'mm.foundation',
'ngRoute',
'arethusa.core',
'arethusa.morph',
'arethusa.hist'
],
function($routeProvider, MAIN_ROUTE) {
$routeProvider.when('/', MAIN_ROUTE);
}
); | <|file_sep|>original/app/js/arethusa.js
'arethusa.core',
'arethusa.morph',
'arethusa.hist'
],
function($routeProvider) {
$routeProvider.when('/', {
controller: 'MainCtrl',
template: '<div ng-include="template"></div>',
resolve: {
loadConfiguration: function($q, $http, $route, configurator) {
return $http({
method: 'GET',
url: $route.current.params.conf || './static/configuration_default.json'
}).then(function(result) {
configurator.configuration = result.data;
});
}
}
}
);
});
<|file_sep|>current/app/js/arethusa.js
'arethusa.core',
'arethusa.morph',
'arethusa.hist'
],
function($routeProvider) {
$routeProvider.when('/', {
controller: 'MainCtrl',
template: '<div ng-include="template"></div>',
resolve: {
loadConfiguration: function($q, $http, $route, configurator) {
return $http({
method: 'GET',
url: $route.current.params.conf || './static/configuration_default.json'
}).then(function(result) {
configurator.configuration = result.data;
});
}
}
}
);
});
<|file_sep|>updated/app/js/arethusa.js
"use strict";
angular.module(
'arethusa', [
'mm.foundation',
'ngRoute',
'arethusa.core',
'arethusa.morph',
'arethusa.hist'
],
function($routeProvider, MAIN_ROUTE) {
$routeProvider.when('/', MAIN_ROUTE);
}
); | bb5242aa2b09b0ddacdd31a6b479fa44909b0bb7 | app/js/arethusa.js | app/js/arethusa.js | JavaScript |
<|file_sep|>original/metadata.rb
name "cookbook-omnibus-openstack"
maintainer "Craig Tracey <craigtracey@gmail.com>"
license "Apache 2.0"
description "Cookbook for supporting omnibus-openstack"
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version "1.0.0"
recipe "omnibus-openstack::build-packages", "Installs packages necessary for building omnibus-openstack packages"
%w{ ubuntu fedora redhat centos }.each do |os|
supports os
end
<|file_sep|>current/metadata.rb
name "cookbook-omnibus-openstack"
maintainer "Craig Tracey <craigtracey@gmail.com>"
license "Apache 2.0"
description "Cookbook for supporting omnibus-openstack"
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version "1.0.0"
recipe "omnibus-openstack::build-packages", "Installs packages necessary for building omnibus-openstack packages"
%w{ ubuntu fedora redhat centos }.each do |os|
supports os
end
<|file_sep|>updated/metadata.rb | name "omnibus-openstack"
maintainer "Craig Tracey <craigtracey@gmail.com>"
license "Apache 2.0"
description "Cookbook for supporting omnibus-openstack"
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version "1.0.0"
recipe "omnibus-openstack::build-packages", "Installs packages necessary for building omnibus-openstack packages"
%w{ ubuntu fedora redhat centos }.each do |os|
supports os
end | <|file_sep|>original/metadata.rb
name "cookbook-omnibus-openstack"
maintainer "Craig Tracey <craigtracey@gmail.com>"
license "Apache 2.0"
description "Cookbook for supporting omnibus-openstack"
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version "1.0.0"
recipe "omnibus-openstack::build-packages", "Installs packages necessary for building omnibus-openstack packages"
%w{ ubuntu fedora redhat centos }.each do |os|
supports os
end
<|file_sep|>current/metadata.rb
name "cookbook-omnibus-openstack"
maintainer "Craig Tracey <craigtracey@gmail.com>"
license "Apache 2.0"
description "Cookbook for supporting omnibus-openstack"
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version "1.0.0"
recipe "omnibus-openstack::build-packages", "Installs packages necessary for building omnibus-openstack packages"
%w{ ubuntu fedora redhat centos }.each do |os|
supports os
end
<|file_sep|>updated/metadata.rb
name "omnibus-openstack"
maintainer "Craig Tracey <craigtracey@gmail.com>"
license "Apache 2.0"
description "Cookbook for supporting omnibus-openstack"
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version "1.0.0"
recipe "omnibus-openstack::build-packages", "Installs packages necessary for building omnibus-openstack packages"
%w{ ubuntu fedora redhat centos }.each do |os|
supports os
end | fcbadaac58d719dae3f8076504b6fdd28565d06f | metadata.rb | metadata.rb | Ruby |
<|file_sep|>original/src/shared/adjusters/html/textSizeTemplatePMT.html
<div class="gpii-prefsEditor-adjusterPanel">
<h4 class="gpiic-textSize-label"></h4>
<div class="gpii-prefsEditor-previewPerSettingContainer">
<div class="gpii-prefsEditor-adjusterIcons gpii-prefsEditor-previewPerSettingEye"></div>
<div class="gpii-prefsEditor-previewPerSettingEyeBackground"></div>
<iframe class="gpiic-textSize-preview gpiic-adjuster-preview gpii-prefsEditor-previewPerSettingFrame" src="" frameborder="0"></iframe>
</div>
<div class="gpiic-textSize-stepper gpii-stepper gpii-stepper-pmt">
<label class="gpiic-textfieldStepper-decrement gpii-stepper-buttons"></label>
<input type="text" class="gpiic-textfieldStepper-valueField gpii-stepper-valueField fl-inputs"/>
<label class="gpiic-textfieldStepper-unitField gpii-stepper-unit"></label>
<label class="gpiic-textfieldStepper-increment gpii-stepper-buttons"></label>
</div>
</div>
<|file_sep|>current/src/shared/adjusters/html/textSizeTemplatePMT.html
<div class="gpii-prefsEditor-adjusterPanel">
<h4 class="gpiic-textSize-label"></h4>
<div class="gpii-prefsEditor-previewPerSettingContainer">
<div class="gpii-prefsEditor-adjusterIcons gpii-prefsEditor-previewPerSettingEye"></div>
<div class="gpii-prefsEditor-previewPerSettingEyeBackground"></div>
<iframe class="gpiic-textSize-preview gpiic-adjuster-preview gpii-prefsEditor-previewPerSettingFrame" src="" frameborder="0"></iframe>
</div>
<div class="gpiic-textSize-stepper gpii-stepper gpii-stepper-pmt">
<label class="gpiic-textfieldStepper-decrement gpii-stepper-buttons"></label>
<input type="text" class="gpiic-textfieldStepper-valueField gpii-stepper-valueField fl-inputs"/>
<label class="gpiic-textfieldStepper-unitField gpii-stepper-unit"></label>
<label class="gpiic-textfieldStepper-increment gpii-stepper-buttons"></label>
</div>
</div>
<|file_sep|>updated/src/shared/adjusters/html/textSizeTemplatePMT.html | <div class="gpii-prefsEditor-adjusterPanel">
<h4 class="gpiic-textSize-label"></h4>
<div class="gpii-prefsEditor-previewPerSettingContainer">
<div class="gpii-prefsEditor-adjusterIcons gpii-prefsEditor-previewPerSettingEye"></div>
<div class="gpii-prefsEditor-previewPerSettingEyeBackground"></div>
<iframe tabindex="-1" class="gpiic-textSize-preview gpiic-adjuster-preview gpii-prefsEditor-previewPerSettingFrame" src="" frameborder="0"></iframe>
</div>
<div class="gpiic-textSize-stepper gpii-stepper gpii-stepper-pmt">
<label class="gpiic-textfieldStepper-decrement gpii-stepper-buttons"></label>
<input type="text" class="gpiic-textfieldStepper-valueField gpii-stepper-valueField fl-inputs"/>
<label class="gpiic-textfieldStepper-unitField gpii-stepper-unit"></label>
<label class="gpiic-textfieldStepper-increment gpii-stepper-buttons"></label>
</div>
</div> | <|file_sep|>original/src/shared/adjusters/html/textSizeTemplatePMT.html
<div class="gpii-prefsEditor-adjusterPanel">
<h4 class="gpiic-textSize-label"></h4>
<div class="gpii-prefsEditor-previewPerSettingContainer">
<div class="gpii-prefsEditor-adjusterIcons gpii-prefsEditor-previewPerSettingEye"></div>
<div class="gpii-prefsEditor-previewPerSettingEyeBackground"></div>
<iframe class="gpiic-textSize-preview gpiic-adjuster-preview gpii-prefsEditor-previewPerSettingFrame" src="" frameborder="0"></iframe>
</div>
<div class="gpiic-textSize-stepper gpii-stepper gpii-stepper-pmt">
<label class="gpiic-textfieldStepper-decrement gpii-stepper-buttons"></label>
<input type="text" class="gpiic-textfieldStepper-valueField gpii-stepper-valueField fl-inputs"/>
<label class="gpiic-textfieldStepper-unitField gpii-stepper-unit"></label>
<label class="gpiic-textfieldStepper-increment gpii-stepper-buttons"></label>
</div>
</div>
<|file_sep|>current/src/shared/adjusters/html/textSizeTemplatePMT.html
<div class="gpii-prefsEditor-adjusterPanel">
<h4 class="gpiic-textSize-label"></h4>
<div class="gpii-prefsEditor-previewPerSettingContainer">
<div class="gpii-prefsEditor-adjusterIcons gpii-prefsEditor-previewPerSettingEye"></div>
<div class="gpii-prefsEditor-previewPerSettingEyeBackground"></div>
<iframe class="gpiic-textSize-preview gpiic-adjuster-preview gpii-prefsEditor-previewPerSettingFrame" src="" frameborder="0"></iframe>
</div>
<div class="gpiic-textSize-stepper gpii-stepper gpii-stepper-pmt">
<label class="gpiic-textfieldStepper-decrement gpii-stepper-buttons"></label>
<input type="text" class="gpiic-textfieldStepper-valueField gpii-stepper-valueField fl-inputs"/>
<label class="gpiic-textfieldStepper-unitField gpii-stepper-unit"></label>
<label class="gpiic-textfieldStepper-increment gpii-stepper-buttons"></label>
</div>
</div>
<|file_sep|>updated/src/shared/adjusters/html/textSizeTemplatePMT.html
<div class="gpii-prefsEditor-adjusterPanel">
<h4 class="gpiic-textSize-label"></h4>
<div class="gpii-prefsEditor-previewPerSettingContainer">
<div class="gpii-prefsEditor-adjusterIcons gpii-prefsEditor-previewPerSettingEye"></div>
<div class="gpii-prefsEditor-previewPerSettingEyeBackground"></div>
<iframe tabindex="-1" class="gpiic-textSize-preview gpiic-adjuster-preview gpii-prefsEditor-previewPerSettingFrame" src="" frameborder="0"></iframe>
</div>
<div class="gpiic-textSize-stepper gpii-stepper gpii-stepper-pmt">
<label class="gpiic-textfieldStepper-decrement gpii-stepper-buttons"></label>
<input type="text" class="gpiic-textfieldStepper-valueField gpii-stepper-valueField fl-inputs"/>
<label class="gpiic-textfieldStepper-unitField gpii-stepper-unit"></label>
<label class="gpiic-textfieldStepper-increment gpii-stepper-buttons"></label>
</div>
</div> | d7bd2c42b04e41d871ce7c13fd33e3e9d9a0d262 | src/shared/adjusters/html/textSizeTemplatePMT.html | src/shared/adjusters/html/textSizeTemplatePMT.html | HTML |
<|file_sep|>appveyor.yml.diff
original:
- set PATH=%PATH%;%ProgramFiles%\csound-windows-x64\bin
updated:
- set PATH=%PATH%;%ProgramFiles%\Csound6_x64\bin
<|file_sep|>original/appveyor.yml
- nodejs_version: '6'
install:
# Install Node.js.
- ps: Install-Product node $env:nodejs_version x64
# Install Csound; see https://www.appveyor.com/docs/how-to/download-file.
- ps: Start-FileDownload 'https://github.com/csound/csound/releases/download/6.10.0/csound-windows-x64-6.10.0.exe'
- ps: Start-Process 'csound-windows-x64-6.10.0.exe' -ArgumentList '/verySilent', '/noRestart' -Wait
- set PATH=%PATH%;%ProgramFiles%\csound-windows-x64\bin
# Install csound-api.
- set CL=/I"C:\Libraries\boost_1_63_0" /I"%ProgramFiles%\csound-windows-x64\include"
- set LINK="%ProgramFiles%\csound-windows-x64\lib\csound64.lib"
- npm install csound-api
test_script:
- npm --global install jasmine
- npm install dedent-js
- cd lib\csound-parser
- jasmine
build: off
<|file_sep|>current/appveyor.yml
- nodejs_version: '6'
install:
# Install Node.js.
- ps: Install-Product node $env:nodejs_version x64
# Install Csound; see https://www.appveyor.com/docs/how-to/download-file.
- ps: Start-FileDownload 'https://github.com/csound/csound/releases/download/6.10.0/csound-windows-x64-6.10.0.exe'
- ps: Start-Process 'csound-windows-x64-6.10.0.exe' -ArgumentList '/verySilent', '/noRestart' -Wait
- set PATH=%PATH%;%ProgramFiles%\Csound6_x64\bin
# Install csound-api.
- set CL=/I"C:\Libraries\boost_1_63_0" /I"%ProgramFiles%\csound-windows-x64\include"
- set LINK="%ProgramFiles%\csound-windows-x64\lib\csound64.lib"
- npm install csound-api
test_script:
- npm --global install jasmine
- npm install dedent-js
- cd lib\csound-parser
- jasmine
build: off
<|file_sep|>updated/appveyor.yml | - nodejs_version: '6'
install:
# Install Node.js.
- ps: Install-Product node $env:nodejs_version x64
# Install Csound; see https://www.appveyor.com/docs/how-to/download-file.
- ps: Start-FileDownload 'https://github.com/csound/csound/releases/download/6.10.0/csound-windows-x64-6.10.0.exe'
- ps: Start-Process 'csound-windows-x64-6.10.0.exe' -ArgumentList '/verySilent', '/noRestart' -Wait
- set PATH=%PATH%;%ProgramFiles%\Csound6_x64\bin
# Install csound-api.
- set CL=/I"C:\Libraries\boost_1_63_0" /I"%ProgramFiles%\Csound6_x64\include"
- set LINK="%ProgramFiles%\Csound6_x64\lib\csound64.lib"
- npm install csound-api
test_script:
- npm --global install jasmine
- npm install dedent-js
- cd lib\csound-parser
- jasmine
build: off | <|file_sep|>appveyor.yml.diff
original:
- set PATH=%PATH%;%ProgramFiles%\csound-windows-x64\bin
updated:
- set PATH=%PATH%;%ProgramFiles%\Csound6_x64\bin
<|file_sep|>original/appveyor.yml
- nodejs_version: '6'
install:
# Install Node.js.
- ps: Install-Product node $env:nodejs_version x64
# Install Csound; see https://www.appveyor.com/docs/how-to/download-file.
- ps: Start-FileDownload 'https://github.com/csound/csound/releases/download/6.10.0/csound-windows-x64-6.10.0.exe'
- ps: Start-Process 'csound-windows-x64-6.10.0.exe' -ArgumentList '/verySilent', '/noRestart' -Wait
- set PATH=%PATH%;%ProgramFiles%\csound-windows-x64\bin
# Install csound-api.
- set CL=/I"C:\Libraries\boost_1_63_0" /I"%ProgramFiles%\csound-windows-x64\include"
- set LINK="%ProgramFiles%\csound-windows-x64\lib\csound64.lib"
- npm install csound-api
test_script:
- npm --global install jasmine
- npm install dedent-js
- cd lib\csound-parser
- jasmine
build: off
<|file_sep|>current/appveyor.yml
- nodejs_version: '6'
install:
# Install Node.js.
- ps: Install-Product node $env:nodejs_version x64
# Install Csound; see https://www.appveyor.com/docs/how-to/download-file.
- ps: Start-FileDownload 'https://github.com/csound/csound/releases/download/6.10.0/csound-windows-x64-6.10.0.exe'
- ps: Start-Process 'csound-windows-x64-6.10.0.exe' -ArgumentList '/verySilent', '/noRestart' -Wait
- set PATH=%PATH%;%ProgramFiles%\Csound6_x64\bin
# Install csound-api.
- set CL=/I"C:\Libraries\boost_1_63_0" /I"%ProgramFiles%\csound-windows-x64\include"
- set LINK="%ProgramFiles%\csound-windows-x64\lib\csound64.lib"
- npm install csound-api
test_script:
- npm --global install jasmine
- npm install dedent-js
- cd lib\csound-parser
- jasmine
build: off
<|file_sep|>updated/appveyor.yml
- nodejs_version: '6'
install:
# Install Node.js.
- ps: Install-Product node $env:nodejs_version x64
# Install Csound; see https://www.appveyor.com/docs/how-to/download-file.
- ps: Start-FileDownload 'https://github.com/csound/csound/releases/download/6.10.0/csound-windows-x64-6.10.0.exe'
- ps: Start-Process 'csound-windows-x64-6.10.0.exe' -ArgumentList '/verySilent', '/noRestart' -Wait
- set PATH=%PATH%;%ProgramFiles%\Csound6_x64\bin
# Install csound-api.
- set CL=/I"C:\Libraries\boost_1_63_0" /I"%ProgramFiles%\Csound6_x64\include"
- set LINK="%ProgramFiles%\Csound6_x64\lib\csound64.lib"
- npm install csound-api
test_script:
- npm --global install jasmine
- npm install dedent-js
- cd lib\csound-parser
- jasmine
build: off | d9faf4277dfc588c999d822610b7345c53fa643c | appveyor.yml | appveyor.yml | YAML |
<|file_sep|>original/package.json
"url": "git@github.com:OneRedOak/sample-node-rethinkdb.git"
},
"author": "Patrick Ellis",
"license": "MIT",
"bugs": {
"url": "https://github.com/OneRedOak/sample-node-rethinkdb/issues"
},
"homepage": "https://github.com/OneRedOak/sample-node-rethinkdb",
"dependencies": {
"express": "^4.2.0",
"rethinkdb": "1.12.*",
"should": "^4.0.1"
},
"devDependencies": {
"chai": "^1.9.1",
"grunt": "^0.4.5",
"grunt-express-server": "^0.4.17",
"grunt-simple-mocha": "^0.4.0",
"istanbul": "^0.2.9",
"mocha": "^1.18.2",
"superagent": "^0.18.0",
<|file_sep|>current/package.json
"url": "git@github.com:OneRedOak/sample-node-rethinkdb.git"
},
"author": "Patrick Ellis",
"license": "MIT",
"bugs": {
"url": "https://github.com/OneRedOak/sample-node-rethinkdb/issues"
},
"homepage": "https://github.com/OneRedOak/sample-node-rethinkdb",
"dependencies": {
"express": "^4.2.0",
"rethinkdb": "1.12.*",
"should": "^4.0.1"
},
"devDependencies": {
"chai": "^1.9.1",
"grunt": "^0.4.5",
"grunt-express-server": "^0.4.17",
"grunt-simple-mocha": "^0.4.0",
"istanbul": "^0.2.9",
"mocha": "^1.18.2",
"superagent": "^0.18.0",
<|file_sep|>updated/package.json | "url": "git@github.com:OneRedOak/sample-node-rethinkdb.git"
},
"author": "Patrick Ellis",
"license": "MIT",
"bugs": {
"url": "https://github.com/OneRedOak/sample-node-rethinkdb/issues"
},
"homepage": "https://github.com/OneRedOak/sample-node-rethinkdb",
"dependencies": {
"express": "^4.2.0",
"rethinkdb": "1.12.0-1",
"should": "^4.0.1"
},
"devDependencies": {
"chai": "^1.9.1",
"grunt": "^0.4.5",
"grunt-express-server": "^0.4.17",
"grunt-simple-mocha": "^0.4.0",
"istanbul": "^0.2.9",
"mocha": "^1.18.2",
"superagent": "^0.18.0", | <|file_sep|>original/package.json
"url": "git@github.com:OneRedOak/sample-node-rethinkdb.git"
},
"author": "Patrick Ellis",
"license": "MIT",
"bugs": {
"url": "https://github.com/OneRedOak/sample-node-rethinkdb/issues"
},
"homepage": "https://github.com/OneRedOak/sample-node-rethinkdb",
"dependencies": {
"express": "^4.2.0",
"rethinkdb": "1.12.*",
"should": "^4.0.1"
},
"devDependencies": {
"chai": "^1.9.1",
"grunt": "^0.4.5",
"grunt-express-server": "^0.4.17",
"grunt-simple-mocha": "^0.4.0",
"istanbul": "^0.2.9",
"mocha": "^1.18.2",
"superagent": "^0.18.0",
<|file_sep|>current/package.json
"url": "git@github.com:OneRedOak/sample-node-rethinkdb.git"
},
"author": "Patrick Ellis",
"license": "MIT",
"bugs": {
"url": "https://github.com/OneRedOak/sample-node-rethinkdb/issues"
},
"homepage": "https://github.com/OneRedOak/sample-node-rethinkdb",
"dependencies": {
"express": "^4.2.0",
"rethinkdb": "1.12.*",
"should": "^4.0.1"
},
"devDependencies": {
"chai": "^1.9.1",
"grunt": "^0.4.5",
"grunt-express-server": "^0.4.17",
"grunt-simple-mocha": "^0.4.0",
"istanbul": "^0.2.9",
"mocha": "^1.18.2",
"superagent": "^0.18.0",
<|file_sep|>updated/package.json
"url": "git@github.com:OneRedOak/sample-node-rethinkdb.git"
},
"author": "Patrick Ellis",
"license": "MIT",
"bugs": {
"url": "https://github.com/OneRedOak/sample-node-rethinkdb/issues"
},
"homepage": "https://github.com/OneRedOak/sample-node-rethinkdb",
"dependencies": {
"express": "^4.2.0",
"rethinkdb": "1.12.0-1",
"should": "^4.0.1"
},
"devDependencies": {
"chai": "^1.9.1",
"grunt": "^0.4.5",
"grunt-express-server": "^0.4.17",
"grunt-simple-mocha": "^0.4.0",
"istanbul": "^0.2.9",
"mocha": "^1.18.2",
"superagent": "^0.18.0", | 807d7b81c185ce6cdb29ae74fc8912e8c9111a3e | package.json | package.json | JSON |
<|file_sep|>original/NEWS.txt
<|file_sep|>current/NEWS.txt
<|file_sep|>updated/NEWS.txt | Noteworthy changes for js-uri.
0.2 Fri Apr 27 20:27:29 BST 2007
* Add licence info.
0.1 Thu Apr 26 21:59:00 BST 2007
* Initial release. | <|file_sep|>original/NEWS.txt
<|file_sep|>current/NEWS.txt
<|file_sep|>updated/NEWS.txt
Noteworthy changes for js-uri.
0.2 Fri Apr 27 20:27:29 BST 2007
* Add licence info.
0.1 Thu Apr 26 21:59:00 BST 2007
* Initial release. | 89f79a643edf19c6205c300f779f6f6e1d625343 | NEWS.txt | NEWS.txt | Text |
<|file_sep|>Opts.hs.diff
original:
updated:
import Options.Applicative.Types
<|file_sep|>original/Opts.hs
<$> fileOpt ( short 's'
<> long "opensecrets"
<> metavar "DIRNAME"
<> help "The location of the opensecrets.org data sets.")
<*> fileOpt ( short 'o'
<> long "output"
<> metavar "OUTPUT_FILE"
<> help "The CSV filename to write the data to.")
<*> switch ( short 'v'
<> long "verbose"
<> help "Print extra information.")
opts :: ParserInfo PopVoxOptions
opts = info (helper <*> opts')
( fullDesc
<> progDesc "Scrapes data from popvox.com and \
\mashes it with opensecrets.org data."
<> header ("popvox-scrape v" ++ showVersion version))
fileOpt :: Mod OptionFields FilePath -> Parser FilePath
fileOpt = option (pure . decodeString)
<|file_sep|>current/Opts.hs
<$> fileOpt ( short 's'
<> long "opensecrets"
<> metavar "DIRNAME"
<> help "The location of the opensecrets.org data sets.")
<*> fileOpt ( short 'o'
<> long "output"
<> metavar "OUTPUT_FILE"
<> help "The CSV filename to write the data to.")
<*> switch ( short 'v'
<> long "verbose"
<> help "Print extra information.")
opts :: ParserInfo PopVoxOptions
opts = info (helper <*> opts')
( fullDesc
<> progDesc "Scrapes data from popvox.com and \
\mashes it with opensecrets.org data."
<> header ("popvox-scrape v" ++ showVersion version))
fileOpt :: Mod OptionFields FilePath -> Parser FilePath
fileOpt = option (pure . decodeString)
<|file_sep|>updated/Opts.hs | <$> fileOpt ( short 's'
<> long "opensecrets"
<> metavar "DIRNAME"
<> help "The location of the opensecrets.org data sets.")
<*> fileOpt ( short 'o'
<> long "output"
<> metavar "OUTPUT_FILE"
<> help "The CSV filename to write the data to.")
<*> switch ( short 'v'
<> long "verbose"
<> help "Print extra information.")
opts :: ParserInfo PopVoxOptions
opts = info (helper <*> opts')
( fullDesc
<> progDesc "Scrapes data from popvox.com and \
\mashes it with opensecrets.org data."
<> header ("popvox-scrape v" ++ showVersion version))
fileOpt :: Mod OptionFields FilePath -> Parser FilePath
fileOpt = option (decodeString <$> readerAsk) | <|file_sep|>Opts.hs.diff
original:
updated:
import Options.Applicative.Types
<|file_sep|>original/Opts.hs
<$> fileOpt ( short 's'
<> long "opensecrets"
<> metavar "DIRNAME"
<> help "The location of the opensecrets.org data sets.")
<*> fileOpt ( short 'o'
<> long "output"
<> metavar "OUTPUT_FILE"
<> help "The CSV filename to write the data to.")
<*> switch ( short 'v'
<> long "verbose"
<> help "Print extra information.")
opts :: ParserInfo PopVoxOptions
opts = info (helper <*> opts')
( fullDesc
<> progDesc "Scrapes data from popvox.com and \
\mashes it with opensecrets.org data."
<> header ("popvox-scrape v" ++ showVersion version))
fileOpt :: Mod OptionFields FilePath -> Parser FilePath
fileOpt = option (pure . decodeString)
<|file_sep|>current/Opts.hs
<$> fileOpt ( short 's'
<> long "opensecrets"
<> metavar "DIRNAME"
<> help "The location of the opensecrets.org data sets.")
<*> fileOpt ( short 'o'
<> long "output"
<> metavar "OUTPUT_FILE"
<> help "The CSV filename to write the data to.")
<*> switch ( short 'v'
<> long "verbose"
<> help "Print extra information.")
opts :: ParserInfo PopVoxOptions
opts = info (helper <*> opts')
( fullDesc
<> progDesc "Scrapes data from popvox.com and \
\mashes it with opensecrets.org data."
<> header ("popvox-scrape v" ++ showVersion version))
fileOpt :: Mod OptionFields FilePath -> Parser FilePath
fileOpt = option (pure . decodeString)
<|file_sep|>updated/Opts.hs
<$> fileOpt ( short 's'
<> long "opensecrets"
<> metavar "DIRNAME"
<> help "The location of the opensecrets.org data sets.")
<*> fileOpt ( short 'o'
<> long "output"
<> metavar "OUTPUT_FILE"
<> help "The CSV filename to write the data to.")
<*> switch ( short 'v'
<> long "verbose"
<> help "Print extra information.")
opts :: ParserInfo PopVoxOptions
opts = info (helper <*> opts')
( fullDesc
<> progDesc "Scrapes data from popvox.com and \
\mashes it with opensecrets.org data."
<> header ("popvox-scrape v" ++ showVersion version))
fileOpt :: Mod OptionFields FilePath -> Parser FilePath
fileOpt = option (decodeString <$> readerAsk) | 1e901c84466c08b14789a43f50dea4c4982bc3a6 | Opts.hs | Opts.hs | Haskell |
<|file_sep|>original/.travis.yml
language: ruby
rvm:
- "1.9.3"
- "2.0.0"
script: bundle exec rspec
<|file_sep|>current/.travis.yml
language: ruby
rvm:
- "1.9.3"
- "2.0.0"
script: bundle exec rspec
<|file_sep|>updated/.travis.yml | language: ruby
rvm:
- "1.9.3"
- "2.0.0"
- "2.1.0"
script: bundle exec rspec | <|file_sep|>original/.travis.yml
language: ruby
rvm:
- "1.9.3"
- "2.0.0"
script: bundle exec rspec
<|file_sep|>current/.travis.yml
language: ruby
rvm:
- "1.9.3"
- "2.0.0"
script: bundle exec rspec
<|file_sep|>updated/.travis.yml
language: ruby
rvm:
- "1.9.3"
- "2.0.0"
- "2.1.0"
script: bundle exec rspec | b148f7d68e119ca9258c06dbd75cd44075fe1405 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/.travis.yml
language: php
php:
- 5.4
- 5.5
- 5.6
- 7.0
- hhvm
before_install:
- composer self-update
- composer validate
install:
- composer install --dev --prefer-source
script:
- composer test
<|file_sep|>current/.travis.yml
language: php
php:
- 5.4
- 5.5
- 5.6
- 7.0
- hhvm
before_install:
- composer self-update
- composer validate
install:
- composer install --dev --prefer-source
script:
- composer test
<|file_sep|>updated/.travis.yml | language: php
php:
- 5.4
- 5.5
- 5.6
- 7.0
- hhvm
before_install:
- composer self-update
- composer validate
install:
- composer install --prefer-source
script:
- composer test | <|file_sep|>original/.travis.yml
language: php
php:
- 5.4
- 5.5
- 5.6
- 7.0
- hhvm
before_install:
- composer self-update
- composer validate
install:
- composer install --dev --prefer-source
script:
- composer test
<|file_sep|>current/.travis.yml
language: php
php:
- 5.4
- 5.5
- 5.6
- 7.0
- hhvm
before_install:
- composer self-update
- composer validate
install:
- composer install --dev --prefer-source
script:
- composer test
<|file_sep|>updated/.travis.yml
language: php
php:
- 5.4
- 5.5
- 5.6
- 7.0
- hhvm
before_install:
- composer self-update
- composer validate
install:
- composer install --prefer-source
script:
- composer test | 65a9e105cd59487bda1ed7b992fc7c17f3dedb25 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/oboe.gemspec
s.email = %q{contact@tracelytics.com}
s.summary = %q{Tracelytics instrumentation gem}
s.homepage = %q{http://tracelytics.com}
s.description = %q{The oboe gem provides AppNeta instrumentation for Ruby and Ruby frameworks.}
s.extra_rdoc_files = ["LICENSE"]
s.files = `git ls-files`.split("\n")
s.extensions = ['ext/oboe_metal/extconf.rb']
s.test_files = Dir.glob("{spec}/**/*.rb")
s.add_development_dependency 'rake'
s.add_development_dependency 'rspec'
s.post_install_message = "
This oboe gem requires updated AppNeta liboboe (>= 1.1.1) and
tracelytics-java-agent packages (if using JRuby). Make sure to update all
of your hosts or this gem will just sit in the corner and weep quietly.
- Your Friendly AppNeta TraceView Team
"
end
<|file_sep|>current/oboe.gemspec
s.email = %q{contact@tracelytics.com}
s.summary = %q{Tracelytics instrumentation gem}
s.homepage = %q{http://tracelytics.com}
s.description = %q{The oboe gem provides AppNeta instrumentation for Ruby and Ruby frameworks.}
s.extra_rdoc_files = ["LICENSE"]
s.files = `git ls-files`.split("\n")
s.extensions = ['ext/oboe_metal/extconf.rb']
s.test_files = Dir.glob("{spec}/**/*.rb")
s.add_development_dependency 'rake'
s.add_development_dependency 'rspec'
s.post_install_message = "
This oboe gem requires updated AppNeta liboboe (>= 1.1.1) and
tracelytics-java-agent packages (if using JRuby). Make sure to update all
of your hosts or this gem will just sit in the corner and weep quietly.
- Your Friendly AppNeta TraceView Team
"
end
<|file_sep|>updated/oboe.gemspec | $:.push File.expand_path("../lib", __FILE__)
require "oboe/version"
Gem::Specification.new do |s|
s.name = %q{oboe}
s.version = Oboe::Version::STRING
s.date = Time.now.strftime('%Y-%m-%d')
s.authors = ["Tracelytics, Inc."]
s.email = %q{contact@tracelytics.com}
s.summary = %q{Tracelytics instrumentation gem}
s.homepage = %q{http://tracelytics.com}
s.description = %q{The oboe gem provides AppNeta instrumentation for Ruby and Ruby frameworks.}
s.extra_rdoc_files = ["LICENSE"]
s.files = `git ls-files`.split("\n")
s.extensions = ['ext/oboe_metal/extconf.rb']
s.test_files = Dir.glob("{spec}/**/*.rb")
s.add_development_dependency 'rake'
s.add_development_dependency 'rspec'
end | <|file_sep|>original/oboe.gemspec
s.email = %q{contact@tracelytics.com}
s.summary = %q{Tracelytics instrumentation gem}
s.homepage = %q{http://tracelytics.com}
s.description = %q{The oboe gem provides AppNeta instrumentation for Ruby and Ruby frameworks.}
s.extra_rdoc_files = ["LICENSE"]
s.files = `git ls-files`.split("\n")
s.extensions = ['ext/oboe_metal/extconf.rb']
s.test_files = Dir.glob("{spec}/**/*.rb")
s.add_development_dependency 'rake'
s.add_development_dependency 'rspec'
s.post_install_message = "
This oboe gem requires updated AppNeta liboboe (>= 1.1.1) and
tracelytics-java-agent packages (if using JRuby). Make sure to update all
of your hosts or this gem will just sit in the corner and weep quietly.
- Your Friendly AppNeta TraceView Team
"
end
<|file_sep|>current/oboe.gemspec
s.email = %q{contact@tracelytics.com}
s.summary = %q{Tracelytics instrumentation gem}
s.homepage = %q{http://tracelytics.com}
s.description = %q{The oboe gem provides AppNeta instrumentation for Ruby and Ruby frameworks.}
s.extra_rdoc_files = ["LICENSE"]
s.files = `git ls-files`.split("\n")
s.extensions = ['ext/oboe_metal/extconf.rb']
s.test_files = Dir.glob("{spec}/**/*.rb")
s.add_development_dependency 'rake'
s.add_development_dependency 'rspec'
s.post_install_message = "
This oboe gem requires updated AppNeta liboboe (>= 1.1.1) and
tracelytics-java-agent packages (if using JRuby). Make sure to update all
of your hosts or this gem will just sit in the corner and weep quietly.
- Your Friendly AppNeta TraceView Team
"
end
<|file_sep|>updated/oboe.gemspec
$:.push File.expand_path("../lib", __FILE__)
require "oboe/version"
Gem::Specification.new do |s|
s.name = %q{oboe}
s.version = Oboe::Version::STRING
s.date = Time.now.strftime('%Y-%m-%d')
s.authors = ["Tracelytics, Inc."]
s.email = %q{contact@tracelytics.com}
s.summary = %q{Tracelytics instrumentation gem}
s.homepage = %q{http://tracelytics.com}
s.description = %q{The oboe gem provides AppNeta instrumentation for Ruby and Ruby frameworks.}
s.extra_rdoc_files = ["LICENSE"]
s.files = `git ls-files`.split("\n")
s.extensions = ['ext/oboe_metal/extconf.rb']
s.test_files = Dir.glob("{spec}/**/*.rb")
s.add_development_dependency 'rake'
s.add_development_dependency 'rspec'
end | d2f21642b109728a525f7290b83e878f60c754e3 | oboe.gemspec | oboe.gemspec | Ruby |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.