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
package main | |
import ( | |
"fmt" | |
"os" | |
"compress/gzip" | |
"encoding/xml" | |
) | |
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
require "rake/testtask" | |
Rake::TestTask.new(:test) do |t| | |
t.libs << "spec" | |
t.pattern = "spec/**/*_spec.rb" | |
end | |
Rake::TestTask.new(:webkit) do |t| | |
t.libs << "spec_webkit" | |
t.pattern = "spec_webkit/**/*_spec.rb" |
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
// Coffee script | |
books = [1..25] | |
data = (book for book in books) | |
console.log data | |
// Generated Javascript | |
(function() { | |
var book, books, data, _i, _results; | |
books = (function() { |
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 CreateListProductInteractions < ActiveRecord::Migration | |
def change | |
create_table :list_product_interactions do |t| | |
t.integer :votes_up, default: 0 | |
t.integer :votes_down, default: 0 | |
t.integer :votes_activity, default: 0 | |
t.integer :votes_total, default: 0 | |
t.integer :list_id | |
t.integer :product_id |
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
group :development do | |
gem 'railroady' | |
gem 'quiet_assets' | |
gem 'letter_opener' | |
gem 'pry' | |
gem 'awesome_print' | |
end |
NewerOlder