This file contains hidden or 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
1) | |
Time.gm handles years from 0 as such FAILED | |
Expected -1 | |
to equal 0 | |
SpecExpectation.fail_with at mspec/lib/mspec/expectations/expectations.rb:15 | |
SpecPositiveOperatorMatcher#== at mspec/lib/mspec/matchers/base.rb:8 | |
{ } in Object#__script__ at spec/ruby/core/time/shared/time_params.rb:176 | |
Integer(Fixnum)#upto at kernel/common/integer.rb:209 | |
{ } in Object#__script__ at spec/ruby/core/time/shared/time_params.rb:174 |
This file contains hidden or 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
Bonjour, | |
Après contrôle, je m'aperçois que le fichier transmit ouvert avec notepad | |
comporte un problème de retour chariot et je me retrouve avec tous les ligne | |
sur une et une même ligne. | |
Pouvez-vous rectifier cela de votre côté. | |
Merci |
This file contains hidden or 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
source 'http://rubygems.org' | |
gem 'rails', '3.2.12' | |
gem 'awesome_nested_set', '> 2', :require => 'awesome_nested_set' | |
gem 'chronic' | |
gem 'mime-types', :require => 'mime/types' | |
gem 'spreadsheet' | |
gem 'fast_gettext' | |
gem 'will_paginate', '~> 3' | |
gem 'builder' |
This file contains hidden or 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 Moped | |
module BSON | |
class ObjectId | |
alias :to_json :to_s | |
end | |
end | |
end |
This file contains hidden or 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
FROM shingara/ruby-2.0.0 | |
MAINTAINER Cyril Mougel "[email protected]" | |
# need because git clone on Gemfile | |
RUN apt-get -y -q install git-core | |
## Gem needed by some gems | |
RUN apt-get -y -q install libxml2 libxml2-dev libxslt-dev libcurl4-openssl-dev | |
This file contains hidden or 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
FROM base | |
MAINTAINER Cyril Mougel "[email protected]" | |
RUN apt-get update | |
RUN apt-get install -q -y wget | |
RUN apt-get install -q -y ca-certificates | |
RUN apt-get install -q -y make | |
## Ruby-install | |
RUN wget -O ruby-install-0.1.4.tar.gz https://github.com/postmodern/ruby-install/archive/v0.1.4.tar.gz |
This file contains hidden or 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
## Docker file of shingara/chruby container | |
FROM base | |
MAINTAINER Cyril Mougel "[email protected]" | |
RUN apt-get update | |
RUN apt-get install -q -y wget | |
RUN apt-get install -q -y ca-certificates | |
RUN apt-get install -q -y make |
This file contains hidden or 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
package main | |
import ( | |
"os" | |
"fmt" | |
"github.com/shingara/goup/request" | |
) | |
func main() { | |
urls := make(chan string, 100) |
This file contains hidden or 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 UserCreate | |
def initialize(params) | |
@params = params | |
end | |
attr_reader :params | |
def user | |
@user ||= User.new(params[:user]) | |
end |
This file contains hidden or 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
require 'virtus' | |
require 'rspec' | |
require 'mongoid' | |
class User | |
include Virtus | |
attribute :active, Boolean | |
end |