This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing! | |
VAGRANTFILE_API_VERSION = "2" | |
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | |
# All Vagrant configuration is done here. The most common configuration | |
# options are documented and commented below. For a complete reference, | |
# please see the online documentation at vagrantup.com. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
INFO global: Vagrant version: 1.6.3 | |
INFO global: Ruby version: 2.0.0 | |
INFO global: RubyGems version: 2.0.14 | |
INFO global: VAGRANT_EXECUTABLE="/Applications/Vagrant/bin/../embedded/gems/gems/vagrant-1.6.3/bin/vagrant" | |
INFO global: VAGRANT_LOG="info" | |
INFO global: VAGRANT_INSTALLER_EMBEDDED_DIR="/Applications/Vagrant/bin/../embedded" | |
INFO global: VAGRANT_INSTALLER_VERSION="2" | |
INFO global: VAGRANT_DETECTED_OS="Darwin" | |
INFO global: VAGRANT_INSTALLER_ENV="1" | |
INFO global: VAGRANT_INTERNAL_BUNDLERIZED="1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace AnalogFolk\GatewayBundle\EventListener; | |
use Symfony\Component\HttpKernel\Event\GetResponseEvent; | |
use Symfony\Component\HttpFoundation\RedirectResponse; | |
use AnalogFolk\GatewayBundle\Security\Gateway\Geo; | |
use AnalogFolk\GatewayBundle\Controller\GatedController; | |
use AnalogFolk\GatewayBundle\Controller\MainController; | |
class GatewayListener |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
_sonata_admin: | |
resource: . | |
type: sonata_admin | |
prefix: /admin | |
analog_folk_gateway: | |
resource: "@AnalogFolkGatewayBundle/Resources/config/routing.xml" | |
prefix: / | |
admin: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
behat/behat v2.5.3 Scenario-oriented BDD framework for PHP 5.3 | |
behat/gherkin v2.3.5 Gherkin DSL parser for PHP 5.3 | |
behat/mink v1.5.0 Web acceptance testing framework for PHP 5.3 | |
behat/mink-browserkit-driver v1.1.0 Symfony2 BrowserKit driver for Mink framework | |
behat/mink-extension v1.3.3 Mink extension for Behat | |
behat/symfony2-extension v1.1.2 Symfony2 framework extension for Behat | |
doctrine/annotations v1.2.0 Docblock Annotations Parser | |
doctrine/cache v1.3.0 Caching library offering an object-oriented API for many cache backends | |
doctrine/collections v1.2 Collections Abstraction library | |
doctrine/common v2.4.2 Common Library for Doctrine projects |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% extends '::base.html.twig' %} | |
{% block body %} | |
<section class="whatever"> | |
{{ form_errors(form)}} | |
<div class="section-content"> | |
<form action="{{ path('fos_user_registration_register') }}" {{ form_enctype(form) }} method="POST" class="fos_user_registration_register"> | |
{{ form_widget(form._token) }} | |
<div class="form-row"> | |
{{ form_errors(form.username)}} | |
<label for="username"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% set roleList = [ | |
{ | |
name: 'select.role.founder', | |
value: 'founder' | |
}, | |
{ | |
name: 'select.role.invester', | |
value: 'invester' | |
}, | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Given I can start some tasks # features/step_definitions/task_steps.rb:1 | |
No Fabricator defined for 'user' (Fabrication::UnknownFabricatorError) | |
/vagrant/vendor/bundle/ruby/2.1.0/gems/fabrication-2.13.1/lib/fabricate.rb:38:in `schematic' | |
/vagrant/vendor/bundle/ruby/2.1.0/gems/fabrication-2.13.1/lib/fabricate.rb:29:in `create' | |
/vagrant/vendor/bundle/ruby/2.1.0/gems/fabrication-2.13.1/lib/fabrication.rb:62:in `Fabricate' | |
/vagrant/features/step_definitions/task_steps.rb:2:in `block in <top (required)>' | |
/vagrant/vendor/bundle/ruby/2.1.0/gems/cucumber-1.3.18/lib/cucumber/core_ext/instance_exec.rb:48:in `instance_exec' | |
/vagrant/vendor/bundle/ruby/2.1.0/gems/cucumber-1.3.18/lib/cucumber/core_ext/instance_exec.rb:48:in `block in cucumber_instance_exec' | |
/vagrant/vendor/bundle/ruby/2.1.0/gems/cucumber-1.3.18/lib/cucumber/core_ext/instance_exec.rb:69:in `cucumber_run_with_backtrace_filtering' | |
/vagrant/vendor/bundle/ruby/2.1.0/gems/cucumber-1.3.18/lib/cucumber/core_ext/in |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/Users/rick/Organisations/playtimestudios/admin_bounds/spec/lib/install_generator_spec.rb:1:in `<top (required)>': uninitialized constant InstallGenerator (NameError) | |
from /Users/rick/Organisations/playtimestudios/admin_bounds/vendor/bundle/gems/rspec-core-3.3.2/lib/rspec/core/configuration.rb:1327:in `load' | |
from /Users/rick/Organisations/playtimestudios/admin_bounds/vendor/bundle/gems/rspec-core-3.3.2/lib/rspec/core/configuration.rb:1327:in `block in load_spec_files' | |
from /Users/rick/Organisations/playtimestudios/admin_bounds/vendor/bundle/gems/rspec-core-3.3.2/lib/rspec/core/configuration.rb:1325:in `each' | |
from /Users/rick/Organisations/playtimestudios/admin_bounds/vendor/bundle/gems/rspec-core-3.3.2/lib/rspec/core/configuration.rb:1325:in `load_spec_files' | |
from /Users/rick/Organisations/playtimestudios/admin_bounds/vendor/bundle/gems/rspec-core-3.3.2/lib/rspec/core/runner.rb:102:in `setup' | |
from /Users/rick/Organisations/playtimestudios/admin_bounds/vendor/bundle/gems/rspec-core-3.3.2/lib/rspec/core/r |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Survey < ActiveRecord::Base | |
acts_as_paranoid | |
include Importable | |
###### Associations ######## | |
belongs_to :project | |
belongs_to :publication, counter_cache: true | |
belongs_to :site | |
belongs_to :location_type, :class_name => ListItem, :foreign_key => "location_type_id" | |
belongs_to :study_design, :class_name => ListItem, :foreign_key => "study_design_id" |
OlderNewer