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
[i] hery@hallelujah ~/Devel/3scale/porta (fix-cukes●)$ RAILS_ENV=test parallel_cucumber --verbose features -o "-b -p parallel --tags=@javascript --tags=~@fakeweb --tags=~@percy" [2.3] | |
8 processes for 278 features, ~ 34 features per process | |
bin/cucumber --format ParallelTests::Gherkin::RuntimeLogger --out tmp/parallel_runtime_cucumber.log -b -p parallel --tags=@javascript --tags=~@fakeweb --tags=~@percy features/developer_portal/signup.feature features/old/access_code.feature features/old/api/features.feature features/old/api/latest_transactions.feature features/old/api/metrics/deletion.feature features/old/api/plans/account_plans.feature features/old/api/plans/default_plan.feature features/old/api/plans/plan.feature features/old/api/usage_limits.feature features/old/applications/buyers/referrer_filters/buyer_side_single_application.feature features/old/authentication/internal.feature features/old/authorization/provider_plans |
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
module PaymentDetails | |
def hello | |
puts 'Simple' | |
end | |
module Multi | |
def hello | |
puts 'Multi' | |
end |
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 Data | |
class << self | |
def all | |
(1..10).to_a | |
end | |
def created | |
[4, 5, 6, 8, 9] |
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
function Krakener:CanSpawn(ignore_cooldown) | |
return (self:TimeUntilCanSpawn() <= 0 or ignore_cooldown) and not self.kraken and self.spawn_chance_mod > 0.0 | |
end | |
--[[ | |
This means that the quacken can sapwn if and only if all those conditions are met: | |
* cooldown is 0 (you did not spawn the quaken recently) | |
* there is no quacken in the world |
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
import net.id.api.IDnet; | |
import net.id.api.core.IDnetURLDefaults; | |
import net.id.api.data.IDnetAuthResponse; | |
private var appId:String; | |
private function setAppIdAndInit(e:Event):void | |
{ | |
var xml:XML = new XML(e.target.data); | |
setAppId(xml.appId); |
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
map <Esc>Oy 9 | |
map! <Esc>Oy 9 | |
map <Esc>Ox 8 | |
map! <Esc>Ox 8 | |
map <Esc>Ow 7 | |
map! <Esc>Ow 7 | |
map <Esc>Ov 6 | |
map! <Esc>Ov 6 | |
map <Esc>Ou 5 | |
map! <Esc>Ou 5 |
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
// Use in jenkins v 1.443 and BuildPipeline Plugins version 1.2.3 | |
import hudson.model.* | |
import hudson.views.* | |
import au.com.centrumsystems.hudson.plugin.buildpipeline.* | |
restrict_trigger_to_recent = false | |
v = new BuildPipelineView("view_name", "view_title", "initial_job_name", "number_of_display_builds", restrict_trigger_to_recent) | |
Hudson.instance.addView(v) |
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
/*ruote_work_development/configurations/st/participant_list.json */ | |
{"type":"configurations","_id":"participant_list","list":[["^log_me$","inpa_:log_me"],["^ping$",["RuoteAMQP::Participant",{"queue":"ping","reply_queue":"ruote_workitems"}]],["^pong$",["RuoteAMQP::Participant",{"queue":"pong","reply_queue":"ruote_workitems"}]],["^.+$",["Ruote::StorageParticipant",{}]]],"put_at":"2011-01-13 15:02:45.717461 UTC","_rev":7} |
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
# make changes when needed | |
# | |
# you may use another persistent storage for example or include a worker so that | |
# you don't have to run it in a separate instance | |
# | |
# See http://ruote.rubyforge.org/configuration.html for configuration options of | |
# ruote. | |
require 'ruote/storage/fs_storage' |
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
diff --git a/lib/gettext_i18n_rails/backend.rb b/lib/gettext_i18n_rails/backend.rb | |
index b27344b..2932262 100644 | |
--- a/lib/gettext_i18n_rails/backend.rb | |
+++ b/lib/gettext_i18n_rails/backend.rb | |
@@ -20,7 +20,7 @@ module GettextI18nRails | |
_(flat_key) | |
else | |
if self.class.translate_defaults | |
- options[:default].to_a.each do |default| | |
+ Array.wrap(options[:default]).each do |default| |