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 'spec_helper' | |
| require "cancan/matchers" | |
| describe Ability do | |
| let(:article) { Factory.build(:article) } | |
| let(:reserved_article) { Factory.build(:article, :reserved => true) } | |
| context "on backend" do | |
| subject { Ability.new(user, :admin) } |
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
| +-----------+-------------+---------+----------------------------+----------+-------+-------+ | |
| | Wednesday 05/02/12 - 10 hours | | |
| +-----------+-------------+---------+----------------------------+----------+-------+-------+ | |
| | Context | Project | Issue # | Description | Duration | From | To | | |
| +-----------+-------------+---------+----------------------------+----------+-------+-------+ | |
| | @cantiere | +giunti-web | | Layout homepage e contatti | 2 hours | 08:10 | 10:18 | | |
| | @cantiere | +giunti-web | | Import DB | 8 hours | 10:18 | 18:30 | | |
| +-----------+-------------+---------+----------------------------+----------+-------+-------+ | |
| +-----------+-------------+---------+--------------------+----------+-------+-------+ |
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 GlobalSettings | |
| include ActiveAttr::Model | |
| def self.instance | |
| @instance ||= self.new | |
| end | |
| def self.i18n_scope | |
| "activerecord" | |
| 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
| it: | |
| # Qui ci stanno le traduzioni dei modelli | |
| # E tutti gli attributi particolari per ogni modello | |
| activerecord: | |
| models: | |
| what_we_do_page: "Cosa Facciamo" | |
| contact_us_page: "Contattaci" | |
| homepage_settings: "Homepage" | |
| homepage_slide: |
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 :rubygems | |
| gem 'command_line_reporter' | |
| gem 'json' | |
| gem 'googl' | |
| gem 'rest-client', require: 'rest_client' | |
| gem 'launchy' |
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
| - | |
| ChangeLog.md | |
| LICENSE.txt |
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
| - | |
| ChangeLog.md | |
| LICENSE.txt |
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
| nel modello: | |
| class Page < ActiveRecord | |
| has_image :image | |
| has_image :featured_image | |
| has_gallery :gallery | |
| has_gallery :secondary_gallery | |
| 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
| { | |
| "23551": { | |
| "1": { | |
| "14": { | |
| "2013-01-09": { | |
| "application": "Alfa InfoMobile", | |
| "appstore": "Apple App Store", | |
| "country": "Italy", | |
| "date": "2013-01-09", | |
| "metric": "One-Off Downloads", |
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
| #!/usr/bin/env ruby | |
| # vim: ft=ruby: | |
| require "yaml" | |
| class YAMLator | |
| attr_reader :hash | |
| def initialize(data=nil, preamble=nil) |