From 45395fe79ebdd3c0d74264ada65acb607fb8bb77 Mon Sep 17 00:00:00 2001 From: yasushiito Date: Mon, 23 Jun 2014 18:08:02 +0900 Subject: [PATCH] fix test --- Gemfile | 2 +- lib/tasks/fixtures.rake | 46 + spec/controllers/scrolls_controller_spec.rb | 51 +- spec/factories/artist.rb | 11 + spec/factories/author.rb | 23 + spec/factories/balloon.rb | 615 ++++++ spec/factories/circle_speech_balloon_balloon.rb | 1 + spec/factories/circle_speech_balloon_speech.rb | 1 + .../circle_speech_balloon_speech_balloon.rb | 1 + spec/factories/comic.rb | 51 + spec/factories/comic_story.rb | 69 + spec/factories/folder.rb | 927 ++++++++ spec/factories/ground_color.rb | 173 ++ spec/factories/ground_picture.rb | 63 + spec/factories/license.rb | 233 ++ spec/factories/license_group.rb | 75 + spec/factories/original_picture.rb | 1411 ++++++++++++ spec/factories/original_picture_license.rb | 10 + spec/factories/original_picture_license_group.rb | 3 + spec/factories/panel.rb | 523 +++++ spec/factories/panel_picture.rb | 483 +++++ ...tanr_creative_commons_v30_licenses_attribute.rb | 1 + ...creative_commons_v30_licenses_credit_picture.rb | 1 + ...ettanr_creative_commons_v30_licenses_license.rb | 1 + ...ettanr_pettan_commons_v01_licenses_attribute.rb | 1 + ...r_pettan_commons_v01_licenses_credit_picture.rb | 1 + .../pettanr_pettan_commons_v01_licenses_license.rb | 1 + ...tanr_pettan_protected_v01_licenses_attribute.rb | 1 + ...pettan_protected_v01_licenses_credit_picture.rb | 1 + ...ettanr_pettan_protected_v01_licenses_license.rb | 1 + ...pettanr_pettan_public_v01_licenses_attribute.rb | 1 + ...nr_pettan_public_v01_licenses_credit_picture.rb | 1 + .../pettanr_pettan_public_v01_licenses_license.rb | 1 + ...pettanr_public_domain_v01_licenses_attribute.rb | 1 + ...nr_public_domain_v01_licenses_credit_picture.rb | 1 + .../pettanr_public_domain_v01_licenses_license.rb | 1 + .../pettanr_unknown_v01_licenses_attribute.rb | 1 + .../pettanr_unknown_v01_licenses_credit_picture.rb | 1 + .../pettanr_unknown_v01_licenses_license.rb | 1 + spec/factories/picture.rb | 2259 ++++++++++++++++++++ spec/factories/plain_speech_balloon_balloon.rb | 1 + spec/factories/plain_speech_balloon_speech.rb | 1 + .../plain_speech_balloon_speech_balloon.rb | 1 + spec/factories/resource_picture.rb | 2128 ++++++++++++++++++ spec/factories/scroll.rb | 51 + spec/factories/scroll_panel.rb | 75 + spec/factories/sheet.rb | 52 + spec/factories/sheet_panel.rb | 111 + spec/factories/speech.rb | 989 +++++++++ spec/factories/speech_balloon.rb | 462 ++++ spec/factories/speech_balloon_template.rb | 35 + spec/factories/square_speech_balloon_balloon.rb | 1 + spec/factories/square_speech_balloon_speech.rb | 1 + .../square_speech_balloon_speech_balloon.rb | 1 + spec/factories/story.rb | 52 + spec/factories/story_sheet.rb | 93 + spec/factories/system_picture.rb | 339 +++ spec/factories/test_speech_balloon_balloon.rb | 1 + spec/factories/test_speech_balloon_speech.rb | 1 + .../test_speech_balloon_speech_balloon.rb | 1 + spec/factories/writing_format.rb | 17 + spec/spec_helper.rb | 9 +- spec/views/scrolls/show.html.erb_spec.rb | 25 + 63 files changed, 11441 insertions(+), 55 deletions(-) create mode 100644 lib/tasks/fixtures.rake create mode 100644 spec/factories/artist.rb create mode 100644 spec/factories/author.rb create mode 100644 spec/factories/balloon.rb create mode 100644 spec/factories/circle_speech_balloon_balloon.rb create mode 100644 spec/factories/circle_speech_balloon_speech.rb create mode 100644 spec/factories/circle_speech_balloon_speech_balloon.rb create mode 100644 spec/factories/comic.rb create mode 100644 spec/factories/comic_story.rb create mode 100644 spec/factories/folder.rb create mode 100644 spec/factories/ground_color.rb create mode 100644 spec/factories/ground_picture.rb create mode 100644 spec/factories/license.rb create mode 100644 spec/factories/license_group.rb create mode 100644 spec/factories/original_picture.rb create mode 100644 spec/factories/original_picture_license.rb create mode 100644 spec/factories/original_picture_license_group.rb create mode 100644 spec/factories/panel.rb create mode 100644 spec/factories/panel_picture.rb create mode 100644 spec/factories/pettanr_creative_commons_v30_licenses_attribute.rb create mode 100644 spec/factories/pettanr_creative_commons_v30_licenses_credit_picture.rb create mode 100644 spec/factories/pettanr_creative_commons_v30_licenses_license.rb create mode 100644 spec/factories/pettanr_pettan_commons_v01_licenses_attribute.rb create mode 100644 spec/factories/pettanr_pettan_commons_v01_licenses_credit_picture.rb create mode 100644 spec/factories/pettanr_pettan_commons_v01_licenses_license.rb create mode 100644 spec/factories/pettanr_pettan_protected_v01_licenses_attribute.rb create mode 100644 spec/factories/pettanr_pettan_protected_v01_licenses_credit_picture.rb create mode 100644 spec/factories/pettanr_pettan_protected_v01_licenses_license.rb create mode 100644 spec/factories/pettanr_pettan_public_v01_licenses_attribute.rb create mode 100644 spec/factories/pettanr_pettan_public_v01_licenses_credit_picture.rb create mode 100644 spec/factories/pettanr_pettan_public_v01_licenses_license.rb create mode 100644 spec/factories/pettanr_public_domain_v01_licenses_attribute.rb create mode 100644 spec/factories/pettanr_public_domain_v01_licenses_credit_picture.rb create mode 100644 spec/factories/pettanr_public_domain_v01_licenses_license.rb create mode 100644 spec/factories/pettanr_unknown_v01_licenses_attribute.rb create mode 100644 spec/factories/pettanr_unknown_v01_licenses_credit_picture.rb create mode 100644 spec/factories/pettanr_unknown_v01_licenses_license.rb create mode 100644 spec/factories/picture.rb create mode 100644 spec/factories/plain_speech_balloon_balloon.rb create mode 100644 spec/factories/plain_speech_balloon_speech.rb create mode 100644 spec/factories/plain_speech_balloon_speech_balloon.rb create mode 100644 spec/factories/resource_picture.rb create mode 100644 spec/factories/scroll.rb create mode 100644 spec/factories/scroll_panel.rb create mode 100644 spec/factories/sheet.rb create mode 100644 spec/factories/sheet_panel.rb create mode 100644 spec/factories/speech.rb create mode 100644 spec/factories/speech_balloon.rb create mode 100644 spec/factories/speech_balloon_template.rb create mode 100644 spec/factories/square_speech_balloon_balloon.rb create mode 100644 spec/factories/square_speech_balloon_speech.rb create mode 100644 spec/factories/square_speech_balloon_speech_balloon.rb create mode 100644 spec/factories/story.rb create mode 100644 spec/factories/story_sheet.rb create mode 100644 spec/factories/system_picture.rb create mode 100644 spec/factories/test_speech_balloon_balloon.rb create mode 100644 spec/factories/test_speech_balloon_speech.rb create mode 100644 spec/factories/test_speech_balloon_speech_balloon.rb create mode 100644 spec/factories/writing_format.rb create mode 100644 spec/views/scrolls/show.html.erb_spec.rb diff --git a/Gemfile b/Gemfile index 7d9e8604..47e8459e 100644 --- a/Gemfile +++ b/Gemfile @@ -75,7 +75,7 @@ group :test do gem 'rspec', '~> 2.0' gem 'rspec-rails' gem 'cucumber' - gem 'cucumber-rails' + gem 'cucumber-rails', require: false gem 'factory_girl' end diff --git a/lib/tasks/fixtures.rake b/lib/tasks/fixtures.rake new file mode 100644 index 00000000..6113e83c --- /dev/null +++ b/lib/tasks/fixtures.rake @@ -0,0 +1,46 @@ +# -*- encoding: utf-8 -*- +require 'erb' + +namespace :db do + namespace :fixtures do + + desc 'Create FactoryGirl test fixtures from data in an existing database. + Defaults to development database. Set RAILS_ENV to override.' + task :dump => :environment do + sql = "SELECT * FROM %s" + ActiveRecord::Base.establish_connection(Rails.env) + Manifest.manifest.items.each do |n, v| + model_man = Manifest.manifest.models[n] + model = model_man.classify + data = ActiveRecord::Base.connection.select_all(sql % model.table_name) +tpl = <<-HD +# -*- encoding: utf-8 -*- +FactoryGirl.define do +<% c = "000" -%> +<% data.each do |row| -%> + factory <%= ':' + n + c.succ! -%>, :class => <%= model.to_s -%> do |i| +<% model_man.attributes.each do |name, attr| -%> +<% next if name == 'id' -%> +<% next if name == 'created_at' -%> +<% next if name == 'updated_at' -%> + i.<%= name -%> <%= case attr.type + when 'text' + "'" + row[name].to_s.gsub("'", "\\\\\\\\'") + "'" + when 'datetime' + row[name] ? "DateTime.parse('" + row[name] + "')" : 'nil' + else + row[name] + end %> +<% end -%> + end +<% end -%> +end +HD + erb = ERB.new(tpl, nil, '-') + File.open("#{Rails.root}/spec/factories/#{n}.rb", 'w') do |f| + f.puts erb.result(binding) + end + end + end + end +end diff --git a/spec/controllers/scrolls_controller_spec.rb b/spec/controllers/scrolls_controller_spec.rb index 041f3093..a3294f92 100644 --- a/spec/controllers/scrolls_controller_spec.rb +++ b/spec/controllers/scrolls_controller_spec.rb @@ -11,57 +11,23 @@ describe ScrollsController do @author = FactoryGirl.create :author, :user_id => @user.id end -if MagicNumber['run_mode'] == 1 +if Manifest.manifest.magic_numbers['run_mode'] == 1 describe '一覧表示に於いて' do before do @scroll = FactoryGirl.create :scroll, :author_id => @user.author.id Scroll.stub(:list).and_return([@scroll, @scroll, @scroll]) sign_in @user end - context '事前チェックする' do - it '与えられたpageがセットされている' do - get :index, :page => 5 - assigns(:page).should eq 5 - end - it '省略されると@pageに1値が入る' do - get :index - assigns(:page).should eq 1 - end - it '与えられたpage_sizeがセットされている' do - get :index, :page_size => 15 - assigns(:page_size).should eq 15 - end - it '省略されると@page_sizeにデフォルト値が入る' do - get :index - assigns(:page_size).should eq Scroll.default_page_size - end - it '最大を超えると@page_sizeにデフォルト最大値が入る' do - get :index, :page_size => 1500 - assigns(:page_size).should eq Scroll.max_page_size - end - it '不正な値が入ると@page_sizeにデフォルト最大値が入る' do - get :index, :page_size => 0 - assigns(:page_size).should eq Scroll.default_page_size - end - end context 'つつがなく終わるとき' do it 'ステータスコード200 OKを返す' do get :index response.should be_success end - it 'スクロールモデルに一覧を問い合わせている' do - Scroll.should_receive(:list).exactly(1) - get :index - end it '@scrollsにリストを取得している' do get :index assigns(:scrolls).should have_at_least(3).items end context 'html形式' do - it '@paginateにページ制御を取得している' do - get :index - assigns(:paginate).is_a?(Kaminari::PaginatableArray).should be_true - end it 'indexテンプレートを描画する' do get :index response.should render_template("index") @@ -72,21 +38,6 @@ if MagicNumber['run_mode'] == 1 get :index, :format => :json lambda{JSON.parse(response.body)}.should_not raise_error(JSON::ParserError) end - it 'スクロールモデルにjson一覧出力オプションを問い合わせている' do - Scroll.should_receive(:list_json_opt).exactly(1) - get :index, :format => :json - end - it 'データがリスト構造になっている' do - get :index, :format => :json - json = JSON.parse response.body - json.should have_at_least(3).items - end - it 'リストの先頭くらいはスクロールっぽいものであって欲しい' do - get :index, :format => :json - json = JSON.parse response.body - json.first.has_key?("title").should be_true - json.first.has_key?("visible").should be_true - end end end context 'ユーザ権限がないとき' do diff --git a/spec/factories/artist.rb b/spec/factories/artist.rb new file mode 100644 index 00000000..d0ff9815 --- /dev/null +++ b/spec/factories/artist.rb @@ -0,0 +1,11 @@ +# -*- encoding: utf-8 -*- +FactoryGirl.define do + factory :artist001, :class => Artist do |i| + i.name 'ペン次郎' + i.author_id 1 + end + factory :artist002, :class => Artist do |i| + i.name 's6' + i.author_id + end +end diff --git a/spec/factories/author.rb b/spec/factories/author.rb new file mode 100644 index 00000000..739e1dbe --- /dev/null +++ b/spec/factories/author.rb @@ -0,0 +1,23 @@ +# -*- encoding: utf-8 -*- +FactoryGirl.define do + factory :author001, :class => Author do |i| + i.name 'ペン次郎' + i.user_id 1 + end + factory :author002, :class => Author do |i| + i.name 'no name' + i.user_id 2 + end + factory :author003, :class => Author do |i| + i.name 'qqqqqq' + i.user_id 3 + end + factory :author004, :class => Author do |i| + i.name 'やる気満々' + i.user_id 4 + end + factory :author005, :class => Author do |i| + i.name 'z6' + i.user_id 5 + end +end diff --git a/spec/factories/balloon.rb b/spec/factories/balloon.rb new file mode 100644 index 00000000..1c6051a0 --- /dev/null +++ b/spec/factories/balloon.rb @@ -0,0 +1,615 @@ +# -*- encoding: utf-8 -*- +FactoryGirl.define do + factory :balloon001, :class => Balloon do |i| + i.speech_balloon_id 1 + i.speech_balloon_template_id 1 + i.speech_balloon_template_module_name 'CircleSpeechBalloon' + i.system_picture_id 36 + i.x 242 + i.y -1 + i.width 204 + i.height 125 + i.r 247 + i.speech_balloon_template_settings '' + end + factory :balloon002, :class => Balloon do |i| + i.speech_balloon_id 2 + i.speech_balloon_template_id 2 + i.speech_balloon_template_module_name 'PlainSpeechBalloon' + i.system_picture_id 42 + i.x -3 + i.y 28 + i.width 150 + i.height 150 + i.r 0 + i.speech_balloon_template_settings '' + end + factory :balloon003, :class => Balloon do |i| + i.speech_balloon_id 3 + i.speech_balloon_template_id 3 + i.speech_balloon_template_module_name 'SquareSpeechBalloon' + i.system_picture_id 44 + i.x 15 + i.y 136 + i.width 124 + i.height 76 + i.r 0 + i.speech_balloon_template_settings '' + end + factory :balloon004, :class => Balloon do |i| + i.speech_balloon_id 4 + i.speech_balloon_template_id 1 + i.speech_balloon_template_module_name 'CircleSpeechBalloon' + i.system_picture_id 36 + i.x 293 + i.y -2 + i.width 200 + i.height 200 + i.r 247 + i.speech_balloon_template_settings '' + end + factory :balloon005, :class => Balloon do |i| + i.speech_balloon_id 6 + i.speech_balloon_template_id 3 + i.speech_balloon_template_module_name 'SquareSpeechBalloon' + i.system_picture_id 44 + i.x 130 + i.y 175 + i.width 140 + i.height 100 + i.r 0 + i.speech_balloon_template_settings '' + end + factory :balloon006, :class => Balloon do |i| + i.speech_balloon_id 7 + i.speech_balloon_template_id 1 + i.speech_balloon_template_module_name 'CircleSpeechBalloon' + i.system_picture_id 31 + i.x 0 + i.y 0 + i.width 200 + i.height 200 + i.r 140 + i.speech_balloon_template_settings '' + end + factory :balloon007, :class => Balloon do |i| + i.speech_balloon_id 8 + i.speech_balloon_template_id 2 + i.speech_balloon_template_module_name 'PlainSpeechBalloon' + i.system_picture_id 42 + i.x 0 + i.y 0 + i.width 150 + i.height 150 + i.r 0 + i.speech_balloon_template_settings '' + end + factory :balloon008, :class => Balloon do |i| + i.speech_balloon_id 9 + i.speech_balloon_template_id 3 + i.speech_balloon_template_module_name 'SquareSpeechBalloon' + i.system_picture_id 44 + i.x 0 + i.y 0 + i.width 150 + i.height 150 + i.r 0 + i.speech_balloon_template_settings '' + end + factory :balloon009, :class => Balloon do |i| + i.speech_balloon_id 11 + i.speech_balloon_template_id 2 + i.speech_balloon_template_module_name 'PlainSpeechBalloon' + i.system_picture_id 42 + i.x 49 + i.y 55 + i.width 117 + i.height 150 + i.r 0 + i.speech_balloon_template_settings '' + end + factory :balloon010, :class => Balloon do |i| + i.speech_balloon_id 12 + i.speech_balloon_template_id 3 + i.speech_balloon_template_module_name 'SquareSpeechBalloon' + i.system_picture_id 44 + i.x 47 + i.y 169 + i.width 159 + i.height 133 + i.r 0 + i.speech_balloon_template_settings '' + end + factory :balloon011, :class => Balloon do |i| + i.speech_balloon_id 13 + i.speech_balloon_template_id 1 + i.speech_balloon_template_module_name 'CircleSpeechBalloon' + i.system_picture_id 31 + i.x 154 + i.y -28 + i.width 200 + i.height 200 + i.r 140 + i.speech_balloon_template_settings '' + end + factory :balloon012, :class => Balloon do |i| + i.speech_balloon_id 14 + i.speech_balloon_template_id 3 + i.speech_balloon_template_module_name 'SquareSpeechBalloon' + i.system_picture_id 44 + i.x 33 + i.y -5 + i.width 120 + i.height 85 + i.r 0 + i.speech_balloon_template_settings '' + end + factory :balloon013, :class => Balloon do |i| + i.speech_balloon_id 15 + i.speech_balloon_template_id 3 + i.speech_balloon_template_module_name 'SquareSpeechBalloon' + i.system_picture_id 44 + i.x 294 + i.y 153 + i.width 165 + i.height 112 + i.r 0 + i.speech_balloon_template_settings '' + end + factory :balloon014, :class => Balloon do |i| + i.speech_balloon_id 16 + i.speech_balloon_template_id 1 + i.speech_balloon_template_module_name 'CircleSpeechBalloon' + i.system_picture_id 31 + i.x 46 + i.y 50 + i.width 161 + i.height 137 + i.r 140 + i.speech_balloon_template_settings '' + end + factory :balloon015, :class => Balloon do |i| + i.speech_balloon_id 17 + i.speech_balloon_template_id 1 + i.speech_balloon_template_module_name 'CircleSpeechBalloon' + i.system_picture_id 31 + i.x 69 + i.y 65 + i.width 143 + i.height 102 + i.r 140 + i.speech_balloon_template_settings '' + end + factory :balloon016, :class => Balloon do |i| + i.speech_balloon_id 18 + i.speech_balloon_template_id 1 + i.speech_balloon_template_module_name 'CircleSpeechBalloon' + i.system_picture_id 31 + i.x 117 + i.y 19 + i.width 161 + i.height 137 + i.r 140 + i.speech_balloon_template_settings '' + end + factory :balloon017, :class => Balloon do |i| + i.speech_balloon_id 19 + i.speech_balloon_template_id 1 + i.speech_balloon_template_module_name 'CircleSpeechBalloon' + i.system_picture_id 7 + i.x -23 + i.y -9 + i.width 233 + i.height 153 + i.r 140 + i.speech_balloon_template_settings '' + end + factory :balloon018, :class => Balloon do |i| + i.speech_balloon_id 20 + i.speech_balloon_template_id 2 + i.speech_balloon_template_module_name 'PlainSpeechBalloon' + i.system_picture_id 18 + i.x 6 + i.y 109 + i.width 150 + i.height 150 + i.r 0 + i.speech_balloon_template_settings '' + end + factory :balloon019, :class => Balloon do |i| + i.speech_balloon_id 21 + i.speech_balloon_template_id 2 + i.speech_balloon_template_module_name 'PlainSpeechBalloon' + i.system_picture_id 42 + i.x 54 + i.y 12 + i.width 135 + i.height 155 + i.r 0 + i.speech_balloon_template_settings '' + end + factory :balloon020, :class => Balloon do |i| + i.speech_balloon_id 22 + i.speech_balloon_template_id 2 + i.speech_balloon_template_module_name 'PlainSpeechBalloon' + i.system_picture_id 42 + i.x 54 + i.y 12 + i.width 135 + i.height 155 + i.r 0 + i.speech_balloon_template_settings '' + end + factory :balloon021, :class => Balloon do |i| + i.speech_balloon_id 23 + i.speech_balloon_template_id 2 + i.speech_balloon_template_module_name 'PlainSpeechBalloon' + i.system_picture_id 42 + i.x 54 + i.y 12 + i.width 135 + i.height 155 + i.r 0 + i.speech_balloon_template_settings '' + end + factory :balloon022, :class => Balloon do |i| + i.speech_balloon_id 24 + i.speech_balloon_template_id 1 + i.speech_balloon_template_module_name 'CircleSpeechBalloon' + i.system_picture_id 31 + i.x -23 + i.y -9 + i.width 233 + i.height 153 + i.r 140 + i.speech_balloon_template_settings '' + end + factory :balloon023, :class => Balloon do |i| + i.speech_balloon_id 25 + i.speech_balloon_template_id 2 + i.speech_balloon_template_module_name 'PlainSpeechBalloon' + i.system_picture_id 42 + i.x 6 + i.y 109 + i.width 150 + i.height 150 + i.r 0 + i.speech_balloon_template_settings '' + end + factory :balloon024, :class => Balloon do |i| + i.speech_balloon_id 26 + i.speech_balloon_template_id 1 + i.speech_balloon_template_module_name 'CircleSpeechBalloon' + i.system_picture_id 32 + i.x -42 + i.y -20 + i.width 308 + i.height 200 + i.r 157 + i.speech_balloon_template_settings '' + end + factory :balloon025, :class => Balloon do |i| + i.speech_balloon_id 27 + i.speech_balloon_template_id 1 + i.speech_balloon_template_module_name 'CircleSpeechBalloon' + i.system_picture_id 35 + i.x 266 + i.y 0 + i.width 242 + i.height 199 + i.r 225 + i.speech_balloon_template_settings '' + end + factory :balloon026, :class => Balloon do |i| + i.speech_balloon_id 28 + i.speech_balloon_template_id 1 + i.speech_balloon_template_module_name 'CircleSpeechBalloon' + i.system_picture_id 31 + i.x 0 + i.y 0 + i.width 200 + i.height 200 + i.r 140 + i.speech_balloon_template_settings '' + end + factory :balloon027, :class => Balloon do |i| + i.speech_balloon_id 29 + i.speech_balloon_template_id 1 + i.speech_balloon_template_module_name 'CircleSpeechBalloon' + i.system_picture_id 35 + i.x 268 + i.y 66 + i.width 200 + i.height 142 + i.r 225 + i.speech_balloon_template_settings '' + end + factory :balloon028, :class => Balloon do |i| + i.speech_balloon_id 30 + i.speech_balloon_template_id 1 + i.speech_balloon_template_module_name 'CircleSpeechBalloon' + i.system_picture_id 31 + i.x 26 + i.y -18 + i.width 178 + i.height 155 + i.r 140 + i.speech_balloon_template_settings '' + end + factory :balloon029, :class => Balloon do |i| + i.speech_balloon_id 31 + i.speech_balloon_template_id 2 + i.speech_balloon_template_module_name 'PlainSpeechBalloon' + i.system_picture_id 42 + i.x 3 + i.y 108 + i.width 134 + i.height 101 + i.r 0 + i.speech_balloon_template_settings '' + end + factory :balloon030, :class => Balloon do |i| + i.speech_balloon_id 32 + i.speech_balloon_template_id 2 + i.speech_balloon_template_module_name 'PlainSpeechBalloon' + i.system_picture_id 42 + i.x 354 + i.y 39 + i.width 147 + i.height 110 + i.r 0 + i.speech_balloon_template_settings '' + end + factory :balloon031, :class => Balloon do |i| + i.speech_balloon_id 33 + i.speech_balloon_template_id 2 + i.speech_balloon_template_module_name 'PlainSpeechBalloon' + i.system_picture_id 42 + i.x 290 + i.y 196 + i.width 148 + i.height 121 + i.r 0 + i.speech_balloon_template_settings '' + end + factory :balloon032, :class => Balloon do |i| + i.speech_balloon_id 34 + i.speech_balloon_template_id 3 + i.speech_balloon_template_module_name 'SquareSpeechBalloon' + i.system_picture_id 44 + i.x 13 + i.y 57 + i.width 150 + i.height 78 + i.r 0 + i.speech_balloon_template_settings '' + end + factory :balloon033, :class => Balloon do |i| + i.speech_balloon_id 35 + i.speech_balloon_template_id 3 + i.speech_balloon_template_module_name 'SquareSpeechBalloon' + i.system_picture_id 44 + i.x 317 + i.y 56 + i.width 150 + i.height 78 + i.r 0 + i.speech_balloon_template_settings '' + end + factory :balloon034, :class => Balloon do |i| + i.speech_balloon_id 36 + i.speech_balloon_template_id 3 + i.speech_balloon_template_module_name 'SquareSpeechBalloon' + i.system_picture_id 44 + i.x 137 + i.y 159 + i.width 182 + i.height 73 + i.r 0 + i.speech_balloon_template_settings '' + end + factory :balloon035, :class => Balloon do |i| + i.speech_balloon_id 37 + i.speech_balloon_template_id 2 + i.speech_balloon_template_module_name 'PlainSpeechBalloon' + i.system_picture_id 42 + i.x 88 + i.y -32 + i.width 298 + i.height 150 + i.r 0 + i.speech_balloon_template_settings '' + end + factory :balloon036, :class => Balloon do |i| + i.speech_balloon_id 38 + i.speech_balloon_template_id 1 + i.speech_balloon_template_module_name 'CircleSpeechBalloon' + i.system_picture_id 35 + i.x 188 + i.y 0 + i.width 335 + i.height 164 + i.r 225 + i.speech_balloon_template_settings '' + end + factory :balloon037, :class => Balloon do |i| + i.speech_balloon_id 39 + i.speech_balloon_template_id 1 + i.speech_balloon_template_module_name 'CircleSpeechBalloon' + i.system_picture_id 31 + i.x 5 + i.y 34 + i.width 213 + i.height 143 + i.r 140 + i.speech_balloon_template_settings '' + end + factory :balloon038, :class => Balloon do |i| + i.speech_balloon_id 40 + i.speech_balloon_template_id 2 + i.speech_balloon_template_module_name 'PlainSpeechBalloon' + i.system_picture_id 42 + i.x 353 + i.y 143 + i.width 189 + i.height 104 + i.r 0 + i.speech_balloon_template_settings '' + end + factory :balloon039, :class => Balloon do |i| + i.speech_balloon_id 41 + i.speech_balloon_template_id 2 + i.speech_balloon_template_module_name 'PlainSpeechBalloon' + i.system_picture_id 42 + i.x -2 + i.y 37 + i.width 486 + i.height 119 + i.r 0 + i.speech_balloon_template_settings '' + end + factory :balloon040, :class => Balloon do |i| + i.speech_balloon_id 42 + i.speech_balloon_template_id 1 + i.speech_balloon_template_module_name 'CircleSpeechBalloon' + i.system_picture_id 32 + i.x -22 + i.y -14 + i.width 272 + i.height 174 + i.r 157 + i.speech_balloon_template_settings '' + end + factory :balloon041, :class => Balloon do |i| + i.speech_balloon_id 43 + i.speech_balloon_template_id 1 + i.speech_balloon_template_module_name 'CircleSpeechBalloon' + i.system_picture_id 35 + i.x 313 + i.y 42 + i.width 182 + i.height 141 + i.r -135 + i.speech_balloon_template_settings '' + end + factory :balloon042, :class => Balloon do |i| + i.speech_balloon_id 44 + i.speech_balloon_template_id 1 + i.speech_balloon_template_module_name 'CircleSpeechBalloon' + i.system_picture_id 31 + i.x 0 + i.y 0 + i.width 200 + i.height 200 + i.r 140 + i.speech_balloon_template_settings '' + end + factory :balloon043, :class => Balloon do |i| + i.speech_balloon_id 45 + i.speech_balloon_template_id 1 + i.speech_balloon_template_module_name 'CircleSpeechBalloon' + i.system_picture_id 32 + i.x -26 + i.y -1 + i.width 261 + i.height 134 + i.r 157 + i.speech_balloon_template_settings '' + end + factory :balloon044, :class => Balloon do |i| + i.speech_balloon_id 46 + i.speech_balloon_template_id 3 + i.speech_balloon_template_module_name 'SquareSpeechBalloon' + i.system_picture_id 44 + i.x 257 + i.y 3 + i.width 235 + i.height 189 + i.r 0 + i.speech_balloon_template_settings '' + end + factory :balloon045, :class => Balloon do |i| + i.speech_balloon_id 47 + i.speech_balloon_template_id 1 + i.speech_balloon_template_module_name 'CircleSpeechBalloon' + i.system_picture_id 31 + i.x -11 + i.y -18 + i.width 204 + i.height 146 + i.r 140 + i.speech_balloon_template_settings '' + end + factory :balloon046, :class => Balloon do |i| + i.speech_balloon_id 48 + i.speech_balloon_template_id 2 + i.speech_balloon_template_module_name 'PlainSpeechBalloon' + i.system_picture_id 42 + i.x 6 + i.y 169 + i.width 208 + i.height 106 + i.r 0 + i.speech_balloon_template_settings '' + end + factory :balloon047, :class => Balloon do |i| + i.speech_balloon_id 49 + i.speech_balloon_template_id 3 + i.speech_balloon_template_module_name 'SquareSpeechBalloon' + i.system_picture_id 44 + i.x 280 + i.y 4 + i.width 220 + i.height 146 + i.r 0 + i.speech_balloon_template_settings '' + end + factory :balloon048, :class => Balloon do |i| + i.speech_balloon_id 50 + i.speech_balloon_template_id 3 + i.speech_balloon_template_module_name 'SquareSpeechBalloon' + i.system_picture_id 44 + i.x 29 + i.y 42 + i.width 127 + i.height 73 + i.r 0 + i.speech_balloon_template_settings '' + end + factory :balloon049, :class => Balloon do |i| + i.speech_balloon_id 51 + i.speech_balloon_template_id 2 + i.speech_balloon_template_module_name 'PlainSpeechBalloon' + i.system_picture_id 42 + i.x 101 + i.y 113 + i.width 340 + i.height 134 + i.r 0 + i.speech_balloon_template_settings '' + end + factory :balloon050, :class => Balloon do |i| + i.speech_balloon_id 52 + i.speech_balloon_template_id 1 + i.speech_balloon_template_module_name 'CircleSpeechBalloon' + i.system_picture_id 28 + i.x -4 + i.y 159 + i.width 202 + i.height 125 + i.r 67 + i.speech_balloon_template_settings '' + end + factory :balloon051, :class => Balloon do |i| + i.speech_balloon_id 53 + i.speech_balloon_template_id 1 + i.speech_balloon_template_module_name 'CircleSpeechBalloon' + i.system_picture_id 31 + i.x 13 + i.y -8 + i.width 212 + i.height 136 + i.r 140 + i.speech_balloon_template_settings '' + end +end diff --git a/spec/factories/circle_speech_balloon_balloon.rb b/spec/factories/circle_speech_balloon_balloon.rb new file mode 100644 index 00000000..d3f5a12f --- /dev/null +++ b/spec/factories/circle_speech_balloon_balloon.rb @@ -0,0 +1 @@ + diff --git a/spec/factories/circle_speech_balloon_speech.rb b/spec/factories/circle_speech_balloon_speech.rb new file mode 100644 index 00000000..d3f5a12f --- /dev/null +++ b/spec/factories/circle_speech_balloon_speech.rb @@ -0,0 +1 @@ + diff --git a/spec/factories/circle_speech_balloon_speech_balloon.rb b/spec/factories/circle_speech_balloon_speech_balloon.rb new file mode 100644 index 00000000..d3f5a12f --- /dev/null +++ b/spec/factories/circle_speech_balloon_speech_balloon.rb @@ -0,0 +1 @@ + diff --git a/spec/factories/comic.rb b/spec/factories/comic.rb new file mode 100644 index 00000000..4eea085a --- /dev/null +++ b/spec/factories/comic.rb @@ -0,0 +1,51 @@ +# -*- encoding: utf-8 -*- +FactoryGirl.define do + factory :comic001, :class => Comic do |i| + i.title 'アアアッ' + i.description '' + i.visible 1 + i.author_id 1 + end + factory :comic002, :class => Comic do |i| + i.title '双子?' + i.description '' + i.visible 1 + i.author_id 1 + end + factory :comic003, :class => Comic do |i| + i.title '0.6.2をリリースしました' + i.description '' + i.visible 0 + i.author_id 4 + end + factory :comic004, :class => Comic do |i| + i.title 'アアアッ' + i.description '' + i.visible 1 + i.author_id 4 + end + factory :comic005, :class => Comic do |i| + i.title '双子?' + i.description '' + i.visible 1 + i.author_id 1 + end + factory :comic006, :class => Comic do |i| + i.title '0.6.2をリリースしました' + i.description 'aaaaaaaaaaaaaa' + i.visible 1 + i.author_id 1 + end + factory :comic007, :class => Comic do |i| + i.title 'アアアッ' + i.description '' + i.visible 0 + i.author_id 1 + end + factory :comic008, :class => Comic do |i| + i.title 'アアアッ' + i.description '' + i.visible 1 + i.author_id 1 + end +end diff --git a/spec/factories/comic_story.rb b/spec/factories/comic_story.rb new file mode 100644 index 00000000..a2ae5685 --- /dev/null +++ b/spec/factories/comic_story.rb @@ -0,0 +1,69 @@ +# -*- encoding: utf-8 -*- +FactoryGirl.define do + factory :comic_story001, :class => ComicStory do |i| + i.comic_id 1 + i.story_id 1 + i.t 0 + i.author_id 1 + end + factory :comic_story002, :class => ComicStory do |i| + i.comic_id 2 + i.story_id 2 + i.t 0 + i.author_id 1 + end + factory :comic_story003, :class => ComicStory do |i| + i.comic_id 2 + i.story_id 3 + i.t 1 + i.author_id 1 + end + factory :comic_story004, :class => ComicStory do |i| + i.comic_id 2 + i.story_id 4 + i.t 2 + i.author_id 1 + end + factory :comic_story005, :class => ComicStory do |i| + i.comic_id 7 + i.story_id 5 + i.t 2 + i.author_id 1 + end + factory :comic_story006, :class => ComicStory do |i| + i.comic_id 7 + i.story_id 2 + i.t 1 + i.author_id 1 + end + factory :comic_story007, :class => ComicStory do |i| + i.comic_id 7 + i.story_id 3 + i.t 0 + i.author_id 1 + end + factory :comic_story008, :class => ComicStory do |i| + i.comic_id 8 + i.story_id 4 + i.t 3 + i.author_id 1 + end + factory :comic_story009, :class => ComicStory do |i| + i.comic_id 8 + i.story_id 3 + i.t 2 + i.author_id 1 + end + factory :comic_story010, :class => ComicStory do |i| + i.comic_id 8 + i.story_id 2 + i.t 1 + i.author_id 1 + end + factory :comic_story011, :class => ComicStory do |i| + i.comic_id 8 + i.story_id 5 + i.t 0 + i.author_id 1 + end +end diff --git a/spec/factories/folder.rb b/spec/factories/folder.rb new file mode 100644 index 00000000..bb4fa954 --- /dev/null +++ b/spec/factories/folder.rb @@ -0,0 +1,927 @@ +# -*- encoding: utf-8 -*- +FactoryGirl.define do + factory :folder001, :class => Folder do |i| + i.name '/' + i.controller_name '' + i.action_name '' + i.category_id 0 + i.t 0 + i.parent_id + i.lft 1 + i.rgt 168 + i.depth 0 + end + factory :folder002, :class => Folder do |i| + i.name '/manga/' + i.controller_name '' + i.action_name '' + i.category_id 0 + i.t 0 + i.parent_id 97 + i.lft 2 + i.rgt 7 + i.depth 1 + end + factory :folder003, :class => Folder do |i| + i.name '/people/' + i.controller_name '' + i.action_name '' + i.category_id 0 + i.t 0 + i.parent_id 97 + i.lft 8 + i.rgt 13 + i.depth 1 + end + factory :folder004, :class => Folder do |i| + i.name '/documents/' + i.controller_name '' + i.action_name '' + i.category_id 0 + i.t 0 + i.parent_id 97 + i.lft 14 + i.rgt 73 + i.depth 1 + end + factory :folder005, :class => Folder do |i| + i.name '/my documents/' + i.controller_name '' + i.action_name '' + i.category_id 0 + i.t 0 + i.parent_id 97 + i.lft 74 + i.rgt 155 + i.depth 1 + end + factory :folder006, :class => Folder do |i| + i.name '/system_resource/' + i.controller_name '' + i.action_name '' + i.category_id 0 + i.t 0 + i.parent_id 97 + i.lft 156 + i.rgt 167 + i.depth 1 + end + factory :folder007, :class => Folder do |i| + i.name '/manga/scrolls/' + i.controller_name 'scrolls' + i.action_name '' + i.category_id 10 + i.t 0 + i.parent_id 98 + i.lft 3 + i.rgt 4 + i.depth 2 + end + factory :folder008, :class => Folder do |i| + i.name '/manga/panels/' + i.controller_name 'panels' + i.action_name '' + i.category_id 10 + i.t 0 + i.parent_id 98 + i.lft 5 + i.rgt 6 + i.depth 2 + end + factory :folder009, :class => Folder do |i| + i.name '/people/authors/' + i.controller_name 'authors' + i.action_name '' + i.category_id 10 + i.t 0 + i.parent_id 99 + i.lft 9 + i.rgt 10 + i.depth 2 + end + factory :folder010, :class => Folder do |i| + i.name '/people/artists/' + i.controller_name 'artists' + i.action_name '' + i.category_id 10 + i.t 0 + i.parent_id 99 + i.lft 11 + i.rgt 12 + i.depth 2 + end + factory :folder011, :class => Folder do |i| + i.name '/documents/manga/' + i.controller_name '' + i.action_name '' + i.category_id 0 + i.t 0 + i.parent_id 100 + i.lft 15 + i.rgt 20 + i.depth 2 + end + factory :folder012, :class => Folder do |i| + i.name '/documents/pictures/' + i.controller_name '' + i.action_name '' + i.category_id 0 + i.t 0 + i.parent_id 100 + i.lft 21 + i.rgt 24 + i.depth 2 + end + factory :folder013, :class => Folder do |i| + i.name '/documents/parts/' + i.controller_name '' + i.action_name '' + i.category_id 0 + i.t 0 + i.parent_id 100 + i.lft 25 + i.rgt 38 + i.depth 2 + end + factory :folder014, :class => Folder do |i| + i.name '/documents/index/' + i.controller_name '' + i.action_name '' + i.category_id 0 + i.t 0 + i.parent_id 100 + i.lft 39 + i.rgt 72 + i.depth 2 + end + factory :folder015, :class => Folder do |i| + i.name '/documents/manga/scrolls/' + i.controller_name 'scrolls' + i.action_name '' + i.category_id 10 + i.t 0 + i.parent_id 107 + i.lft 16 + i.rgt 17 + i.depth 3 + end + factory :folder016, :class => Folder do |i| + i.name '/documents/manga/panels/' + i.controller_name 'panels' + i.action_name '' + i.category_id 10 + i.t 0 + i.parent_id 107 + i.lft 18 + i.rgt 19 + i.depth 3 + end + factory :folder017, :class => Folder do |i| + i.name '/documents/pictures/resource_pictures/' + i.controller_name 'resource_pictures' + i.action_name '' + i.category_id 10 + i.t 0 + i.parent_id 108 + i.lft 22 + i.rgt 23 + i.depth 3 + end + factory :folder018, :class => Folder do |i| + i.name '/documents/parts/panel_pictures/' + i.controller_name 'panel_pictures' + i.action_name '' + i.category_id 10 + i.t 0 + i.parent_id 109 + i.lft 26 + i.rgt 27 + i.depth 3 + end + factory :folder019, :class => Folder do |i| + i.name '/documents/parts/speech_balloons/' + i.controller_name 'speech_balloons' + i.action_name '' + i.category_id 10 + i.t 0 + i.parent_id 109 + i.lft 28 + i.rgt 29 + i.depth 3 + end + factory :folder020, :class => Folder do |i| + i.name '/documents/parts/balloons/' + i.controller_name 'balloons' + i.action_name '' + i.category_id 10 + i.t 0 + i.parent_id 109 + i.lft 30 + i.rgt 31 + i.depth 3 + end + factory :folder021, :class => Folder do |i| + i.name '/documents/parts/speeches/' + i.controller_name 'speeches' + i.action_name '' + i.category_id 10 + i.t 0 + i.parent_id 109 + i.lft 32 + i.rgt 33 + i.depth 3 + end + factory :folder022, :class => Folder do |i| + i.name '/documents/parts/ground_pictures/' + i.controller_name 'ground_pictures' + i.action_name '' + i.category_id 10 + i.t 0 + i.parent_id 109 + i.lft 34 + i.rgt 35 + i.depth 3 + end + factory :folder023, :class => Folder do |i| + i.name '/documents/parts/ground_colors/' + i.controller_name 'ground_colors' + i.action_name '' + i.category_id 10 + i.t 0 + i.parent_id 109 + i.lft 36 + i.rgt 37 + i.depth 3 + end + factory :folder024, :class => Folder do |i| + i.name '/documents/index/scrolls/' + i.controller_name 'scrolls' + i.action_name '' + i.category_id 10 + i.t 0 + i.parent_id 110 + i.lft 40 + i.rgt 41 + i.depth 3 + end + factory :folder025, :class => Folder do |i| + i.name '/documents/index/scroll_panels/' + i.controller_name 'scroll_panels' + i.action_name '' + i.category_id 10 + i.t 0 + i.parent_id 110 + i.lft 42 + i.rgt 43 + i.depth 3 + end + factory :folder026, :class => Folder do |i| + i.name '/documents/index/comics/' + i.controller_name 'comics' + i.action_name '' + i.category_id 10 + i.t 0 + i.parent_id 110 + i.lft 44 + i.rgt 45 + i.depth 3 + end + factory :folder027, :class => Folder do |i| + i.name '/documents/index/comic_stories/' + i.controller_name 'comic_stories' + i.action_name '' + i.category_id 10 + i.t 0 + i.parent_id 110 + i.lft 46 + i.rgt 47 + i.depth 3 + end + factory :folder028, :class => Folder do |i| + i.name '/documents/index/stories/' + i.controller_name 'stories' + i.action_name '' + i.category_id 10 + i.t 0 + i.parent_id 110 + i.lft 48 + i.rgt 49 + i.depth 3 + end + factory :folder029, :class => Folder do |i| + i.name '/documents/index/story_sheets/' + i.controller_name 'story_sheets' + i.action_name '' + i.category_id 10 + i.t 0 + i.parent_id 110 + i.lft 50 + i.rgt 51 + i.depth 3 + end + factory :folder030, :class => Folder do |i| + i.name '/documents/index/sheets/' + i.controller_name 'sheets' + i.action_name '' + i.category_id 10 + i.t 0 + i.parent_id 110 + i.lft 52 + i.rgt 53 + i.depth 3 + end + factory :folder031, :class => Folder do |i| + i.name '/documents/index/sheet_panels/' + i.controller_name 'sheet_panels' + i.action_name '' + i.category_id 10 + i.t 0 + i.parent_id 110 + i.lft 54 + i.rgt 55 + i.depth 3 + end + factory :folder032, :class => Folder do |i| + i.name '/documents/index/panels/' + i.controller_name 'panels' + i.action_name '' + i.category_id 10 + i.t 0 + i.parent_id 110 + i.lft 56 + i.rgt 57 + i.depth 3 + end + factory :folder033, :class => Folder do |i| + i.name '/documents/index/panel_pictures/' + i.controller_name 'panel_pictures' + i.action_name '' + i.category_id 10 + i.t 0 + i.parent_id 110 + i.lft 58 + i.rgt 59 + i.depth 3 + end + factory :folder034, :class => Folder do |i| + i.name '/documents/index/speech_balloons/' + i.controller_name 'speech_balloons' + i.action_name '' + i.category_id 10 + i.t 0 + i.parent_id 110 + i.lft 60 + i.rgt 61 + i.depth 3 + end + factory :folder035, :class => Folder do |i| + i.name '/documents/index/balloons/' + i.controller_name 'balloons' + i.action_name '' + i.category_id 10 + i.t 0 + i.parent_id 110 + i.lft 62 + i.rgt 63 + i.depth 3 + end + factory :folder036, :class => Folder do |i| + i.name '/documents/index/speeches/' + i.controller_name 'speeches' + i.action_name '' + i.category_id 10 + i.t 0 + i.parent_id 110 + i.lft 64 + i.rgt 65 + i.depth 3 + end + factory :folder037, :class => Folder do |i| + i.name '/documents/index/ground_pictures/' + i.controller_name 'ground_pictures' + i.action_name '' + i.category_id 10 + i.t 0 + i.parent_id 110 + i.lft 66 + i.rgt 67 + i.depth 3 + end + factory :folder038, :class => Folder do |i| + i.name '/documents/index/ground_colors/' + i.controller_name 'ground_colors' + i.action_name '' + i.category_id 10 + i.t 0 + i.parent_id 110 + i.lft 68 + i.rgt 69 + i.depth 3 + end + factory :folder039, :class => Folder do |i| + i.name '/documents/index/resource_pictures/' + i.controller_name 'resource_pictures' + i.action_name '' + i.category_id 10 + i.t 0 + i.parent_id 110 + i.lft 70 + i.rgt 71 + i.depth 3 + end + factory :folder040, :class => Folder do |i| + i.name '/my documents/manga/' + i.controller_name '' + i.action_name '' + i.category_id 0 + i.t 0 + i.parent_id 101 + i.lft 75 + i.rgt 80 + i.depth 2 + end + factory :folder041, :class => Folder do |i| + i.name '/my documents/pictures/' + i.controller_name '' + i.action_name '' + i.category_id 0 + i.t 0 + i.parent_id 101 + i.lft 81 + i.rgt 86 + i.depth 2 + end + factory :folder042, :class => Folder do |i| + i.name '/my documents/parts/' + i.controller_name '' + i.action_name '' + i.category_id 0 + i.t 0 + i.parent_id 101 + i.lft 87 + i.rgt 100 + i.depth 2 + end + factory :folder043, :class => Folder do |i| + i.name '/my documents/index/' + i.controller_name '' + i.action_name '' + i.category_id 0 + i.t 0 + i.parent_id 101 + i.lft 101 + i.rgt 134 + i.depth 2 + end + factory :folder044, :class => Folder do |i| + i.name '/my documents/create/' + i.controller_name '' + i.action_name '' + i.category_id 0 + i.t 0 + i.parent_id 101 + i.lft 135 + i.rgt 154 + i.depth 2 + end + factory :folder045, :class => Folder do |i| + i.name '/my documents/manga/scrolls/' + i.controller_name 'home' + i.action_name 'scrolls' + i.category_id 10 + i.t 0 + i.parent_id 136 + i.lft 76 + i.rgt 77 + i.depth 3 + end + factory :folder046, :class => Folder do |i| + i.name '/my documents/manga/panels/' + i.controller_name 'home' + i.action_name 'panels' + i.category_id 10 + i.t 0 + i.parent_id 136 + i.lft 78 + i.rgt 79 + i.depth 3 + end + factory :folder047, :class => Folder do |i| + i.name '/my documents/pictures/original_pictures/' + i.controller_name 'original_pictures' + i.action_name '' + i.category_id 10 + i.t 0 + i.parent_id 137 + i.lft 84 + i.rgt 85 + i.depth 3 + end + factory :folder048, :class => Folder do |i| + i.name '/my documents/pictures/resource_pictures/' + i.controller_name 'home' + i.action_name 'resource_pictures' + i.category_id 10 + i.t 0 + i.parent_id 137 + i.lft 82 + i.rgt 83 + i.depth 3 + end + factory :folder049, :class => Folder do |i| + i.name '/my documents/parts/panel_pictures/' + i.controller_name 'panel_pictures' + i.action_name '' + i.category_id 10 + i.t 0 + i.parent_id 138 + i.lft 88 + i.rgt 89 + i.depth 3 + end + factory :folder050, :class => Folder do |i| + i.name '/my documents/parts/speech_balloons/' + i.controller_name 'speech_balloons' + i.action_name '' + i.category_id 10 + i.t 0 + i.parent_id 138 + i.lft 90 + i.rgt 91 + i.depth 3 + end + factory :folder051, :class => Folder do |i| + i.name '/my documents/parts/balloons/' + i.controller_name 'balloons' + i.action_name '' + i.category_id 10 + i.t 0 + i.parent_id 138 + i.lft 92 + i.rgt 93 + i.depth 3 + end + factory :folder052, :class => Folder do |i| + i.name '/my documents/parts/speeches/' + i.controller_name 'speeches' + i.action_name '' + i.category_id 10 + i.t 0 + i.parent_id 138 + i.lft 94 + i.rgt 95 + i.depth 3 + end + factory :folder053, :class => Folder do |i| + i.name '/my documents/parts/ground_pictures/' + i.controller_name 'ground_pictures' + i.action_name '' + i.category_id 10 + i.t 0 + i.parent_id 138 + i.lft 96 + i.rgt 97 + i.depth 3 + end + factory :folder054, :class => Folder do |i| + i.name '/my documents/parts/ground_colors/' + i.controller_name 'ground_colors' + i.action_name '' + i.category_id 10 + i.t 0 + i.parent_id 138 + i.lft 98 + i.rgt 99 + i.depth 3 + end + factory :folder055, :class => Folder do |i| + i.name '/my documents/index/scrolls/' + i.controller_name 'home' + i.action_name 'scrolls' + i.category_id 10 + i.t 0 + i.parent_id 139 + i.lft 102 + i.rgt 103 + i.depth 3 + end + factory :folder056, :class => Folder do |i| + i.name '/my documents/index/scroll_panels/' + i.controller_name 'home' + i.action_name 'scroll_panels' + i.category_id 10 + i.t 0 + i.parent_id 139 + i.lft 104 + i.rgt 105 + i.depth 3 + end + factory :folder057, :class => Folder do |i| + i.name '/my documents/index/comics/' + i.controller_name 'home' + i.action_name 'comics' + i.category_id 10 + i.t 0 + i.parent_id 139 + i.lft 106 + i.rgt 107 + i.depth 3 + end + factory :folder058, :class => Folder do |i| + i.name '/my documents/index/comic_stories/' + i.controller_name 'home' + i.action_name 'comic_stories' + i.category_id 10 + i.t 0 + i.parent_id 139 + i.lft 108 + i.rgt 109 + i.depth 3 + end + factory :folder059, :class => Folder do |i| + i.name '/my documents/index/stories/' + i.controller_name 'home' + i.action_name 'stories' + i.category_id 10 + i.t 0 + i.parent_id 139 + i.lft 110 + i.rgt 111 + i.depth 3 + end + factory :folder060, :class => Folder do |i| + i.name '/my documents/index/story_sheets/' + i.controller_name 'home' + i.action_name 'story_sheets' + i.category_id 10 + i.t 0 + i.parent_id 139 + i.lft 112 + i.rgt 113 + i.depth 3 + end + factory :folder061, :class => Folder do |i| + i.name '/my documents/index/sheets/' + i.controller_name 'home' + i.action_name 'sheets' + i.category_id 10 + i.t 0 + i.parent_id 139 + i.lft 114 + i.rgt 115 + i.depth 3 + end + factory :folder062, :class => Folder do |i| + i.name '/my documents/index/sheet_panels/' + i.controller_name 'home' + i.action_name 'sheet_panels' + i.category_id 10 + i.t 0 + i.parent_id 139 + i.lft 116 + i.rgt 117 + i.depth 3 + end + factory :folder063, :class => Folder do |i| + i.name '/my documents/index/panels/' + i.controller_name 'home' + i.action_name 'panels' + i.category_id 10 + i.t 0 + i.parent_id 139 + i.lft 118 + i.rgt 119 + i.depth 3 + end + factory :folder064, :class => Folder do |i| + i.name '/my documents/index/panel_pictures/' + i.controller_name 'home' + i.action_name 'panel_pictures' + i.category_id 10 + i.t 0 + i.parent_id 139 + i.lft 120 + i.rgt 121 + i.depth 3 + end + factory :folder065, :class => Folder do |i| + i.name '/my documents/index/speech_balloons/' + i.controller_name 'home' + i.action_name 'speech_balloons' + i.category_id 10 + i.t 0 + i.parent_id 139 + i.lft 122 + i.rgt 123 + i.depth 3 + end + factory :folder066, :class => Folder do |i| + i.name '/my documents/index/balloons/' + i.controller_name 'home' + i.action_name 'balloons' + i.category_id 10 + i.t 0 + i.parent_id 139 + i.lft 124 + i.rgt 125 + i.depth 3 + end + factory :folder067, :class => Folder do |i| + i.name '/my documents/index/speeches/' + i.controller_name 'home' + i.action_name 'speeches' + i.category_id 10 + i.t 0 + i.parent_id 139 + i.lft 126 + i.rgt 127 + i.depth 3 + end + factory :folder068, :class => Folder do |i| + i.name '/my documents/index/ground_pictures/' + i.controller_name 'home' + i.action_name '' + i.category_id 10 + i.t 0 + i.parent_id 139 + i.lft 128 + i.rgt 129 + i.depth 3 + end + factory :folder069, :class => Folder do |i| + i.name '/my documents/index/ground_colors/' + i.controller_name 'home' + i.action_name 'ground_colors' + i.category_id 10 + i.t 0 + i.parent_id 139 + i.lft 130 + i.rgt 131 + i.depth 3 + end + factory :folder070, :class => Folder do |i| + i.name '/my documents/index/resource_pictures/' + i.controller_name 'home' + i.action_name 'resource_pictures' + i.category_id 10 + i.t 0 + i.parent_id 139 + i.lft 132 + i.rgt 133 + i.depth 3 + end + factory :folder071, :class => Folder do |i| + i.name '/my documents/create/new scroll/' + i.controller_name 'scrolls' + i.action_name 'new' + i.category_id 10 + i.t 0 + i.parent_id 140 + i.lft 136 + i.rgt 137 + i.depth 3 + end + factory :folder072, :class => Folder do |i| + i.name '/my documents/create/new panel/' + i.controller_name 'panels' + i.action_name 'new' + i.category_id 10 + i.t 0 + i.parent_id 140 + i.lft 138 + i.rgt 139 + i.depth 3 + end + factory :folder073, :class => Folder do |i| + i.name '/my documents/create/upload picture/' + i.controller_name 'original_pictures' + i.action_name 'new' + i.category_id 10 + i.t 0 + i.parent_id 140 + i.lft 140 + i.rgt 141 + i.depth 3 + end + factory :folder074, :class => Folder do |i| + i.name '/my documents/create/index/' + i.controller_name '' + i.action_name '' + i.category_id 0 + i.t 0 + i.parent_id 140 + i.lft 142 + i.rgt 153 + i.depth 3 + end + factory :folder075, :class => Folder do |i| + i.name '/my documents/create/index/new scroll/' + i.controller_name 'scrolls' + i.action_name 'new' + i.category_id 10 + i.t 0 + i.parent_id 170 + i.lft 143 + i.rgt 144 + i.depth 4 + end + factory :folder076, :class => Folder do |i| + i.name '/my documents/create/index/new comic/' + i.controller_name 'comics' + i.action_name 'new' + i.category_id 10 + i.t 0 + i.parent_id 170 + i.lft 145 + i.rgt 146 + i.depth 4 + end + factory :folder077, :class => Folder do |i| + i.name '/my documents/create/index/new story/' + i.controller_name 'stories' + i.action_name 'new' + i.category_id 10 + i.t 0 + i.parent_id 170 + i.lft 147 + i.rgt 148 + i.depth 4 + end + factory :folder078, :class => Folder do |i| + i.name '/my documents/create/index/new sheet/' + i.controller_name 'sheets' + i.action_name 'new' + i.category_id 10 + i.t 0 + i.parent_id 170 + i.lft 149 + i.rgt 150 + i.depth 4 + end + factory :folder079, :class => Folder do |i| + i.name '/my documents/create/index/new panel/' + i.controller_name 'panels' + i.action_name 'new' + i.category_id 10 + i.t 0 + i.parent_id 170 + i.lft 151 + i.rgt 152 + i.depth 4 + end + factory :folder080, :class => Folder do |i| + i.name '/system_resource/speech_balloon_templates/' + i.controller_name 'speech_balloon_templates' + i.action_name '' + i.category_id 10 + i.t 0 + i.parent_id 102 + i.lft 157 + i.rgt 158 + i.depth 2 + end + factory :folder081, :class => Folder do |i| + i.name '/system_resource/license_groups/' + i.controller_name 'license_groups' + i.action_name '' + i.category_id 10 + i.t 0 + i.parent_id 102 + i.lft 159 + i.rgt 160 + i.depth 2 + end + factory :folder082, :class => Folder do |i| + i.name '/system_resource/licenses/' + i.controller_name 'licenses' + i.action_name '' + i.category_id 10 + i.t 0 + i.parent_id 102 + i.lft 161 + i.rgt 162 + i.depth 2 + end + factory :folder083, :class => Folder do |i| + i.name '/system_resource/system_pictures/' + i.controller_name 'system_pictures' + i.action_name '' + i.category_id 10 + i.t 0 + i.parent_id 102 + i.lft 163 + i.rgt 164 + i.depth 2 + end + factory :folder084, :class => Folder do |i| + i.name '/system_resource/writing_formats/' + i.controller_name 'writing_formats' + i.action_name '' + i.category_id 10 + i.t 0 + i.parent_id 102 + i.lft 165 + i.rgt 166 + i.depth 2 + end +end diff --git a/spec/factories/ground_color.rb b/spec/factories/ground_color.rb new file mode 100644 index 00000000..edb0e031 --- /dev/null +++ b/spec/factories/ground_color.rb @@ -0,0 +1,173 @@ +# -*- encoding: utf-8 -*- +FactoryGirl.define do + factory :ground_color001, :class => GroundColor do |i| + i.panel_id 5 + i.caption '' + i.code 0 + i.orientation 0 + i.xy + i.wh + i.z 1 + i.t 1 + end + factory :ground_color002, :class => GroundColor do |i| + i.panel_id 5 + i.caption '' + i.code 4553117 + i.orientation 0 + i.xy + i.wh + i.z 3 + i.t 2 + end + factory :ground_color003, :class => GroundColor do |i| + i.panel_id 5 + i.caption '' + i.code 0 + i.orientation 0 + i.xy + i.wh + i.z 4 + i.t 3 + end + factory :ground_color004, :class => GroundColor do |i| + i.panel_id 5 + i.caption '' + i.code 0 + i.orientation 0 + i.xy + i.wh + i.z 5 + i.t 4 + end + factory :ground_color005, :class => GroundColor do |i| + i.panel_id 6 + i.caption '' + i.code 7561536 + i.orientation 0 + i.xy + i.wh + i.z 1 + i.t 4 + end + factory :ground_color006, :class => GroundColor do |i| + i.panel_id 10 + i.caption '' + i.code 13679545 + i.orientation 0 + i.xy + i.wh + i.z 1 + i.t 0 + end + factory :ground_color007, :class => GroundColor do |i| + i.panel_id 40 + i.caption '' + i.code 14079441 + i.orientation 0 + i.xy + i.wh + i.z 1 + i.t 3 + end + factory :ground_color008, :class => GroundColor do |i| + i.panel_id 43 + i.caption '' + i.code 14079441 + i.orientation 0 + i.xy + i.wh + i.z 1 + i.t 3 + end + factory :ground_color009, :class => GroundColor do |i| + i.panel_id 44 + i.caption '' + i.code 14079441 + i.orientation 0 + i.xy + i.wh + i.z 1 + i.t 3 + end + factory :ground_color010, :class => GroundColor do |i| + i.panel_id 49 + i.caption '' + i.code 16243415 + i.orientation 0 + i.xy + i.wh + i.z 1 + i.t 7 + end + factory :ground_color011, :class => GroundColor do |i| + i.panel_id 52 + i.caption '' + i.code 0 + i.orientation 0 + i.xy + i.wh + i.z 1 + i.t 0 + end + factory :ground_color012, :class => GroundColor do |i| + i.panel_id 59 + i.caption '' + i.code 44 + i.orientation 0 + i.xy + i.wh + i.z 1 + i.t 0 + end + factory :ground_color013, :class => GroundColor do |i| + i.panel_id 61 + i.caption '' + i.code 11970526 + i.orientation 0 + i.xy + i.wh + i.z 1 + i.t 0 + end + factory :ground_color014, :class => GroundColor do |i| + i.panel_id 62 + i.caption '息が詰まりそうなほどに静まりかえる闇の中' + i.code 44 + i.orientation 0 + i.xy + i.wh + i.z 1 + i.t 0 + end + factory :ground_color015, :class => GroundColor do |i| + i.panel_id 63 + i.caption 'この世界は今、夜なのかもしれない' + i.code 2829684 + i.orientation 0 + i.xy + i.wh + i.z 1 + i.t 1 + end + factory :ground_color016, :class => GroundColor do |i| + i.panel_id 64 + i.caption 'その闇をそっと近づいてみる' + i.code 44 + i.orientation 0 + i.xy + i.wh + i.z 1 + i.t 0 + end + factory :ground_color017, :class => GroundColor do |i| + i.panel_id 65 + i.caption 'ぺったんは目覚めたのだ' + i.code 15328946 + i.orientation 0 + i.xy + i.wh + i.z 1 + i.t 2 + end +end diff --git a/spec/factories/ground_picture.rb b/spec/factories/ground_picture.rb new file mode 100644 index 00000000..103a0951 --- /dev/null +++ b/spec/factories/ground_picture.rb @@ -0,0 +1,63 @@ +# -*- encoding: utf-8 -*- +FactoryGirl.define do + factory :ground_picture001, :class => GroundPicture do |i| + i.panel_id 1 + i.picture_id 25 + i.caption '?' + i.repeat 0 + i.x 0 + i.y 0 + i.z 1 + i.t 3 + end + factory :ground_picture002, :class => GroundPicture do |i| + i.panel_id 6 + i.picture_id 25 + i.caption '?' + i.repeat 1 + i.x 0 + i.y 0 + i.z 2 + i.t 2 + end + factory :ground_picture003, :class => GroundPicture do |i| + i.panel_id 7 + i.picture_id 90 + i.caption '' + i.repeat 1 + i.x 0 + i.y 0 + i.z 1 + i.t 1 + end + factory :ground_picture004, :class => GroundPicture do |i| + i.panel_id 8 + i.picture_id 90 + i.caption '' + i.repeat 0 + i.x 0 + i.y 0 + i.z 1 + i.t 0 + end + factory :ground_picture005, :class => GroundPicture do |i| + i.panel_id 9 + i.picture_id 25 + i.caption '?' + i.repeat 1 + i.x 0 + i.y 0 + i.z 1 + i.t 0 + end + factory :ground_picture006, :class => GroundPicture do |i| + i.panel_id 10 + i.picture_id 25 + i.caption '?' + i.repeat 1 + i.x 0 + i.y 0 + i.z 2 + i.t 1 + end +end diff --git a/spec/factories/license.rb b/spec/factories/license.rb new file mode 100644 index 00000000..4e59cb47 --- /dev/null +++ b/spec/factories/license.rb @@ -0,0 +1,233 @@ +# -*- encoding: utf-8 -*- +FactoryGirl.define do + factory :license001, :class => License do |i| + i.license_group_id 8 + i.license_group_module_name 'PettanrCreativeCommonsV30Licenses' + i.name 'CreativeCommonsV30Licenses:BY@us' + i.caption 'BY' + i.system_picture_id 3 + i.url 'http://creativecommons.org/licenses/by/3.0/' + i.license_group_settings '{"open":0,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":-1,"reverse":-1,"sync_vh":1,"overlap":1}' + i.credit_picture_settings '{"source_url_btn_id":1,"source_url_off_btn_id":2}' + end + factory :license002, :class => License do |i| + i.license_group_id 8 + i.license_group_module_name 'PettanrCreativeCommonsV30Licenses' + i.name 'CreativeCommonsV30Licenses:BY-NC@us' + i.caption 'BY-NC' + i.system_picture_id 4 + i.url 'http://creativecommons.org/licenses/by-nc/3.0/' + i.license_group_settings '{"open":0,"commercial":-1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":-1,"reverse":-1,"sync_vh":1,"overlap":1}' + i.credit_picture_settings '{"source_url_btn_id":1,"source_url_off_btn_id":2}' + end + factory :license003, :class => License do |i| + i.license_group_id 8 + i.license_group_module_name 'PettanrCreativeCommonsV30Licenses' + i.name 'CreativeCommonsV30Licenses:BY-SA@us' + i.caption 'BY-SA' + i.system_picture_id 5 + i.url 'http://creativecommons.org/licenses/by-sa/3.0/' + i.license_group_settings '{"open":0,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":-1,"reverse":-1,"sync_vh":1,"overlap":1}' + i.credit_picture_settings '{"source_url_btn_id":1,"source_url_off_btn_id":2}' + end + factory :license004, :class => License do |i| + i.license_group_id 8 + i.license_group_module_name 'PettanrCreativeCommonsV30Licenses' + i.name 'CreativeCommonsV30Licenses:BY-NC-SA@us' + i.caption 'BY-NC-SA' + i.system_picture_id 6 + i.url 'http://creativecommons.org/licenses/by-nc-sa/3.0/' + i.license_group_settings '{"open":0,"commercial":-1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":-1,"reverse":-1,"sync_vh":1,"overlap":1}' + i.credit_picture_settings '{"source_url_btn_id":1,"source_url_off_btn_id":2}' + end + factory :license005, :class => License do |i| + i.license_group_id 8 + i.license_group_module_name 'PettanrCreativeCommonsV30Licenses' + i.name 'CreativeCommonsV30Licenses:BY-ND@us' + i.caption 'BY-ND' + i.system_picture_id 7 + i.url 'http://creativecommons.org/licenses/by-nd/3.0/' + i.license_group_settings '{"open":0,"commercial":1,"official":0,"attribution":1,"derive":-1,"thumbnail":-1,"gif_convert":-1,"reverse":-1,"sync_vh":1,"overlap":1}' + i.credit_picture_settings '{"source_url_btn_id":1,"source_url_off_btn_id":2}' + end + factory :license006, :class => License do |i| + i.license_group_id 8 + i.license_group_module_name 'PettanrCreativeCommonsV30Licenses' + i.name 'CreativeCommonsV30Licenses:BY-ND-NC@us' + i.caption 'BY-ND-NC' + i.system_picture_id 8 + i.url 'http://creativecommons.org/licenses/by-nc-nd/3.0/' + i.license_group_settings '{"open":0,"commercial":-1,"official":0,"attribution":1,"derive":-1,"thumbnail":-1,"gif_convert":-1,"reverse":-1,"sync_vh":1,"overlap":1}' + i.credit_picture_settings '{"source_url_btn_id":1,"source_url_off_btn_id":2}' + end + factory :license007, :class => License do |i| + i.license_group_id 7 + i.license_group_module_name 'PettanrPettanCommonsV01Licenses' + i.name 'PettanCommonsV01Licenses:BY@pettanr' + i.caption 'BY' + i.system_picture_id 9 + i.url 'https://github.com/yasushiito/pettanr_pcom_v01_licenses/wiki/BY' + i.license_group_settings '{"open":0,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1}' + i.credit_picture_settings '{"source_url_btn_id":1,"source_url_off_btn_id":2}' + end + factory :license008, :class => License do |i| + i.license_group_id 7 + i.license_group_module_name 'PettanrPettanCommonsV01Licenses' + i.name 'PettanCommonsV01Licenses:BY-NC@pettanr' + i.caption 'BY-NC' + i.system_picture_id 10 + i.url 'https://github.com/yasushiito/pettanr_pcom_v01_licenses/wiki/BY_NC' + i.license_group_settings '{"open":0,"commercial":-1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1}' + i.credit_picture_settings '{"source_url_btn_id":1,"source_url_off_btn_id":2}' + end + factory :license009, :class => License do |i| + i.license_group_id 7 + i.license_group_module_name 'PettanrPettanCommonsV01Licenses' + i.name 'PettanCommonsV01Licenses:BY-SA@pettanr' + i.caption 'BY-SA' + i.system_picture_id 11 + i.url 'https://github.com/yasushiito/pettanr_pcom_v01_licenses/wiki/BY_SA' + i.license_group_settings '{"open":0,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1}' + i.credit_picture_settings '{"source_url_btn_id":1,"source_url_off_btn_id":2}' + end + factory :license010, :class => License do |i| + i.license_group_id 7 + i.license_group_module_name 'PettanrPettanCommonsV01Licenses' + i.name 'PettanCommonsV01Licenses:BY-NC-SA@pettanr' + i.caption 'BY-NC-SA' + i.system_picture_id 12 + i.url 'https://github.com/yasushiito/pettanr_pcom_v01_licenses/wiki/BY_NC_SA' + i.license_group_settings '{"open":0,"commercial":-1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1}' + i.credit_picture_settings '{"source_url_btn_id":1,"source_url_off_btn_id":2}' + end + factory :license011, :class => License do |i| + i.license_group_id 7 + i.license_group_module_name 'PettanrPettanCommonsV01Licenses' + i.name 'PettanCommonsV01Licenses:BY-ND@pettanr' + i.caption 'BY-ND' + i.system_picture_id 13 + i.url 'https://github.com/yasushiito/pettanr_pcom_v01_licenses/wiki/BY_ND' + i.license_group_settings '{"open":0,"commercial":1,"official":0,"attribution":1,"derive":-1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1}' + i.credit_picture_settings '{"source_url_btn_id":1,"source_url_off_btn_id":2}' + end + factory :license012, :class => License do |i| + i.license_group_id 7 + i.license_group_module_name 'PettanrPettanCommonsV01Licenses' + i.name 'PettanCommonsV01Licenses:BY-ND-NC@pettanr' + i.caption 'BY-ND-NC' + i.system_picture_id 14 + i.url 'https://github.com/yasushiito/pettanr_pcom_v01_licenses/wiki/BY_ND_NC' + i.license_group_settings '{"open":0,"commercial":-1,"official":0,"attribution":1,"derive":-1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1}' + i.credit_picture_settings '{"source_url_btn_id":1,"source_url_off_btn_id":2}' + end + factory :license013, :class => License do |i| + i.license_group_id 9 + i.license_group_module_name 'PettanrPettanProtectedV01Licenses' + i.name 'PettanProtectedV01Licenses:BY@pettanr' + i.caption 'BY' + i.system_picture_id 15 + i.url 'https://github.com/yasushiito/pettanr_ppro_v01_licenses/wiki/BY' + i.license_group_settings '{"open":-1,"commercial":-1,"official":0,"attribution":1,"derive":-1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1,"source_url_off_btn_id":2}' + end + factory :license014, :class => License do |i| + i.license_group_id 9 + i.license_group_module_name 'PettanrPettanProtectedV01Licenses' + i.name 'PettanProtectedV01Licenses:BY-SA@pettanr' + i.caption 'BY-SA' + i.system_picture_id 16 + i.url 'https://github.com/yasushiito/pettanr_ppro_v01_licenses/wiki/BY_SA' + i.license_group_settings '{"open":-1,"commercial":-1,"official":0,"attribution":1,"derive":-1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1,"source_url_off_btn_id":2}' + end + factory :license015, :class => License do |i| + i.license_group_id 9 + i.license_group_module_name 'PettanrPettanProtectedV01Licenses' + i.name 'PettanProtectedV01Licenses:BY-TB@pettanr' + i.caption 'BY-TB' + i.system_picture_id 17 + i.url 'https://github.com/yasushiito/pettanr_ppro_v01_licenses/wiki/BY_TB' + i.license_group_settings '{"open":-1,"commercial":-1,"official":0,"attribution":1,"derive":-1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":1}' + i.credit_picture_settings '{"source_url_btn_id":1,"source_url_off_btn_id":2}' + end + factory :license016, :class => License do |i| + i.license_group_id 9 + i.license_group_module_name 'PettanrPettanProtectedV01Licenses' + i.name 'PettanProtectedV01Licenses:BY-SA-TB@pettanr' + i.caption 'BY-SA-TB' + i.system_picture_id 18 + i.url 'https://github.com/yasushiito/pettanr_ppro_v01_licenses/wiki/BY_SA_TB' + i.license_group_settings '{"open":-1,"commercial":-1,"official":0,"attribution":1,"derive":-1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":1}' + i.credit_picture_settings '{"source_url_btn_id":1,"source_url_off_btn_id":2}' + end + factory :license017, :class => License do |i| + i.license_group_id 10 + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + i.name 'PettanPublicV01Licenses:BY@pettanr' + i.caption 'BY' + i.system_picture_id 19 + i.url 'https://github.com/yasushiito/pettanr_ppub_v01_licenses/wiki/BY' + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + end + factory :license018, :class => License do |i| + i.license_group_id 10 + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + i.name 'PettanPublicV01Licenses:BY-SA@pettanr' + i.caption 'BY-SA' + i.system_picture_id 16 + i.url 'https://github.com/yasushiito/pettanr_ppub_v01_licenses/wiki/BY_SA' + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + end + factory :license019, :class => License do |i| + i.license_group_id 10 + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + i.name 'PettanPublicV01Licenses:BY-TB@pettanr' + i.caption 'BY-TB' + i.system_picture_id 20 + i.url 'https://github.com/yasushiito/pettanr_ppub_v01_licenses/wiki/BY_TB' + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":-1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":1}' + i.credit_picture_settings '{"source_url_btn_id":1}' + end + factory :license020, :class => License do |i| + i.license_group_id 10 + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + i.name 'PettanPublicV01Licenses:BY-SA-TB@pettanr' + i.caption 'BY-SA-TB' + i.system_picture_id 21 + i.url 'https://github.com/yasushiito/pettanr_ppub_v01_licenses/wiki/BY_SA_TB' + i.license_group_settings '{"open":1,"commercial":-1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":1}' + i.credit_picture_settings '{"source_url_btn_id":1}' + end + factory :license021, :class => License do |i| + i.license_group_id 11 + i.license_group_module_name 'PettanrPublicDomainV01Licenses' + i.name 'PublicDomainV01Licenses:PD@pettanr' + i.caption 'Public Domain' + i.system_picture_id 22 + i.url 'https://github.com/yasushiito/pettanr_pd_v01_licenses/wiki/PublicDomain' + i.license_group_settings '{"open":0,"commercial":1,"official":0,"attribution":0,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1,"source_url_off_btn_id":2}' + end + factory :license022, :class => License do |i| + i.license_group_id 11 + i.license_group_module_name 'PettanrPublicDomainV01Licenses' + i.name 'PublicDomainV01Licenses:CL@pettanr' + i.caption 'Copyleft' + i.system_picture_id 23 + i.url 'https://github.com/yasushiito/pettanr_pd_v01_licenses/wiki/Copyleft' + i.license_group_settings '{"open":0,"commercial":1,"official":0,"attribution":0,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1,"source_url_off_btn_id":2}' + end + factory :license023, :class => License do |i| + i.license_group_id 12 + i.license_group_module_name 'PettanrUnknownV01Licenses' + i.name 'UnknownV01Licenses:UK@pettanr' + i.caption 'Unknown' + i.system_picture_id 24 + i.url 'https://github.com/yasushiito/pettanr_unknown_v01_licenses/wiki/Unknown' + i.license_group_settings '{"open":0,"commercial":1,"official":0,"attribution":-1,"derive":-1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1,"source_url_off_btn_id":2}' + end +end diff --git a/spec/factories/license_group.rb b/spec/factories/license_group.rb new file mode 100644 index 00000000..fad822f3 --- /dev/null +++ b/spec/factories/license_group.rb @@ -0,0 +1,75 @@ +# -*- encoding: utf-8 -*- +FactoryGirl.define do + factory :license_group001, :class => LicenseGroup do |i| + i.name 'CreativeCommonsV30License@us' + i.module_name 'PettanrCreativeCommonsV30Licenses' + i.caption 'Creative Commons 3.0' + i.url 'http://creativecommons.org/' + end + factory :license_group002, :class => LicenseGroup do |i| + i.name 'PettanCommonsV01License@pettanr' + i.module_name 'PettanrPettanCommonsV01Licenses' + i.caption 'Pettan Commons 0.1' + i.url 'http://sourceforge.jp/projects/pettanr/wiki/PettanCommons' + end + factory :license_group003, :class => LicenseGroup do |i| + i.name 'PettanProtected01License@pettanr' + i.module_name 'PettanrPettanProtectedV01Licenses' + i.caption 'Pettan Protected 0.1' + i.url 'https://github.com/yasushiito/pettanr_ppro_v01_licenses/wiki' + end + factory :license_group004, :class => LicenseGroup do |i| + i.name 'PettanPublicV01License@pettanr' + i.module_name 'PettanrPettanPublicV01Licenses' + i.caption 'Pettan Public 0.1' + i.url 'https://github.com/yasushiito/pettanr_ppub_v01_licenses/wiki' + end + factory :license_group005, :class => LicenseGroup do |i| + i.name 'PublicDomainV01License@pettanr' + i.module_name 'PettanrPublicDomainV01Licenses' + i.caption 'Public Domain 0.1' + i.url 'https://github.com/yasushiito/pettanr_pd_v01_licenses/wiki' + end + factory :license_group006, :class => LicenseGroup do |i| + i.name 'UnknownV01License@pettanr' + i.module_name 'PettanrUnknownV01Licenses' + i.caption 'Unknown 0.1' + i.url 'https://github.com/yasushiito/pettanr_unknown_v01_licenses/wiki' + end + factory :license_group007, :class => LicenseGroup do |i| + i.name 'PettanCommonsV01Licenses@pettanr' + i.module_name 'PettanrPettanCommonsV01Licenses' + i.caption 'Pettan Commons 0.1' + i.url 'http://sourceforge.jp/projects/pettanr/wiki/PettanCommons' + end + factory :license_group008, :class => LicenseGroup do |i| + i.name 'CreativeCommonsV30Licenses@us' + i.module_name 'PettanrCreativeCommonsV30Licenses' + i.caption 'Creative Commons 3.0' + i.url 'http://creativecommons.org/' + end + factory :license_group009, :class => LicenseGroup do |i| + i.name 'PettanProtected01Licenses@pettanr' + i.module_name 'PettanrPettanProtectedV01Licenses' + i.caption 'Pettan Protected 0.1' + i.url 'https://github.com/yasushiito/pettanr_ppro_v01_licenses/wiki' + end + factory :license_group010, :class => LicenseGroup do |i| + i.name 'PettanPublicV01Licenses@pettanr' + i.module_name 'PettanrPettanPublicV01Licenses' + i.caption 'Pettan Public 0.1' + i.url 'https://github.com/yasushiito/pettanr_ppub_v01_licenses/wiki' + end + factory :license_group011, :class => LicenseGroup do |i| + i.name 'PublicDomainV01Licenses@pettanr' + i.module_name 'PettanrPublicDomainV01Licenses' + i.caption 'Public Domain 0.1' + i.url 'https://github.com/yasushiito/pettanr_pd_v01_licenses/wiki' + end + factory :license_group012, :class => LicenseGroup do |i| + i.name 'UnknownV01Licenses@pettanr' + i.module_name 'PettanrUnknownV01Licenses' + i.caption 'Unknown 0.1' + i.url 'https://github.com/yasushiito/pettanr_unknown_v01_licenses/wiki' + end +end diff --git a/spec/factories/original_picture.rb b/spec/factories/original_picture.rb new file mode 100644 index 00000000..16d7d0af --- /dev/null +++ b/spec/factories/original_picture.rb @@ -0,0 +1,1411 @@ +# -*- encoding: utf-8 -*- +FactoryGirl.define do + factory :original_picture001, :class => OriginalPicture do |i| + i.ext 'gif' + i.width 256 + i.height 326 + i.filesize 3996 + i.artist_id 1 + i.md5 '7033980b1c1ee6d6af6fa6c3cd2b3a59' + i.uploaded_at DateTime.parse('2013-08-03 00:55:36.519694') + i.published_at DateTime.parse('2013-08-03 00:55:41.885001') + i.stopped_at nil + end + factory :original_picture002, :class => OriginalPicture do |i| + i.ext 'gif' + i.width 303 + i.height 315 + i.filesize 4511 + i.artist_id 1 + i.md5 '9e4ea4adf24e68ce8a5e504393dda0f5' + i.uploaded_at DateTime.parse('2013-08-03 00:55:44.151130') + i.published_at DateTime.parse('2013-08-03 00:55:48.732392') + i.stopped_at nil + end + factory :original_picture003, :class => OriginalPicture do |i| + i.ext 'gif' + i.width 466 + i.height 385 + i.filesize 4442 + i.artist_id 1 + i.md5 '42a7fd312dc3b5f7a8e417f7c8f9ec42' + i.uploaded_at DateTime.parse('2013-08-03 00:55:50.742507') + i.published_at DateTime.parse('2013-08-03 00:55:55.190762') + i.stopped_at nil + end + factory :original_picture004, :class => OriginalPicture do |i| + i.ext 'gif' + i.width 433 + i.height 176 + i.filesize 2042 + i.artist_id 1 + i.md5 '8993dd46d40ec0866ce3c5cab99009a4' + i.uploaded_at DateTime.parse('2013-08-03 00:55:58.113929') + i.published_at DateTime.parse('2013-08-03 00:56:02.808198') + i.stopped_at nil + end + factory :original_picture005, :class => OriginalPicture do |i| + i.ext 'gif' + i.width 127 + i.height 87 + i.filesize 797 + i.artist_id 1 + i.md5 '6803b06433848abaf5ac2e0b3402aa86' + i.uploaded_at DateTime.parse('2013-08-03 00:56:04.834313') + i.published_at DateTime.parse('2013-08-03 00:56:09.238565') + i.stopped_at nil + end + factory :original_picture006, :class => OriginalPicture do |i| + i.ext 'gif' + i.width 186 + i.height 203 + i.filesize 2737 + i.artist_id 1 + i.md5 '98462369a56dd619152bc0541883eab9' + i.uploaded_at DateTime.parse('2013-08-03 00:56:11.119673') + i.published_at DateTime.parse('2013-08-03 00:56:15.590929') + i.stopped_at nil + end + factory :original_picture007, :class => OriginalPicture do |i| + i.ext 'gif' + i.width 116 + i.height 84 + i.filesize 784 + i.artist_id 1 + i.md5 '2d6e9c07ad92732010a5de158f66ee9f' + i.uploaded_at DateTime.parse('2013-08-03 00:56:17.465036') + i.published_at DateTime.parse('2013-08-03 00:56:22.038297') + i.stopped_at nil + end + factory :original_picture008, :class => OriginalPicture do |i| + i.ext 'gif' + i.width 437 + i.height 432 + i.filesize 6301 + i.artist_id 1 + i.md5 'bbf0c2f16d1ffd586ba77235e63605c1' + i.uploaded_at DateTime.parse('2013-08-03 00:56:24.032411') + i.published_at DateTime.parse('2013-08-03 00:56:28.446664') + i.stopped_at nil + end + factory :original_picture009, :class => OriginalPicture do |i| + i.ext 'gif' + i.width 362 + i.height 454 + i.filesize 6455 + i.artist_id 1 + i.md5 'b4611730a3a9dc15d79b4e6fbd0e3929' + i.uploaded_at DateTime.parse('2013-08-03 00:56:30.327772') + i.published_at DateTime.parse('2013-08-03 00:56:34.794027') + i.stopped_at nil + end + factory :original_picture010, :class => OriginalPicture do |i| + i.ext 'gif' + i.width 285 + i.height 351 + i.filesize 2776 + i.artist_id 1 + i.md5 'd5e5ecacc0b6f8fb38bd6e9483e7b23b' + i.uploaded_at DateTime.parse('2013-08-03 00:56:36.688135') + i.published_at DateTime.parse('2013-08-03 00:56:41.121389') + i.stopped_at nil + end + factory :original_picture011, :class => OriginalPicture do |i| + i.ext 'gif' + i.width 298 + i.height 403 + i.filesize 5915 + i.artist_id 1 + i.md5 '1d748b7a664729900b65aaae11dc19f8' + i.uploaded_at DateTime.parse('2013-08-03 00:56:43.084501') + i.published_at DateTime.parse('2013-08-03 00:56:47.666763') + i.stopped_at nil + end + factory :original_picture012, :class => OriginalPicture do |i| + i.ext 'gif' + i.width 188 + i.height 222 + i.filesize 2427 + i.artist_id 1 + i.md5 'a79ffeef76af734a9b36899d9205fb44' + i.uploaded_at DateTime.parse('2013-08-03 00:56:49.668878') + i.published_at DateTime.parse('2013-08-03 00:56:54.164135') + i.stopped_at nil + end + factory :original_picture013, :class => OriginalPicture do |i| + i.ext 'gif' + i.width 175 + i.height 208 + i.filesize 2166 + i.artist_id 1 + i.md5 '2f99c6fbb7fd5221d70881cb2695d774' + i.uploaded_at DateTime.parse('2013-08-03 00:56:56.048243') + i.published_at DateTime.parse('2013-08-03 00:57:00.900520') + i.stopped_at nil + end + factory :original_picture014, :class => OriginalPicture do |i| + i.ext 'gif' + i.width 119 + i.height 484 + i.filesize 3530 + i.artist_id 1 + i.md5 'e1e3f94e97001cba888dff326775453c' + i.uploaded_at DateTime.parse('2013-08-03 00:57:02.774627') + i.published_at DateTime.parse('2013-08-03 00:57:07.279885') + i.stopped_at nil + end + factory :original_picture015, :class => OriginalPicture do |i| + i.ext 'gif' + i.width 500 + i.height 101 + i.filesize 2554 + i.artist_id 1 + i.md5 '8df4558abe3cd638bac6cd09d503a5b5' + i.uploaded_at DateTime.parse('2013-08-03 00:57:09.198995') + i.published_at DateTime.parse('2013-08-03 00:57:13.687252') + i.stopped_at nil + end + factory :original_picture016, :class => OriginalPicture do |i| + i.ext 'gif' + i.width 440 + i.height 194 + i.filesize 2948 + i.artist_id 1 + i.md5 'cbdb8c9137b13eaf14fb502cb57453b2' + i.uploaded_at DateTime.parse('2013-08-03 00:57:15.615362') + i.published_at DateTime.parse('2013-08-03 00:57:20.337632') + i.stopped_at nil + end + factory :original_picture017, :class => OriginalPicture do |i| + i.ext 'gif' + i.width 500 + i.height 415 + i.filesize 8087 + i.artist_id 1 + i.md5 '0e72c6a9efda4a3672486fff60a02be5' + i.uploaded_at DateTime.parse('2013-08-03 00:57:22.267742') + i.published_at DateTime.parse('2013-08-03 00:57:26.845004') + i.stopped_at nil + end + factory :original_picture018, :class => OriginalPicture do |i| + i.ext 'gif' + i.width 500 + i.height 331 + i.filesize 2422 + i.artist_id 1 + i.md5 'ea977fe9992ac15c85e88fdf587ae1d1' + i.uploaded_at DateTime.parse('2013-08-03 00:57:28.793116') + i.published_at DateTime.parse('2013-08-03 00:57:33.264371') + i.stopped_at nil + end + factory :original_picture019, :class => OriginalPicture do |i| + i.ext 'gif' + i.width 500 + i.height 500 + i.filesize 4921 + i.artist_id 1 + i.md5 '893b1b5920dff3bf69dc32746d40b4d1' + i.uploaded_at DateTime.parse('2013-08-03 00:57:35.339490') + i.published_at DateTime.parse('2013-08-03 00:57:39.977755') + i.stopped_at nil + end + factory :original_picture020, :class => OriginalPicture do |i| + i.ext 'gif' + i.width 500 + i.height 500 + i.filesize 9147 + i.artist_id 1 + i.md5 '65295a63fa09b326e4f37af756e26607' + i.uploaded_at DateTime.parse('2013-08-03 00:57:43.396951') + i.published_at DateTime.parse('2013-08-03 00:57:48.342234') + i.stopped_at nil + end + factory :original_picture021, :class => OriginalPicture do |i| + i.ext 'gif' + i.width 500 + i.height 500 + i.filesize 9488 + i.artist_id 1 + i.md5 '550200df110943d93e6a71a9383834ed' + i.uploaded_at DateTime.parse('2013-08-03 00:57:50.348348') + i.published_at DateTime.parse('2013-08-03 00:57:54.985614') + i.stopped_at nil + end + factory :original_picture022, :class => OriginalPicture do |i| + i.ext 'png' + i.width 42 + i.height 42 + i.filesize 2288 + i.artist_id 1 + i.md5 'bd2261c6f6498e839d0f093effc1100b' + i.uploaded_at DateTime.parse('2013-08-03 00:57:56.939725') + i.published_at DateTime.parse('2013-08-03 00:58:01.440983') + i.stopped_at nil + end + factory :original_picture023, :class => OriginalPicture do |i| + i.ext 'png' + i.width 42 + i.height 41 + i.filesize 2235 + i.artist_id 1 + i.md5 '97ae360ee8a589b87d5940a4e444c641' + i.uploaded_at DateTime.parse('2013-08-03 00:58:03.382094') + i.published_at DateTime.parse('2013-08-03 00:58:08.008359') + i.stopped_at nil + end + factory :original_picture024, :class => OriginalPicture do |i| + i.ext 'png' + i.width 41 + i.height 42 + i.filesize 2120 + i.artist_id 1 + i.md5 '58bffdc8c9a4cb03ea9e554090e960f6' + i.uploaded_at DateTime.parse('2013-08-03 00:58:10.838520') + i.published_at DateTime.parse('2013-08-03 00:58:16.907868') + i.stopped_at nil + end + factory :original_picture025, :class => OriginalPicture do |i| + i.ext 'png' + i.width 41 + i.height 37 + i.filesize 2705 + i.artist_id 1 + i.md5 '0b1feefcc205b196900e2a5b411fc763' + i.uploaded_at DateTime.parse('2013-08-03 00:58:18.827977') + i.published_at DateTime.parse('2013-08-03 00:58:23.644253') + i.stopped_at nil + end + factory :original_picture026, :class => OriginalPicture do |i| + i.ext 'png' + i.width 309 + i.height 414 + i.filesize 7472 + i.artist_id 1 + i.md5 'e6fba5d4e6ec56c799c951dda174321b' + i.uploaded_at DateTime.parse('2013-08-03 02:00:15.788575') + i.published_at DateTime.parse('2013-08-03 02:00:20.232830') + i.stopped_at nil + end + factory :original_picture027, :class => OriginalPicture do |i| + i.ext 'png' + i.width 353 + i.height 417 + i.filesize 7740 + i.artist_id 1 + i.md5 '4b52eda65a63a6a44534d14f3909d51b' + i.uploaded_at DateTime.parse('2013-08-03 02:00:22.413954') + i.published_at DateTime.parse('2013-08-03 02:00:26.822206') + i.stopped_at nil + end + factory :original_picture028, :class => OriginalPicture do |i| + i.ext 'png' + i.width 333 + i.height 463 + i.filesize 9960 + i.artist_id 1 + i.md5 'bba68bc25f69a9c25367bcfc85e6baa6' + i.uploaded_at DateTime.parse('2013-08-03 02:00:28.887325') + i.published_at DateTime.parse('2013-08-03 02:00:32.951557') + i.stopped_at nil + end + factory :original_picture029, :class => OriginalPicture do |i| + i.ext 'png' + i.width 387 + i.height 482 + i.filesize 8961 + i.artist_id 1 + i.md5 '6c4cb9460164b9ee9f80081618f74f2b' + i.uploaded_at DateTime.parse('2013-08-03 02:00:35.011675') + i.published_at DateTime.parse('2013-08-03 02:00:39.072907') + i.stopped_at nil + end + factory :original_picture030, :class => OriginalPicture do |i| + i.ext 'png' + i.width 500 + i.height 500 + i.filesize 9822 + i.artist_id 1 + i.md5 '33f8ddd99e68c0ac3f5146799a6d44fe' + i.uploaded_at DateTime.parse('2013-08-03 02:00:41.272033') + i.published_at DateTime.parse('2013-08-03 02:00:45.347266') + i.stopped_at nil + end + factory :original_picture031, :class => OriginalPicture do |i| + i.ext 'png' + i.width 408 + i.height 447 + i.filesize 10517 + i.artist_id 1 + i.md5 '8b527077673e73afc4c597fce8a18346' + i.uploaded_at DateTime.parse('2013-08-03 02:00:47.426385') + i.published_at DateTime.parse('2013-08-03 02:00:51.520619') + i.stopped_at nil + end + factory :original_picture032, :class => OriginalPicture do |i| + i.ext 'png' + i.width 298 + i.height 403 + i.filesize 6673 + i.artist_id 1 + i.md5 '2eb8dd23e7e11f69d3c941fe1aa1bee6' + i.uploaded_at DateTime.parse('2013-08-03 02:00:53.631740') + i.published_at DateTime.parse('2013-08-03 02:00:57.692972') + i.stopped_at nil + end + factory :original_picture033, :class => OriginalPicture do |i| + i.ext 'png' + i.width 406 + i.height 465 + i.filesize 9834 + i.artist_id 1 + i.md5 '8c203ba3b3310754bb9a6a248ced2ad0' + i.uploaded_at DateTime.parse('2013-08-03 02:00:59.701087') + i.published_at DateTime.parse('2013-08-03 02:01:03.744318') + i.stopped_at nil + end + factory :original_picture034, :class => OriginalPicture do |i| + i.ext 'png' + i.width 500 + i.height 500 + i.filesize 17308 + i.artist_id 1 + i.md5 '1c635738b9fb6cb848d03f316a6e7e3f' + i.uploaded_at DateTime.parse('2013-08-03 02:01:05.733432') + i.published_at DateTime.parse('2013-08-03 02:01:09.929672') + i.stopped_at nil + end + factory :original_picture035, :class => OriginalPicture do |i| + i.ext 'png' + i.width 425 + i.height 475 + i.filesize 11911 + i.artist_id 1 + i.md5 '47f712bbafb0fda4528be5a1eaec175b' + i.uploaded_at DateTime.parse('2013-08-03 02:01:11.969789') + i.published_at DateTime.parse('2013-08-03 02:01:16.183030') + i.stopped_at nil + end + factory :original_picture036, :class => OriginalPicture do |i| + i.ext 'png' + i.width 346 + i.height 455 + i.filesize 7622 + i.artist_id 1 + i.md5 'ce715a6a406ed75cc1ca1862a0391fde' + i.uploaded_at DateTime.parse('2013-08-03 02:01:18.205145') + i.published_at DateTime.parse('2013-08-03 02:01:22.380384') + i.stopped_at nil + end + factory :original_picture037, :class => OriginalPicture do |i| + i.ext 'png' + i.width 285 + i.height 478 + i.filesize 7680 + i.artist_id 1 + i.md5 'f8391dc0f8c0daf3d1f9c806b83fa36b' + i.uploaded_at DateTime.parse('2013-08-03 02:01:24.548508') + i.published_at DateTime.parse('2013-08-03 02:01:28.631742') + i.stopped_at nil + end + factory :original_picture038, :class => OriginalPicture do |i| + i.ext 'png' + i.width 409 + i.height 425 + i.filesize 7986 + i.artist_id 1 + i.md5 '94403e3e1d0f512f4492bad61e0c0e65' + i.uploaded_at DateTime.parse('2013-08-03 02:01:30.690860') + i.published_at DateTime.parse('2013-08-03 02:01:34.737091') + i.stopped_at nil + end + factory :original_picture039, :class => OriginalPicture do |i| + i.ext 'png' + i.width 290 + i.height 472 + i.filesize 7009 + i.artist_id 1 + i.md5 '8b6ed84f100524084a65492439cbd28b' + i.uploaded_at DateTime.parse('2013-08-03 02:01:36.788208') + i.published_at DateTime.parse('2013-08-03 02:01:40.791437') + i.stopped_at nil + end + factory :original_picture040, :class => OriginalPicture do |i| + i.ext 'png' + i.width 362 + i.height 378 + i.filesize 9455 + i.artist_id 1 + i.md5 '0f10bb1781bf920c1712ecb697daf95a' + i.uploaded_at DateTime.parse('2013-08-03 02:01:42.831554') + i.published_at DateTime.parse('2013-08-03 02:01:46.915788') + i.stopped_at nil + end + factory :original_picture041, :class => OriginalPicture do |i| + i.ext 'png' + i.width 299 + i.height 344 + i.filesize 5326 + i.artist_id 1 + i.md5 '66e7c355565bcca88c040a325fd7d1ca' + i.uploaded_at DateTime.parse('2013-08-03 02:01:48.898901') + i.published_at DateTime.parse('2013-08-03 02:01:53.033137') + i.stopped_at nil + end + factory :original_picture042, :class => OriginalPicture do |i| + i.ext 'png' + i.width 500 + i.height 500 + i.filesize 9232 + i.artist_id 1 + i.md5 'a9165b2f7bf007de60a80761772a03e9' + i.uploaded_at DateTime.parse('2013-08-03 02:01:55.055253') + i.published_at DateTime.parse('2013-08-03 02:01:59.132486') + i.stopped_at nil + end + factory :original_picture043, :class => OriginalPicture do |i| + i.ext 'png' + i.width 500 + i.height 500 + i.filesize 32202 + i.artist_id 1 + i.md5 '87c34320ec2d56fafa3006af7cd83f80' + i.uploaded_at DateTime.parse('2013-08-03 02:02:01.270609') + i.published_at DateTime.parse('2013-08-03 02:02:06.982935') + i.stopped_at nil + end + factory :original_picture044, :class => OriginalPicture do |i| + i.ext 'png' + i.width 365 + i.height 475 + i.filesize 10960 + i.artist_id 1 + i.md5 'ccda00141a490b6bb8a2a174e0b9156d' + i.uploaded_at DateTime.parse('2013-08-03 02:02:09.232064') + i.published_at DateTime.parse('2013-08-03 02:02:13.243293') + i.stopped_at nil + end + factory :original_picture045, :class => OriginalPicture do |i| + i.ext 'png' + i.width 446 + i.height 498 + i.filesize 10180 + i.artist_id 1 + i.md5 '6e286a379e84b69470da464dbd9b688e' + i.uploaded_at DateTime.parse('2013-08-03 02:02:15.473421') + i.published_at DateTime.parse('2013-08-03 02:02:19.558655') + i.stopped_at nil + end + factory :original_picture046, :class => OriginalPicture do |i| + i.ext 'png' + i.width 384 + i.height 474 + i.filesize 10134 + i.artist_id 1 + i.md5 '4a34ea8c719efaf817fe3bc21d7f83f4' + i.uploaded_at DateTime.parse('2013-08-03 02:02:21.788782') + i.published_at DateTime.parse('2013-08-03 02:02:26.085028') + i.stopped_at nil + end + factory :original_picture047, :class => OriginalPicture do |i| + i.ext 'png' + i.width 500 + i.height 500 + i.filesize 15583 + i.artist_id 1 + i.md5 'df6da089520878763a5340b7b8b7d9f1' + i.uploaded_at DateTime.parse('2013-08-03 02:02:28.155146') + i.published_at DateTime.parse('2013-08-03 02:02:32.475393') + i.stopped_at nil + end + factory :original_picture048, :class => OriginalPicture do |i| + i.ext 'png' + i.width 358 + i.height 500 + i.filesize 10836 + i.artist_id 1 + i.md5 '438fa9f6240b41eadc5344d10975071f' + i.uploaded_at DateTime.parse('2013-08-03 02:02:34.532511') + i.published_at DateTime.parse('2013-08-03 02:02:38.620745') + i.stopped_at nil + end + factory :original_picture049, :class => OriginalPicture do |i| + i.ext 'png' + i.width 316 + i.height 476 + i.filesize 9482 + i.artist_id 1 + i.md5 '0ec119affcd3219946b2109d5c8da38d' + i.uploaded_at DateTime.parse('2013-08-03 02:02:40.639860') + i.published_at DateTime.parse('2013-08-03 02:02:44.750095') + i.stopped_at nil + end + factory :original_picture050, :class => OriginalPicture do |i| + i.ext 'png' + i.width 366 + i.height 471 + i.filesize 9311 + i.artist_id 1 + i.md5 '3fc5bff90c8d9de21bb1549921ae31f7' + i.uploaded_at DateTime.parse('2013-08-03 02:02:46.801213') + i.published_at DateTime.parse('2013-08-03 02:02:50.809442') + i.stopped_at nil + end + factory :original_picture051, :class => OriginalPicture do |i| + i.ext 'png' + i.width 347 + i.height 465 + i.filesize 9220 + i.artist_id 1 + i.md5 'c53aca0c1a8b53441aebd1e4665822e2' + i.uploaded_at DateTime.parse('2013-08-03 02:02:52.865560') + i.published_at DateTime.parse('2013-08-03 02:02:57.025798') + i.stopped_at nil + end + factory :original_picture052, :class => OriginalPicture do |i| + i.ext 'png' + i.width 500 + i.height 500 + i.filesize 7048 + i.artist_id 1 + i.md5 '97260023fbc02fea6da71b1e9d505ab5' + i.uploaded_at DateTime.parse('2013-08-03 02:02:59.134918') + i.published_at DateTime.parse('2013-08-03 02:03:03.768183') + i.stopped_at nil + end + factory :original_picture053, :class => OriginalPicture do |i| + i.ext 'png' + i.width 402 + i.height 283 + i.filesize 5769 + i.artist_id 1 + i.md5 'f9a1b216b15c4090ae3cf6ba15309b6b' + i.uploaded_at DateTime.parse('2013-08-03 02:03:06.023312') + i.published_at DateTime.parse('2013-08-03 02:03:10.137548') + i.stopped_at nil + end + factory :original_picture054, :class => OriginalPicture do |i| + i.ext 'png' + i.width 267 + i.height 292 + i.filesize 8218 + i.artist_id 1 + i.md5 '433a3ca636801572cb2afaa06ab88e01' + i.uploaded_at DateTime.parse('2013-08-03 02:03:12.118661') + i.published_at DateTime.parse('2013-08-03 02:03:16.275899') + i.stopped_at nil + end + factory :original_picture055, :class => OriginalPicture do |i| + i.ext 'png' + i.width 292 + i.height 370 + i.filesize 6295 + i.artist_id 1 + i.md5 'd92742e1a608bf9c878d8428a88c394c' + i.uploaded_at DateTime.parse('2013-08-03 02:03:18.187008') + i.published_at DateTime.parse('2013-08-03 02:03:22.550258') + i.stopped_at nil + end + factory :original_picture056, :class => OriginalPicture do |i| + i.ext 'png' + i.width 276 + i.height 366 + i.filesize 5975 + i.artist_id 1 + i.md5 '0e7ada29ff588b23e018378655d7a24b' + i.uploaded_at DateTime.parse('2013-08-03 02:03:24.526371') + i.published_at DateTime.parse('2013-08-03 02:03:28.593603') + i.stopped_at nil + end + factory :original_picture057, :class => OriginalPicture do |i| + i.ext 'png' + i.width 301 + i.height 395 + i.filesize 10720 + i.artist_id 1 + i.md5 '9aa4f8ea63e72f91809697c9b9edb4c6' + i.uploaded_at DateTime.parse('2013-08-03 02:03:30.619719') + i.published_at DateTime.parse('2013-08-03 02:03:34.670951') + i.stopped_at nil + end + factory :original_picture058, :class => OriginalPicture do |i| + i.ext 'png' + i.width 332 + i.height 448 + i.filesize 6622 + i.artist_id 1 + i.md5 'e0088f8af62602f8118f632ff388f687' + i.uploaded_at DateTime.parse('2013-08-03 02:03:36.678066') + i.published_at DateTime.parse('2013-08-03 02:03:40.728297') + i.stopped_at nil + end + factory :original_picture059, :class => OriginalPicture do |i| + i.ext 'png' + i.width 332 + i.height 428 + i.filesize 6246 + i.artist_id 1 + i.md5 '03f408c6c4330be8f3ee53325e9874b6' + i.uploaded_at DateTime.parse('2013-08-03 02:03:42.730412') + i.published_at DateTime.parse('2013-08-03 02:03:46.860648') + i.stopped_at nil + end + factory :original_picture060, :class => OriginalPicture do |i| + i.ext 'png' + i.width 457 + i.height 339 + i.filesize 7195 + i.artist_id 1 + i.md5 'fcf1b04c01621eaa08a95ddf4e59ce0b' + i.uploaded_at DateTime.parse('2013-08-03 02:03:48.854762') + i.published_at DateTime.parse('2013-08-03 02:03:52.981998') + i.stopped_at nil + end + factory :original_picture061, :class => OriginalPicture do |i| + i.ext 'png' + i.width 327 + i.height 496 + i.filesize 10272 + i.artist_id 1 + i.md5 '271438cc10bbdfa03ce8cd8a4736fc5f' + i.uploaded_at DateTime.parse('2013-08-03 02:03:55.081118') + i.published_at DateTime.parse('2013-08-03 02:03:59.157351') + i.stopped_at nil + end + factory :original_picture062, :class => OriginalPicture do |i| + i.ext 'png' + i.width 354 + i.height 457 + i.filesize 8472 + i.artist_id 1 + i.md5 '1ba7ed83cf5246c8cb4973d1fdb307d0' + i.uploaded_at DateTime.parse('2013-08-03 02:04:01.328476') + i.published_at DateTime.parse('2013-08-03 02:04:05.529716') + i.stopped_at nil + end + factory :original_picture063, :class => OriginalPicture do |i| + i.ext 'png' + i.width 460 + i.height 412 + i.filesize 6492 + i.artist_id 1 + i.md5 '2b0a035e5d0639cc0cdffece77c3371a' + i.uploaded_at DateTime.parse('2013-08-03 02:04:07.656837') + i.published_at DateTime.parse('2013-08-03 02:04:12.021087') + i.stopped_at nil + end + factory :original_picture064, :class => OriginalPicture do |i| + i.ext 'png' + i.width 413 + i.height 455 + i.filesize 8565 + i.artist_id 1 + i.md5 '8bcf0233d9897ef40884e2edda448c2c' + i.uploaded_at DateTime.parse('2013-08-03 02:04:14.144209') + i.published_at DateTime.parse('2013-08-03 02:04:18.536460') + i.stopped_at nil + end + factory :original_picture065, :class => OriginalPicture do |i| + i.ext 'png' + i.width 482 + i.height 448 + i.filesize 8138 + i.artist_id 1 + i.md5 '2ed7e69aa3651b78e162df110cb4f84b' + i.uploaded_at DateTime.parse('2013-08-03 02:04:20.611578') + i.published_at DateTime.parse('2013-08-03 02:04:24.799818') + i.stopped_at nil + end + factory :original_picture066, :class => OriginalPicture do |i| + i.ext 'png' + i.width 490 + i.height 440 + i.filesize 18649 + i.artist_id 1 + i.md5 '4cd4a4dc1ff0e5ab62b533d441d3df81' + i.uploaded_at DateTime.parse('2013-08-03 02:04:26.894938') + i.published_at DateTime.parse('2013-08-03 02:04:31.005173') + i.stopped_at nil + end + factory :original_picture067, :class => OriginalPicture do |i| + i.ext 'png' + i.width 463 + i.height 475 + i.filesize 8003 + i.artist_id 1 + i.md5 '835af0eb9273c1181f19734bba16678b' + i.uploaded_at DateTime.parse('2013-08-03 02:04:33.086292') + i.published_at DateTime.parse('2013-08-03 02:04:37.200527') + i.stopped_at nil + end + factory :original_picture068, :class => OriginalPicture do |i| + i.ext 'png' + i.width 354 + i.height 437 + i.filesize 9003 + i.artist_id 1 + i.md5 '03a86d4aa3336229cfb07fd5d739008d' + i.uploaded_at DateTime.parse('2013-08-03 02:04:39.221643') + i.published_at DateTime.parse('2013-08-03 02:04:43.341879') + i.stopped_at nil + end + factory :original_picture069, :class => OriginalPicture do |i| + i.ext 'png' + i.width 350 + i.height 439 + i.filesize 10585 + i.artist_id 1 + i.md5 'afb798783f8e92f2821726e8fd60e9ab' + i.uploaded_at DateTime.parse('2013-08-03 02:04:45.299991') + i.published_at DateTime.parse('2013-08-03 02:04:49.401225') + i.stopped_at nil + end + factory :original_picture070, :class => OriginalPicture do |i| + i.ext 'png' + i.width 355 + i.height 426 + i.filesize 7524 + i.artist_id 1 + i.md5 'd4fda4fa79dfbf6c2b308900a5aad58a' + i.uploaded_at DateTime.parse('2013-08-03 02:04:51.438342') + i.published_at DateTime.parse('2013-08-03 02:04:55.561577') + i.stopped_at nil + end + factory :original_picture071, :class => OriginalPicture do |i| + i.ext 'png' + i.width 371 + i.height 473 + i.filesize 8797 + i.artist_id 1 + i.md5 'ffa37b26ad70b236e34ec5ed1f4694ea' + i.uploaded_at DateTime.parse('2013-08-03 02:04:57.522690') + i.published_at DateTime.parse('2013-08-03 02:05:01.691928') + i.stopped_at nil + end + factory :original_picture072, :class => OriginalPicture do |i| + i.ext 'png' + i.width 421 + i.height 441 + i.filesize 19332 + i.artist_id 1 + i.md5 '9ad676f7ca68093f4f1b68b1a1e03196' + i.uploaded_at DateTime.parse('2013-08-03 02:05:03.728045') + i.published_at DateTime.parse('2013-08-03 02:05:07.959287') + i.stopped_at nil + end + factory :original_picture073, :class => OriginalPicture do |i| + i.ext 'png' + i.width 359 + i.height 448 + i.filesize 8866 + i.artist_id 1 + i.md5 '248594d80bc2d60d62619111687ca56e' + i.uploaded_at DateTime.parse('2013-08-03 02:05:10.190414') + i.published_at DateTime.parse('2013-08-03 02:05:14.312650') + i.stopped_at nil + end + factory :original_picture074, :class => OriginalPicture do |i| + i.ext 'png' + i.width 361 + i.height 413 + i.filesize 5746 + i.artist_id 1 + i.md5 '96cfc77882c80d919a575b640292e77a' + i.uploaded_at DateTime.parse('2013-08-03 02:05:16.462773') + i.published_at DateTime.parse('2013-08-03 02:05:20.567008') + i.stopped_at nil + end + factory :original_picture075, :class => OriginalPicture do |i| + i.ext 'png' + i.width 444 + i.height 444 + i.filesize 10852 + i.artist_id 1 + i.md5 'ef758cade8361976f1bdbb9e4b636f0f' + i.uploaded_at DateTime.parse('2013-08-03 02:05:22.626125') + i.published_at DateTime.parse('2013-08-03 02:05:26.734360') + i.stopped_at nil + end + factory :original_picture076, :class => OriginalPicture do |i| + i.ext 'png' + i.width 376 + i.height 472 + i.filesize 8447 + i.artist_id 1 + i.md5 'e3a4d1ee064426b4afb1dff3f9f08aed' + i.uploaded_at DateTime.parse('2013-08-03 02:05:28.768477') + i.published_at DateTime.parse('2013-08-03 02:05:32.892713') + i.stopped_at nil + end + factory :original_picture077, :class => OriginalPicture do |i| + i.ext 'png' + i.width 371 + i.height 471 + i.filesize 15983 + i.artist_id 1 + i.md5 '24d954303212ec2932c8e3f56097e533' + i.uploaded_at DateTime.parse('2013-08-03 02:05:34.905828') + i.published_at DateTime.parse('2013-08-03 02:05:38.997062') + i.stopped_at nil + end + factory :original_picture078, :class => OriginalPicture do |i| + i.ext 'png' + i.width 475 + i.height 438 + i.filesize 10173 + i.artist_id 1 + i.md5 'e29dcacd2d4e9aa284deae070b9ecf7f' + i.uploaded_at DateTime.parse('2013-08-03 02:05:41.018177') + i.published_at DateTime.parse('2013-08-03 02:05:45.170415') + i.stopped_at nil + end + factory :original_picture079, :class => OriginalPicture do |i| + i.ext 'png' + i.width 328 + i.height 468 + i.filesize 10226 + i.artist_id 1 + i.md5 '42f92645aec9774113df576e4603c96b' + i.uploaded_at DateTime.parse('2013-08-03 02:05:47.184530') + i.published_at DateTime.parse('2013-08-03 02:05:51.325767') + i.stopped_at nil + end + factory :original_picture080, :class => OriginalPicture do |i| + i.ext 'png' + i.width 379 + i.height 447 + i.filesize 9492 + i.artist_id 1 + i.md5 'e446cc59f71f238843ed033001d1a8b7' + i.uploaded_at DateTime.parse('2013-08-03 02:05:53.404886') + i.published_at DateTime.parse('2013-08-03 02:05:57.503120') + i.stopped_at nil + end + factory :original_picture081, :class => OriginalPicture do |i| + i.ext 'png' + i.width 311 + i.height 462 + i.filesize 9461 + i.artist_id 1 + i.md5 'cee0a79baee5f8b54fb97f49509bc919' + i.uploaded_at DateTime.parse('2013-08-03 02:05:59.568238') + i.published_at DateTime.parse('2013-08-03 02:06:03.706475') + i.stopped_at nil + end + factory :original_picture082, :class => OriginalPicture do |i| + i.ext 'png' + i.width 395 + i.height 437 + i.filesize 8213 + i.artist_id 1 + i.md5 'c569dd00107e0bf2270110cb43eac0eb' + i.uploaded_at DateTime.parse('2013-08-03 02:06:05.739591') + i.published_at DateTime.parse('2013-08-03 02:06:10.021836') + i.stopped_at nil + end + factory :original_picture083, :class => OriginalPicture do |i| + i.ext 'png' + i.width 346 + i.height 455 + i.filesize 7629 + i.artist_id 1 + i.md5 'c35725d5bc782df86e6c0b0f42d5e7b7' + i.uploaded_at DateTime.parse('2013-08-03 02:06:12.126957') + i.published_at DateTime.parse('2013-08-03 02:06:16.298195') + i.stopped_at nil + end + factory :original_picture084, :class => OriginalPicture do |i| + i.ext 'png' + i.width 404 + i.height 485 + i.filesize 10931 + i.artist_id 1 + i.md5 'c16bb6ac7a06185b0653d106688407af' + i.uploaded_at DateTime.parse('2013-08-03 02:06:18.382315') + i.published_at DateTime.parse('2013-08-03 02:06:22.491550') + i.stopped_at nil + end + factory :original_picture085, :class => OriginalPicture do |i| + i.ext 'png' + i.width 438 + i.height 367 + i.filesize 14810 + i.artist_id 1 + i.md5 'a18758594ed3f3464e4ddcaf73d5952b' + i.uploaded_at DateTime.parse('2013-08-03 02:06:24.538667') + i.published_at DateTime.parse('2013-08-03 02:06:28.643901') + i.stopped_at nil + end + factory :original_picture086, :class => OriginalPicture do |i| + i.ext 'png' + i.width 366 + i.height 464 + i.filesize 8778 + i.artist_id 1 + i.md5 'dad7f56f3a48d9241e5a1625979bfa31' + i.uploaded_at DateTime.parse('2013-08-03 02:06:30.829026') + i.published_at DateTime.parse('2013-08-03 02:06:34.938261') + i.stopped_at nil + end + factory :original_picture087, :class => OriginalPicture do |i| + i.ext 'png' + i.width 349 + i.height 426 + i.filesize 9474 + i.artist_id 1 + i.md5 'b77ae189b74a415ab7743ca0b9a0faed' + i.uploaded_at DateTime.parse('2013-08-03 02:06:36.988379') + i.published_at DateTime.parse('2013-08-03 02:06:42.888716') + i.stopped_at nil + end + factory :original_picture088, :class => OriginalPicture do |i| + i.ext 'png' + i.width 320 + i.height 399 + i.filesize 8109 + i.artist_id 1 + i.md5 '8f4da6415dda062640016266de69fc04' + i.uploaded_at DateTime.parse('2013-08-03 02:06:46.272910') + i.published_at DateTime.parse('2013-08-03 02:06:52.613272') + i.stopped_at nil + end + factory :original_picture089, :class => OriginalPicture do |i| + i.ext 'png' + i.width 313 + i.height 491 + i.filesize 7695 + i.artist_id 1 + i.md5 '2af94a767abb8efd2ff75c6a6f5d306b' + i.uploaded_at DateTime.parse('2013-08-03 02:06:55.224422') + i.published_at DateTime.parse('2013-08-03 02:07:01.950807') + i.stopped_at nil + end + factory :original_picture090, :class => OriginalPicture do |i| + i.ext 'png' + i.width 334 + i.height 403 + i.filesize 8275 + i.artist_id 1 + i.md5 'f6dbdd4ff7bb27687651bba7c5450001' + i.uploaded_at DateTime.parse('2013-08-03 02:07:05.056984') + i.published_at DateTime.parse('2013-08-03 02:07:17.143676') + i.stopped_at nil + end + factory :original_picture091, :class => OriginalPicture do |i| + i.ext 'png' + i.width 374 + i.height 471 + i.filesize 10619 + i.artist_id 1 + i.md5 'e7416e1ee2a45e5a3247561f7ad48774' + i.uploaded_at DateTime.parse('2013-08-03 02:07:20.215851') + i.published_at DateTime.parse('2013-08-03 02:07:25.299142') + i.stopped_at nil + end + factory :original_picture092, :class => OriginalPicture do |i| + i.ext 'png' + i.width 500 + i.height 500 + i.filesize 14377 + i.artist_id 1 + i.md5 'b29f571fba3c481904d0357d7d8645f1' + i.uploaded_at DateTime.parse('2013-08-03 02:07:29.553385') + i.published_at DateTime.parse('2013-08-03 02:07:34.619675') + i.stopped_at nil + end + factory :original_picture093, :class => OriginalPicture do |i| + i.ext 'png' + i.width 354 + i.height 379 + i.filesize 7316 + i.artist_id 1 + i.md5 'abc7047bf1313cb5a9d770e30593bd07' + i.uploaded_at DateTime.parse('2013-08-03 02:07:37.063815') + i.published_at DateTime.parse('2013-08-03 02:07:43.808201') + i.stopped_at nil + end + factory :original_picture094, :class => OriginalPicture do |i| + i.ext 'png' + i.width 354 + i.height 465 + i.filesize 8940 + i.artist_id 1 + i.md5 '1c3cc9eeb8d0b93f7f7039006b220d7c' + i.uploaded_at DateTime.parse('2013-08-03 02:07:48.501469') + i.published_at DateTime.parse('2013-08-03 02:07:57.768999') + i.stopped_at nil + end + factory :original_picture095, :class => OriginalPicture do |i| + i.ext 'png' + i.width 392 + i.height 480 + i.filesize 9383 + i.artist_id 1 + i.md5 '6f0d4bb64e3f0c40433e76f776336a15' + i.uploaded_at DateTime.parse('2013-08-03 02:08:00.163136') + i.published_at DateTime.parse('2013-08-03 02:08:04.538386') + i.stopped_at nil + end + factory :original_picture096, :class => OriginalPicture do |i| + i.ext 'png' + i.width 404 + i.height 425 + i.filesize 9341 + i.artist_id 1 + i.md5 '148432649c7ea64906542657e60bc554' + i.uploaded_at DateTime.parse('2013-08-03 02:08:06.676509') + i.published_at DateTime.parse('2013-08-03 02:08:10.900750') + i.stopped_at nil + end + factory :original_picture097, :class => OriginalPicture do |i| + i.ext 'png' + i.width 441 + i.height 463 + i.filesize 9969 + i.artist_id 1 + i.md5 'c21e6e1adbca9fdc001a5773bee2dcfd' + i.uploaded_at DateTime.parse('2013-08-03 02:08:13.075875') + i.published_at DateTime.parse('2013-08-03 02:08:17.303116') + i.stopped_at nil + end + factory :original_picture098, :class => OriginalPicture do |i| + i.ext 'png' + i.width 500 + i.height 500 + i.filesize 11075 + i.artist_id 1 + i.md5 'c9640e864d87dc2fb45d227eb23929e0' + i.uploaded_at DateTime.parse('2013-08-03 02:08:19.605248') + i.published_at DateTime.parse('2013-08-03 02:08:23.991499') + i.stopped_at nil + end + factory :original_picture099, :class => OriginalPicture do |i| + i.ext 'png' + i.width 471 + i.height 288 + i.filesize 6431 + i.artist_id 1 + i.md5 'c32b899a0fbee95331bde26491121404' + i.uploaded_at DateTime.parse('2013-08-03 02:08:26.245628') + i.published_at DateTime.parse('2013-08-03 02:08:30.864892') + i.stopped_at nil + end + factory :original_picture100, :class => OriginalPicture do |i| + i.ext 'png' + i.width 453 + i.height 386 + i.filesize 6431 + i.artist_id 1 + i.md5 '32939e270c460430e1c9dfa2165f7d91' + i.uploaded_at DateTime.parse('2013-08-03 02:08:33.014015') + i.published_at DateTime.parse('2013-08-03 02:08:37.643280') + i.stopped_at nil + end + factory :original_picture101, :class => OriginalPicture do |i| + i.ext 'png' + i.width 405 + i.height 473 + i.filesize 9055 + i.artist_id 1 + i.md5 '5daffd1cec721d273e0985d42efc53ce' + i.uploaded_at DateTime.parse('2013-08-03 02:08:39.955412') + i.published_at DateTime.parse('2013-08-03 02:08:46.739800') + i.stopped_at nil + end + factory :original_picture102, :class => OriginalPicture do |i| + i.ext 'png' + i.width 500 + i.height 500 + i.filesize 7700 + i.artist_id 1 + i.md5 '6f0bd104bb899285570a2080b9479129' + i.uploaded_at DateTime.parse('2013-08-03 02:08:49.708970') + i.published_at DateTime.parse('2013-08-03 02:08:55.549304') + i.stopped_at nil + end + factory :original_picture103, :class => OriginalPicture do |i| + i.ext 'png' + i.width 449 + i.height 474 + i.filesize 11879 + i.artist_id 1 + i.md5 '2d3a0b62dda664bdb033ef194df0c9f1' + i.uploaded_at DateTime.parse('2013-08-03 02:08:59.867551') + i.published_at DateTime.parse('2013-08-03 02:09:04.906839') + i.stopped_at nil + end + factory :original_picture104, :class => OriginalPicture do |i| + i.ext 'png' + i.width 401 + i.height 484 + i.filesize 8310 + i.artist_id 1 + i.md5 '7e0ac691510d872f17404074305a005e' + i.uploaded_at DateTime.parse('2013-08-03 02:09:07.916011') + i.published_at DateTime.parse('2013-08-03 02:09:16.966529') + i.stopped_at nil + end + factory :original_picture105, :class => OriginalPicture do |i| + i.ext 'png' + i.width 309 + i.height 432 + i.filesize 5728 + i.artist_id 1 + i.md5 '7a3ef4d869da8867cafa1a802af20e92' + i.uploaded_at DateTime.parse('2013-08-03 02:09:19.090650') + i.published_at DateTime.parse('2013-08-03 02:09:23.329893') + i.stopped_at nil + end + factory :original_picture106, :class => OriginalPicture do |i| + i.ext 'png' + i.width 353 + i.height 357 + i.filesize 6655 + i.artist_id 1 + i.md5 '470fdc46265d0ad5c6e75cdeb3031c03' + i.uploaded_at DateTime.parse('2013-08-03 02:09:25.376010') + i.published_at DateTime.parse('2013-08-03 02:09:29.643254') + i.stopped_at nil + end + factory :original_picture107, :class => OriginalPicture do |i| + i.ext 'png' + i.width 244 + i.height 367 + i.filesize 15494 + i.artist_id 1 + i.md5 'dfdbc3040b3a9dc2e85b2acbab471a5b' + i.uploaded_at DateTime.parse('2013-08-03 02:09:31.833379') + i.published_at DateTime.parse('2013-08-03 02:09:36.680657') + i.stopped_at nil + end + factory :original_picture108, :class => OriginalPicture do |i| + i.ext 'png' + i.width 257 + i.height 380 + i.filesize 5857 + i.artist_id 1 + i.md5 '392de065771389740aad972556d51067' + i.uploaded_at DateTime.parse('2013-08-03 02:09:39.304807') + i.published_at DateTime.parse('2013-08-03 02:09:47.775291') + i.stopped_at nil + end + factory :original_picture109, :class => OriginalPicture do |i| + i.ext 'png' + i.width 401 + i.height 425 + i.filesize 6405 + i.artist_id 1 + i.md5 '2494451f8bb5aeb2faf572e89ab528d9' + i.uploaded_at DateTime.parse('2013-08-03 02:09:53.296607') + i.published_at DateTime.parse('2013-08-03 02:09:57.728860') + i.stopped_at nil + end + factory :original_picture110, :class => OriginalPicture do |i| + i.ext 'png' + i.width 378 + i.height 348 + i.filesize 5104 + i.artist_id 1 + i.md5 'cc7251d8d30d1176d2f14ccd1a1bb121' + i.uploaded_at DateTime.parse('2013-08-03 02:09:59.795979') + i.published_at DateTime.parse('2013-08-03 02:10:04.054222') + i.stopped_at nil + end + factory :original_picture111, :class => OriginalPicture do |i| + i.ext 'png' + i.width 266 + i.height 268 + i.filesize 48507 + i.artist_id 1 + i.md5 '7cc3c9ff7b7c6a15b822ce44ab4f84f3' + i.uploaded_at DateTime.parse('2013-09-30 09:57:34.428730') + i.published_at DateTime.parse('2013-12-18 22:56:29.900781') + i.stopped_at nil + end + factory :original_picture112, :class => OriginalPicture do |i| + i.ext 'png' + i.width 185 + i.height 45 + i.filesize 10476 + i.artist_id 1 + i.md5 '78116e93bb0917ed5a9a6cbdb305b343' + i.uploaded_at DateTime.parse('2013-10-26 00:26:46.937013') + i.published_at DateTime.parse('2013-10-31 07:39:30.153483') + i.stopped_at nil + end + factory :original_picture113, :class => OriginalPicture do |i| + i.ext 'png' + i.width 640 + i.height 400 + i.filesize 40895 + i.artist_id 1 + i.md5 '58a85fea91d3a7152895f7ee416324a4' + i.uploaded_at DateTime.parse('2014-04-15 08:45:33.141141') + i.published_at DateTime.parse('2014-04-15 08:46:13.070425') + i.stopped_at nil + end + factory :original_picture114, :class => OriginalPicture do |i| + i.ext 'png' + i.width 119 + i.height 76 + i.filesize 1117 + i.artist_id 1 + i.md5 'd8f906c2a118d7db5d1016a5a546419e' + i.uploaded_at DateTime.parse('2014-04-22 07:49:07.815297') + i.published_at DateTime.parse('2014-04-22 08:22:12.721827') + i.stopped_at nil + end + factory :original_picture115, :class => OriginalPicture do |i| + i.ext 'png' + i.width 187 + i.height 64 + i.filesize 5474 + i.artist_id 1 + i.md5 'f933b801b953bcf07185fcb931ebd560' + i.uploaded_at DateTime.parse('2014-04-22 07:51:54.374824') + i.published_at DateTime.parse('2014-04-22 08:21:03.505869') + i.stopped_at nil + end + factory :original_picture116, :class => OriginalPicture do |i| + i.ext 'png' + i.width 290 + i.height 180 + i.filesize 9923 + i.artist_id 1 + i.md5 '3fdaf2192d6fbdb95196f594442c825d' + i.uploaded_at DateTime.parse('2014-04-22 07:53:08.751078') + i.published_at DateTime.parse('2014-04-22 08:13:55.158368') + i.stopped_at nil + end + factory :original_picture117, :class => OriginalPicture do |i| + i.ext 'png' + i.width 100 + i.height 100 + i.filesize 388 + i.artist_id 1 + i.md5 '69e6f6e9e0a2ae345e2e813787f1b7ae' + i.uploaded_at DateTime.parse('2014-04-22 22:59:54.888913') + i.published_at nil + i.stopped_at nil + end + factory :original_picture118, :class => OriginalPicture do |i| + i.ext 'png' + i.width 253 + i.height 400 + i.filesize 64204 + i.artist_id 1 + i.md5 '649ae0020930827c9c4b174a3972ec81' + i.uploaded_at DateTime.parse('2014-04-26 02:46:56.512967') + i.published_at DateTime.parse('2014-04-26 02:47:51.323102') + i.stopped_at nil + end + factory :original_picture119, :class => OriginalPicture do |i| + i.ext 'png' + i.width 403 + i.height 141 + i.filesize 12588 + i.artist_id 1 + i.md5 '04d377d968557a6092bccb1617db5a65' + i.uploaded_at DateTime.parse('2014-04-26 03:04:28.676147') + i.published_at DateTime.parse('2014-04-26 03:05:12.147634') + i.stopped_at nil + end + factory :original_picture120, :class => OriginalPicture do |i| + i.ext 'png' + i.width 403 + i.height 141 + i.filesize 12588 + i.artist_id 1 + i.md5 '04d377d968557a6092bccb1617db5a65' + i.uploaded_at DateTime.parse('2014-04-26 03:09:53.012698') + i.published_at DateTime.parse('2014-04-26 03:19:17.290973') + i.stopped_at nil + end + factory :original_picture121, :class => OriginalPicture do |i| + i.ext 'png' + i.width 403 + i.height 141 + i.filesize 17637 + i.artist_id 1 + i.md5 '431810d6bf98fed2e7c4f9a6b821360d' + i.uploaded_at DateTime.parse('2014-04-26 03:22:18.751352') + i.published_at DateTime.parse('2014-04-26 03:22:56.846531') + i.stopped_at nil + end + factory :original_picture122, :class => OriginalPicture do |i| + i.ext 'png' + i.width 403 + i.height 141 + i.filesize 20935 + i.artist_id 1 + i.md5 'a4212c1a42d241a1351fc139b20de70b' + i.uploaded_at DateTime.parse('2014-04-26 03:23:19.720839') + i.published_at DateTime.parse('2014-04-26 03:24:09.047661') + i.stopped_at nil + end + factory :original_picture123, :class => OriginalPicture do |i| + i.ext 'png' + i.width 81 + i.height 29 + i.filesize 3174 + i.artist_id 1 + i.md5 'cce51e8e35282b8a8cbc706eb5a6f51a' + i.uploaded_at DateTime.parse('2014-04-26 03:24:43.313621') + i.published_at nil + i.stopped_at nil + end + factory :original_picture124, :class => OriginalPicture do |i| + i.ext 'png' + i.width 185 + i.height 45 + i.filesize 10476 + i.artist_id 1 + i.md5 '78116e93bb0917ed5a9a6cbdb305b343' + i.uploaded_at DateTime.parse('2014-04-26 03:25:28.340196') + i.published_at DateTime.parse('2014-04-26 03:53:01.608757') + i.stopped_at nil + end + factory :original_picture125, :class => OriginalPicture do |i| + i.ext 'png' + i.width 249 + i.height 289 + i.filesize 2656 + i.artist_id 1 + i.md5 '026a5c81ae60918707d4236a41ae8fe0' + i.uploaded_at DateTime.parse('2014-06-16 23:18:01.716714') + i.published_at DateTime.parse('2014-06-16 23:23:58.446541') + i.stopped_at nil + end + factory :original_picture126, :class => OriginalPicture do |i| + i.ext 'png' + i.width 17 + i.height 17 + i.filesize 160 + i.artist_id 1 + i.md5 '05722b184172adef876604239842c18b' + i.uploaded_at DateTime.parse('2014-06-16 23:40:25.759853') + i.published_at DateTime.parse('2014-06-20 08:01:38.944403') + i.stopped_at nil + end + factory :original_picture127, :class => OriginalPicture do |i| + i.ext 'png' + i.width 17 + i.height 17 + i.filesize 179 + i.artist_id 1 + i.md5 '00c4246c193c7cec0425d44e34c43828' + i.uploaded_at DateTime.parse('2014-06-16 23:33:54.599564') + i.published_at nil + i.stopped_at nil + end + factory :original_picture128, :class => OriginalPicture do |i| + i.ext 'png' + i.width 168 + i.height 105 + i.filesize 2101 + i.artist_id 1 + i.md5 '824a6634f6f71536cdb207a64c1ce761' + i.uploaded_at DateTime.parse('2014-06-20 09:58:34.053644') + i.published_at DateTime.parse('2014-06-21 00:16:30.163338') + i.stopped_at nil + end +end diff --git a/spec/factories/original_picture_license.rb b/spec/factories/original_picture_license.rb new file mode 100644 index 00000000..702174ed --- /dev/null +++ b/spec/factories/original_picture_license.rb @@ -0,0 +1,10 @@ +# -*- encoding: utf-8 -*- +FactoryGirl.define do + factory :original_picture_license001, :class => OriginalPictureLicense do |i| + i.original_picture_id 127 + i.license_group_id 7 + i.license_id 10 + i.license_settings '{"artist_name":"","caption":"","sources":""}' + i.license_group_module_name 'PettanrPettanCommonsV01Licenses' + end +end diff --git a/spec/factories/original_picture_license_group.rb b/spec/factories/original_picture_license_group.rb new file mode 100644 index 00000000..55ede59d --- /dev/null +++ b/spec/factories/original_picture_license_group.rb @@ -0,0 +1,3 @@ +# -*- encoding: utf-8 -*- +FactoryGirl.define do +end diff --git a/spec/factories/panel.rb b/spec/factories/panel.rb new file mode 100644 index 00000000..ed319180 --- /dev/null +++ b/spec/factories/panel.rb @@ -0,0 +1,523 @@ +# -*- encoding: utf-8 -*- +FactoryGirl.define do + factory :panel001, :class => Panel do |i| + i.width 470 + i.height 247 + i.border 2 + i.caption '' + i.publish 0 + i.author_id 1 + end + factory :panel002, :class => Panel do |i| + i.width 514 + i.height 329 + i.border 2 + i.caption '' + i.publish 1 + i.author_id 1 + end + factory :panel003, :class => Panel do |i| + i.width 200 + i.height 80 + i.border 2 + i.caption '' + i.publish 0 + i.author_id 1 + end + factory :panel004, :class => Panel do |i| + i.width 200 + i.height 80 + i.border 2 + i.caption '' + i.publish 0 + i.author_id 1 + end + factory :panel005, :class => Panel do |i| + i.width 333 + i.height 240 + i.border 2 + i.caption '' + i.publish 1 + i.author_id 1 + end + factory :panel006, :class => Panel do |i| + i.width 500 + i.height 300 + i.border 3 + i.caption '' + i.publish 0 + i.author_id 1 + end + factory :panel007, :class => Panel do |i| + i.width 500 + i.height 300 + i.border 2 + i.caption '' + i.publish 1 + i.author_id 1 + end + factory :panel008, :class => Panel do |i| + i.width 500 + i.height 300 + i.border 2 + i.caption '' + i.publish 1 + i.author_id 1 + end + factory :panel009, :class => Panel do |i| + i.width 200 + i.height 80 + i.border 2 + i.caption '' + i.publish 0 + i.author_id 1 + end + factory :panel010, :class => Panel do |i| + i.width 496 + i.height 254 + i.border 2 + i.caption '' + i.publish 1 + i.author_id 1 + end + factory :panel011, :class => Panel do |i| + i.width 200 + i.height 265 + i.border 2 + i.caption '' + i.publish 1 + i.author_id 1 + end + factory :panel012, :class => Panel do |i| + i.width 395 + i.height 223 + i.border 2 + i.caption '' + i.publish 1 + i.author_id 1 + end + factory :panel013, :class => Panel do |i| + i.width 500 + i.height 300 + i.border 2 + i.caption '' + i.publish 1 + i.author_id 1 + end + factory :panel014, :class => Panel do |i| + i.width 500 + i.height 300 + i.border 2 + i.caption '' + i.publish 1 + i.author_id 1 + end + factory :panel015, :class => Panel do |i| + i.width 500 + i.height 265 + i.border 2 + i.caption '' + i.publish 1 + i.author_id 1 + end + factory :panel016, :class => Panel do |i| + i.width 500 + i.height 300 + i.border 2 + i.caption '' + i.publish 1 + i.author_id 1 + end + factory :panel017, :class => Panel do |i| + i.width 500 + i.height 300 + i.border 2 + i.caption '' + i.publish 1 + i.author_id 1 + end + factory :panel018, :class => Panel do |i| + i.width 500 + i.height 300 + i.border 2 + i.caption '' + i.publish 1 + i.author_id 1 + end + factory :panel019, :class => Panel do |i| + i.width 479 + i.height 300 + i.border 2 + i.caption '' + i.publish 1 + i.author_id 1 + end + factory :panel020, :class => Panel do |i| + i.width 479 + i.height 300 + i.border 2 + i.caption '' + i.publish 1 + i.author_id 1 + end + factory :panel021, :class => Panel do |i| + i.width 479 + i.height 300 + i.border 2 + i.caption '' + i.publish 1 + i.author_id 1 + end + factory :panel022, :class => Panel do |i| + i.width 479 + i.height 300 + i.border 2 + i.caption '' + i.publish 1 + i.author_id 1 + end + factory :panel023, :class => Panel do |i| + i.width 479 + i.height 300 + i.border 2 + i.caption '' + i.publish 1 + i.author_id 1 + end + factory :panel024, :class => Panel do |i| + i.width 500 + i.height 300 + i.border 2 + i.caption '' + i.publish 1 + i.author_id 1 + end + factory :panel025, :class => Panel do |i| + i.width 500 + i.height 300 + i.border 2 + i.caption '' + i.publish 1 + i.author_id 1 + end + factory :panel026, :class => Panel do |i| + i.width 500 + i.height 300 + i.border 2 + i.caption '' + i.publish 1 + i.author_id 1 + end + factory :panel027, :class => Panel do |i| + i.width 500 + i.height 300 + i.border 2 + i.caption '' + i.publish 1 + i.author_id 1 + end + factory :panel028, :class => Panel do |i| + i.width 500 + i.height 300 + i.border 2 + i.caption '' + i.publish 1 + i.author_id 1 + end + factory :panel029, :class => Panel do |i| + i.width 500 + i.height 300 + i.border 2 + i.caption '' + i.publish 1 + i.author_id 1 + end + factory :panel030, :class => Panel do |i| + i.width 500 + i.height 300 + i.border 2 + i.caption '' + i.publish 1 + i.author_id 1 + end + factory :panel031, :class => Panel do |i| + i.width 463 + i.height 285 + i.border 2 + i.caption '' + i.publish 1 + i.author_id 1 + end + factory :panel032, :class => Panel do |i| + i.width 500 + i.height 300 + i.border 2 + i.caption '' + i.publish 1 + i.author_id 1 + end + factory :panel033, :class => Panel do |i| + i.width 500 + i.height 300 + i.border 2 + i.caption '' + i.publish 1 + i.author_id 1 + end + factory :panel034, :class => Panel do |i| + i.width 500 + i.height 300 + i.border 2 + i.caption '' + i.publish 1 + i.author_id 1 + end + factory :panel035, :class => Panel do |i| + i.width 500 + i.height 300 + i.border 2 + i.caption '' + i.publish 1 + i.author_id 1 + end + factory :panel036, :class => Panel do |i| + i.width 500 + i.height 300 + i.border 2 + i.caption 'ペン次郎が照れているコマ' + i.publish 1 + i.author_id 1 + end + factory :panel037, :class => Panel do |i| + i.width 500 + i.height 265 + i.border 2 + i.caption '' + i.publish 1 + i.author_id 1 + end + factory :panel038, :class => Panel do |i| + i.width 500 + i.height 265 + i.border 2 + i.caption '' + i.publish 1 + i.author_id 1 + end + factory :panel039, :class => Panel do |i| + i.width 500 + i.height 265 + i.border 2 + i.caption '' + i.publish 1 + i.author_id 1 + end + factory :panel040, :class => Panel do |i| + i.width 500 + i.height 265 + i.border 2 + i.caption '' + i.publish 1 + i.author_id 1 + end + factory :panel041, :class => Panel do |i| + i.width 200 + i.height 80 + i.border 1 + i.caption '' + i.publish 0 + i.author_id 1 + end + factory :panel042, :class => Panel do |i| + i.width 200 + i.height 80 + i.border 1 + i.caption '' + i.publish 0 + i.author_id 1 + end + factory :panel043, :class => Panel do |i| + i.width 500 + i.height 265 + i.border 2 + i.caption '' + i.publish 1 + i.author_id 1 + end + factory :panel044, :class => Panel do |i| + i.width 500 + i.height 265 + i.border 2 + i.caption '' + i.publish 1 + i.author_id 1 + end + factory :panel045, :class => Panel do |i| + i.width 500 + i.height 300 + i.border 2 + i.caption '' + i.publish 1 + i.author_id 1 + end + factory :panel046, :class => Panel do |i| + i.width 500 + i.height 300 + i.border 2 + i.caption '' + i.publish 1 + i.author_id 1 + end + factory :panel047, :class => Panel do |i| + i.width 500 + i.height 300 + i.border 2 + i.caption '' + i.publish 1 + i.author_id 1 + end + factory :panel048, :class => Panel do |i| + i.width 479 + i.height 300 + i.border 2 + i.caption '' + i.publish 1 + i.author_id 1 + end + factory :panel049, :class => Panel do |i| + i.width 479 + i.height 300 + i.border 2 + i.caption '' + i.publish 1 + i.author_id 1 + end + factory :panel050, :class => Panel do |i| + i.width 479 + i.height 300 + i.border 2 + i.caption '' + i.publish 1 + i.author_id 1 + end + factory :panel051, :class => Panel do |i| + i.width 479 + i.height 300 + i.border 2 + i.caption '' + i.publish 1 + i.author_id 1 + end + factory :panel052, :class => Panel do |i| + i.width 479 + i.height 300 + i.border 2 + i.caption '' + i.publish 1 + i.author_id 1 + end + factory :panel053, :class => Panel do |i| + i.width 500 + i.height 300 + i.border 2 + i.caption '' + i.publish 1 + i.author_id 1 + end + factory :panel054, :class => Panel do |i| + i.width 500 + i.height 300 + i.border 2 + i.caption '' + i.publish 1 + i.author_id 1 + end + factory :panel055, :class => Panel do |i| + i.width 500 + i.height 300 + i.border 2 + i.caption '' + i.publish 1 + i.author_id 1 + end + factory :panel056, :class => Panel do |i| + i.width 500 + i.height 300 + i.border 2 + i.caption '' + i.publish 1 + i.author_id 1 + end + factory :panel057, :class => Panel do |i| + i.width 500 + i.height 300 + i.border 2 + i.caption '' + i.publish 1 + i.author_id 1 + end + factory :panel058, :class => Panel do |i| + i.width 500 + i.height 300 + i.border 2 + i.caption '' + i.publish 1 + i.author_id 1 + end + factory :panel059, :class => Panel do |i| + i.width 500 + i.height 300 + i.border 2 + i.caption '' + i.publish 1 + i.author_id 1 + end + factory :panel060, :class => Panel do |i| + i.width 463 + i.height 285 + i.border 2 + i.caption '' + i.publish 1 + i.author_id 1 + end + factory :panel061, :class => Panel do |i| + i.width 500 + i.height 300 + i.border 2 + i.caption '' + i.publish 1 + i.author_id 1 + end + factory :panel062, :class => Panel do |i| + i.width 500 + i.height 300 + i.border 2 + i.caption '' + i.publish 1 + i.author_id 1 + end + factory :panel063, :class => Panel do |i| + i.width 500 + i.height 300 + i.border 2 + i.caption '' + i.publish 1 + i.author_id 1 + end + factory :panel064, :class => Panel do |i| + i.width 500 + i.height 300 + i.border 2 + i.caption '' + i.publish 1 + i.author_id 1 + end + factory :panel065, :class => Panel do |i| + i.width 500 + i.height 300 + i.border 2 + i.caption 'ペン次郎が照れているコマ' + i.publish 1 + i.author_id 1 + end +end diff --git a/spec/factories/panel_picture.rb b/spec/factories/panel_picture.rb new file mode 100644 index 00000000..370c1b14 --- /dev/null +++ b/spec/factories/panel_picture.rb @@ -0,0 +1,483 @@ +# -*- encoding: utf-8 -*- +FactoryGirl.define do + factory :panel_picture001, :class => PanelPicture do |i| + i.panel_id 1 + i.picture_id 89 + i.caption '司会' + i.x 286 + i.y 68 + i.width 312 + i.height 490 + i.link '' + i.z 2 + i.t 4 + end + factory :panel_picture002, :class => PanelPicture do |i| + i.panel_id 2 + i.picture_id 89 + i.caption '司会' + i.x 16 + i.y 121 + i.width 156 + i.height 245 + i.link '' + i.z 1 + i.t 0 + end + factory :panel_picture003, :class => PanelPicture do |i| + i.panel_id 2 + i.picture_id 94 + i.caption '' + i.x 106 + i.y 77 + i.width 266 + i.height 411 + i.link '' + i.z 2 + i.t 1 + end + factory :panel_picture004, :class => PanelPicture do |i| + i.panel_id 6 + i.picture_id 89 + i.caption '司会' + i.x 90 + i.y 83 + i.width -193 + i.height 245 + i.link '' + i.z 3 + i.t 3 + end + factory :panel_picture005, :class => PanelPicture do |i| + i.panel_id 7 + i.picture_id 93 + i.caption '' + i.x 160 + i.y 109 + i.width 177 + i.height 189 + i.link '' + i.z 2 + i.t 0 + end + factory :panel_picture006, :class => PanelPicture do |i| + i.panel_id 8 + i.picture_id 93 + i.caption '' + i.x 176 + i.y 88 + i.width 141 + i.height 189 + i.link '' + i.z 2 + i.t 1 + end + factory :panel_picture007, :class => PanelPicture do |i| + i.panel_id 2 + i.picture_id 93 + i.caption '' + i.x 222 + i.y 167 + i.width 177 + i.height 189 + i.link '' + i.z 4 + i.t 2 + end + factory :panel_picture008, :class => PanelPicture do |i| + i.panel_id 10 + i.picture_id 97 + i.caption '' + i.x 196 + i.y 132 + i.width 110 + i.height 115 + i.link '' + i.z 3 + i.t 2 + end + factory :panel_picture009, :class => PanelPicture do |i| + i.panel_id 11 + i.picture_id 89 + i.caption '' + i.x 26 + i.y 191 + i.width 156 + i.height 245 + i.link '' + i.z 1 + i.t 0 + end + factory :panel_picture010, :class => PanelPicture do |i| + i.panel_id 12 + i.picture_id 101 + i.caption '' + i.x 88 + i.y 40 + i.width 202 + i.height 236 + i.link '' + i.z 1 + i.t 0 + end + factory :panel_picture011, :class => PanelPicture do |i| + i.panel_id 14 + i.picture_id 89 + i.caption '' + i.x 79 + i.y 18 + i.width 404 + i.height 485 + i.link '' + i.z 1 + i.t 0 + end + factory :panel_picture012, :class => PanelPicture do |i| + i.panel_id 40 + i.picture_id 119 + i.caption '' + i.x 8 + i.y -20 + i.width 232 + i.height 222 + i.link '' + i.z 3 + i.t 0 + end + factory :panel_picture013, :class => PanelPicture do |i| + i.panel_id 40 + i.picture_id 65 + i.caption '' + i.x 179 + i.y 56 + i.width -279 + i.height 279 + i.link '' + i.z 2 + i.t 1 + end + factory :panel_picture014, :class => PanelPicture do |i| + i.panel_id 43 + i.picture_id 119 + i.caption '' + i.x 8 + i.y -20 + i.width 232 + i.height 222 + i.link '' + i.z 3 + i.t 0 + end + factory :panel_picture015, :class => PanelPicture do |i| + i.panel_id 43 + i.picture_id 65 + i.caption '' + i.x 179 + i.y 56 + i.width -279 + i.height 279 + i.link '' + i.z 2 + i.t 1 + end + factory :panel_picture016, :class => PanelPicture do |i| + i.panel_id 44 + i.picture_id 119 + i.caption '' + i.x 8 + i.y -20 + i.width 232 + i.height 222 + i.link '' + i.z 3 + i.t 0 + end + factory :panel_picture017, :class => PanelPicture do |i| + i.panel_id 44 + i.picture_id 65 + i.caption '' + i.x 179 + i.y 56 + i.width -279 + i.height 279 + i.link '' + i.z 2 + i.t 1 + end + factory :panel_picture018, :class => PanelPicture do |i| + i.panel_id 45 + i.picture_id 84 + i.caption '' + i.x 79 + i.y 18 + i.width 404 + i.height 485 + i.link '' + i.z 1 + i.t 0 + end + factory :panel_picture019, :class => PanelPicture do |i| + i.panel_id 46 + i.picture_id 85 + i.caption '' + i.x 110 + i.y 124 + i.width 219 + i.height 183 + i.link '' + i.z 1 + i.t 2 + end + factory :panel_picture020, :class => PanelPicture do |i| + i.panel_id 47 + i.picture_id 93 + i.caption '' + i.x 137 + i.y 139 + i.width 177 + i.height 189 + i.link '' + i.z 1 + i.t 2 + end + factory :panel_picture021, :class => PanelPicture do |i| + i.panel_id 48 + i.picture_id 101 + i.caption '' + i.x 129 + i.y 47 + i.width 202 + i.height 236 + i.link '' + i.z 1 + i.t 0 + end + factory :panel_picture022, :class => PanelPicture do |i| + i.panel_id 48 + i.picture_id 102 + i.caption '' + i.x -5 + i.y 172 + i.width 125 + i.height 125 + i.link '' + i.z 2 + i.t 1 + end + factory :panel_picture023, :class => PanelPicture do |i| + i.panel_id 48 + i.picture_id 94 + i.caption '' + i.x 307 + i.y -2 + i.width 88 + i.height 116 + i.link '' + i.z 3 + i.t 2 + end + factory :panel_picture024, :class => PanelPicture do |i| + i.panel_id 48 + i.picture_id 35 + i.caption '' + i.x 377 + i.y 197 + i.width -106 + i.height 118 + i.link '' + i.z 4 + i.t 3 + end + factory :panel_picture025, :class => PanelPicture do |i| + i.panel_id 49 + i.picture_id 76 + i.caption '' + i.x 354 + i.y 107 + i.width 94 + i.height 118 + i.link '' + i.z 5 + i.t 0 + end + factory :panel_picture026, :class => PanelPicture do |i| + i.panel_id 49 + i.picture_id 39 + i.caption '' + i.x 37 + i.y 118 + i.width 72 + i.height 118 + i.link '' + i.z 6 + i.t 1 + end + factory :panel_picture027, :class => PanelPicture do |i| + i.panel_id 49 + i.picture_id 55 + i.caption '' + i.x 183 + i.y 211 + i.width 73 + i.height 92 + i.link '' + i.z 7 + i.t 2 + end + factory :panel_picture028, :class => PanelPicture do |i| + i.panel_id 50 + i.picture_id 29 + i.caption '' + i.x 89 + i.y 121 + i.width 193 + i.height 241 + i.link '' + i.z 1 + i.t 1 + end + factory :panel_picture029, :class => PanelPicture do |i| + i.panel_id 51 + i.picture_id 45 + i.caption '' + i.x 113 + i.y 115 + i.width 223 + i.height 249 + i.link '' + i.z 2 + i.t 2 + end + factory :panel_picture030, :class => PanelPicture do |i| + i.panel_id 51 + i.picture_id 51 + i.caption '' + i.x 384 + i.y 224 + i.width 43 + i.height 58 + i.link '' + i.z 3 + i.t 3 + end + factory :panel_picture031, :class => PanelPicture do |i| + i.panel_id 52 + i.picture_id 52 + i.caption '' + i.x 122 + i.y 130 + i.width -194 + i.height 172 + i.link '' + i.z 3 + i.t 2 + end + factory :panel_picture032, :class => PanelPicture do |i| + i.panel_id 53 + i.picture_id 83 + i.caption '' + i.x 82 + i.y 107 + i.width 273 + i.height 340 + i.link '' + i.z 1 + i.t 2 + end + factory :panel_picture033, :class => PanelPicture do |i| + i.panel_id 55 + i.picture_id 62 + i.caption '' + i.x 84 + i.y 116 + i.width 177 + i.height 228 + i.link '' + i.z 1 + i.t 2 + end + factory :panel_picture034, :class => PanelPicture do |i| + i.panel_id 56 + i.picture_id 45 + i.caption '' + i.x 128 + i.y 121 + i.width 223 + i.height 249 + i.link '' + i.z 1 + i.t 3 + end + factory :panel_picture035, :class => PanelPicture do |i| + i.panel_id 59 + i.picture_id 41 + i.caption '' + i.x 215 + i.y 194 + i.width -29 + i.height 28 + i.link '' + i.z 2 + i.t 1 + end + factory :panel_picture036, :class => PanelPicture do |i| + i.panel_id 61 + i.picture_id 73 + i.caption 'ペンギンの視線がこちらをとらえる。久しぶりだね、ペン次郎' + i.x 48 + i.y 37 + i.width -359 + i.height 448 + i.link '' + i.z 2 + i.t 1 + end + factory :panel_picture037, :class => PanelPicture do |i| + i.panel_id 62 + i.picture_id 41 + i.caption 'ポツリと小さな何かがある' + i.x 184 + i.y 157 + i.width -74 + i.height 86 + i.link '' + i.z 2 + i.t 1 + end + factory :panel_picture038, :class => PanelPicture do |i| + i.panel_id 63 + i.picture_id 53 + i.caption 'さらに近づいてみて分かった。どうやらペンギンは眠っているようだ' + i.x -69 + i.y 7 + i.width 475 + i.height 334 + i.link '' + i.z 2 + i.t 0 + end + factory :panel_picture039, :class => PanelPicture do |i| + i.panel_id 64 + i.picture_id 41 + i.caption 'その\'何か\'は横たわる一羽のペンギンだった' + i.x 118 + i.y 80 + i.width -234 + i.height 269 + i.link '' + i.z 2 + i.t 1 + end + factory :panel_picture040, :class => PanelPicture do |i| + i.panel_id 65 + i.picture_id 45 + i.caption 'こちらに気付く' + i.x 131 + i.y 49 + i.width 223 + i.height 249 + i.link '' + i.z 2 + i.t 0 + end +end diff --git a/spec/factories/pettanr_creative_commons_v30_licenses_attribute.rb b/spec/factories/pettanr_creative_commons_v30_licenses_attribute.rb new file mode 100644 index 00000000..d3f5a12f --- /dev/null +++ b/spec/factories/pettanr_creative_commons_v30_licenses_attribute.rb @@ -0,0 +1 @@ + diff --git a/spec/factories/pettanr_creative_commons_v30_licenses_credit_picture.rb b/spec/factories/pettanr_creative_commons_v30_licenses_credit_picture.rb new file mode 100644 index 00000000..d3f5a12f --- /dev/null +++ b/spec/factories/pettanr_creative_commons_v30_licenses_credit_picture.rb @@ -0,0 +1 @@ + diff --git a/spec/factories/pettanr_creative_commons_v30_licenses_license.rb b/spec/factories/pettanr_creative_commons_v30_licenses_license.rb new file mode 100644 index 00000000..d3f5a12f --- /dev/null +++ b/spec/factories/pettanr_creative_commons_v30_licenses_license.rb @@ -0,0 +1 @@ + diff --git a/spec/factories/pettanr_pettan_commons_v01_licenses_attribute.rb b/spec/factories/pettanr_pettan_commons_v01_licenses_attribute.rb new file mode 100644 index 00000000..d3f5a12f --- /dev/null +++ b/spec/factories/pettanr_pettan_commons_v01_licenses_attribute.rb @@ -0,0 +1 @@ + diff --git a/spec/factories/pettanr_pettan_commons_v01_licenses_credit_picture.rb b/spec/factories/pettanr_pettan_commons_v01_licenses_credit_picture.rb new file mode 100644 index 00000000..d3f5a12f --- /dev/null +++ b/spec/factories/pettanr_pettan_commons_v01_licenses_credit_picture.rb @@ -0,0 +1 @@ + diff --git a/spec/factories/pettanr_pettan_commons_v01_licenses_license.rb b/spec/factories/pettanr_pettan_commons_v01_licenses_license.rb new file mode 100644 index 00000000..d3f5a12f --- /dev/null +++ b/spec/factories/pettanr_pettan_commons_v01_licenses_license.rb @@ -0,0 +1 @@ + diff --git a/spec/factories/pettanr_pettan_protected_v01_licenses_attribute.rb b/spec/factories/pettanr_pettan_protected_v01_licenses_attribute.rb new file mode 100644 index 00000000..d3f5a12f --- /dev/null +++ b/spec/factories/pettanr_pettan_protected_v01_licenses_attribute.rb @@ -0,0 +1 @@ + diff --git a/spec/factories/pettanr_pettan_protected_v01_licenses_credit_picture.rb b/spec/factories/pettanr_pettan_protected_v01_licenses_credit_picture.rb new file mode 100644 index 00000000..d3f5a12f --- /dev/null +++ b/spec/factories/pettanr_pettan_protected_v01_licenses_credit_picture.rb @@ -0,0 +1 @@ + diff --git a/spec/factories/pettanr_pettan_protected_v01_licenses_license.rb b/spec/factories/pettanr_pettan_protected_v01_licenses_license.rb new file mode 100644 index 00000000..d3f5a12f --- /dev/null +++ b/spec/factories/pettanr_pettan_protected_v01_licenses_license.rb @@ -0,0 +1 @@ + diff --git a/spec/factories/pettanr_pettan_public_v01_licenses_attribute.rb b/spec/factories/pettanr_pettan_public_v01_licenses_attribute.rb new file mode 100644 index 00000000..d3f5a12f --- /dev/null +++ b/spec/factories/pettanr_pettan_public_v01_licenses_attribute.rb @@ -0,0 +1 @@ + diff --git a/spec/factories/pettanr_pettan_public_v01_licenses_credit_picture.rb b/spec/factories/pettanr_pettan_public_v01_licenses_credit_picture.rb new file mode 100644 index 00000000..d3f5a12f --- /dev/null +++ b/spec/factories/pettanr_pettan_public_v01_licenses_credit_picture.rb @@ -0,0 +1 @@ + diff --git a/spec/factories/pettanr_pettan_public_v01_licenses_license.rb b/spec/factories/pettanr_pettan_public_v01_licenses_license.rb new file mode 100644 index 00000000..d3f5a12f --- /dev/null +++ b/spec/factories/pettanr_pettan_public_v01_licenses_license.rb @@ -0,0 +1 @@ + diff --git a/spec/factories/pettanr_public_domain_v01_licenses_attribute.rb b/spec/factories/pettanr_public_domain_v01_licenses_attribute.rb new file mode 100644 index 00000000..d3f5a12f --- /dev/null +++ b/spec/factories/pettanr_public_domain_v01_licenses_attribute.rb @@ -0,0 +1 @@ + diff --git a/spec/factories/pettanr_public_domain_v01_licenses_credit_picture.rb b/spec/factories/pettanr_public_domain_v01_licenses_credit_picture.rb new file mode 100644 index 00000000..d3f5a12f --- /dev/null +++ b/spec/factories/pettanr_public_domain_v01_licenses_credit_picture.rb @@ -0,0 +1 @@ + diff --git a/spec/factories/pettanr_public_domain_v01_licenses_license.rb b/spec/factories/pettanr_public_domain_v01_licenses_license.rb new file mode 100644 index 00000000..d3f5a12f --- /dev/null +++ b/spec/factories/pettanr_public_domain_v01_licenses_license.rb @@ -0,0 +1 @@ + diff --git a/spec/factories/pettanr_unknown_v01_licenses_attribute.rb b/spec/factories/pettanr_unknown_v01_licenses_attribute.rb new file mode 100644 index 00000000..d3f5a12f --- /dev/null +++ b/spec/factories/pettanr_unknown_v01_licenses_attribute.rb @@ -0,0 +1 @@ + diff --git a/spec/factories/pettanr_unknown_v01_licenses_credit_picture.rb b/spec/factories/pettanr_unknown_v01_licenses_credit_picture.rb new file mode 100644 index 00000000..d3f5a12f --- /dev/null +++ b/spec/factories/pettanr_unknown_v01_licenses_credit_picture.rb @@ -0,0 +1 @@ + diff --git a/spec/factories/pettanr_unknown_v01_licenses_license.rb b/spec/factories/pettanr_unknown_v01_licenses_license.rb new file mode 100644 index 00000000..d3f5a12f --- /dev/null +++ b/spec/factories/pettanr_unknown_v01_licenses_license.rb @@ -0,0 +1 @@ + diff --git a/spec/factories/picture.rb b/spec/factories/picture.rb new file mode 100644 index 00000000..f9d5d5a5 --- /dev/null +++ b/spec/factories/picture.rb @@ -0,0 +1,2259 @@ +# -*- encoding: utf-8 -*- +FactoryGirl.define do + factory :picture001, :class => Picture do |i| + i.original_picture_id 1 + i.revision 1 + i.ext 'gif' + i.width 256 + i.height 326 + i.filesize 3996 + i.artist_id 1 + i.license_id 7 + i.md5 '7033980b1c1ee6d6af6fa6c3cd2b3a59' + i.system_picture_id 9 + i.license_group_settings '{"open":0,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1}' + i.credit_picture_settings '{"source_url_btn_id":1,"source_url_off_btn_id":2}' + i.license_settings '{"caption":"\u3069\u3046\u3067\u3082\u3044\u3044\u5974","sources":""}' + i.license_group_module_name 'PettanrPettanCommonsV01Licenses' + end + factory :picture002, :class => Picture do |i| + i.original_picture_id 2 + i.revision 1 + i.ext 'gif' + i.width 303 + i.height 315 + i.filesize 4511 + i.artist_id 1 + i.license_id 7 + i.md5 '9e4ea4adf24e68ce8a5e504393dda0f5' + i.system_picture_id 9 + i.license_group_settings '{"open":0,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1}' + i.credit_picture_settings '{"source_url_btn_id":1,"source_url_off_btn_id":2}' + i.license_settings '{"caption":"\u3069\u3046\u3067\u3082\u3044\u3044\u5974","sources":""}' + i.license_group_module_name 'PettanrPettanCommonsV01Licenses' + end + factory :picture003, :class => Picture do |i| + i.original_picture_id 3 + i.revision 1 + i.ext 'gif' + i.width 466 + i.height 385 + i.filesize 4442 + i.artist_id 1 + i.license_id 7 + i.md5 '42a7fd312dc3b5f7a8e417f7c8f9ec42' + i.system_picture_id 9 + i.license_group_settings '{"open":0,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1}' + i.credit_picture_settings '{"source_url_btn_id":1,"source_url_off_btn_id":2}' + i.license_settings '{"caption":"\u3069\u3046\u3067\u3082\u3044\u3044\u5974","sources":""}' + i.license_group_module_name 'PettanrPettanCommonsV01Licenses' + end + factory :picture004, :class => Picture do |i| + i.original_picture_id 4 + i.revision 1 + i.ext 'gif' + i.width 433 + i.height 176 + i.filesize 2042 + i.artist_id 1 + i.license_id 7 + i.md5 '8993dd46d40ec0866ce3c5cab99009a4' + i.system_picture_id 9 + i.license_group_settings '{"open":0,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1}' + i.credit_picture_settings '{"source_url_btn_id":1,"source_url_off_btn_id":2}' + i.license_settings '{"caption":"\u3069\u3046\u3067\u3082\u3044\u3044\u5974","sources":""}' + i.license_group_module_name 'PettanrPettanCommonsV01Licenses' + end + factory :picture005, :class => Picture do |i| + i.original_picture_id 5 + i.revision 1 + i.ext 'gif' + i.width 127 + i.height 87 + i.filesize 797 + i.artist_id 1 + i.license_id 7 + i.md5 '6803b06433848abaf5ac2e0b3402aa86' + i.system_picture_id 9 + i.license_group_settings '{"open":0,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1}' + i.credit_picture_settings '{"source_url_btn_id":1,"source_url_off_btn_id":2}' + i.license_settings '{"caption":"\u3069\u3046\u3067\u3082\u3044\u3044\u5974","sources":""}' + i.license_group_module_name 'PettanrPettanCommonsV01Licenses' + end + factory :picture006, :class => Picture do |i| + i.original_picture_id 6 + i.revision 1 + i.ext 'gif' + i.width 186 + i.height 203 + i.filesize 2737 + i.artist_id 1 + i.license_id 7 + i.md5 '98462369a56dd619152bc0541883eab9' + i.system_picture_id 9 + i.license_group_settings '{"open":0,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1}' + i.credit_picture_settings '{"source_url_btn_id":1,"source_url_off_btn_id":2}' + i.license_settings '{"caption":"\u3069\u3046\u3067\u3082\u3044\u3044\u5974","sources":""}' + i.license_group_module_name 'PettanrPettanCommonsV01Licenses' + end + factory :picture007, :class => Picture do |i| + i.original_picture_id 7 + i.revision 1 + i.ext 'gif' + i.width 116 + i.height 84 + i.filesize 784 + i.artist_id 1 + i.license_id 7 + i.md5 '2d6e9c07ad92732010a5de158f66ee9f' + i.system_picture_id 9 + i.license_group_settings '{"open":0,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1}' + i.credit_picture_settings '{"source_url_btn_id":1,"source_url_off_btn_id":2}' + i.license_settings '{"caption":"\u3069\u3046\u3067\u3082\u3044\u3044\u5974","sources":""}' + i.license_group_module_name 'PettanrPettanCommonsV01Licenses' + end + factory :picture008, :class => Picture do |i| + i.original_picture_id 8 + i.revision 1 + i.ext 'gif' + i.width 437 + i.height 432 + i.filesize 6301 + i.artist_id 1 + i.license_id 7 + i.md5 'bbf0c2f16d1ffd586ba77235e63605c1' + i.system_picture_id 9 + i.license_group_settings '{"open":0,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1}' + i.credit_picture_settings '{"source_url_btn_id":1,"source_url_off_btn_id":2}' + i.license_settings '{"caption":"\u3069\u3046\u3067\u3082\u3044\u3044\u5974","sources":""}' + i.license_group_module_name 'PettanrPettanCommonsV01Licenses' + end + factory :picture009, :class => Picture do |i| + i.original_picture_id 9 + i.revision 1 + i.ext 'gif' + i.width 362 + i.height 454 + i.filesize 6455 + i.artist_id 1 + i.license_id 7 + i.md5 'b4611730a3a9dc15d79b4e6fbd0e3929' + i.system_picture_id 9 + i.license_group_settings '{"open":0,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1}' + i.credit_picture_settings '{"source_url_btn_id":1,"source_url_off_btn_id":2}' + i.license_settings '{"caption":"\u3069\u3046\u3067\u3082\u3044\u3044\u5974","sources":""}' + i.license_group_module_name 'PettanrPettanCommonsV01Licenses' + end + factory :picture010, :class => Picture do |i| + i.original_picture_id 10 + i.revision 1 + i.ext 'gif' + i.width 285 + i.height 351 + i.filesize 2776 + i.artist_id 1 + i.license_id 7 + i.md5 'd5e5ecacc0b6f8fb38bd6e9483e7b23b' + i.system_picture_id 9 + i.license_group_settings '{"open":0,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1}' + i.credit_picture_settings '{"source_url_btn_id":1,"source_url_off_btn_id":2}' + i.license_settings '{"caption":"\u3069\u3046\u3067\u3082\u3044\u3044\u5974","sources":""}' + i.license_group_module_name 'PettanrPettanCommonsV01Licenses' + end + factory :picture011, :class => Picture do |i| + i.original_picture_id 11 + i.revision 1 + i.ext 'gif' + i.width 298 + i.height 403 + i.filesize 5915 + i.artist_id 1 + i.license_id 7 + i.md5 '1d748b7a664729900b65aaae11dc19f8' + i.system_picture_id 9 + i.license_group_settings '{"open":0,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1}' + i.credit_picture_settings '{"source_url_btn_id":1,"source_url_off_btn_id":2}' + i.license_settings '{"caption":"\u3069\u3046\u3067\u3082\u3044\u3044\u5974","sources":""}' + i.license_group_module_name 'PettanrPettanCommonsV01Licenses' + end + factory :picture012, :class => Picture do |i| + i.original_picture_id 12 + i.revision 1 + i.ext 'gif' + i.width 188 + i.height 222 + i.filesize 2427 + i.artist_id 1 + i.license_id 7 + i.md5 'a79ffeef76af734a9b36899d9205fb44' + i.system_picture_id 9 + i.license_group_settings '{"open":0,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1}' + i.credit_picture_settings '{"source_url_btn_id":1,"source_url_off_btn_id":2}' + i.license_settings '{"caption":"\u3069\u3046\u3067\u3082\u3044\u3044\u5974","sources":""}' + i.license_group_module_name 'PettanrPettanCommonsV01Licenses' + end + factory :picture013, :class => Picture do |i| + i.original_picture_id 13 + i.revision 1 + i.ext 'gif' + i.width 175 + i.height 208 + i.filesize 2166 + i.artist_id 1 + i.license_id 7 + i.md5 '2f99c6fbb7fd5221d70881cb2695d774' + i.system_picture_id 9 + i.license_group_settings '{"open":0,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1}' + i.credit_picture_settings '{"source_url_btn_id":1,"source_url_off_btn_id":2}' + i.license_settings '{"caption":"\u3069\u3046\u3067\u3082\u3044\u3044\u5974","sources":""}' + i.license_group_module_name 'PettanrPettanCommonsV01Licenses' + end + factory :picture014, :class => Picture do |i| + i.original_picture_id 14 + i.revision 1 + i.ext 'gif' + i.width 119 + i.height 484 + i.filesize 3530 + i.artist_id 1 + i.license_id 7 + i.md5 'e1e3f94e97001cba888dff326775453c' + i.system_picture_id 9 + i.license_group_settings '{"open":0,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1}' + i.credit_picture_settings '{"source_url_btn_id":1,"source_url_off_btn_id":2}' + i.license_settings '{"caption":"\u3069\u3046\u3067\u3082\u3044\u3044\u5974","sources":""}' + i.license_group_module_name 'PettanrPettanCommonsV01Licenses' + end + factory :picture015, :class => Picture do |i| + i.original_picture_id 15 + i.revision 1 + i.ext 'gif' + i.width 500 + i.height 101 + i.filesize 2554 + i.artist_id 1 + i.license_id 7 + i.md5 '8df4558abe3cd638bac6cd09d503a5b5' + i.system_picture_id 9 + i.license_group_settings '{"open":0,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1}' + i.credit_picture_settings '{"source_url_btn_id":1,"source_url_off_btn_id":2}' + i.license_settings '{"caption":"\u3069\u3046\u3067\u3082\u3044\u3044\u5974","sources":""}' + i.license_group_module_name 'PettanrPettanCommonsV01Licenses' + end + factory :picture016, :class => Picture do |i| + i.original_picture_id 16 + i.revision 1 + i.ext 'gif' + i.width 440 + i.height 194 + i.filesize 2948 + i.artist_id 1 + i.license_id 7 + i.md5 'cbdb8c9137b13eaf14fb502cb57453b2' + i.system_picture_id 9 + i.license_group_settings '{"open":0,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1}' + i.credit_picture_settings '{"source_url_btn_id":1,"source_url_off_btn_id":2}' + i.license_settings '{"caption":"\u3069\u3046\u3067\u3082\u3044\u3044\u5974","sources":""}' + i.license_group_module_name 'PettanrPettanCommonsV01Licenses' + end + factory :picture017, :class => Picture do |i| + i.original_picture_id 17 + i.revision 1 + i.ext 'gif' + i.width 500 + i.height 415 + i.filesize 8087 + i.artist_id 1 + i.license_id 7 + i.md5 '0e72c6a9efda4a3672486fff60a02be5' + i.system_picture_id 9 + i.license_group_settings '{"open":0,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1}' + i.credit_picture_settings '{"source_url_btn_id":1,"source_url_off_btn_id":2}' + i.license_settings '{"caption":"\u3069\u3046\u3067\u3082\u3044\u3044\u5974","sources":""}' + i.license_group_module_name 'PettanrPettanCommonsV01Licenses' + end + factory :picture018, :class => Picture do |i| + i.original_picture_id 18 + i.revision 1 + i.ext 'gif' + i.width 500 + i.height 331 + i.filesize 2422 + i.artist_id 1 + i.license_id 7 + i.md5 'ea977fe9992ac15c85e88fdf587ae1d1' + i.system_picture_id 9 + i.license_group_settings '{"open":0,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1}' + i.credit_picture_settings '{"source_url_btn_id":1,"source_url_off_btn_id":2}' + i.license_settings '{"caption":"\u3069\u3046\u3067\u3082\u3044\u3044\u5974","sources":""}' + i.license_group_module_name 'PettanrPettanCommonsV01Licenses' + end + factory :picture019, :class => Picture do |i| + i.original_picture_id 19 + i.revision 1 + i.ext 'gif' + i.width 500 + i.height 500 + i.filesize 4921 + i.artist_id 1 + i.license_id 7 + i.md5 '893b1b5920dff3bf69dc32746d40b4d1' + i.system_picture_id 9 + i.license_group_settings '{"open":0,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1}' + i.credit_picture_settings '{"source_url_btn_id":1,"source_url_off_btn_id":2}' + i.license_settings '{"caption":"\u3069\u3046\u3067\u3082\u3044\u3044\u5974","sources":""}' + i.license_group_module_name 'PettanrPettanCommonsV01Licenses' + end + factory :picture020, :class => Picture do |i| + i.original_picture_id 20 + i.revision 1 + i.ext 'gif' + i.width 500 + i.height 500 + i.filesize 9147 + i.artist_id 1 + i.license_id 7 + i.md5 '65295a63fa09b326e4f37af756e26607' + i.system_picture_id 9 + i.license_group_settings '{"open":0,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1}' + i.credit_picture_settings '{"source_url_btn_id":1,"source_url_off_btn_id":2}' + i.license_settings '{"caption":"\u3069\u3046\u3067\u3082\u3044\u3044\u5974","sources":""}' + i.license_group_module_name 'PettanrPettanCommonsV01Licenses' + end + factory :picture021, :class => Picture do |i| + i.original_picture_id 21 + i.revision 1 + i.ext 'gif' + i.width 500 + i.height 500 + i.filesize 9488 + i.artist_id 1 + i.license_id 7 + i.md5 '550200df110943d93e6a71a9383834ed' + i.system_picture_id 9 + i.license_group_settings '{"open":0,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1}' + i.credit_picture_settings '{"source_url_btn_id":1,"source_url_off_btn_id":2}' + i.license_settings '{"caption":"\u3069\u3046\u3067\u3082\u3044\u3044\u5974","sources":""}' + i.license_group_module_name 'PettanrPettanCommonsV01Licenses' + end + factory :picture022, :class => Picture do |i| + i.original_picture_id 22 + i.revision 1 + i.ext 'png' + i.width 42 + i.height 42 + i.filesize 2288 + i.artist_id 1 + i.license_id 7 + i.md5 'bd2261c6f6498e839d0f093effc1100b' + i.system_picture_id 9 + i.license_group_settings '{"open":0,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1}' + i.credit_picture_settings '{"source_url_btn_id":1,"source_url_off_btn_id":2}' + i.license_settings '{"caption":"\u3069\u3046\u3067\u3082\u3044\u3044\u5974","sources":""}' + i.license_group_module_name 'PettanrPettanCommonsV01Licenses' + end + factory :picture023, :class => Picture do |i| + i.original_picture_id 23 + i.revision 1 + i.ext 'png' + i.width 42 + i.height 41 + i.filesize 2235 + i.artist_id 1 + i.license_id 7 + i.md5 '97ae360ee8a589b87d5940a4e444c641' + i.system_picture_id 9 + i.license_group_settings '{"open":0,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1}' + i.credit_picture_settings '{"source_url_btn_id":1,"source_url_off_btn_id":2}' + i.license_settings '{"caption":"\u3069\u3046\u3067\u3082\u3044\u3044\u5974","sources":""}' + i.license_group_module_name 'PettanrPettanCommonsV01Licenses' + end + factory :picture024, :class => Picture do |i| + i.original_picture_id 24 + i.revision 1 + i.ext 'png' + i.width 41 + i.height 42 + i.filesize 2120 + i.artist_id 1 + i.license_id 7 + i.md5 '58bffdc8c9a4cb03ea9e554090e960f6' + i.system_picture_id 9 + i.license_group_settings '{"open":0,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1}' + i.credit_picture_settings '{"source_url_btn_id":1,"source_url_off_btn_id":2}' + i.license_settings '{"caption":"\u3069\u3046\u3067\u3082\u3044\u3044\u5974","sources":""}' + i.license_group_module_name 'PettanrPettanCommonsV01Licenses' + end + factory :picture025, :class => Picture do |i| + i.original_picture_id 25 + i.revision 1 + i.ext 'png' + i.width 41 + i.height 37 + i.filesize 2705 + i.artist_id 1 + i.license_id 7 + i.md5 '0b1feefcc205b196900e2a5b411fc763' + i.system_picture_id 9 + i.license_group_settings '{"open":0,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1}' + i.credit_picture_settings '{"source_url_btn_id":1,"source_url_off_btn_id":2}' + i.license_settings '{"caption":"\u3069\u3046\u3067\u3082\u3044\u3044\u5974","sources":""}' + i.license_group_module_name 'PettanrPettanCommonsV01Licenses' + end + factory :picture026, :class => Picture do |i| + i.original_picture_id 26 + i.revision 1 + i.ext 'png' + i.width 309 + i.height 414 + i.filesize 7472 + i.artist_id 1 + i.license_id 17 + i.md5 'e6fba5d4e6ec56c799c951dda174321b' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :picture027, :class => Picture do |i| + i.original_picture_id 27 + i.revision 1 + i.ext 'png' + i.width 353 + i.height 417 + i.filesize 7740 + i.artist_id 1 + i.license_id 17 + i.md5 '4b52eda65a63a6a44534d14f3909d51b' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :picture028, :class => Picture do |i| + i.original_picture_id 28 + i.revision 1 + i.ext 'png' + i.width 333 + i.height 463 + i.filesize 9960 + i.artist_id 1 + i.license_id 17 + i.md5 'bba68bc25f69a9c25367bcfc85e6baa6' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :picture029, :class => Picture do |i| + i.original_picture_id 29 + i.revision 1 + i.ext 'png' + i.width 387 + i.height 482 + i.filesize 8961 + i.artist_id 1 + i.license_id 17 + i.md5 '6c4cb9460164b9ee9f80081618f74f2b' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :picture030, :class => Picture do |i| + i.original_picture_id 30 + i.revision 1 + i.ext 'png' + i.width 500 + i.height 500 + i.filesize 9822 + i.artist_id 1 + i.license_id 17 + i.md5 '33f8ddd99e68c0ac3f5146799a6d44fe' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :picture031, :class => Picture do |i| + i.original_picture_id 31 + i.revision 1 + i.ext 'png' + i.width 408 + i.height 447 + i.filesize 10517 + i.artist_id 1 + i.license_id 17 + i.md5 '8b527077673e73afc4c597fce8a18346' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :picture032, :class => Picture do |i| + i.original_picture_id 32 + i.revision 1 + i.ext 'png' + i.width 298 + i.height 403 + i.filesize 6673 + i.artist_id 1 + i.license_id 17 + i.md5 '2eb8dd23e7e11f69d3c941fe1aa1bee6' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :picture033, :class => Picture do |i| + i.original_picture_id 33 + i.revision 1 + i.ext 'png' + i.width 406 + i.height 465 + i.filesize 9834 + i.artist_id 1 + i.license_id 17 + i.md5 '8c203ba3b3310754bb9a6a248ced2ad0' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :picture034, :class => Picture do |i| + i.original_picture_id 34 + i.revision 1 + i.ext 'png' + i.width 500 + i.height 500 + i.filesize 17308 + i.artist_id 1 + i.license_id 17 + i.md5 '1c635738b9fb6cb848d03f316a6e7e3f' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :picture035, :class => Picture do |i| + i.original_picture_id 35 + i.revision 1 + i.ext 'png' + i.width 425 + i.height 475 + i.filesize 11911 + i.artist_id 1 + i.license_id 17 + i.md5 '47f712bbafb0fda4528be5a1eaec175b' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :picture036, :class => Picture do |i| + i.original_picture_id 36 + i.revision 1 + i.ext 'png' + i.width 346 + i.height 455 + i.filesize 7622 + i.artist_id 1 + i.license_id 17 + i.md5 'ce715a6a406ed75cc1ca1862a0391fde' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :picture037, :class => Picture do |i| + i.original_picture_id 37 + i.revision 1 + i.ext 'png' + i.width 285 + i.height 478 + i.filesize 7680 + i.artist_id 1 + i.license_id 17 + i.md5 'f8391dc0f8c0daf3d1f9c806b83fa36b' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :picture038, :class => Picture do |i| + i.original_picture_id 38 + i.revision 1 + i.ext 'png' + i.width 409 + i.height 425 + i.filesize 7986 + i.artist_id 1 + i.license_id 17 + i.md5 '94403e3e1d0f512f4492bad61e0c0e65' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :picture039, :class => Picture do |i| + i.original_picture_id 39 + i.revision 1 + i.ext 'png' + i.width 290 + i.height 472 + i.filesize 7009 + i.artist_id 1 + i.license_id 17 + i.md5 '8b6ed84f100524084a65492439cbd28b' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :picture040, :class => Picture do |i| + i.original_picture_id 40 + i.revision 1 + i.ext 'png' + i.width 362 + i.height 378 + i.filesize 9455 + i.artist_id 1 + i.license_id 17 + i.md5 '0f10bb1781bf920c1712ecb697daf95a' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :picture041, :class => Picture do |i| + i.original_picture_id 41 + i.revision 1 + i.ext 'png' + i.width 299 + i.height 344 + i.filesize 5326 + i.artist_id 1 + i.license_id 17 + i.md5 '66e7c355565bcca88c040a325fd7d1ca' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :picture042, :class => Picture do |i| + i.original_picture_id 42 + i.revision 1 + i.ext 'png' + i.width 500 + i.height 500 + i.filesize 9232 + i.artist_id 1 + i.license_id 17 + i.md5 'a9165b2f7bf007de60a80761772a03e9' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :picture043, :class => Picture do |i| + i.original_picture_id 43 + i.revision 1 + i.ext 'png' + i.width 500 + i.height 500 + i.filesize 32202 + i.artist_id 1 + i.license_id 17 + i.md5 '87c34320ec2d56fafa3006af7cd83f80' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :picture044, :class => Picture do |i| + i.original_picture_id 44 + i.revision 1 + i.ext 'png' + i.width 365 + i.height 475 + i.filesize 10960 + i.artist_id 1 + i.license_id 17 + i.md5 'ccda00141a490b6bb8a2a174e0b9156d' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :picture045, :class => Picture do |i| + i.original_picture_id 45 + i.revision 1 + i.ext 'png' + i.width 446 + i.height 498 + i.filesize 10180 + i.artist_id 1 + i.license_id 17 + i.md5 '6e286a379e84b69470da464dbd9b688e' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :picture046, :class => Picture do |i| + i.original_picture_id 46 + i.revision 1 + i.ext 'png' + i.width 384 + i.height 474 + i.filesize 10134 + i.artist_id 1 + i.license_id 17 + i.md5 '4a34ea8c719efaf817fe3bc21d7f83f4' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :picture047, :class => Picture do |i| + i.original_picture_id 47 + i.revision 1 + i.ext 'png' + i.width 500 + i.height 500 + i.filesize 15583 + i.artist_id 1 + i.license_id 17 + i.md5 'df6da089520878763a5340b7b8b7d9f1' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :picture048, :class => Picture do |i| + i.original_picture_id 48 + i.revision 1 + i.ext 'png' + i.width 358 + i.height 500 + i.filesize 10836 + i.artist_id 1 + i.license_id 17 + i.md5 '438fa9f6240b41eadc5344d10975071f' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :picture049, :class => Picture do |i| + i.original_picture_id 49 + i.revision 1 + i.ext 'png' + i.width 316 + i.height 476 + i.filesize 9482 + i.artist_id 1 + i.license_id 17 + i.md5 '0ec119affcd3219946b2109d5c8da38d' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :picture050, :class => Picture do |i| + i.original_picture_id 50 + i.revision 1 + i.ext 'png' + i.width 366 + i.height 471 + i.filesize 9311 + i.artist_id 1 + i.license_id 17 + i.md5 '3fc5bff90c8d9de21bb1549921ae31f7' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :picture051, :class => Picture do |i| + i.original_picture_id 51 + i.revision 1 + i.ext 'png' + i.width 347 + i.height 465 + i.filesize 9220 + i.artist_id 1 + i.license_id 17 + i.md5 'c53aca0c1a8b53441aebd1e4665822e2' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :picture052, :class => Picture do |i| + i.original_picture_id 52 + i.revision 1 + i.ext 'png' + i.width 500 + i.height 500 + i.filesize 7048 + i.artist_id 1 + i.license_id 17 + i.md5 '97260023fbc02fea6da71b1e9d505ab5' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :picture053, :class => Picture do |i| + i.original_picture_id 53 + i.revision 1 + i.ext 'png' + i.width 402 + i.height 283 + i.filesize 5769 + i.artist_id 1 + i.license_id 17 + i.md5 'f9a1b216b15c4090ae3cf6ba15309b6b' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :picture054, :class => Picture do |i| + i.original_picture_id 54 + i.revision 1 + i.ext 'png' + i.width 267 + i.height 292 + i.filesize 8218 + i.artist_id 1 + i.license_id 17 + i.md5 '433a3ca636801572cb2afaa06ab88e01' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :picture055, :class => Picture do |i| + i.original_picture_id 55 + i.revision 1 + i.ext 'png' + i.width 292 + i.height 370 + i.filesize 6295 + i.artist_id 1 + i.license_id 17 + i.md5 'd92742e1a608bf9c878d8428a88c394c' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :picture056, :class => Picture do |i| + i.original_picture_id 56 + i.revision 1 + i.ext 'png' + i.width 276 + i.height 366 + i.filesize 5975 + i.artist_id 1 + i.license_id 17 + i.md5 '0e7ada29ff588b23e018378655d7a24b' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :picture057, :class => Picture do |i| + i.original_picture_id 57 + i.revision 1 + i.ext 'png' + i.width 301 + i.height 395 + i.filesize 10720 + i.artist_id 1 + i.license_id 17 + i.md5 '9aa4f8ea63e72f91809697c9b9edb4c6' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :picture058, :class => Picture do |i| + i.original_picture_id 58 + i.revision 1 + i.ext 'png' + i.width 332 + i.height 448 + i.filesize 6622 + i.artist_id 1 + i.license_id 17 + i.md5 'e0088f8af62602f8118f632ff388f687' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :picture059, :class => Picture do |i| + i.original_picture_id 59 + i.revision 1 + i.ext 'png' + i.width 332 + i.height 428 + i.filesize 6246 + i.artist_id 1 + i.license_id 17 + i.md5 '03f408c6c4330be8f3ee53325e9874b6' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :picture060, :class => Picture do |i| + i.original_picture_id 60 + i.revision 1 + i.ext 'png' + i.width 457 + i.height 339 + i.filesize 7195 + i.artist_id 1 + i.license_id 17 + i.md5 'fcf1b04c01621eaa08a95ddf4e59ce0b' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :picture061, :class => Picture do |i| + i.original_picture_id 61 + i.revision 1 + i.ext 'png' + i.width 327 + i.height 496 + i.filesize 10272 + i.artist_id 1 + i.license_id 17 + i.md5 '271438cc10bbdfa03ce8cd8a4736fc5f' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :picture062, :class => Picture do |i| + i.original_picture_id 62 + i.revision 1 + i.ext 'png' + i.width 354 + i.height 457 + i.filesize 8472 + i.artist_id 1 + i.license_id 17 + i.md5 '1ba7ed83cf5246c8cb4973d1fdb307d0' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :picture063, :class => Picture do |i| + i.original_picture_id 63 + i.revision 1 + i.ext 'png' + i.width 460 + i.height 412 + i.filesize 6492 + i.artist_id 1 + i.license_id 17 + i.md5 '2b0a035e5d0639cc0cdffece77c3371a' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :picture064, :class => Picture do |i| + i.original_picture_id 64 + i.revision 1 + i.ext 'png' + i.width 413 + i.height 455 + i.filesize 8565 + i.artist_id 1 + i.license_id 17 + i.md5 '8bcf0233d9897ef40884e2edda448c2c' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :picture065, :class => Picture do |i| + i.original_picture_id 65 + i.revision 1 + i.ext 'png' + i.width 482 + i.height 448 + i.filesize 8138 + i.artist_id 1 + i.license_id 17 + i.md5 '2ed7e69aa3651b78e162df110cb4f84b' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :picture066, :class => Picture do |i| + i.original_picture_id 66 + i.revision 1 + i.ext 'png' + i.width 490 + i.height 440 + i.filesize 18649 + i.artist_id 1 + i.license_id 17 + i.md5 '4cd4a4dc1ff0e5ab62b533d441d3df81' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :picture067, :class => Picture do |i| + i.original_picture_id 67 + i.revision 1 + i.ext 'png' + i.width 463 + i.height 475 + i.filesize 8003 + i.artist_id 1 + i.license_id 17 + i.md5 '835af0eb9273c1181f19734bba16678b' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :picture068, :class => Picture do |i| + i.original_picture_id 68 + i.revision 1 + i.ext 'png' + i.width 354 + i.height 437 + i.filesize 9003 + i.artist_id 1 + i.license_id 17 + i.md5 '03a86d4aa3336229cfb07fd5d739008d' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :picture069, :class => Picture do |i| + i.original_picture_id 69 + i.revision 1 + i.ext 'png' + i.width 350 + i.height 439 + i.filesize 10585 + i.artist_id 1 + i.license_id 17 + i.md5 'afb798783f8e92f2821726e8fd60e9ab' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :picture070, :class => Picture do |i| + i.original_picture_id 70 + i.revision 1 + i.ext 'png' + i.width 355 + i.height 426 + i.filesize 7524 + i.artist_id 1 + i.license_id 17 + i.md5 'd4fda4fa79dfbf6c2b308900a5aad58a' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :picture071, :class => Picture do |i| + i.original_picture_id 71 + i.revision 1 + i.ext 'png' + i.width 371 + i.height 473 + i.filesize 8797 + i.artist_id 1 + i.license_id 17 + i.md5 'ffa37b26ad70b236e34ec5ed1f4694ea' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :picture072, :class => Picture do |i| + i.original_picture_id 72 + i.revision 1 + i.ext 'png' + i.width 421 + i.height 441 + i.filesize 19332 + i.artist_id 1 + i.license_id 17 + i.md5 '9ad676f7ca68093f4f1b68b1a1e03196' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :picture073, :class => Picture do |i| + i.original_picture_id 73 + i.revision 1 + i.ext 'png' + i.width 359 + i.height 448 + i.filesize 8866 + i.artist_id 1 + i.license_id 17 + i.md5 '248594d80bc2d60d62619111687ca56e' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :picture074, :class => Picture do |i| + i.original_picture_id 74 + i.revision 1 + i.ext 'png' + i.width 361 + i.height 413 + i.filesize 5746 + i.artist_id 1 + i.license_id 17 + i.md5 '96cfc77882c80d919a575b640292e77a' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :picture075, :class => Picture do |i| + i.original_picture_id 75 + i.revision 1 + i.ext 'png' + i.width 444 + i.height 444 + i.filesize 10852 + i.artist_id 1 + i.license_id 17 + i.md5 'ef758cade8361976f1bdbb9e4b636f0f' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :picture076, :class => Picture do |i| + i.original_picture_id 76 + i.revision 1 + i.ext 'png' + i.width 376 + i.height 472 + i.filesize 8447 + i.artist_id 1 + i.license_id 17 + i.md5 'e3a4d1ee064426b4afb1dff3f9f08aed' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :picture077, :class => Picture do |i| + i.original_picture_id 77 + i.revision 1 + i.ext 'png' + i.width 371 + i.height 471 + i.filesize 15983 + i.artist_id 1 + i.license_id 17 + i.md5 '24d954303212ec2932c8e3f56097e533' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :picture078, :class => Picture do |i| + i.original_picture_id 78 + i.revision 1 + i.ext 'png' + i.width 475 + i.height 438 + i.filesize 10173 + i.artist_id 1 + i.license_id 17 + i.md5 'e29dcacd2d4e9aa284deae070b9ecf7f' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :picture079, :class => Picture do |i| + i.original_picture_id 79 + i.revision 1 + i.ext 'png' + i.width 328 + i.height 468 + i.filesize 10226 + i.artist_id 1 + i.license_id 17 + i.md5 '42f92645aec9774113df576e4603c96b' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :picture080, :class => Picture do |i| + i.original_picture_id 80 + i.revision 1 + i.ext 'png' + i.width 379 + i.height 447 + i.filesize 9492 + i.artist_id 1 + i.license_id 17 + i.md5 'e446cc59f71f238843ed033001d1a8b7' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :picture081, :class => Picture do |i| + i.original_picture_id 81 + i.revision 1 + i.ext 'png' + i.width 311 + i.height 462 + i.filesize 9461 + i.artist_id 1 + i.license_id 17 + i.md5 'cee0a79baee5f8b54fb97f49509bc919' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :picture082, :class => Picture do |i| + i.original_picture_id 82 + i.revision 1 + i.ext 'png' + i.width 395 + i.height 437 + i.filesize 8213 + i.artist_id 1 + i.license_id 17 + i.md5 'c569dd00107e0bf2270110cb43eac0eb' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :picture083, :class => Picture do |i| + i.original_picture_id 83 + i.revision 1 + i.ext 'png' + i.width 346 + i.height 455 + i.filesize 7629 + i.artist_id 1 + i.license_id 17 + i.md5 'c35725d5bc782df86e6c0b0f42d5e7b7' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :picture084, :class => Picture do |i| + i.original_picture_id 84 + i.revision 1 + i.ext 'png' + i.width 404 + i.height 485 + i.filesize 10931 + i.artist_id 1 + i.license_id 17 + i.md5 'c16bb6ac7a06185b0653d106688407af' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :picture085, :class => Picture do |i| + i.original_picture_id 85 + i.revision 1 + i.ext 'png' + i.width 438 + i.height 367 + i.filesize 14810 + i.artist_id 1 + i.license_id 17 + i.md5 'a18758594ed3f3464e4ddcaf73d5952b' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :picture086, :class => Picture do |i| + i.original_picture_id 86 + i.revision 1 + i.ext 'png' + i.width 366 + i.height 464 + i.filesize 8778 + i.artist_id 1 + i.license_id 17 + i.md5 'dad7f56f3a48d9241e5a1625979bfa31' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :picture087, :class => Picture do |i| + i.original_picture_id 87 + i.revision 1 + i.ext 'png' + i.width 349 + i.height 426 + i.filesize 9474 + i.artist_id 1 + i.license_id 17 + i.md5 'b77ae189b74a415ab7743ca0b9a0faed' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :picture088, :class => Picture do |i| + i.original_picture_id 88 + i.revision 1 + i.ext 'png' + i.width 320 + i.height 399 + i.filesize 8109 + i.artist_id 1 + i.license_id 17 + i.md5 '8f4da6415dda062640016266de69fc04' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :picture089, :class => Picture do |i| + i.original_picture_id 89 + i.revision 1 + i.ext 'png' + i.width 313 + i.height 491 + i.filesize 7695 + i.artist_id 1 + i.license_id 17 + i.md5 '2af94a767abb8efd2ff75c6a6f5d306b' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :picture090, :class => Picture do |i| + i.original_picture_id 90 + i.revision 1 + i.ext 'png' + i.width 334 + i.height 403 + i.filesize 8275 + i.artist_id 1 + i.license_id 17 + i.md5 'f6dbdd4ff7bb27687651bba7c5450001' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :picture091, :class => Picture do |i| + i.original_picture_id 91 + i.revision 1 + i.ext 'png' + i.width 374 + i.height 471 + i.filesize 10619 + i.artist_id 1 + i.license_id 17 + i.md5 'e7416e1ee2a45e5a3247561f7ad48774' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :picture092, :class => Picture do |i| + i.original_picture_id 92 + i.revision 1 + i.ext 'png' + i.width 500 + i.height 500 + i.filesize 14377 + i.artist_id 1 + i.license_id 17 + i.md5 'b29f571fba3c481904d0357d7d8645f1' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :picture093, :class => Picture do |i| + i.original_picture_id 93 + i.revision 1 + i.ext 'png' + i.width 354 + i.height 379 + i.filesize 7316 + i.artist_id 1 + i.license_id 17 + i.md5 'abc7047bf1313cb5a9d770e30593bd07' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :picture094, :class => Picture do |i| + i.original_picture_id 94 + i.revision 1 + i.ext 'png' + i.width 354 + i.height 465 + i.filesize 8940 + i.artist_id 1 + i.license_id 17 + i.md5 '1c3cc9eeb8d0b93f7f7039006b220d7c' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :picture095, :class => Picture do |i| + i.original_picture_id 95 + i.revision 1 + i.ext 'png' + i.width 392 + i.height 480 + i.filesize 9383 + i.artist_id 1 + i.license_id 17 + i.md5 '6f0d4bb64e3f0c40433e76f776336a15' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :picture096, :class => Picture do |i| + i.original_picture_id 96 + i.revision 1 + i.ext 'png' + i.width 404 + i.height 425 + i.filesize 9341 + i.artist_id 1 + i.license_id 17 + i.md5 '148432649c7ea64906542657e60bc554' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :picture097, :class => Picture do |i| + i.original_picture_id 97 + i.revision 1 + i.ext 'png' + i.width 441 + i.height 463 + i.filesize 9969 + i.artist_id 1 + i.license_id 17 + i.md5 'c21e6e1adbca9fdc001a5773bee2dcfd' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :picture098, :class => Picture do |i| + i.original_picture_id 98 + i.revision 1 + i.ext 'png' + i.width 500 + i.height 500 + i.filesize 11075 + i.artist_id 1 + i.license_id 17 + i.md5 'c9640e864d87dc2fb45d227eb23929e0' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :picture099, :class => Picture do |i| + i.original_picture_id 99 + i.revision 1 + i.ext 'png' + i.width 471 + i.height 288 + i.filesize 6431 + i.artist_id 1 + i.license_id 17 + i.md5 'c32b899a0fbee95331bde26491121404' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :picture100, :class => Picture do |i| + i.original_picture_id 100 + i.revision 1 + i.ext 'png' + i.width 453 + i.height 386 + i.filesize 6431 + i.artist_id 1 + i.license_id 17 + i.md5 '32939e270c460430e1c9dfa2165f7d91' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :picture101, :class => Picture do |i| + i.original_picture_id 101 + i.revision 1 + i.ext 'png' + i.width 405 + i.height 473 + i.filesize 9055 + i.artist_id 1 + i.license_id 17 + i.md5 '5daffd1cec721d273e0985d42efc53ce' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :picture102, :class => Picture do |i| + i.original_picture_id 102 + i.revision 1 + i.ext 'png' + i.width 500 + i.height 500 + i.filesize 7700 + i.artist_id 1 + i.license_id 17 + i.md5 '6f0bd104bb899285570a2080b9479129' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :picture103, :class => Picture do |i| + i.original_picture_id 103 + i.revision 1 + i.ext 'png' + i.width 449 + i.height 474 + i.filesize 11879 + i.artist_id 1 + i.license_id 17 + i.md5 '2d3a0b62dda664bdb033ef194df0c9f1' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :picture104, :class => Picture do |i| + i.original_picture_id 104 + i.revision 1 + i.ext 'png' + i.width 401 + i.height 484 + i.filesize 8310 + i.artist_id 1 + i.license_id 17 + i.md5 '7e0ac691510d872f17404074305a005e' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :picture105, :class => Picture do |i| + i.original_picture_id 105 + i.revision 1 + i.ext 'png' + i.width 309 + i.height 432 + i.filesize 5728 + i.artist_id 1 + i.license_id 17 + i.md5 '7a3ef4d869da8867cafa1a802af20e92' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :picture106, :class => Picture do |i| + i.original_picture_id 106 + i.revision 1 + i.ext 'png' + i.width 353 + i.height 357 + i.filesize 6655 + i.artist_id 1 + i.license_id 17 + i.md5 '470fdc46265d0ad5c6e75cdeb3031c03' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :picture107, :class => Picture do |i| + i.original_picture_id 107 + i.revision 1 + i.ext 'png' + i.width 244 + i.height 367 + i.filesize 15494 + i.artist_id 1 + i.license_id 17 + i.md5 'dfdbc3040b3a9dc2e85b2acbab471a5b' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :picture108, :class => Picture do |i| + i.original_picture_id 108 + i.revision 1 + i.ext 'png' + i.width 257 + i.height 380 + i.filesize 5857 + i.artist_id 1 + i.license_id 17 + i.md5 '392de065771389740aad972556d51067' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :picture109, :class => Picture do |i| + i.original_picture_id 109 + i.revision 1 + i.ext 'png' + i.width 401 + i.height 425 + i.filesize 6405 + i.artist_id 1 + i.license_id 17 + i.md5 '2494451f8bb5aeb2faf572e89ab528d9' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :picture110, :class => Picture do |i| + i.original_picture_id 110 + i.revision 1 + i.ext 'png' + i.width 378 + i.height 348 + i.filesize 5104 + i.artist_id 1 + i.license_id 17 + i.md5 'cc7251d8d30d1176d2f14ccd1a1bb121' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :picture111, :class => Picture do |i| + i.original_picture_id 112 + i.revision 1 + i.ext 'png' + i.width 185 + i.height 45 + i.filesize 10476 + i.artist_id 1 + i.license_id 1 + i.md5 '78116e93bb0917ed5a9a6cbdb305b343' + i.system_picture_id 3 + i.license_group_settings '{"open":0,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":-1,"reverse":-1,"sync_vh":1,"overlap":1}' + i.credit_picture_settings '{"source_url_btn_id":1,"source_url_off_btn_id":2}' + i.license_settings '{"caption":"","artist_url":"","source_url":"","more_permission_url":""}' + i.license_group_module_name 'PettanrCreativeCommonsV30Licenses' + end + factory :picture112, :class => Picture do |i| + i.original_picture_id 111 + i.revision 1 + i.ext 'png' + i.width 266 + i.height 268 + i.filesize 48507 + i.artist_id 1 + i.license_id 13 + i.md5 '7cc3c9ff7b7c6a15b822ce44ab4f84f3' + i.system_picture_id 15 + i.license_group_settings '{"open":-1,"commercial":-1,"official":0,"attribution":1,"derive":-1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1,"source_url_off_btn_id":2}' + i.license_settings '{"caption":"","sources":""}' + i.license_group_module_name 'PettanrPettanProtectedV01Licenses' + end + factory :picture113, :class => Picture do |i| + i.original_picture_id 111 + i.revision 2 + i.ext 'png' + i.width 266 + i.height 268 + i.filesize 48507 + i.artist_id 1 + i.license_id 17 + i.md5 '7cc3c9ff7b7c6a15b822ce44ab4f84f3' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"","sources":""}' + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :picture114, :class => Picture do |i| + i.original_picture_id 111 + i.revision 3 + i.ext 'png' + i.width 266 + i.height 268 + i.filesize 48507 + i.artist_id 1 + i.license_id 21 + i.md5 '7cc3c9ff7b7c6a15b822ce44ab4f84f3' + i.system_picture_id 22 + i.license_group_settings '{"open":0,"commercial":1,"official":0,"attribution":0,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1,"source_url_off_btn_id":2}' + i.license_settings '{"source_url":"","note":""}' + i.license_group_module_name 'PettanrPublicDomainV01Licenses' + end + factory :picture115, :class => Picture do |i| + i.original_picture_id 111 + i.revision 4 + i.ext 'png' + i.width 266 + i.height 268 + i.filesize 48507 + i.artist_id 1 + i.license_id 23 + i.md5 '7cc3c9ff7b7c6a15b822ce44ab4f84f3' + i.system_picture_id 24 + i.license_group_settings '{"open":0,"commercial":1,"official":0,"attribution":-1,"derive":-1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1,"source_url_off_btn_id":2}' + i.license_settings '{"source_url":"","note":""}' + i.license_group_module_name 'PettanrUnknownV01Licenses' + end + factory :picture116, :class => Picture do |i| + i.original_picture_id 111 + i.revision 5 + i.ext 'png' + i.width 266 + i.height 268 + i.filesize 48507 + i.artist_id 1 + i.license_id 7 + i.md5 '7cc3c9ff7b7c6a15b822ce44ab4f84f3' + i.system_picture_id 9 + i.license_group_settings '{"open":0,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1}' + i.credit_picture_settings '{"source_url_btn_id":1,"source_url_off_btn_id":2}' + i.license_settings '{"caption":"","sources":""}' + i.license_group_module_name 'PettanrPettanCommonsV01Licenses' + end + factory :picture117, :class => Picture do |i| + i.original_picture_id 114 + i.revision 1 + i.ext 'png' + i.width 640 + i.height 400 + i.filesize 40895 + i.artist_id 1 + i.license_id 17 + i.md5 '58a85fea91d3a7152895f7ee416324a4' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"","sources":""}' + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :picture118, :class => Picture do |i| + i.original_picture_id 117 + i.revision 1 + i.ext 'png' + i.width 290 + i.height 180 + i.filesize 9923 + i.artist_id 1 + i.license_id 23 + i.md5 '3fdaf2192d6fbdb95196f594442c825d' + i.system_picture_id 24 + i.license_group_settings '{"open":0,"commercial":1,"official":0,"attribution":-1,"derive":-1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1,"source_url_off_btn_id":2}' + i.license_settings '{"source_url":"http://ja.wikipedia.org/wiki/%E5%90%8D%E5%8F%A4%E5%B1%8B%E9%A7%85","note":"nnn"}' + i.license_group_module_name 'PettanrUnknownV01Licenses' + end + factory :picture119, :class => Picture do |i| + i.original_picture_id 116 + i.revision 1 + i.ext 'png' + i.width 187 + i.height 64 + i.filesize 5474 + i.artist_id 1 + i.license_id 21 + i.md5 'f933b801b953bcf07185fcb931ebd560' + i.system_picture_id 22 + i.license_group_settings '{"open":0,"commercial":1,"official":0,"attribution":0,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1,"source_url_off_btn_id":2}' + i.license_settings '{"source_url":"http://localhost:3000/system/waiting_list","note":"bbb"}' + i.license_group_module_name 'PettanrPublicDomainV01Licenses' + end + factory :picture120, :class => Picture do |i| + i.original_picture_id 115 + i.revision 1 + i.ext 'png' + i.width 119 + i.height 76 + i.filesize 1117 + i.artist_id 1 + i.license_id 17 + i.md5 'd8f906c2a118d7db5d1016a5a546419e' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"bbb","sources":"aaa"}' + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :picture121, :class => Picture do |i| + i.original_picture_id 119 + i.revision 1 + i.ext 'png' + i.width 253 + i.height 400 + i.filesize 64204 + i.artist_id 1 + i.license_id 1 + i.md5 '649ae0020930827c9c4b174a3972ec81' + i.system_picture_id 3 + i.license_group_settings '{"open":0,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":-1,"reverse":-1,"sync_vh":1,"overlap":1}' + i.credit_picture_settings '{"source_url_btn_id":1,"source_url_off_btn_id":2}' + i.license_settings '{"license_id":1,"artist_name":"\u30da\u30f3\u6b21\u90ce","caption":"aaazzz","artist_url":"http://localhost:3000/zzz","source_url":"http://localhost:3000/xxx","more_permission_url":"http://localhost:3000/ccc"}' + i.license_group_module_name 'PettanrCreativeCommonsV30Licenses' + end + factory :picture122, :class => Picture do |i| + i.original_picture_id 120 + i.revision 1 + i.ext 'png' + i.width 403 + i.height 141 + i.filesize 12588 + i.artist_id 1 + i.license_id 7 + i.md5 '04d377d968557a6092bccb1617db5a65' + i.system_picture_id 9 + i.license_group_settings '{"open":0,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1}' + i.credit_picture_settings '{"source_url_btn_id":1,"source_url_off_btn_id":2}' + i.license_settings '{"license_id":7,"artist_name":"\u30da\u30f3\u6b21\u90ce","caption":"zzzzz","sources":""}' + i.license_group_module_name 'PettanrPettanCommonsV01Licenses' + end + factory :picture123, :class => Picture do |i| + i.original_picture_id 121 + i.revision 1 + i.ext 'png' + i.width 403 + i.height 141 + i.filesize 12588 + i.artist_id 1 + i.license_id 22 + i.md5 '04d377d968557a6092bccb1617db5a65' + i.system_picture_id 23 + i.license_group_settings '{"open":0,"commercial":1,"official":0,"attribution":0,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1,"source_url_off_btn_id":2}' + i.license_settings '{"license_id":22,"artist_name":"\u30da\u30f3\u6b21\u90ce","source_url":"http://localhost:3000/comics","note":""}' + i.license_group_module_name 'PettanrPublicDomainV01Licenses' + end + factory :picture124, :class => Picture do |i| + i.original_picture_id 122 + i.revision 1 + i.ext 'png' + i.width 403 + i.height 141 + i.filesize 17637 + i.artist_id 1 + i.license_id 1 + i.md5 '431810d6bf98fed2e7c4f9a6b821360d' + i.system_picture_id 3 + i.license_group_settings '{"open":0,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":-1,"reverse":-1,"sync_vh":1,"overlap":1}' + i.credit_picture_settings '{"source_url_btn_id":1,"source_url_off_btn_id":2}' + i.license_settings '{"license_id":1,"artist_name":"\u30da\u30f3\u6b21\u90ce","caption":"","artist_url":"","source_url":"","more_permission_url":""}' + i.license_group_module_name 'PettanrCreativeCommonsV30Licenses' + end + factory :picture125, :class => Picture do |i| + i.original_picture_id 123 + i.revision 1 + i.ext 'png' + i.width 403 + i.height 141 + i.filesize 20935 + i.artist_id 1 + i.license_id 13 + i.md5 'a4212c1a42d241a1351fc139b20de70b' + i.system_picture_id 15 + i.license_group_settings '{"open":-1,"commercial":-1,"official":0,"attribution":1,"derive":-1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1,"source_url_off_btn_id":2}' + i.license_settings '{"license_id":13,"artist_name":"\u30da\u30f3\u6b21\u90ce","caption":"","sources":""}' + i.license_group_module_name 'PettanrPettanProtectedV01Licenses' + end + factory :picture126, :class => Picture do |i| + i.original_picture_id 125 + i.revision 1 + i.ext 'png' + i.width 185 + i.height 45 + i.filesize 10476 + i.artist_id 1 + i.license_id 17 + i.md5 '78116e93bb0917ed5a9a6cbdb305b343' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"license_id":17,"artist_name":"\u30da\u30f3\u6b21\u90ce","caption":"","sources":""}' + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :picture127, :class => Picture do |i| + i.original_picture_id 126 + i.revision 1 + i.ext 'png' + i.width 249 + i.height 289 + i.filesize 2656 + i.artist_id 1 + i.license_id 7 + i.md5 '026a5c81ae60918707d4236a41ae8fe0' + i.system_picture_id 9 + i.license_group_settings '{"open":0,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1}' + i.credit_picture_settings '{"source_url_btn_id":1,"source_url_off_btn_id":2}' + i.license_settings '{"license_id":7,"artist_name":"\u30da\u30f3\u6b21\u90ce","caption":"","sources":""}' + i.license_group_module_name 'PettanrPettanCommonsV01Licenses' + end + factory :picture128, :class => Picture do |i| + i.original_picture_id 127 + i.revision 1 + i.ext 'png' + i.width 249 + i.height 289 + i.filesize 2656 + i.artist_id 1 + i.license_id 17 + i.md5 '026a5c81ae60918707d4236a41ae8fe0' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"license_id":17,"artist_name":"\u30da\u30f3\u6b21\u90ce","caption":"","sources":""}' + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :picture129, :class => Picture do |i| + i.original_picture_id 127 + i.revision 2 + i.ext 'png' + i.width 249 + i.height 289 + i.filesize 2656 + i.artist_id 1 + i.license_id 23 + i.md5 '026a5c81ae60918707d4236a41ae8fe0' + i.system_picture_id 24 + i.license_group_settings '{"open":0,"commercial":1,"official":0,"attribution":-1,"derive":-1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1,"source_url_off_btn_id":2}' + i.license_settings '{"license_id":23,"artist_name":"unknown","source_url":"","note":""}' + i.license_group_module_name 'PettanrUnknownV01Licenses' + end + factory :picture130, :class => Picture do |i| + i.original_picture_id 127 + i.revision 3 + i.ext 'png' + i.width 17 + i.height 17 + i.filesize 160 + i.artist_id 1 + i.license_id 23 + i.md5 '05722b184172adef876604239842c18b' + i.system_picture_id 24 + i.license_group_settings '{"open":0,"commercial":1,"official":0,"attribution":-1,"derive":-1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1,"source_url_off_btn_id":2}' + i.license_settings '{"license_id":23,"artist_name":"unknown","source_url":"","note":""}' + i.license_group_module_name 'PettanrUnknownV01Licenses' + end + factory :picture131, :class => Picture do |i| + i.original_picture_id 127 + i.revision 4 + i.ext 'png' + i.width 17 + i.height 17 + i.filesize 160 + i.artist_id 1 + i.license_id 10 + i.md5 '05722b184172adef876604239842c18b' + i.system_picture_id 12 + i.license_group_settings '{"open":0,"commercial":-1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1}' + i.credit_picture_settings '{"source_url_btn_id":1,"source_url_off_btn_id":2}' + i.license_settings '{"artist_name":"\u30da\u30f3\u6b21\u90ce","caption":"","sources":""}' + i.license_group_module_name 'PettanrPettanCommonsV01Licenses' + end + factory :picture132, :class => Picture do |i| + i.original_picture_id 127 + i.revision 5 + i.ext 'png' + i.width 17 + i.height 17 + i.filesize 160 + i.artist_id 1 + i.license_id 10 + i.md5 '05722b184172adef876604239842c18b' + i.system_picture_id 12 + i.license_group_settings '{"open":0,"commercial":-1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1}' + i.credit_picture_settings '{"source_url_btn_id":1,"source_url_off_btn_id":2}' + i.license_settings '{"artist_name":"\u30da\u30f3\u6b21\u90ce","caption":"","sources":""}' + i.license_group_module_name 'PettanrPettanCommonsV01Licenses' + end + factory :picture133, :class => Picture do |i| + i.original_picture_id 127 + i.revision 6 + i.ext 'png' + i.width 17 + i.height 17 + i.filesize 160 + i.artist_id 1 + i.license_id 10 + i.md5 '05722b184172adef876604239842c18b' + i.system_picture_id 12 + i.license_group_settings '{"open":0,"commercial":-1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1}' + i.credit_picture_settings '{"source_url_btn_id":1,"source_url_off_btn_id":2}' + i.license_settings '{"artist_name":"\u30da\u30f3\u6b21\u90ce","caption":"","sources":""}' + i.license_group_module_name 'PettanrPettanCommonsV01Licenses' + end + factory :picture134, :class => Picture do |i| + i.original_picture_id 127 + i.revision 7 + i.ext 'png' + i.width 17 + i.height 17 + i.filesize 160 + i.artist_id 1 + i.license_id 10 + i.md5 '05722b184172adef876604239842c18b' + i.system_picture_id 12 + i.license_group_settings '{"open":0,"commercial":-1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1}' + i.credit_picture_settings '{"source_url_btn_id":1,"source_url_off_btn_id":2}' + i.license_settings '{"artist_name":"\u30da\u30f3\u6b21\u90ce","caption":"","sources":""}' + i.license_group_module_name 'PettanrPettanCommonsV01Licenses' + end + factory :picture135, :class => Picture do |i| + i.original_picture_id 129 + i.revision 1 + i.ext 'png' + i.width 168 + i.height 105 + i.filesize 2101 + i.artist_id 1 + i.license_id 10 + i.md5 '824a6634f6f71536cdb207a64c1ce761' + i.system_picture_id 12 + i.license_group_settings '{"open":0,"commercial":-1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1}' + i.credit_picture_settings '{"source_url_btn_id":1,"source_url_off_btn_id":2}' + i.license_settings '{"artist_name":"\u30da\u30f3\u6b21\u90ce","caption":"","sources":""}' + i.license_group_module_name 'PettanrPettanCommonsV01Licenses' + end + factory :picture136, :class => Picture do |i| + i.original_picture_id 129 + i.revision 2 + i.ext 'png' + i.width 168 + i.height 105 + i.filesize 2101 + i.artist_id 1 + i.license_id 22 + i.md5 '824a6634f6f71536cdb207a64c1ce761' + i.system_picture_id 23 + i.license_group_settings '{"open":0,"commercial":1,"official":0,"attribution":0,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1,"source_url_off_btn_id":2}' + i.license_settings '{"artist_name":"\u30da\u30f3\u6b21\u90ce","source_url":"","note":""}' + i.license_group_module_name 'PettanrPublicDomainV01Licenses' + end + factory :picture137, :class => Picture do |i| + i.original_picture_id 129 + i.revision 3 + i.ext 'png' + i.width 168 + i.height 105 + i.filesize 2101 + i.artist_id 1 + i.license_id 20 + i.md5 '824a6634f6f71536cdb207a64c1ce761' + i.system_picture_id 21 + i.license_group_settings '{"open":1,"commercial":-1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":1}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"artist_name":"\u30da\u30f3\u6b21\u90ce","caption":"","sources":""}' + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :picture138, :class => Picture do |i| + i.original_picture_id 129 + i.revision 4 + i.ext 'png' + i.width 168 + i.height 105 + i.filesize 2101 + i.artist_id 1 + i.license_id 16 + i.md5 '824a6634f6f71536cdb207a64c1ce761' + i.system_picture_id 18 + i.license_group_settings '{"open":-1,"commercial":-1,"official":0,"attribution":1,"derive":-1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":1}' + i.credit_picture_settings '{"source_url_btn_id":1,"source_url_off_btn_id":2}' + i.license_settings '{"artist_name":"\u30da\u30f3\u6b21\u90ce","caption":"","sources":""}' + i.license_group_module_name 'PettanrPettanProtectedV01Licenses' + end + factory :picture139, :class => Picture do |i| + i.original_picture_id 129 + i.revision 5 + i.ext 'png' + i.width 168 + i.height 105 + i.filesize 2101 + i.artist_id 1 + i.license_id 4 + i.md5 '824a6634f6f71536cdb207a64c1ce761' + i.system_picture_id 6 + i.license_group_settings '{"open":0,"commercial":-1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":-1,"reverse":-1,"sync_vh":1,"overlap":1}' + i.credit_picture_settings '{"source_url_btn_id":1,"source_url_off_btn_id":2}' + i.license_settings '{"artist_name":"\u30da\u30f3\u6b21\u90ce","caption":"","artist_url":"","source_url":"","more_permission_url":""}' + i.license_group_module_name 'PettanrCreativeCommonsV30Licenses' + end + factory :picture140, :class => Picture do |i| + i.original_picture_id 129 + i.revision 6 + i.ext 'png' + i.width 168 + i.height 105 + i.filesize 2101 + i.artist_id 1 + i.license_id 23 + i.md5 '824a6634f6f71536cdb207a64c1ce761' + i.system_picture_id 24 + i.license_group_settings '{"open":0,"commercial":1,"official":0,"attribution":-1,"derive":-1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1,"source_url_off_btn_id":2}' + i.license_settings '{"source_url":"","note":""}' + i.license_group_module_name 'PettanrUnknownV01Licenses' + end + factory :picture141, :class => Picture do |i| + i.original_picture_id 129 + i.revision 7 + i.ext 'png' + i.width 168 + i.height 105 + i.filesize 2101 + i.artist_id 1 + i.license_id 10 + i.md5 '824a6634f6f71536cdb207a64c1ce761' + i.system_picture_id 12 + i.license_group_settings '{"open":0,"commercial":-1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1}' + i.credit_picture_settings '{"source_url_btn_id":1,"source_url_off_btn_id":2}' + i.license_settings '{"artist_name":"\u30da\u30f3\u6b21\u90ce","caption":"","sources":""}' + i.license_group_module_name 'PettanrPettanCommonsV01Licenses' + end +end diff --git a/spec/factories/plain_speech_balloon_balloon.rb b/spec/factories/plain_speech_balloon_balloon.rb new file mode 100644 index 00000000..d3f5a12f --- /dev/null +++ b/spec/factories/plain_speech_balloon_balloon.rb @@ -0,0 +1 @@ + diff --git a/spec/factories/plain_speech_balloon_speech.rb b/spec/factories/plain_speech_balloon_speech.rb new file mode 100644 index 00000000..d3f5a12f --- /dev/null +++ b/spec/factories/plain_speech_balloon_speech.rb @@ -0,0 +1 @@ + diff --git a/spec/factories/plain_speech_balloon_speech_balloon.rb b/spec/factories/plain_speech_balloon_speech_balloon.rb new file mode 100644 index 00000000..d3f5a12f --- /dev/null +++ b/spec/factories/plain_speech_balloon_speech_balloon.rb @@ -0,0 +1 @@ + diff --git a/spec/factories/resource_picture.rb b/spec/factories/resource_picture.rb new file mode 100644 index 00000000..7cf1250d --- /dev/null +++ b/spec/factories/resource_picture.rb @@ -0,0 +1,2128 @@ +# -*- encoding: utf-8 -*- +FactoryGirl.define do + factory :resource_picture001, :class => ResourcePicture do |i| + i.original_picture_id 1 + i.ext 'gif' + i.width 256 + i.height 326 + i.filesize 3996 + i.artist_id 1 + i.license_group_id 7 + i.license_id 7 + i.md5 '7033980b1c1ee6d6af6fa6c3cd2b3a59' + i.system_picture_id 9 + i.license_group_settings '{"open":0,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1}' + i.credit_picture_settings '{"source_url_btn_id":1,"source_url_off_btn_id":2}' + i.license_settings '{"caption":"\u3069\u3046\u3067\u3082\u3044\u3044\u5974","sources":""}' + i.picture_id 1 + i.license_group_module_name 'PettanrPettanCommonsV01Licenses' + end + factory :resource_picture002, :class => ResourcePicture do |i| + i.original_picture_id 2 + i.ext 'gif' + i.width 303 + i.height 315 + i.filesize 4511 + i.artist_id 1 + i.license_group_id 7 + i.license_id 7 + i.md5 '9e4ea4adf24e68ce8a5e504393dda0f5' + i.system_picture_id 9 + i.license_group_settings '{"open":0,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1}' + i.credit_picture_settings '{"source_url_btn_id":1,"source_url_off_btn_id":2}' + i.license_settings '{"caption":"\u3069\u3046\u3067\u3082\u3044\u3044\u5974","sources":""}' + i.picture_id 2 + i.license_group_module_name 'PettanrPettanCommonsV01Licenses' + end + factory :resource_picture003, :class => ResourcePicture do |i| + i.original_picture_id 3 + i.ext 'gif' + i.width 466 + i.height 385 + i.filesize 4442 + i.artist_id 1 + i.license_group_id 7 + i.license_id 7 + i.md5 '42a7fd312dc3b5f7a8e417f7c8f9ec42' + i.system_picture_id 9 + i.license_group_settings '{"open":0,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1}' + i.credit_picture_settings '{"source_url_btn_id":1,"source_url_off_btn_id":2}' + i.license_settings '{"caption":"\u3069\u3046\u3067\u3082\u3044\u3044\u5974","sources":""}' + i.picture_id 3 + i.license_group_module_name 'PettanrPettanCommonsV01Licenses' + end + factory :resource_picture004, :class => ResourcePicture do |i| + i.original_picture_id 4 + i.ext 'gif' + i.width 433 + i.height 176 + i.filesize 2042 + i.artist_id 1 + i.license_group_id 7 + i.license_id 7 + i.md5 '8993dd46d40ec0866ce3c5cab99009a4' + i.system_picture_id 9 + i.license_group_settings '{"open":0,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1}' + i.credit_picture_settings '{"source_url_btn_id":1,"source_url_off_btn_id":2}' + i.license_settings '{"caption":"\u3069\u3046\u3067\u3082\u3044\u3044\u5974","sources":""}' + i.picture_id 4 + i.license_group_module_name 'PettanrPettanCommonsV01Licenses' + end + factory :resource_picture005, :class => ResourcePicture do |i| + i.original_picture_id 5 + i.ext 'gif' + i.width 127 + i.height 87 + i.filesize 797 + i.artist_id 1 + i.license_group_id 7 + i.license_id 7 + i.md5 '6803b06433848abaf5ac2e0b3402aa86' + i.system_picture_id 9 + i.license_group_settings '{"open":0,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1}' + i.credit_picture_settings '{"source_url_btn_id":1,"source_url_off_btn_id":2}' + i.license_settings '{"caption":"\u3069\u3046\u3067\u3082\u3044\u3044\u5974","sources":""}' + i.picture_id 5 + i.license_group_module_name 'PettanrPettanCommonsV01Licenses' + end + factory :resource_picture006, :class => ResourcePicture do |i| + i.original_picture_id 6 + i.ext 'gif' + i.width 186 + i.height 203 + i.filesize 2737 + i.artist_id 1 + i.license_group_id 7 + i.license_id 7 + i.md5 '98462369a56dd619152bc0541883eab9' + i.system_picture_id 9 + i.license_group_settings '{"open":0,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1}' + i.credit_picture_settings '{"source_url_btn_id":1,"source_url_off_btn_id":2}' + i.license_settings '{"caption":"\u3069\u3046\u3067\u3082\u3044\u3044\u5974","sources":""}' + i.picture_id 6 + i.license_group_module_name 'PettanrPettanCommonsV01Licenses' + end + factory :resource_picture007, :class => ResourcePicture do |i| + i.original_picture_id 7 + i.ext 'gif' + i.width 116 + i.height 84 + i.filesize 784 + i.artist_id 1 + i.license_group_id 7 + i.license_id 7 + i.md5 '2d6e9c07ad92732010a5de158f66ee9f' + i.system_picture_id 9 + i.license_group_settings '{"open":0,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1}' + i.credit_picture_settings '{"source_url_btn_id":1,"source_url_off_btn_id":2}' + i.license_settings '{"caption":"\u3069\u3046\u3067\u3082\u3044\u3044\u5974","sources":""}' + i.picture_id 7 + i.license_group_module_name 'PettanrPettanCommonsV01Licenses' + end + factory :resource_picture008, :class => ResourcePicture do |i| + i.original_picture_id 8 + i.ext 'gif' + i.width 437 + i.height 432 + i.filesize 6301 + i.artist_id 1 + i.license_group_id 7 + i.license_id 7 + i.md5 'bbf0c2f16d1ffd586ba77235e63605c1' + i.system_picture_id 9 + i.license_group_settings '{"open":0,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1}' + i.credit_picture_settings '{"source_url_btn_id":1,"source_url_off_btn_id":2}' + i.license_settings '{"caption":"\u3069\u3046\u3067\u3082\u3044\u3044\u5974","sources":""}' + i.picture_id 8 + i.license_group_module_name 'PettanrPettanCommonsV01Licenses' + end + factory :resource_picture009, :class => ResourcePicture do |i| + i.original_picture_id 9 + i.ext 'gif' + i.width 362 + i.height 454 + i.filesize 6455 + i.artist_id 1 + i.license_group_id 7 + i.license_id 7 + i.md5 'b4611730a3a9dc15d79b4e6fbd0e3929' + i.system_picture_id 9 + i.license_group_settings '{"open":0,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1}' + i.credit_picture_settings '{"source_url_btn_id":1,"source_url_off_btn_id":2}' + i.license_settings '{"caption":"\u3069\u3046\u3067\u3082\u3044\u3044\u5974","sources":""}' + i.picture_id 9 + i.license_group_module_name 'PettanrPettanCommonsV01Licenses' + end + factory :resource_picture010, :class => ResourcePicture do |i| + i.original_picture_id 10 + i.ext 'gif' + i.width 285 + i.height 351 + i.filesize 2776 + i.artist_id 1 + i.license_group_id 7 + i.license_id 7 + i.md5 'd5e5ecacc0b6f8fb38bd6e9483e7b23b' + i.system_picture_id 9 + i.license_group_settings '{"open":0,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1}' + i.credit_picture_settings '{"source_url_btn_id":1,"source_url_off_btn_id":2}' + i.license_settings '{"caption":"\u3069\u3046\u3067\u3082\u3044\u3044\u5974","sources":""}' + i.picture_id 10 + i.license_group_module_name 'PettanrPettanCommonsV01Licenses' + end + factory :resource_picture011, :class => ResourcePicture do |i| + i.original_picture_id 11 + i.ext 'gif' + i.width 298 + i.height 403 + i.filesize 5915 + i.artist_id 1 + i.license_group_id 7 + i.license_id 7 + i.md5 '1d748b7a664729900b65aaae11dc19f8' + i.system_picture_id 9 + i.license_group_settings '{"open":0,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1}' + i.credit_picture_settings '{"source_url_btn_id":1,"source_url_off_btn_id":2}' + i.license_settings '{"caption":"\u3069\u3046\u3067\u3082\u3044\u3044\u5974","sources":""}' + i.picture_id 11 + i.license_group_module_name 'PettanrPettanCommonsV01Licenses' + end + factory :resource_picture012, :class => ResourcePicture do |i| + i.original_picture_id 12 + i.ext 'gif' + i.width 188 + i.height 222 + i.filesize 2427 + i.artist_id 1 + i.license_group_id 7 + i.license_id 7 + i.md5 'a79ffeef76af734a9b36899d9205fb44' + i.system_picture_id 9 + i.license_group_settings '{"open":0,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1}' + i.credit_picture_settings '{"source_url_btn_id":1,"source_url_off_btn_id":2}' + i.license_settings '{"caption":"\u3069\u3046\u3067\u3082\u3044\u3044\u5974","sources":""}' + i.picture_id 12 + i.license_group_module_name 'PettanrPettanCommonsV01Licenses' + end + factory :resource_picture013, :class => ResourcePicture do |i| + i.original_picture_id 13 + i.ext 'gif' + i.width 175 + i.height 208 + i.filesize 2166 + i.artist_id 1 + i.license_group_id 7 + i.license_id 7 + i.md5 '2f99c6fbb7fd5221d70881cb2695d774' + i.system_picture_id 9 + i.license_group_settings '{"open":0,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1}' + i.credit_picture_settings '{"source_url_btn_id":1,"source_url_off_btn_id":2}' + i.license_settings '{"caption":"\u3069\u3046\u3067\u3082\u3044\u3044\u5974","sources":""}' + i.picture_id 13 + i.license_group_module_name 'PettanrPettanCommonsV01Licenses' + end + factory :resource_picture014, :class => ResourcePicture do |i| + i.original_picture_id 14 + i.ext 'gif' + i.width 119 + i.height 484 + i.filesize 3530 + i.artist_id 1 + i.license_group_id 7 + i.license_id 7 + i.md5 'e1e3f94e97001cba888dff326775453c' + i.system_picture_id 9 + i.license_group_settings '{"open":0,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1}' + i.credit_picture_settings '{"source_url_btn_id":1,"source_url_off_btn_id":2}' + i.license_settings '{"caption":"\u3069\u3046\u3067\u3082\u3044\u3044\u5974","sources":""}' + i.picture_id 14 + i.license_group_module_name 'PettanrPettanCommonsV01Licenses' + end + factory :resource_picture015, :class => ResourcePicture do |i| + i.original_picture_id 15 + i.ext 'gif' + i.width 500 + i.height 101 + i.filesize 2554 + i.artist_id 1 + i.license_group_id 7 + i.license_id 7 + i.md5 '8df4558abe3cd638bac6cd09d503a5b5' + i.system_picture_id 9 + i.license_group_settings '{"open":0,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1}' + i.credit_picture_settings '{"source_url_btn_id":1,"source_url_off_btn_id":2}' + i.license_settings '{"caption":"\u3069\u3046\u3067\u3082\u3044\u3044\u5974","sources":""}' + i.picture_id 15 + i.license_group_module_name 'PettanrPettanCommonsV01Licenses' + end + factory :resource_picture016, :class => ResourcePicture do |i| + i.original_picture_id 16 + i.ext 'gif' + i.width 440 + i.height 194 + i.filesize 2948 + i.artist_id 1 + i.license_group_id 7 + i.license_id 7 + i.md5 'cbdb8c9137b13eaf14fb502cb57453b2' + i.system_picture_id 9 + i.license_group_settings '{"open":0,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1}' + i.credit_picture_settings '{"source_url_btn_id":1,"source_url_off_btn_id":2}' + i.license_settings '{"caption":"\u3069\u3046\u3067\u3082\u3044\u3044\u5974","sources":""}' + i.picture_id 16 + i.license_group_module_name 'PettanrPettanCommonsV01Licenses' + end + factory :resource_picture017, :class => ResourcePicture do |i| + i.original_picture_id 17 + i.ext 'gif' + i.width 500 + i.height 415 + i.filesize 8087 + i.artist_id 1 + i.license_group_id 7 + i.license_id 7 + i.md5 '0e72c6a9efda4a3672486fff60a02be5' + i.system_picture_id 9 + i.license_group_settings '{"open":0,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1}' + i.credit_picture_settings '{"source_url_btn_id":1,"source_url_off_btn_id":2}' + i.license_settings '{"caption":"\u3069\u3046\u3067\u3082\u3044\u3044\u5974","sources":""}' + i.picture_id 17 + i.license_group_module_name 'PettanrPettanCommonsV01Licenses' + end + factory :resource_picture018, :class => ResourcePicture do |i| + i.original_picture_id 18 + i.ext 'gif' + i.width 500 + i.height 331 + i.filesize 2422 + i.artist_id 1 + i.license_group_id 7 + i.license_id 7 + i.md5 'ea977fe9992ac15c85e88fdf587ae1d1' + i.system_picture_id 9 + i.license_group_settings '{"open":0,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1}' + i.credit_picture_settings '{"source_url_btn_id":1,"source_url_off_btn_id":2}' + i.license_settings '{"caption":"\u3069\u3046\u3067\u3082\u3044\u3044\u5974","sources":""}' + i.picture_id 18 + i.license_group_module_name 'PettanrPettanCommonsV01Licenses' + end + factory :resource_picture019, :class => ResourcePicture do |i| + i.original_picture_id 19 + i.ext 'gif' + i.width 500 + i.height 500 + i.filesize 4921 + i.artist_id 1 + i.license_group_id 7 + i.license_id 7 + i.md5 '893b1b5920dff3bf69dc32746d40b4d1' + i.system_picture_id 9 + i.license_group_settings '{"open":0,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1}' + i.credit_picture_settings '{"source_url_btn_id":1,"source_url_off_btn_id":2}' + i.license_settings '{"caption":"\u3069\u3046\u3067\u3082\u3044\u3044\u5974","sources":""}' + i.picture_id 19 + i.license_group_module_name 'PettanrPettanCommonsV01Licenses' + end + factory :resource_picture020, :class => ResourcePicture do |i| + i.original_picture_id 20 + i.ext 'gif' + i.width 500 + i.height 500 + i.filesize 9147 + i.artist_id 1 + i.license_group_id 7 + i.license_id 7 + i.md5 '65295a63fa09b326e4f37af756e26607' + i.system_picture_id 9 + i.license_group_settings '{"open":0,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1}' + i.credit_picture_settings '{"source_url_btn_id":1,"source_url_off_btn_id":2}' + i.license_settings '{"caption":"\u3069\u3046\u3067\u3082\u3044\u3044\u5974","sources":""}' + i.picture_id 20 + i.license_group_module_name 'PettanrPettanCommonsV01Licenses' + end + factory :resource_picture021, :class => ResourcePicture do |i| + i.original_picture_id 21 + i.ext 'gif' + i.width 500 + i.height 500 + i.filesize 9488 + i.artist_id 1 + i.license_group_id 7 + i.license_id 7 + i.md5 '550200df110943d93e6a71a9383834ed' + i.system_picture_id 9 + i.license_group_settings '{"open":0,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1}' + i.credit_picture_settings '{"source_url_btn_id":1,"source_url_off_btn_id":2}' + i.license_settings '{"caption":"\u3069\u3046\u3067\u3082\u3044\u3044\u5974","sources":""}' + i.picture_id 21 + i.license_group_module_name 'PettanrPettanCommonsV01Licenses' + end + factory :resource_picture022, :class => ResourcePicture do |i| + i.original_picture_id 22 + i.ext 'png' + i.width 42 + i.height 42 + i.filesize 2288 + i.artist_id 1 + i.license_group_id 7 + i.license_id 7 + i.md5 'bd2261c6f6498e839d0f093effc1100b' + i.system_picture_id 9 + i.license_group_settings '{"open":0,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1}' + i.credit_picture_settings '{"source_url_btn_id":1,"source_url_off_btn_id":2}' + i.license_settings '{"caption":"\u3069\u3046\u3067\u3082\u3044\u3044\u5974","sources":""}' + i.picture_id 22 + i.license_group_module_name 'PettanrPettanCommonsV01Licenses' + end + factory :resource_picture023, :class => ResourcePicture do |i| + i.original_picture_id 23 + i.ext 'png' + i.width 42 + i.height 41 + i.filesize 2235 + i.artist_id 1 + i.license_group_id 7 + i.license_id 7 + i.md5 '97ae360ee8a589b87d5940a4e444c641' + i.system_picture_id 9 + i.license_group_settings '{"open":0,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1}' + i.credit_picture_settings '{"source_url_btn_id":1,"source_url_off_btn_id":2}' + i.license_settings '{"caption":"\u3069\u3046\u3067\u3082\u3044\u3044\u5974","sources":""}' + i.picture_id 23 + i.license_group_module_name 'PettanrPettanCommonsV01Licenses' + end + factory :resource_picture024, :class => ResourcePicture do |i| + i.original_picture_id 24 + i.ext 'png' + i.width 41 + i.height 42 + i.filesize 2120 + i.artist_id 1 + i.license_group_id 7 + i.license_id 7 + i.md5 '58bffdc8c9a4cb03ea9e554090e960f6' + i.system_picture_id 9 + i.license_group_settings '{"open":0,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1}' + i.credit_picture_settings '{"source_url_btn_id":1,"source_url_off_btn_id":2}' + i.license_settings '{"caption":"\u3069\u3046\u3067\u3082\u3044\u3044\u5974","sources":""}' + i.picture_id 24 + i.license_group_module_name 'PettanrPettanCommonsV01Licenses' + end + factory :resource_picture025, :class => ResourcePicture do |i| + i.original_picture_id 25 + i.ext 'png' + i.width 41 + i.height 37 + i.filesize 2705 + i.artist_id 1 + i.license_group_id 7 + i.license_id 7 + i.md5 '0b1feefcc205b196900e2a5b411fc763' + i.system_picture_id 9 + i.license_group_settings '{"open":0,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1}' + i.credit_picture_settings '{"source_url_btn_id":1,"source_url_off_btn_id":2}' + i.license_settings '{"caption":"\u3069\u3046\u3067\u3082\u3044\u3044\u5974","sources":""}' + i.picture_id 25 + i.license_group_module_name 'PettanrPettanCommonsV01Licenses' + end + factory :resource_picture026, :class => ResourcePicture do |i| + i.original_picture_id 26 + i.ext 'png' + i.width 309 + i.height 414 + i.filesize 7472 + i.artist_id 1 + i.license_group_id 10 + i.license_id 17 + i.md5 'e6fba5d4e6ec56c799c951dda174321b' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.picture_id 26 + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :resource_picture027, :class => ResourcePicture do |i| + i.original_picture_id 27 + i.ext 'png' + i.width 353 + i.height 417 + i.filesize 7740 + i.artist_id 1 + i.license_group_id 10 + i.license_id 17 + i.md5 '4b52eda65a63a6a44534d14f3909d51b' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.picture_id 27 + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :resource_picture028, :class => ResourcePicture do |i| + i.original_picture_id 28 + i.ext 'png' + i.width 333 + i.height 463 + i.filesize 9960 + i.artist_id 1 + i.license_group_id 10 + i.license_id 17 + i.md5 'bba68bc25f69a9c25367bcfc85e6baa6' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.picture_id 28 + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :resource_picture029, :class => ResourcePicture do |i| + i.original_picture_id 29 + i.ext 'png' + i.width 387 + i.height 482 + i.filesize 8961 + i.artist_id 1 + i.license_group_id 10 + i.license_id 17 + i.md5 '6c4cb9460164b9ee9f80081618f74f2b' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.picture_id 29 + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :resource_picture030, :class => ResourcePicture do |i| + i.original_picture_id 30 + i.ext 'png' + i.width 500 + i.height 500 + i.filesize 9822 + i.artist_id 1 + i.license_group_id 10 + i.license_id 17 + i.md5 '33f8ddd99e68c0ac3f5146799a6d44fe' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.picture_id 30 + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :resource_picture031, :class => ResourcePicture do |i| + i.original_picture_id 31 + i.ext 'png' + i.width 408 + i.height 447 + i.filesize 10517 + i.artist_id 1 + i.license_group_id 10 + i.license_id 17 + i.md5 '8b527077673e73afc4c597fce8a18346' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.picture_id 31 + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :resource_picture032, :class => ResourcePicture do |i| + i.original_picture_id 32 + i.ext 'png' + i.width 298 + i.height 403 + i.filesize 6673 + i.artist_id 1 + i.license_group_id 10 + i.license_id 17 + i.md5 '2eb8dd23e7e11f69d3c941fe1aa1bee6' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.picture_id 32 + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :resource_picture033, :class => ResourcePicture do |i| + i.original_picture_id 33 + i.ext 'png' + i.width 406 + i.height 465 + i.filesize 9834 + i.artist_id 1 + i.license_group_id 10 + i.license_id 17 + i.md5 '8c203ba3b3310754bb9a6a248ced2ad0' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.picture_id 33 + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :resource_picture034, :class => ResourcePicture do |i| + i.original_picture_id 34 + i.ext 'png' + i.width 500 + i.height 500 + i.filesize 17308 + i.artist_id 1 + i.license_group_id 10 + i.license_id 17 + i.md5 '1c635738b9fb6cb848d03f316a6e7e3f' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.picture_id 34 + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :resource_picture035, :class => ResourcePicture do |i| + i.original_picture_id 35 + i.ext 'png' + i.width 425 + i.height 475 + i.filesize 11911 + i.artist_id 1 + i.license_group_id 10 + i.license_id 17 + i.md5 '47f712bbafb0fda4528be5a1eaec175b' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.picture_id 35 + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :resource_picture036, :class => ResourcePicture do |i| + i.original_picture_id 36 + i.ext 'png' + i.width 346 + i.height 455 + i.filesize 7622 + i.artist_id 1 + i.license_group_id 10 + i.license_id 17 + i.md5 'ce715a6a406ed75cc1ca1862a0391fde' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.picture_id 36 + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :resource_picture037, :class => ResourcePicture do |i| + i.original_picture_id 37 + i.ext 'png' + i.width 285 + i.height 478 + i.filesize 7680 + i.artist_id 1 + i.license_group_id 10 + i.license_id 17 + i.md5 'f8391dc0f8c0daf3d1f9c806b83fa36b' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.picture_id 37 + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :resource_picture038, :class => ResourcePicture do |i| + i.original_picture_id 38 + i.ext 'png' + i.width 409 + i.height 425 + i.filesize 7986 + i.artist_id 1 + i.license_group_id 10 + i.license_id 17 + i.md5 '94403e3e1d0f512f4492bad61e0c0e65' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.picture_id 38 + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :resource_picture039, :class => ResourcePicture do |i| + i.original_picture_id 39 + i.ext 'png' + i.width 290 + i.height 472 + i.filesize 7009 + i.artist_id 1 + i.license_group_id 10 + i.license_id 17 + i.md5 '8b6ed84f100524084a65492439cbd28b' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.picture_id 39 + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :resource_picture040, :class => ResourcePicture do |i| + i.original_picture_id 40 + i.ext 'png' + i.width 362 + i.height 378 + i.filesize 9455 + i.artist_id 1 + i.license_group_id 10 + i.license_id 17 + i.md5 '0f10bb1781bf920c1712ecb697daf95a' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.picture_id 40 + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :resource_picture041, :class => ResourcePicture do |i| + i.original_picture_id 41 + i.ext 'png' + i.width 299 + i.height 344 + i.filesize 5326 + i.artist_id 1 + i.license_group_id 10 + i.license_id 17 + i.md5 '66e7c355565bcca88c040a325fd7d1ca' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.picture_id 41 + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :resource_picture042, :class => ResourcePicture do |i| + i.original_picture_id 42 + i.ext 'png' + i.width 500 + i.height 500 + i.filesize 9232 + i.artist_id 1 + i.license_group_id 10 + i.license_id 17 + i.md5 'a9165b2f7bf007de60a80761772a03e9' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.picture_id 42 + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :resource_picture043, :class => ResourcePicture do |i| + i.original_picture_id 43 + i.ext 'png' + i.width 500 + i.height 500 + i.filesize 32202 + i.artist_id 1 + i.license_group_id 10 + i.license_id 17 + i.md5 '87c34320ec2d56fafa3006af7cd83f80' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.picture_id 43 + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :resource_picture044, :class => ResourcePicture do |i| + i.original_picture_id 44 + i.ext 'png' + i.width 365 + i.height 475 + i.filesize 10960 + i.artist_id 1 + i.license_group_id 10 + i.license_id 17 + i.md5 'ccda00141a490b6bb8a2a174e0b9156d' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.picture_id 44 + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :resource_picture045, :class => ResourcePicture do |i| + i.original_picture_id 45 + i.ext 'png' + i.width 446 + i.height 498 + i.filesize 10180 + i.artist_id 1 + i.license_group_id 10 + i.license_id 17 + i.md5 '6e286a379e84b69470da464dbd9b688e' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.picture_id 45 + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :resource_picture046, :class => ResourcePicture do |i| + i.original_picture_id 46 + i.ext 'png' + i.width 384 + i.height 474 + i.filesize 10134 + i.artist_id 1 + i.license_group_id 10 + i.license_id 17 + i.md5 '4a34ea8c719efaf817fe3bc21d7f83f4' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.picture_id 46 + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :resource_picture047, :class => ResourcePicture do |i| + i.original_picture_id 47 + i.ext 'png' + i.width 500 + i.height 500 + i.filesize 15583 + i.artist_id 1 + i.license_group_id 10 + i.license_id 17 + i.md5 'df6da089520878763a5340b7b8b7d9f1' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.picture_id 47 + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :resource_picture048, :class => ResourcePicture do |i| + i.original_picture_id 48 + i.ext 'png' + i.width 358 + i.height 500 + i.filesize 10836 + i.artist_id 1 + i.license_group_id 10 + i.license_id 17 + i.md5 '438fa9f6240b41eadc5344d10975071f' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.picture_id 48 + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :resource_picture049, :class => ResourcePicture do |i| + i.original_picture_id 49 + i.ext 'png' + i.width 316 + i.height 476 + i.filesize 9482 + i.artist_id 1 + i.license_group_id 10 + i.license_id 17 + i.md5 '0ec119affcd3219946b2109d5c8da38d' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.picture_id 49 + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :resource_picture050, :class => ResourcePicture do |i| + i.original_picture_id 50 + i.ext 'png' + i.width 366 + i.height 471 + i.filesize 9311 + i.artist_id 1 + i.license_group_id 10 + i.license_id 17 + i.md5 '3fc5bff90c8d9de21bb1549921ae31f7' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.picture_id 50 + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :resource_picture051, :class => ResourcePicture do |i| + i.original_picture_id 51 + i.ext 'png' + i.width 347 + i.height 465 + i.filesize 9220 + i.artist_id 1 + i.license_group_id 10 + i.license_id 17 + i.md5 'c53aca0c1a8b53441aebd1e4665822e2' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.picture_id 51 + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :resource_picture052, :class => ResourcePicture do |i| + i.original_picture_id 52 + i.ext 'png' + i.width 500 + i.height 500 + i.filesize 7048 + i.artist_id 1 + i.license_group_id 10 + i.license_id 17 + i.md5 '97260023fbc02fea6da71b1e9d505ab5' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.picture_id 52 + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :resource_picture053, :class => ResourcePicture do |i| + i.original_picture_id 53 + i.ext 'png' + i.width 402 + i.height 283 + i.filesize 5769 + i.artist_id 1 + i.license_group_id 10 + i.license_id 17 + i.md5 'f9a1b216b15c4090ae3cf6ba15309b6b' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.picture_id 53 + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :resource_picture054, :class => ResourcePicture do |i| + i.original_picture_id 54 + i.ext 'png' + i.width 267 + i.height 292 + i.filesize 8218 + i.artist_id 1 + i.license_group_id 10 + i.license_id 17 + i.md5 '433a3ca636801572cb2afaa06ab88e01' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.picture_id 54 + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :resource_picture055, :class => ResourcePicture do |i| + i.original_picture_id 55 + i.ext 'png' + i.width 292 + i.height 370 + i.filesize 6295 + i.artist_id 1 + i.license_group_id 10 + i.license_id 17 + i.md5 'd92742e1a608bf9c878d8428a88c394c' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.picture_id 55 + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :resource_picture056, :class => ResourcePicture do |i| + i.original_picture_id 56 + i.ext 'png' + i.width 276 + i.height 366 + i.filesize 5975 + i.artist_id 1 + i.license_group_id 10 + i.license_id 17 + i.md5 '0e7ada29ff588b23e018378655d7a24b' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.picture_id 56 + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :resource_picture057, :class => ResourcePicture do |i| + i.original_picture_id 57 + i.ext 'png' + i.width 301 + i.height 395 + i.filesize 10720 + i.artist_id 1 + i.license_group_id 10 + i.license_id 17 + i.md5 '9aa4f8ea63e72f91809697c9b9edb4c6' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.picture_id 57 + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :resource_picture058, :class => ResourcePicture do |i| + i.original_picture_id 58 + i.ext 'png' + i.width 332 + i.height 448 + i.filesize 6622 + i.artist_id 1 + i.license_group_id 10 + i.license_id 17 + i.md5 'e0088f8af62602f8118f632ff388f687' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.picture_id 58 + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :resource_picture059, :class => ResourcePicture do |i| + i.original_picture_id 59 + i.ext 'png' + i.width 332 + i.height 428 + i.filesize 6246 + i.artist_id 1 + i.license_group_id 10 + i.license_id 17 + i.md5 '03f408c6c4330be8f3ee53325e9874b6' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.picture_id 59 + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :resource_picture060, :class => ResourcePicture do |i| + i.original_picture_id 60 + i.ext 'png' + i.width 457 + i.height 339 + i.filesize 7195 + i.artist_id 1 + i.license_group_id 10 + i.license_id 17 + i.md5 'fcf1b04c01621eaa08a95ddf4e59ce0b' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.picture_id 60 + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :resource_picture061, :class => ResourcePicture do |i| + i.original_picture_id 61 + i.ext 'png' + i.width 327 + i.height 496 + i.filesize 10272 + i.artist_id 1 + i.license_group_id 10 + i.license_id 17 + i.md5 '271438cc10bbdfa03ce8cd8a4736fc5f' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.picture_id 61 + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :resource_picture062, :class => ResourcePicture do |i| + i.original_picture_id 62 + i.ext 'png' + i.width 354 + i.height 457 + i.filesize 8472 + i.artist_id 1 + i.license_group_id 10 + i.license_id 17 + i.md5 '1ba7ed83cf5246c8cb4973d1fdb307d0' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.picture_id 62 + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :resource_picture063, :class => ResourcePicture do |i| + i.original_picture_id 63 + i.ext 'png' + i.width 460 + i.height 412 + i.filesize 6492 + i.artist_id 1 + i.license_group_id 10 + i.license_id 17 + i.md5 '2b0a035e5d0639cc0cdffece77c3371a' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.picture_id 63 + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :resource_picture064, :class => ResourcePicture do |i| + i.original_picture_id 64 + i.ext 'png' + i.width 413 + i.height 455 + i.filesize 8565 + i.artist_id 1 + i.license_group_id 10 + i.license_id 17 + i.md5 '8bcf0233d9897ef40884e2edda448c2c' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.picture_id 64 + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :resource_picture065, :class => ResourcePicture do |i| + i.original_picture_id 65 + i.ext 'png' + i.width 482 + i.height 448 + i.filesize 8138 + i.artist_id 1 + i.license_group_id 10 + i.license_id 17 + i.md5 '2ed7e69aa3651b78e162df110cb4f84b' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.picture_id 65 + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :resource_picture066, :class => ResourcePicture do |i| + i.original_picture_id 66 + i.ext 'png' + i.width 490 + i.height 440 + i.filesize 18649 + i.artist_id 1 + i.license_group_id 10 + i.license_id 17 + i.md5 '4cd4a4dc1ff0e5ab62b533d441d3df81' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.picture_id 66 + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :resource_picture067, :class => ResourcePicture do |i| + i.original_picture_id 67 + i.ext 'png' + i.width 463 + i.height 475 + i.filesize 8003 + i.artist_id 1 + i.license_group_id 10 + i.license_id 17 + i.md5 '835af0eb9273c1181f19734bba16678b' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.picture_id 67 + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :resource_picture068, :class => ResourcePicture do |i| + i.original_picture_id 68 + i.ext 'png' + i.width 354 + i.height 437 + i.filesize 9003 + i.artist_id 1 + i.license_group_id 10 + i.license_id 17 + i.md5 '03a86d4aa3336229cfb07fd5d739008d' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.picture_id 68 + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :resource_picture069, :class => ResourcePicture do |i| + i.original_picture_id 69 + i.ext 'png' + i.width 350 + i.height 439 + i.filesize 10585 + i.artist_id 1 + i.license_group_id 10 + i.license_id 17 + i.md5 'afb798783f8e92f2821726e8fd60e9ab' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.picture_id 69 + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :resource_picture070, :class => ResourcePicture do |i| + i.original_picture_id 70 + i.ext 'png' + i.width 355 + i.height 426 + i.filesize 7524 + i.artist_id 1 + i.license_group_id 10 + i.license_id 17 + i.md5 'd4fda4fa79dfbf6c2b308900a5aad58a' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.picture_id 70 + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :resource_picture071, :class => ResourcePicture do |i| + i.original_picture_id 71 + i.ext 'png' + i.width 371 + i.height 473 + i.filesize 8797 + i.artist_id 1 + i.license_group_id 10 + i.license_id 17 + i.md5 'ffa37b26ad70b236e34ec5ed1f4694ea' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.picture_id 71 + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :resource_picture072, :class => ResourcePicture do |i| + i.original_picture_id 72 + i.ext 'png' + i.width 421 + i.height 441 + i.filesize 19332 + i.artist_id 1 + i.license_group_id 10 + i.license_id 17 + i.md5 '9ad676f7ca68093f4f1b68b1a1e03196' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.picture_id 72 + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :resource_picture073, :class => ResourcePicture do |i| + i.original_picture_id 73 + i.ext 'png' + i.width 359 + i.height 448 + i.filesize 8866 + i.artist_id 1 + i.license_group_id 10 + i.license_id 17 + i.md5 '248594d80bc2d60d62619111687ca56e' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.picture_id 73 + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :resource_picture074, :class => ResourcePicture do |i| + i.original_picture_id 74 + i.ext 'png' + i.width 361 + i.height 413 + i.filesize 5746 + i.artist_id 1 + i.license_group_id 10 + i.license_id 17 + i.md5 '96cfc77882c80d919a575b640292e77a' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.picture_id 74 + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :resource_picture075, :class => ResourcePicture do |i| + i.original_picture_id 75 + i.ext 'png' + i.width 444 + i.height 444 + i.filesize 10852 + i.artist_id 1 + i.license_group_id 10 + i.license_id 17 + i.md5 'ef758cade8361976f1bdbb9e4b636f0f' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.picture_id 75 + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :resource_picture076, :class => ResourcePicture do |i| + i.original_picture_id 76 + i.ext 'png' + i.width 376 + i.height 472 + i.filesize 8447 + i.artist_id 1 + i.license_group_id 10 + i.license_id 17 + i.md5 'e3a4d1ee064426b4afb1dff3f9f08aed' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.picture_id 76 + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :resource_picture077, :class => ResourcePicture do |i| + i.original_picture_id 77 + i.ext 'png' + i.width 371 + i.height 471 + i.filesize 15983 + i.artist_id 1 + i.license_group_id 10 + i.license_id 17 + i.md5 '24d954303212ec2932c8e3f56097e533' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.picture_id 77 + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :resource_picture078, :class => ResourcePicture do |i| + i.original_picture_id 78 + i.ext 'png' + i.width 475 + i.height 438 + i.filesize 10173 + i.artist_id 1 + i.license_group_id 10 + i.license_id 17 + i.md5 'e29dcacd2d4e9aa284deae070b9ecf7f' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.picture_id 78 + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :resource_picture079, :class => ResourcePicture do |i| + i.original_picture_id 79 + i.ext 'png' + i.width 328 + i.height 468 + i.filesize 10226 + i.artist_id 1 + i.license_group_id 10 + i.license_id 17 + i.md5 '42f92645aec9774113df576e4603c96b' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.picture_id 79 + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :resource_picture080, :class => ResourcePicture do |i| + i.original_picture_id 80 + i.ext 'png' + i.width 379 + i.height 447 + i.filesize 9492 + i.artist_id 1 + i.license_group_id 10 + i.license_id 17 + i.md5 'e446cc59f71f238843ed033001d1a8b7' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.picture_id 80 + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :resource_picture081, :class => ResourcePicture do |i| + i.original_picture_id 81 + i.ext 'png' + i.width 311 + i.height 462 + i.filesize 9461 + i.artist_id 1 + i.license_group_id 10 + i.license_id 17 + i.md5 'cee0a79baee5f8b54fb97f49509bc919' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.picture_id 81 + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :resource_picture082, :class => ResourcePicture do |i| + i.original_picture_id 82 + i.ext 'png' + i.width 395 + i.height 437 + i.filesize 8213 + i.artist_id 1 + i.license_group_id 10 + i.license_id 17 + i.md5 'c569dd00107e0bf2270110cb43eac0eb' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.picture_id 82 + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :resource_picture083, :class => ResourcePicture do |i| + i.original_picture_id 83 + i.ext 'png' + i.width 346 + i.height 455 + i.filesize 7629 + i.artist_id 1 + i.license_group_id 10 + i.license_id 17 + i.md5 'c35725d5bc782df86e6c0b0f42d5e7b7' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.picture_id 83 + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :resource_picture084, :class => ResourcePicture do |i| + i.original_picture_id 84 + i.ext 'png' + i.width 404 + i.height 485 + i.filesize 10931 + i.artist_id 1 + i.license_group_id 10 + i.license_id 17 + i.md5 'c16bb6ac7a06185b0653d106688407af' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.picture_id 84 + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :resource_picture085, :class => ResourcePicture do |i| + i.original_picture_id 85 + i.ext 'png' + i.width 438 + i.height 367 + i.filesize 14810 + i.artist_id 1 + i.license_group_id 10 + i.license_id 17 + i.md5 'a18758594ed3f3464e4ddcaf73d5952b' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.picture_id 85 + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :resource_picture086, :class => ResourcePicture do |i| + i.original_picture_id 86 + i.ext 'png' + i.width 366 + i.height 464 + i.filesize 8778 + i.artist_id 1 + i.license_group_id 10 + i.license_id 17 + i.md5 'dad7f56f3a48d9241e5a1625979bfa31' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.picture_id 86 + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :resource_picture087, :class => ResourcePicture do |i| + i.original_picture_id 87 + i.ext 'png' + i.width 349 + i.height 426 + i.filesize 9474 + i.artist_id 1 + i.license_group_id 10 + i.license_id 17 + i.md5 'b77ae189b74a415ab7743ca0b9a0faed' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.picture_id 87 + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :resource_picture088, :class => ResourcePicture do |i| + i.original_picture_id 88 + i.ext 'png' + i.width 320 + i.height 399 + i.filesize 8109 + i.artist_id 1 + i.license_group_id 10 + i.license_id 17 + i.md5 '8f4da6415dda062640016266de69fc04' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.picture_id 88 + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :resource_picture089, :class => ResourcePicture do |i| + i.original_picture_id 89 + i.ext 'png' + i.width 313 + i.height 491 + i.filesize 7695 + i.artist_id 1 + i.license_group_id 10 + i.license_id 17 + i.md5 '2af94a767abb8efd2ff75c6a6f5d306b' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.picture_id 89 + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :resource_picture090, :class => ResourcePicture do |i| + i.original_picture_id 90 + i.ext 'png' + i.width 334 + i.height 403 + i.filesize 8275 + i.artist_id 1 + i.license_group_id 10 + i.license_id 17 + i.md5 'f6dbdd4ff7bb27687651bba7c5450001' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.picture_id 90 + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :resource_picture091, :class => ResourcePicture do |i| + i.original_picture_id 91 + i.ext 'png' + i.width 374 + i.height 471 + i.filesize 10619 + i.artist_id 1 + i.license_group_id 10 + i.license_id 17 + i.md5 'e7416e1ee2a45e5a3247561f7ad48774' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.picture_id 91 + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :resource_picture092, :class => ResourcePicture do |i| + i.original_picture_id 92 + i.ext 'png' + i.width 500 + i.height 500 + i.filesize 14377 + i.artist_id 1 + i.license_group_id 10 + i.license_id 17 + i.md5 'b29f571fba3c481904d0357d7d8645f1' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.picture_id 92 + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :resource_picture093, :class => ResourcePicture do |i| + i.original_picture_id 93 + i.ext 'png' + i.width 354 + i.height 379 + i.filesize 7316 + i.artist_id 1 + i.license_group_id 10 + i.license_id 17 + i.md5 'abc7047bf1313cb5a9d770e30593bd07' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.picture_id 93 + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :resource_picture094, :class => ResourcePicture do |i| + i.original_picture_id 94 + i.ext 'png' + i.width 354 + i.height 465 + i.filesize 8940 + i.artist_id 1 + i.license_group_id 10 + i.license_id 17 + i.md5 '1c3cc9eeb8d0b93f7f7039006b220d7c' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.picture_id 94 + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :resource_picture095, :class => ResourcePicture do |i| + i.original_picture_id 95 + i.ext 'png' + i.width 392 + i.height 480 + i.filesize 9383 + i.artist_id 1 + i.license_group_id 10 + i.license_id 17 + i.md5 '6f0d4bb64e3f0c40433e76f776336a15' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.picture_id 95 + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :resource_picture096, :class => ResourcePicture do |i| + i.original_picture_id 96 + i.ext 'png' + i.width 404 + i.height 425 + i.filesize 9341 + i.artist_id 1 + i.license_group_id 10 + i.license_id 17 + i.md5 '148432649c7ea64906542657e60bc554' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.picture_id 96 + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :resource_picture097, :class => ResourcePicture do |i| + i.original_picture_id 97 + i.ext 'png' + i.width 441 + i.height 463 + i.filesize 9969 + i.artist_id 1 + i.license_group_id 10 + i.license_id 17 + i.md5 'c21e6e1adbca9fdc001a5773bee2dcfd' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.picture_id 97 + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :resource_picture098, :class => ResourcePicture do |i| + i.original_picture_id 98 + i.ext 'png' + i.width 500 + i.height 500 + i.filesize 11075 + i.artist_id 1 + i.license_group_id 10 + i.license_id 17 + i.md5 'c9640e864d87dc2fb45d227eb23929e0' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.picture_id 98 + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :resource_picture099, :class => ResourcePicture do |i| + i.original_picture_id 99 + i.ext 'png' + i.width 471 + i.height 288 + i.filesize 6431 + i.artist_id 1 + i.license_group_id 10 + i.license_id 17 + i.md5 'c32b899a0fbee95331bde26491121404' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.picture_id 99 + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :resource_picture100, :class => ResourcePicture do |i| + i.original_picture_id 100 + i.ext 'png' + i.width 453 + i.height 386 + i.filesize 6431 + i.artist_id 1 + i.license_group_id 10 + i.license_id 17 + i.md5 '32939e270c460430e1c9dfa2165f7d91' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.picture_id 100 + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :resource_picture101, :class => ResourcePicture do |i| + i.original_picture_id 101 + i.ext 'png' + i.width 405 + i.height 473 + i.filesize 9055 + i.artist_id 1 + i.license_group_id 10 + i.license_id 17 + i.md5 '5daffd1cec721d273e0985d42efc53ce' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.picture_id 101 + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :resource_picture102, :class => ResourcePicture do |i| + i.original_picture_id 102 + i.ext 'png' + i.width 500 + i.height 500 + i.filesize 7700 + i.artist_id 1 + i.license_group_id 10 + i.license_id 17 + i.md5 '6f0bd104bb899285570a2080b9479129' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.picture_id 102 + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :resource_picture103, :class => ResourcePicture do |i| + i.original_picture_id 103 + i.ext 'png' + i.width 449 + i.height 474 + i.filesize 11879 + i.artist_id 1 + i.license_group_id 10 + i.license_id 17 + i.md5 '2d3a0b62dda664bdb033ef194df0c9f1' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.picture_id 103 + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :resource_picture104, :class => ResourcePicture do |i| + i.original_picture_id 104 + i.ext 'png' + i.width 401 + i.height 484 + i.filesize 8310 + i.artist_id 1 + i.license_group_id 10 + i.license_id 17 + i.md5 '7e0ac691510d872f17404074305a005e' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.picture_id 104 + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :resource_picture105, :class => ResourcePicture do |i| + i.original_picture_id 105 + i.ext 'png' + i.width 309 + i.height 432 + i.filesize 5728 + i.artist_id 1 + i.license_group_id 10 + i.license_id 17 + i.md5 '7a3ef4d869da8867cafa1a802af20e92' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.picture_id 105 + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :resource_picture106, :class => ResourcePicture do |i| + i.original_picture_id 106 + i.ext 'png' + i.width 353 + i.height 357 + i.filesize 6655 + i.artist_id 1 + i.license_group_id 10 + i.license_id 17 + i.md5 '470fdc46265d0ad5c6e75cdeb3031c03' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.picture_id 106 + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :resource_picture107, :class => ResourcePicture do |i| + i.original_picture_id 107 + i.ext 'png' + i.width 244 + i.height 367 + i.filesize 15494 + i.artist_id 1 + i.license_group_id 10 + i.license_id 17 + i.md5 'dfdbc3040b3a9dc2e85b2acbab471a5b' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.picture_id 107 + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :resource_picture108, :class => ResourcePicture do |i| + i.original_picture_id 108 + i.ext 'png' + i.width 257 + i.height 380 + i.filesize 5857 + i.artist_id 1 + i.license_group_id 10 + i.license_id 17 + i.md5 '392de065771389740aad972556d51067' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.picture_id 108 + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :resource_picture109, :class => ResourcePicture do |i| + i.original_picture_id 109 + i.ext 'png' + i.width 401 + i.height 425 + i.filesize 6405 + i.artist_id 1 + i.license_group_id 10 + i.license_id 17 + i.md5 '2494451f8bb5aeb2faf572e89ab528d9' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.picture_id 109 + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :resource_picture110, :class => ResourcePicture do |i| + i.original_picture_id 110 + i.ext 'png' + i.width 378 + i.height 348 + i.filesize 5104 + i.artist_id 1 + i.license_group_id 10 + i.license_id 17 + i.md5 'cc7251d8d30d1176d2f14ccd1a1bb121' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"\u30da\u30f3\u6b21\u90ce","sources":""}' + i.picture_id 110 + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :resource_picture111, :class => ResourcePicture do |i| + i.original_picture_id 112 + i.ext 'png' + i.width 185 + i.height 45 + i.filesize 10476 + i.artist_id 1 + i.license_group_id 8 + i.license_id 1 + i.md5 '78116e93bb0917ed5a9a6cbdb305b343' + i.system_picture_id 3 + i.license_group_settings '{"open":0,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":-1,"reverse":-1,"sync_vh":1,"overlap":1}' + i.credit_picture_settings '{"source_url_btn_id":1,"source_url_off_btn_id":2}' + i.license_settings '{"caption":"","artist_url":"","source_url":"","more_permission_url":""}' + i.picture_id 111 + i.license_group_module_name 'PettanrCreativeCommonsV30Licenses' + end + factory :resource_picture112, :class => ResourcePicture do |i| + i.original_picture_id 111 + i.ext 'png' + i.width 266 + i.height 268 + i.filesize 48507 + i.artist_id 1 + i.license_group_id 7 + i.license_id 7 + i.md5 '7cc3c9ff7b7c6a15b822ce44ab4f84f3' + i.system_picture_id 9 + i.license_group_settings '{"open":0,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1}' + i.credit_picture_settings '{"source_url_btn_id":1,"source_url_off_btn_id":2}' + i.license_settings '{"caption":"","sources":""}' + i.picture_id 119 + i.license_group_module_name 'PettanrPettanCommonsV01Licenses' + end + factory :resource_picture113, :class => ResourcePicture do |i| + i.original_picture_id 114 + i.ext 'png' + i.width 640 + i.height 400 + i.filesize 40895 + i.artist_id 1 + i.license_group_id 10 + i.license_id 17 + i.md5 '58a85fea91d3a7152895f7ee416324a4' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"","sources":""}' + i.picture_id 120 + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :resource_picture114, :class => ResourcePicture do |i| + i.original_picture_id 117 + i.ext 'png' + i.width 290 + i.height 180 + i.filesize 9923 + i.artist_id 1 + i.license_group_id 12 + i.license_id 23 + i.md5 '3fdaf2192d6fbdb95196f594442c825d' + i.system_picture_id 24 + i.license_group_settings '{"open":0,"commercial":1,"official":0,"attribution":-1,"derive":-1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1,"source_url_off_btn_id":2}' + i.license_settings '{"source_url":"http://ja.wikipedia.org/wiki/%E5%90%8D%E5%8F%A4%E5%B1%8B%E9%A7%85","note":"nnn"}' + i.picture_id 121 + i.license_group_module_name 'PettanrUnknownV01Licenses' + end + factory :resource_picture115, :class => ResourcePicture do |i| + i.original_picture_id 116 + i.ext 'png' + i.width 187 + i.height 64 + i.filesize 5474 + i.artist_id 1 + i.license_group_id 11 + i.license_id 21 + i.md5 'f933b801b953bcf07185fcb931ebd560' + i.system_picture_id 22 + i.license_group_settings '{"open":0,"commercial":1,"official":0,"attribution":0,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1,"source_url_off_btn_id":2}' + i.license_settings '{"source_url":"http://localhost:3000/system/waiting_list","note":"bbb"}' + i.picture_id 122 + i.license_group_module_name 'PettanrPublicDomainV01Licenses' + end + factory :resource_picture116, :class => ResourcePicture do |i| + i.original_picture_id 115 + i.ext 'png' + i.width 119 + i.height 76 + i.filesize 1117 + i.artist_id 1 + i.license_group_id 10 + i.license_id 17 + i.md5 'd8f906c2a118d7db5d1016a5a546419e' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"caption":"bbb","sources":"aaa"}' + i.picture_id 123 + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :resource_picture117, :class => ResourcePicture do |i| + i.original_picture_id 119 + i.ext 'png' + i.width 253 + i.height 400 + i.filesize 64204 + i.artist_id 1 + i.license_group_id 8 + i.license_id 1 + i.md5 '649ae0020930827c9c4b174a3972ec81' + i.system_picture_id 3 + i.license_group_settings '{"open":0,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":-1,"reverse":-1,"sync_vh":1,"overlap":1}' + i.credit_picture_settings '{"source_url_btn_id":1,"source_url_off_btn_id":2}' + i.license_settings '{"license_id":1,"artist_name":"\u30da\u30f3\u6b21\u90ce","caption":"aaazzz","artist_url":"http://localhost:3000/zzz","source_url":"http://localhost:3000/xxx","more_permission_url":"http://localhost:3000/ccc"}' + i.picture_id 124 + i.license_group_module_name 'PettanrCreativeCommonsV30Licenses' + end + factory :resource_picture118, :class => ResourcePicture do |i| + i.original_picture_id 120 + i.ext 'png' + i.width 403 + i.height 141 + i.filesize 12588 + i.artist_id 1 + i.license_group_id 7 + i.license_id 7 + i.md5 '04d377d968557a6092bccb1617db5a65' + i.system_picture_id 9 + i.license_group_settings '{"open":0,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1}' + i.credit_picture_settings '{"source_url_btn_id":1,"source_url_off_btn_id":2}' + i.license_settings '{"license_id":7,"artist_name":"\u30da\u30f3\u6b21\u90ce","caption":"zzzzz","sources":""}' + i.picture_id 125 + i.license_group_module_name 'PettanrPettanCommonsV01Licenses' + end + factory :resource_picture119, :class => ResourcePicture do |i| + i.original_picture_id 121 + i.ext 'png' + i.width 403 + i.height 141 + i.filesize 12588 + i.artist_id 1 + i.license_group_id 11 + i.license_id 22 + i.md5 '04d377d968557a6092bccb1617db5a65' + i.system_picture_id 23 + i.license_group_settings '{"open":0,"commercial":1,"official":0,"attribution":0,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1,"source_url_off_btn_id":2}' + i.license_settings '{"license_id":22,"artist_name":"\u30da\u30f3\u6b21\u90ce","source_url":"http://localhost:3000/comics","note":""}' + i.picture_id 126 + i.license_group_module_name 'PettanrPublicDomainV01Licenses' + end + factory :resource_picture120, :class => ResourcePicture do |i| + i.original_picture_id 122 + i.ext 'png' + i.width 403 + i.height 141 + i.filesize 17637 + i.artist_id 1 + i.license_group_id 8 + i.license_id 1 + i.md5 '431810d6bf98fed2e7c4f9a6b821360d' + i.system_picture_id 3 + i.license_group_settings '{"open":0,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":-1,"reverse":-1,"sync_vh":1,"overlap":1}' + i.credit_picture_settings '{"source_url_btn_id":1,"source_url_off_btn_id":2}' + i.license_settings '{"license_id":1,"artist_name":"\u30da\u30f3\u6b21\u90ce","caption":"","artist_url":"","source_url":"","more_permission_url":""}' + i.picture_id 127 + i.license_group_module_name 'PettanrCreativeCommonsV30Licenses' + end + factory :resource_picture121, :class => ResourcePicture do |i| + i.original_picture_id 123 + i.ext 'png' + i.width 403 + i.height 141 + i.filesize 20935 + i.artist_id 1 + i.license_group_id 9 + i.license_id 13 + i.md5 'a4212c1a42d241a1351fc139b20de70b' + i.system_picture_id 15 + i.license_group_settings '{"open":-1,"commercial":-1,"official":0,"attribution":1,"derive":-1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1,"source_url_off_btn_id":2}' + i.license_settings '{"license_id":13,"artist_name":"\u30da\u30f3\u6b21\u90ce","caption":"","sources":""}' + i.picture_id 128 + i.license_group_module_name 'PettanrPettanProtectedV01Licenses' + end + factory :resource_picture122, :class => ResourcePicture do |i| + i.original_picture_id 125 + i.ext 'png' + i.width 185 + i.height 45 + i.filesize 10476 + i.artist_id 1 + i.license_group_id 10 + i.license_id 17 + i.md5 '78116e93bb0917ed5a9a6cbdb305b343' + i.system_picture_id 19 + i.license_group_settings '{"open":1,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1,"trackback":0}' + i.credit_picture_settings '{"source_url_btn_id":1}' + i.license_settings '{"license_id":17,"artist_name":"\u30da\u30f3\u6b21\u90ce","caption":"","sources":""}' + i.picture_id 129 + i.license_group_module_name 'PettanrPettanPublicV01Licenses' + end + factory :resource_picture123, :class => ResourcePicture do |i| + i.original_picture_id 126 + i.ext 'png' + i.width 249 + i.height 289 + i.filesize 2656 + i.artist_id 1 + i.license_group_id 7 + i.license_id 7 + i.md5 '026a5c81ae60918707d4236a41ae8fe0' + i.system_picture_id 9 + i.license_group_settings '{"open":0,"commercial":1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1}' + i.credit_picture_settings '{"source_url_btn_id":1,"source_url_off_btn_id":2}' + i.license_settings '{"license_id":7,"artist_name":"\u30da\u30f3\u6b21\u90ce","caption":"","sources":""}' + i.picture_id 130 + i.license_group_module_name 'PettanrPettanCommonsV01Licenses' + end + factory :resource_picture124, :class => ResourcePicture do |i| + i.original_picture_id 127 + i.ext 'png' + i.width 17 + i.height 17 + i.filesize 160 + i.artist_id 1 + i.license_group_id 7 + i.license_id 10 + i.md5 '05722b184172adef876604239842c18b' + i.system_picture_id 12 + i.license_group_settings '{"open":0,"commercial":-1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1}' + i.credit_picture_settings '{"source_url_btn_id":1,"source_url_off_btn_id":2}' + i.license_settings '{"artist_name":"\u30da\u30f3\u6b21\u90ce","caption":"","sources":""}' + i.picture_id 137 + i.license_group_module_name 'PettanrPettanCommonsV01Licenses' + end + factory :resource_picture125, :class => ResourcePicture do |i| + i.original_picture_id 129 + i.ext 'png' + i.width 168 + i.height 105 + i.filesize 2101 + i.artist_id 1 + i.license_group_id 7 + i.license_id 10 + i.md5 '824a6634f6f71536cdb207a64c1ce761' + i.system_picture_id 12 + i.license_group_settings '{"open":0,"commercial":-1,"official":0,"attribution":1,"derive":1,"thumbnail":1,"gif_convert":1,"reverse":1,"sync_vh":1,"overlap":1}' + i.credit_picture_settings '{"source_url_btn_id":1,"source_url_off_btn_id":2}' + i.license_settings '{"artist_name":"\u30da\u30f3\u6b21\u90ce","caption":"","sources":""}' + i.picture_id 144 + i.license_group_module_name 'PettanrPettanCommonsV01Licenses' + end +end diff --git a/spec/factories/scroll.rb b/spec/factories/scroll.rb new file mode 100644 index 00000000..c68c80ed --- /dev/null +++ b/spec/factories/scroll.rb @@ -0,0 +1,51 @@ +# -*- encoding: utf-8 -*- +FactoryGirl.define do + factory :scroll001, :class => Scroll do |i| + i.title 'おめざめ2' + i.description '' + i.visible 1 + i.author_id 1 + end + factory :scroll002, :class => Scroll do |i| + i.title '意味ないし。' + i.description '' + i.visible 1 + i.author_id 2 + end + factory :scroll003, :class => Scroll do |i| + i.title 'aaaaaaaa' + i.description '' + i.visible 1 + i.author_id 1 + end + factory :scroll004, :class => Scroll do |i| + i.title 'aaaaaaaa' + i.description '' + i.visible 1 + i.author_id 1 + end + factory :scroll005, :class => Scroll do |i| + i.title '投稿した直後' + i.description '' + i.visible 1 + i.author_id 4 + end + factory :scroll006, :class => Scroll do |i| + i.title '投稿した直後' + i.description '' + i.visible 1 + i.author_id 1 + end + factory :scroll007, :class => Scroll do |i| + i.title '「はてなブックマーク」が、重すぎる' + i.description 'zzzz' + i.visible 1 + i.author_id 1 + end + factory :scroll008, :class => Scroll do |i| + i.title '投稿した直後2' + i.description 'qwe' + i.visible 1 + i.author_id 1 + end +end diff --git a/spec/factories/scroll_panel.rb b/spec/factories/scroll_panel.rb new file mode 100644 index 00000000..8f578c3a --- /dev/null +++ b/spec/factories/scroll_panel.rb @@ -0,0 +1,75 @@ +# -*- encoding: utf-8 -*- +FactoryGirl.define do + factory :scroll_panel001, :class => ScrollPanel do |i| + i.scroll_id 2 + i.panel_id 8 + i.t 0 + i.author_id 2 + end + factory :scroll_panel002, :class => ScrollPanel do |i| + i.scroll_id 1 + i.panel_id 8 + i.t 6 + i.author_id 1 + end + factory :scroll_panel003, :class => ScrollPanel do |i| + i.scroll_id 1 + i.panel_id 7 + i.t 5 + i.author_id 1 + end + factory :scroll_panel004, :class => ScrollPanel do |i| + i.scroll_id 1 + i.panel_id 5 + i.t 0 + i.author_id 1 + end + factory :scroll_panel005, :class => ScrollPanel do |i| + i.scroll_id 1 + i.panel_id 4 + i.t 1 + i.author_id 1 + end + factory :scroll_panel006, :class => ScrollPanel do |i| + i.scroll_id 1 + i.panel_id 6 + i.t 4 + i.author_id 1 + end + factory :scroll_panel007, :class => ScrollPanel do |i| + i.scroll_id 1 + i.panel_id 2 + i.t 2 + i.author_id 1 + end + factory :scroll_panel008, :class => ScrollPanel do |i| + i.scroll_id 1 + i.panel_id 1 + i.t 3 + i.author_id 1 + end + factory :scroll_panel009, :class => ScrollPanel do |i| + i.scroll_id 4 + i.panel_id 2 + i.t 1 + i.author_id 1 + end + factory :scroll_panel010, :class => ScrollPanel do |i| + i.scroll_id 3 + i.panel_id 6 + i.t 0 + i.author_id 1 + end + factory :scroll_panel011, :class => ScrollPanel do |i| + i.scroll_id 4 + i.panel_id 12 + i.t 0 + i.author_id 1 + end + factory :scroll_panel012, :class => ScrollPanel do |i| + i.scroll_id 6 + i.panel_id 11 + i.t 0 + i.author_id 1 + end +end diff --git a/spec/factories/sheet.rb b/spec/factories/sheet.rb new file mode 100644 index 00000000..64486b52 --- /dev/null +++ b/spec/factories/sheet.rb @@ -0,0 +1,52 @@ +# -*- encoding: utf-8 -*- +FactoryGirl.define do + factory :sheet001, :class => Sheet do |i| + i.caption '選択肢のリスト' + i.width 839 + i.height 1191 + i.visible 1 + i.author_id 1 + end + factory :sheet002, :class => Sheet do |i| + i.caption '画像を投稿' + i.width 839 + i.height 1191 + i.visible 1 + i.author_id 1 + end + factory :sheet003, :class => Sheet do |i| + i.caption '選択肢のリスト' + i.width 839 + i.height 1191 + i.visible 1 + i.author_id 1 + end + factory :sheet004, :class => Sheet do |i| + i.caption 'ぎょっとする' + i.width 839 + i.height 1191 + i.visible 1 + i.author_id 1 + end + factory :sheet005, :class => Sheet do |i| + i.caption 'そんな馬鹿な' + i.width 839 + i.height 1191 + i.visible 1 + i.author_id 1 + end + factory :sheet006, :class => Sheet do |i| + i.caption '社会でうまくいかず' + i.width 839 + i.height 1191 + i.visible 1 + i.author_id 1 + end + factory :sheet007, :class => Sheet do |i| + i.caption '友人と起業' + i.width 839 + i.height 1191 + i.visible 0 + i.author_id 1 + end +end diff --git a/spec/factories/sheet_panel.rb b/spec/factories/sheet_panel.rb new file mode 100644 index 00000000..548af195 --- /dev/null +++ b/spec/factories/sheet_panel.rb @@ -0,0 +1,111 @@ +# -*- encoding: utf-8 -*- +FactoryGirl.define do + factory :sheet_panel001, :class => SheetPanel do |i| + i.sheet_id 1 + i.panel_id 6 + i.x 4 + i.y 610 + i.z 1 + i.t 0 + i.author_id 1 + end + factory :sheet_panel002, :class => SheetPanel do |i| + i.sheet_id 1 + i.panel_id 9 + i.x 28 + i.y 11 + i.z 3 + i.t 1 + i.author_id 1 + end + factory :sheet_panel003, :class => SheetPanel do |i| + i.sheet_id 1 + i.panel_id 8 + i.x 7 + i.y 293 + i.z 2 + i.t 2 + i.author_id 1 + end + factory :sheet_panel004, :class => SheetPanel do |i| + i.sheet_id 2 + i.panel_id 7 + i.x 15 + i.y 15 + i.z 1 + i.t 0 + i.author_id 1 + end + factory :sheet_panel005, :class => SheetPanel do |i| + i.sheet_id 1 + i.panel_id 10 + i.x 279 + i.y 11 + i.z 4 + i.t 3 + i.author_id 1 + end + factory :sheet_panel006, :class => SheetPanel do |i| + i.sheet_id 3 + i.panel_id 6 + i.x 4 + i.y 610 + i.z 1 + i.t 0 + i.author_id 1 + end + factory :sheet_panel007, :class => SheetPanel do |i| + i.sheet_id 3 + i.panel_id 9 + i.x 533 + i.y 289 + i.z 3 + i.t 1 + i.author_id 1 + end + factory :sheet_panel008, :class => SheetPanel do |i| + i.sheet_id 3 + i.panel_id 8 + i.x 7 + i.y 293 + i.z 2 + i.t 2 + i.author_id 1 + end + factory :sheet_panel009, :class => SheetPanel do |i| + i.sheet_id 3 + i.panel_id 10 + i.x 279 + i.y 11 + i.z 4 + i.t 3 + i.author_id 1 + end + factory :sheet_panel010, :class => SheetPanel do |i| + i.sheet_id 3 + i.panel_id 11 + i.x 15 + i.y 15 + i.z 5 + i.t 4 + i.author_id 1 + end + factory :sheet_panel011, :class => SheetPanel do |i| + i.sheet_id 4 + i.panel_id 9 + i.x 15 + i.y 15 + i.z 1 + i.t 0 + i.author_id 1 + end + factory :sheet_panel012, :class => SheetPanel do |i| + i.sheet_id 5 + i.panel_id 12 + i.x 15 + i.y 15 + i.z 1 + i.t 0 + i.author_id 1 + end +end diff --git a/spec/factories/speech.rb b/spec/factories/speech.rb new file mode 100644 index 00000000..ae8623b0 --- /dev/null +++ b/spec/factories/speech.rb @@ -0,0 +1,989 @@ +# -*- encoding: utf-8 -*- +FactoryGirl.define do + factory :speech001, :class => Speech do |i| + i.speech_balloon_id 1 + i.speech_balloon_template_id 1 + i.speech_balloon_template_module_name 'CircleSpeechBalloon' + i.writing_format_id 1 + i.writing_format_module_name 'PettanrSimpleFormat' + i.content 'カギカッコ' + i.font_size 1.0 + i.text_align 0 + i.fore_color 35328 + i.x 20 + i.y 20 + i.width 60 + i.height 60 + i.quotes '\' \'' + i.speech_balloon_template_settings '' + i.writing_format_settings '' + end + factory :speech002, :class => Speech do |i| + i.speech_balloon_id 2 + i.speech_balloon_template_id 2 + i.speech_balloon_template_module_name 'PlainSpeechBalloon' + i.writing_format_id 1 + i.writing_format_module_name 'PettanrSimpleFormat' + i.content 'どうにか' + i.font_size 1.0 + i.text_align 0 + i.fore_color 0 + i.x 0 + i.y 0 + i.width 100 + i.height 100 + i.quotes '\' \'' + i.speech_balloon_template_settings '' + i.writing_format_settings '' + end + factory :speech003, :class => Speech do |i| + i.speech_balloon_id 3 + i.speech_balloon_template_id 3 + i.speech_balloon_template_module_name 'SquareSpeechBalloon' + i.writing_format_id 1 + i.writing_format_module_name 'PettanrSimpleFormat' + i.content 'バレンタイン' + i.font_size 1.0 + i.text_align 0 + i.fore_color 0 + i.x 0 + i.y 0 + i.width 100 + i.height 100 + i.quotes '\' \'' + i.speech_balloon_template_settings '' + i.writing_format_settings '' + end + factory :speech004, :class => Speech do |i| + i.speech_balloon_id 4 + i.speech_balloon_template_id 1 + i.speech_balloon_template_module_name 'CircleSpeechBalloon' + i.writing_format_id 1 + i.writing_format_module_name 'PettanrSimpleFormat' + i.content 'カギカッコ + +勤勉革命と網野史観 + +実力か人柄か +' + i.font_size 1.0 + i.text_align 0 + i.fore_color 0 + i.x 20 + i.y 20 + i.width 60 + i.height 60 + i.quotes '\' \'' + i.speech_balloon_template_settings '' + i.writing_format_settings '' + end + factory :speech005, :class => Speech do |i| + i.speech_balloon_id 6 + i.speech_balloon_template_id 3 + i.speech_balloon_template_module_name 'SquareSpeechBalloon' + i.writing_format_id 1 + i.writing_format_module_name 'PettanrSimpleFormat' + i.content 'バレンタイン' + i.font_size 2.0 + i.text_align 2 + i.fore_color 9274482 + i.x 0 + i.y 0 + i.width 100 + i.height 100 + i.quotes '\' \'' + i.speech_balloon_template_settings '' + i.writing_format_settings '' + end + factory :speech006, :class => Speech do |i| + i.speech_balloon_id 7 + i.speech_balloon_template_id 1 + i.speech_balloon_template_module_name 'CircleSpeechBalloon' + i.writing_format_id 1 + i.writing_format_module_name 'PettanrSimpleFormat' + i.content '' + i.font_size 1.0 + i.text_align 0 + i.fore_color 0 + i.x 20 + i.y 20 + i.width 60 + i.height 60 + i.quotes '' + i.speech_balloon_template_settings '' + i.writing_format_settings '' + end + factory :speech007, :class => Speech do |i| + i.speech_balloon_id 8 + i.speech_balloon_template_id 2 + i.speech_balloon_template_module_name 'PlainSpeechBalloon' + i.writing_format_id 1 + i.writing_format_module_name 'PettanrSimpleFormat' + i.content '' + i.font_size 1.0 + i.text_align 0 + i.fore_color 0 + i.x 0 + i.y 0 + i.width 100 + i.height 100 + i.quotes '' + i.speech_balloon_template_settings '' + i.writing_format_settings '' + end + factory :speech008, :class => Speech do |i| + i.speech_balloon_id 9 + i.speech_balloon_template_id 3 + i.speech_balloon_template_module_name 'SquareSpeechBalloon' + i.writing_format_id 1 + i.writing_format_module_name 'PettanrSimpleFormat' + i.content '' + i.font_size 1.0 + i.text_align 0 + i.fore_color 0 + i.x 0 + i.y 0 + i.width 100 + i.height 100 + i.quotes '' + i.speech_balloon_template_settings '' + i.writing_format_settings '' + end + factory :speech009, :class => Speech do |i| + i.speech_balloon_id 11 + i.speech_balloon_template_id 2 + i.speech_balloon_template_module_name 'PlainSpeechBalloon' + i.writing_format_id 1 + i.writing_format_module_name 'PettanrSimpleFormat' + i.content 'どうにか' + i.font_size 1.0 + i.text_align 0 + i.fore_color 0 + i.x 0 + i.y 0 + i.width 100 + i.height 100 + i.quotes '\' \'' + i.speech_balloon_template_settings '' + i.writing_format_settings '' + end + factory :speech010, :class => Speech do |i| + i.speech_balloon_id 12 + i.speech_balloon_template_id 3 + i.speech_balloon_template_module_name 'SquareSpeechBalloon' + i.writing_format_id 1 + i.writing_format_module_name 'PettanrSimpleFormat' + i.content 'バレンタイン' + i.font_size 0.8 + i.text_align 2 + i.fore_color 15007744 + i.x 0 + i.y 0 + i.width 100 + i.height 100 + i.quotes '\' \'' + i.speech_balloon_template_settings '' + i.writing_format_settings '' + end + factory :speech011, :class => Speech do |i| + i.speech_balloon_id 13 + i.speech_balloon_template_id 1 + i.speech_balloon_template_module_name 'CircleSpeechBalloon' + i.writing_format_id 1 + i.writing_format_module_name 'PettanrSimpleFormat' + i.content 'uuuuuuuuuu' + i.font_size 1.0 + i.text_align 2 + i.fore_color 0 + i.x 20 + i.y 20 + i.width 60 + i.height 60 + i.quotes '' + i.speech_balloon_template_settings '' + i.writing_format_settings '' + end + factory :speech012, :class => Speech do |i| + i.speech_balloon_id 14 + i.speech_balloon_template_id 3 + i.speech_balloon_template_module_name 'SquareSpeechBalloon' + i.writing_format_id 1 + i.writing_format_module_name 'PettanrSimpleFormat' + i.content 'pppppppppppppp' + i.font_size 1.0 + i.text_align 0 + i.fore_color 0 + i.x 0 + i.y 0 + i.width 100 + i.height 100 + i.quotes '' + i.speech_balloon_template_settings '' + i.writing_format_settings '' + end + factory :speech013, :class => Speech do |i| + i.speech_balloon_id 15 + i.speech_balloon_template_id 3 + i.speech_balloon_template_module_name 'SquareSpeechBalloon' + i.writing_format_id 1 + i.writing_format_module_name 'PettanrSimpleFormat' + i.content 'pppppppppppppp' + i.font_size 0.8 + i.text_align 0 + i.fore_color 0 + i.x 0 + i.y 0 + i.width 100 + i.height 100 + i.quotes '' + i.speech_balloon_template_settings '' + i.writing_format_settings '' + end + factory :speech014, :class => Speech do |i| + i.speech_balloon_id 16 + i.speech_balloon_template_id 1 + i.speech_balloon_template_module_name 'CircleSpeechBalloon' + i.writing_format_id 1 + i.writing_format_module_name 'PettanrSimpleFormat' + i.content '実力か人柄か +' + i.font_size 1.0 + i.text_align 0 + i.fore_color 0 + i.x 20 + i.y 20 + i.width 60 + i.height 60 + i.quotes '' + i.speech_balloon_template_settings '' + i.writing_format_settings '' + end + factory :speech015, :class => Speech do |i| + i.speech_balloon_id 17 + i.speech_balloon_template_id 1 + i.speech_balloon_template_module_name 'CircleSpeechBalloon' + i.writing_format_id 1 + i.writing_format_module_name 'PettanrSimpleFormat' + i.content '実力か +人柄か +' + i.font_size 1.0 + i.text_align 3 + i.fore_color 5078784 + i.x 20 + i.y 20 + i.width 60 + i.height 60 + i.quotes '' + i.speech_balloon_template_settings '' + i.writing_format_settings '' + end + factory :speech016, :class => Speech do |i| + i.speech_balloon_id 18 + i.speech_balloon_template_id 1 + i.speech_balloon_template_module_name 'CircleSpeechBalloon' + i.writing_format_id 1 + i.writing_format_module_name 'PettanrSimpleFormat' + i.content '実力か人柄か +' + i.font_size 1.0 + i.text_align 0 + i.fore_color 0 + i.x 20 + i.y 20 + i.width 60 + i.height 60 + i.quotes '' + i.speech_balloon_template_settings '' + i.writing_format_settings '' + end + factory :speech017, :class => Speech do |i| + i.speech_balloon_id 19 + i.speech_balloon_template_id 1 + i.speech_balloon_template_module_name 'CircleSpeechBalloon' + i.writing_format_id 1 + i.writing_format_module_name 'PettanrSimpleFormat' + i.content 'ブックマークしたページがなくなってる!' + i.font_size 1.5 + i.text_align 0 + i.fore_color 0 + i.x 20 + i.y 20 + i.width 60 + i.height 60 + i.quotes '' + i.speech_balloon_template_settings '' + i.writing_format_settings '' + end + factory :speech018, :class => Speech do |i| + i.speech_balloon_id 20 + i.speech_balloon_template_id 2 + i.speech_balloon_template_module_name 'PlainSpeechBalloon' + i.writing_format_id 1 + i.writing_format_module_name 'PettanrSimpleFormat' + i.content 'URLの構造が変わるなんて、鬼のようだ' + i.font_size 1.0 + i.text_align 0 + i.fore_color 0 + i.x 0 + i.y 0 + i.width 100 + i.height 100 + i.quotes '' + i.speech_balloon_template_settings '' + i.writing_format_settings '' + end + factory :speech019, :class => Speech do |i| + i.speech_balloon_id 21 + i.speech_balloon_template_id 2 + i.speech_balloon_template_module_name 'PlainSpeechBalloon' + i.writing_format_id 1 + i.writing_format_module_name 'PettanrSimpleFormat' + i.content 'だめだこいつ +わかってない' + i.font_size 1.5 + i.text_align 0 + i.fore_color 0 + i.x 0 + i.y 0 + i.width 100 + i.height 100 + i.quotes '' + i.speech_balloon_template_settings '' + i.writing_format_settings '' + end + factory :speech020, :class => Speech do |i| + i.speech_balloon_id 22 + i.speech_balloon_template_id 2 + i.speech_balloon_template_module_name 'PlainSpeechBalloon' + i.writing_format_id 1 + i.writing_format_module_name 'PettanrSimpleFormat' + i.content 'だめだこいつ +わかってない' + i.font_size 1.5 + i.text_align 0 + i.fore_color 0 + i.x 0 + i.y 0 + i.width 100 + i.height 100 + i.quotes '' + i.speech_balloon_template_settings '' + i.writing_format_settings '' + end + factory :speech021, :class => Speech do |i| + i.speech_balloon_id 23 + i.speech_balloon_template_id 2 + i.speech_balloon_template_module_name 'PlainSpeechBalloon' + i.writing_format_id 1 + i.writing_format_module_name 'PettanrSimpleFormat' + i.content 'だめだこいつ +わかってない' + i.font_size 1.5 + i.text_align 0 + i.fore_color 0 + i.x 0 + i.y 0 + i.width 100 + i.height 100 + i.quotes '' + i.speech_balloon_template_settings '' + i.writing_format_settings '' + end + factory :speech022, :class => Speech do |i| + i.speech_balloon_id 24 + i.speech_balloon_template_id 1 + i.speech_balloon_template_module_name 'CircleSpeechBalloon' + i.writing_format_id 1 + i.writing_format_module_name 'PettanrSimpleFormat' + i.content 'ブックマークしたページがなくなってる!' + i.font_size 1.5 + i.text_align 0 + i.fore_color 0 + i.x 20 + i.y 20 + i.width 60 + i.height 60 + i.quotes '' + i.speech_balloon_template_settings '' + i.writing_format_settings '' + end + factory :speech023, :class => Speech do |i| + i.speech_balloon_id 25 + i.speech_balloon_template_id 2 + i.speech_balloon_template_module_name 'PlainSpeechBalloon' + i.writing_format_id 1 + i.writing_format_module_name 'PettanrSimpleFormat' + i.content 'URLの構造が変わるなんて、鬼のようだ' + i.font_size 1.0 + i.text_align 0 + i.fore_color 0 + i.x 0 + i.y 0 + i.width 100 + i.height 100 + i.quotes '' + i.speech_balloon_template_settings '' + i.writing_format_settings '' + end + factory :speech024, :class => Speech do |i| + i.speech_balloon_id 26 + i.speech_balloon_template_id 1 + i.speech_balloon_template_module_name 'CircleSpeechBalloon' + i.writing_format_id 1 + i.writing_format_module_name 'PettanrSimpleFormat' + i.content 'もう一つは「コミック」の形を +変更しているダギャ + +これはものすごく重大な +変更になる' + i.font_size 1.0 + i.text_align 0 + i.fore_color 0 + i.x 20 + i.y 20 + i.width 60 + i.height 60 + i.quotes '' + i.speech_balloon_template_settings '' + i.writing_format_settings '' + end + factory :speech025, :class => Speech do |i| + i.speech_balloon_id 27 + i.speech_balloon_template_id 1 + i.speech_balloon_template_module_name 'CircleSpeechBalloon' + i.writing_format_id 1 + i.writing_format_module_name 'PettanrSimpleFormat' + i.content '「コミック」は消滅して、これからは「スクロール」と呼ばれるようになるダギャ + +スクロールとは「巻物」の意味' + i.font_size 0.8 + i.text_align 0 + i.fore_color 0 + i.x 20 + i.y 20 + i.width 60 + i.height 60 + i.quotes '' + i.speech_balloon_template_settings '' + i.writing_format_settings '' + end + factory :speech026, :class => Speech do |i| + i.speech_balloon_id 28 + i.speech_balloon_template_id 1 + i.speech_balloon_template_module_name 'CircleSpeechBalloon' + i.writing_format_id 1 + i.writing_format_module_name 'PettanrSimpleFormat' + i.content 'まず一つ目は、入力フォームの表示を手打ちのHTMLから機械的な出力ができる用に構造化しているところダギャ。' + i.font_size 0.8 + i.text_align 0 + i.fore_color 0 + i.x 20 + i.y 20 + i.width 60 + i.height 60 + i.quotes '' + i.speech_balloon_template_settings '' + i.writing_format_settings '' + end + factory :speech027, :class => Speech do |i| + i.speech_balloon_id 29 + i.speech_balloon_template_id 1 + i.speech_balloon_template_module_name 'CircleSpeechBalloon' + i.writing_format_id 1 + i.writing_format_module_name 'PettanrSimpleFormat' + i.content 'これはユーザーにはあまり関係ないダギャ' + i.font_size 0.8 + i.text_align 0 + i.fore_color 0 + i.x 20 + i.y 20 + i.width 60 + i.height 60 + i.quotes '' + i.speech_balloon_template_settings '' + i.writing_format_settings '' + end + factory :speech028, :class => Speech do |i| + i.speech_balloon_id 30 + i.speech_balloon_template_id 1 + i.speech_balloon_template_module_name 'CircleSpeechBalloon' + i.writing_format_id 1 + i.writing_format_module_name 'PettanrSimpleFormat' + i.content 'こっちはもっと +すごいだギャ' + i.font_size 1.0 + i.text_align 0 + i.fore_color 0 + i.x 20 + i.y 20 + i.width 60 + i.height 60 + i.quotes '' + i.speech_balloon_template_settings '' + i.writing_format_settings '' + end + factory :speech029, :class => Speech do |i| + i.speech_balloon_id 31 + i.speech_balloon_template_id 2 + i.speech_balloon_template_module_name 'PlainSpeechBalloon' + i.writing_format_id 1 + i.writing_format_module_name 'PettanrSimpleFormat' + i.content '赤色 +' + i.font_size 3.5 + i.text_align 0 + i.fore_color 16711680 + i.x 0 + i.y 0 + i.width 100 + i.height 100 + i.quotes '' + i.speech_balloon_template_settings '' + i.writing_format_settings '' + end + factory :speech030, :class => Speech do |i| + i.speech_balloon_id 32 + i.speech_balloon_template_id 2 + i.speech_balloon_template_module_name 'PlainSpeechBalloon' + i.writing_format_id 1 + i.writing_format_module_name 'PettanrSimpleFormat' + i.content '緑色 +' + i.font_size 3.5 + i.text_align 0 + i.fore_color 65280 + i.x 0 + i.y 0 + i.width 100 + i.height 100 + i.quotes '' + i.speech_balloon_template_settings '' + i.writing_format_settings '' + end + factory :speech031, :class => Speech do |i| + i.speech_balloon_id 33 + i.speech_balloon_template_id 2 + i.speech_balloon_template_module_name 'PlainSpeechBalloon' + i.writing_format_id 1 + i.writing_format_module_name 'PettanrSimpleFormat' + i.content '青色' + i.font_size 3.5 + i.text_align 0 + i.fore_color 255 + i.x 0 + i.y 0 + i.width 100 + i.height 100 + i.quotes '' + i.speech_balloon_template_settings '' + i.writing_format_settings '' + end + factory :speech032, :class => Speech do |i| + i.speech_balloon_id 34 + i.speech_balloon_template_id 3 + i.speech_balloon_template_module_name 'SquareSpeechBalloon' + i.writing_format_id 1 + i.writing_format_module_name 'PettanrSimpleFormat' + i.content '左寄せ +' + i.font_size 1.5 + i.text_align 1 + i.fore_color 0 + i.x 5 + i.y 5 + i.width 90 + i.height 90 + i.quotes '' + i.speech_balloon_template_settings '' + i.writing_format_settings '' + end + factory :speech033, :class => Speech do |i| + i.speech_balloon_id 35 + i.speech_balloon_template_id 3 + i.speech_balloon_template_module_name 'SquareSpeechBalloon' + i.writing_format_id 1 + i.writing_format_module_name 'PettanrSimpleFormat' + i.content '右寄せ +' + i.font_size 1.5 + i.text_align 2 + i.fore_color 0 + i.x 5 + i.y 5 + i.width 90 + i.height 90 + i.quotes '' + i.speech_balloon_template_settings '' + i.writing_format_settings '' + end + factory :speech034, :class => Speech do |i| + i.speech_balloon_id 36 + i.speech_balloon_template_id 3 + i.speech_balloon_template_module_name 'SquareSpeechBalloon' + i.writing_format_id 1 + i.writing_format_module_name 'PettanrSimpleFormat' + i.content '中央寄せ +' + i.font_size 1.5 + i.text_align 3 + i.fore_color 0 + i.x 5 + i.y 5 + i.width 90 + i.height 90 + i.quotes '' + i.speech_balloon_template_settings '' + i.writing_format_settings '' + end + factory :speech035, :class => Speech do |i| + i.speech_balloon_id 37 + i.speech_balloon_template_id 2 + i.speech_balloon_template_module_name 'PlainSpeechBalloon' + i.writing_format_id 1 + i.writing_format_module_name 'PettanrSimpleFormat' + i.content 'ヤッター' + i.font_size 5.0 + i.text_align 3 + i.fore_color 0 + i.x 0 + i.y 0 + i.width 100 + i.height 100 + i.quotes '' + i.speech_balloon_template_settings '' + i.writing_format_settings '' + end + factory :speech036, :class => Speech do |i| + i.speech_balloon_id 38 + i.speech_balloon_template_id 1 + i.speech_balloon_template_module_name 'CircleSpeechBalloon' + i.writing_format_id 1 + i.writing_format_module_name 'PettanrSimpleFormat' + i.content '内部的にはそれ以外にも +様々な変更が加えられているけど +実はそれ以外にも機能追加 +されているギャ' + i.font_size 0.8 + i.text_align 0 + i.fore_color 0 + i.x 20 + i.y 20 + i.width 60 + i.height 60 + i.quotes '' + i.speech_balloon_template_settings '' + i.writing_format_settings '' + end + factory :speech037, :class => Speech do |i| + i.speech_balloon_id 39 + i.speech_balloon_template_id 1 + i.speech_balloon_template_module_name 'CircleSpeechBalloon' + i.writing_format_id 1 + i.writing_format_module_name 'PettanrSimpleFormat' + i.content 'ということで +そのバグフィックス +だギャ' + i.font_size 0.8 + i.text_align 0 + i.fore_color 0 + i.x 20 + i.y 20 + i.width 60 + i.height 60 + i.quotes '' + i.speech_balloon_template_settings '' + i.writing_format_settings '' + end + factory :speech038, :class => Speech do |i| + i.speech_balloon_id 40 + i.speech_balloon_template_id 2 + i.speech_balloon_template_module_name 'PlainSpeechBalloon' + i.writing_format_id 1 + i.writing_format_module_name 'PettanrSimpleFormat' + i.content 'あいつには指摘 +されなかったが +セリフの折り返しでも +問題があったギャ' + i.font_size 0.6 + i.text_align 0 + i.fore_color 1 + i.x 0 + i.y 0 + i.width 100 + i.height 100 + i.quotes '' + i.speech_balloon_template_settings '' + i.writing_format_settings '' + end + factory :speech039, :class => Speech do |i| + i.speech_balloon_id 41 + i.speech_balloon_template_id 2 + i.speech_balloon_template_module_name 'PlainSpeechBalloon' + i.writing_format_id 1 + i.writing_format_module_name 'PettanrSimpleFormat' + i.content 'やってしもうた + +' + i.font_size 3.5 + i.text_align 3 + i.fore_color 16777214 + i.x 0 + i.y 0 + i.width 100 + i.height 100 + i.quotes '' + i.speech_balloon_template_settings '' + i.writing_format_settings '' + end + factory :speech040, :class => Speech do |i| + i.speech_balloon_id 42 + i.speech_balloon_template_id 1 + i.speech_balloon_template_module_name 'CircleSpeechBalloon' + i.writing_format_id 1 + i.writing_format_module_name 'PettanrSimpleFormat' + i.content 'それは改行しないから +そう見えるだけで +長文になれば同じように +読みづらいと思うダギャ +' + i.font_size 1.0 + i.text_align 0 + i.fore_color 0 + i.x 20 + i.y 20 + i.width 60 + i.height 60 + i.quotes '' + i.speech_balloon_template_settings '' + i.writing_format_settings '' + end + factory :speech041, :class => Speech do |i| + i.speech_balloon_id 43 + i.speech_balloon_template_id 1 + i.speech_balloon_template_module_name 'CircleSpeechBalloon' + i.writing_format_id 1 + i.writing_format_module_name 'PettanrSimpleFormat' + i.content 'でも +言いたいことは +わかるダギャ… +' + i.font_size 1.0 + i.text_align 0 + i.fore_color 0 + i.x 20 + i.y 20 + i.width 60 + i.height 60 + i.quotes '' + i.speech_balloon_template_settings '' + i.writing_format_settings '' + end + factory :speech042, :class => Speech do |i| + i.speech_balloon_id 44 + i.speech_balloon_template_id 1 + i.speech_balloon_template_module_name 'CircleSpeechBalloon' + i.writing_format_id 1 + i.writing_format_module_name 'PettanrSimpleFormat' + i.content '今までセリフは中央寄せで表示されていたのに左寄せになってしまった。 +' + i.font_size 1.0 + i.text_align 0 + i.fore_color 0 + i.x 20 + i.y 20 + i.width 60 + i.height 60 + i.quotes '' + i.speech_balloon_template_settings '' + i.writing_format_settings '' + end + factory :speech043, :class => Speech do |i| + i.speech_balloon_id 45 + i.speech_balloon_template_id 1 + i.speech_balloon_template_module_name 'CircleSpeechBalloon' + i.writing_format_id 1 + i.writing_format_module_name 'PettanrSimpleFormat' + i.content '現在用意されているのは +「シンプルフォーマット」 +だけダギャ +' + i.font_size 1.0 + i.text_align 0 + i.fore_color 0 + i.x 20 + i.y 20 + i.width 60 + i.height 60 + i.quotes '' + i.speech_balloon_template_settings '' + i.writing_format_settings '' + end + factory :speech044, :class => Speech do |i| + i.speech_balloon_id 46 + i.speech_balloon_template_id 3 + i.speech_balloon_template_module_name 'SquareSpeechBalloon' + i.writing_format_id 1 + i.writing_format_module_name 'PettanrSimpleFormat' + i.content 'シンプルフォーマットは +改行を二つ重ねると段落にできる + +これは本当に最低限だけど +もっと強力な記法を実装すれば +複雑なセリフを作成できる + +今後対応する予定があるのが +MarkdownとTextile +' + i.font_size 1.0 + i.text_align 0 + i.fore_color 0 + i.x 0 + i.y 0 + i.width 100 + i.height 100 + i.quotes '' + i.speech_balloon_template_settings '' + i.writing_format_settings '' + end + factory :speech045, :class => Speech do |i| + i.speech_balloon_id 47 + i.speech_balloon_template_id 1 + i.speech_balloon_template_module_name 'CircleSpeechBalloon' + i.writing_format_id 1 + i.writing_format_module_name 'PettanrSimpleFormat' + i.content 'うーん +フキダシの入力が +強化されたのが +最大かな? +' + i.font_size 0.8 + i.text_align 0 + i.fore_color 0 + i.x 20 + i.y 20 + i.width 60 + i.height 60 + i.quotes '' + i.speech_balloon_template_settings '' + i.writing_format_settings '' + end + factory :speech046, :class => Speech do |i| + i.speech_balloon_id 48 + i.speech_balloon_template_id 2 + i.speech_balloon_template_module_name 'PlainSpeechBalloon' + i.writing_format_id 1 + i.writing_format_module_name 'PettanrSimpleFormat' + i.content '内部的な変更が多いので +ユーザから見た変化は +あまりないかもダギャ +' + i.font_size 0.8 + i.text_align 0 + i.fore_color 0 + i.x 0 + i.y 0 + i.width 100 + i.height 100 + i.quotes '' + i.speech_balloon_template_settings '' + i.writing_format_settings '' + end + factory :speech047, :class => Speech do |i| + i.speech_balloon_id 49 + i.speech_balloon_template_id 3 + i.speech_balloon_template_module_name 'SquareSpeechBalloon' + i.writing_format_id 1 + i.writing_format_module_name 'PettanrSimpleFormat' + i.content 'パネルエディタはエフェクトで +多少気が利くようになった +かもしれない + +新しいコマ要素を作成できる +タブが加わったが +これは全く動いていない +' + i.font_size 0.8 + i.text_align 0 + i.fore_color 0 + i.x 0 + i.y 0 + i.width 100 + i.height 100 + i.quotes '' + i.speech_balloon_template_settings '' + i.writing_format_settings '' + end + factory :speech048, :class => Speech do |i| + i.speech_balloon_id 50 + i.speech_balloon_template_id 3 + i.speech_balloon_template_module_name 'SquareSpeechBalloon' + i.writing_format_id 1 + i.writing_format_module_name 'PettanrSimpleFormat' + i.content '結論' + i.font_size 1.0 + i.text_align 0 + i.fore_color 0 + i.x 0 + i.y 0 + i.width 100 + i.height 100 + i.quotes '' + i.speech_balloon_template_settings '' + i.writing_format_settings '' + end + factory :speech049, :class => Speech do |i| + i.speech_balloon_id 51 + i.speech_balloon_template_id 2 + i.speech_balloon_template_module_name 'PlainSpeechBalloon' + i.writing_format_id 1 + i.writing_format_module_name 'PettanrSimpleFormat' + i.content '自由な表現ができることを強調したい' + i.font_size 1.0 + i.text_align 0 + i.fore_color 0 + i.x 0 + i.y 0 + i.width 100 + i.height 100 + i.quotes '' + i.speech_balloon_template_settings '' + i.writing_format_settings '' + end + factory :speech050, :class => Speech do |i| + i.speech_balloon_id 52 + i.speech_balloon_template_id 1 + i.speech_balloon_template_module_name 'CircleSpeechBalloon' + i.writing_format_id 1 + i.writing_format_module_name 'PettanrSimpleFormat' + i.content 'aaaaaaaaaaaa' + i.font_size 1.0 + i.text_align 0 + i.fore_color 0 + i.x 20 + i.y 20 + i.width 60 + i.height 60 + i.quotes '' + i.speech_balloon_template_settings '' + i.writing_format_settings '' + end + factory :speech051, :class => Speech do |i| + i.speech_balloon_id 53 + i.speech_balloon_template_id 1 + i.speech_balloon_template_module_name 'CircleSpeechBalloon' + i.writing_format_id 1 + i.writing_format_module_name 'PettanrSimpleFormat' + i.content 'なんだかよく眠ったダギャ' + i.font_size 1.0 + i.text_align 0 + i.fore_color 0 + i.x 20 + i.y 20 + i.width 60 + i.height 60 + i.quotes '\' \'' + i.speech_balloon_template_settings '' + i.writing_format_settings '' + end +end diff --git a/spec/factories/speech_balloon.rb b/spec/factories/speech_balloon.rb new file mode 100644 index 00000000..c644033f --- /dev/null +++ b/spec/factories/speech_balloon.rb @@ -0,0 +1,462 @@ +# -*- encoding: utf-8 -*- +FactoryGirl.define do + factory :speech_balloon001, :class => SpeechBalloon do |i| + i.panel_id 1 + i.speech_balloon_template_id 1 + i.speech_balloon_template_module_name 'CircleSpeechBalloon' + i.z 3 + i.t 0 + i.speech_balloon_template_settings '' + i.caption '大きな文字で' + end + factory :speech_balloon002, :class => SpeechBalloon do |i| + i.panel_id 1 + i.speech_balloon_template_id 2 + i.speech_balloon_template_module_name 'PlainSpeechBalloon' + i.z 4 + i.t 1 + i.speech_balloon_template_settings '' + i.caption '' + end + factory :speech_balloon003, :class => SpeechBalloon do |i| + i.panel_id 1 + i.speech_balloon_template_id 3 + i.speech_balloon_template_module_name 'SquareSpeechBalloon' + i.z 5 + i.t 2 + i.speech_balloon_template_settings '' + i.caption 'はっと気づいた様子で' + end + factory :speech_balloon004, :class => SpeechBalloon do |i| + i.panel_id 2 + i.speech_balloon_template_id 1 + i.speech_balloon_template_module_name 'CircleSpeechBalloon' + i.z 6 + i.t 4 + i.speech_balloon_template_settings '' + i.caption '大きな文字で' + end + factory :speech_balloon005, :class => SpeechBalloon do |i| + i.panel_id 2 + i.speech_balloon_template_id 3 + i.speech_balloon_template_module_name 'SquareSpeechBalloon' + i.z 3 + i.t 3 + i.speech_balloon_template_settings '' + i.caption 'はっと気づいた様子で' + end + factory :speech_balloon006, :class => SpeechBalloon do |i| + i.panel_id 3 + i.speech_balloon_template_id 1 + i.speech_balloon_template_module_name 'CircleSpeechBalloon' + i.z 1 + i.t 0 + i.speech_balloon_template_settings '' + i.caption '' + end + factory :speech_balloon007, :class => SpeechBalloon do |i| + i.panel_id 4 + i.speech_balloon_template_id 2 + i.speech_balloon_template_module_name 'PlainSpeechBalloon' + i.z 1 + i.t 0 + i.speech_balloon_template_settings '' + i.caption '' + end + factory :speech_balloon008, :class => SpeechBalloon do |i| + i.panel_id 5 + i.speech_balloon_template_id 3 + i.speech_balloon_template_module_name 'SquareSpeechBalloon' + i.z 2 + i.t 0 + i.speech_balloon_template_settings '' + i.caption '' + end + factory :speech_balloon009, :class => SpeechBalloon do |i| + i.panel_id 6 + i.speech_balloon_template_id 2 + i.speech_balloon_template_module_name 'PlainSpeechBalloon' + i.z 4 + i.t 0 + i.speech_balloon_template_settings '' + i.caption '' + end + factory :speech_balloon010, :class => SpeechBalloon do |i| + i.panel_id 6 + i.speech_balloon_template_id 3 + i.speech_balloon_template_module_name 'SquareSpeechBalloon' + i.z 5 + i.t 1 + i.speech_balloon_template_settings '' + i.caption 'はっと気づいた様子で' + end + factory :speech_balloon011, :class => SpeechBalloon do |i| + i.panel_id 6 + i.speech_balloon_template_id 1 + i.speech_balloon_template_module_name 'CircleSpeechBalloon' + i.z 6 + i.t 5 + i.speech_balloon_template_settings '' + i.caption '当然の感想' + end + factory :speech_balloon012, :class => SpeechBalloon do |i| + i.panel_id 6 + i.speech_balloon_template_id 3 + i.speech_balloon_template_module_name 'SquareSpeechBalloon' + i.z 7 + i.t 6 + i.speech_balloon_template_settings '' + i.caption '大きな文字で' + end + factory :speech_balloon013, :class => SpeechBalloon do |i| + i.panel_id 6 + i.speech_balloon_template_id 3 + i.speech_balloon_template_module_name 'SquareSpeechBalloon' + i.z 8 + i.t 7 + i.speech_balloon_template_settings '' + i.caption '大きな文字で' + end + factory :speech_balloon014, :class => SpeechBalloon do |i| + i.panel_id 7 + i.speech_balloon_template_id 1 + i.speech_balloon_template_module_name 'CircleSpeechBalloon' + i.z 3 + i.t 2 + i.speech_balloon_template_settings '' + i.caption '' + end + factory :speech_balloon015, :class => SpeechBalloon do |i| + i.panel_id 8 + i.speech_balloon_template_id 1 + i.speech_balloon_template_module_name 'CircleSpeechBalloon' + i.z 3 + i.t 2 + i.speech_balloon_template_settings '' + i.caption '' + end + factory :speech_balloon016, :class => SpeechBalloon do |i| + i.panel_id 2 + i.speech_balloon_template_id 1 + i.speech_balloon_template_module_name 'CircleSpeechBalloon' + i.z 5 + i.t 5 + i.speech_balloon_template_settings '' + i.caption '' + end + factory :speech_balloon017, :class => SpeechBalloon do |i| + i.panel_id 14 + i.speech_balloon_template_id 1 + i.speech_balloon_template_module_name 'CircleSpeechBalloon' + i.z 2 + i.t 1 + i.speech_balloon_template_settings '' + i.caption '' + end + factory :speech_balloon018, :class => SpeechBalloon do |i| + i.panel_id 14 + i.speech_balloon_template_id 2 + i.speech_balloon_template_module_name 'PlainSpeechBalloon' + i.z 3 + i.t 2 + i.speech_balloon_template_settings '' + i.caption '' + end + factory :speech_balloon019, :class => SpeechBalloon do |i| + i.panel_id 40 + i.speech_balloon_template_id 2 + i.speech_balloon_template_module_name 'PlainSpeechBalloon' + i.z 4 + i.t 2 + i.speech_balloon_template_settings '' + i.caption '' + end + factory :speech_balloon020, :class => SpeechBalloon do |i| + i.panel_id 43 + i.speech_balloon_template_id 2 + i.speech_balloon_template_module_name 'PlainSpeechBalloon' + i.z 4 + i.t 2 + i.speech_balloon_template_settings '' + i.caption '' + end + factory :speech_balloon021, :class => SpeechBalloon do |i| + i.panel_id 44 + i.speech_balloon_template_id 2 + i.speech_balloon_template_module_name 'PlainSpeechBalloon' + i.z 4 + i.t 2 + i.speech_balloon_template_settings '' + i.caption '' + end + factory :speech_balloon022, :class => SpeechBalloon do |i| + i.panel_id 45 + i.speech_balloon_template_id 1 + i.speech_balloon_template_module_name 'CircleSpeechBalloon' + i.z 2 + i.t 1 + i.speech_balloon_template_settings '' + i.caption '' + end + factory :speech_balloon023, :class => SpeechBalloon do |i| + i.panel_id 45 + i.speech_balloon_template_id 2 + i.speech_balloon_template_module_name 'PlainSpeechBalloon' + i.z 3 + i.t 2 + i.speech_balloon_template_settings '' + i.caption '' + end + factory :speech_balloon024, :class => SpeechBalloon do |i| + i.panel_id 46 + i.speech_balloon_template_id 1 + i.speech_balloon_template_module_name 'CircleSpeechBalloon' + i.z 2 + i.t 0 + i.speech_balloon_template_settings '' + i.caption '' + end + factory :speech_balloon025, :class => SpeechBalloon do |i| + i.panel_id 46 + i.speech_balloon_template_id 1 + i.speech_balloon_template_module_name 'CircleSpeechBalloon' + i.z 3 + i.t 1 + i.speech_balloon_template_settings '' + i.caption '' + end + factory :speech_balloon026, :class => SpeechBalloon do |i| + i.panel_id 47 + i.speech_balloon_template_id 1 + i.speech_balloon_template_module_name 'CircleSpeechBalloon' + i.z 2 + i.t 0 + i.speech_balloon_template_settings '' + i.caption '' + end + factory :speech_balloon027, :class => SpeechBalloon do |i| + i.panel_id 47 + i.speech_balloon_template_id 1 + i.speech_balloon_template_module_name 'CircleSpeechBalloon' + i.z 3 + i.t 1 + i.speech_balloon_template_settings '' + i.caption '' + end + factory :speech_balloon028, :class => SpeechBalloon do |i| + i.panel_id 48 + i.speech_balloon_template_id 1 + i.speech_balloon_template_module_name 'CircleSpeechBalloon' + i.z 5 + i.t 4 + i.speech_balloon_template_settings '' + i.caption '' + end + factory :speech_balloon029, :class => SpeechBalloon do |i| + i.panel_id 48 + i.speech_balloon_template_id 2 + i.speech_balloon_template_module_name 'PlainSpeechBalloon' + i.z 6 + i.t 5 + i.speech_balloon_template_settings '' + i.caption '' + end + factory :speech_balloon030, :class => SpeechBalloon do |i| + i.panel_id 48 + i.speech_balloon_template_id 2 + i.speech_balloon_template_module_name 'PlainSpeechBalloon' + i.z 7 + i.t 6 + i.speech_balloon_template_settings '' + i.caption '' + end + factory :speech_balloon031, :class => SpeechBalloon do |i| + i.panel_id 48 + i.speech_balloon_template_id 2 + i.speech_balloon_template_module_name 'PlainSpeechBalloon' + i.z 8 + i.t 7 + i.speech_balloon_template_settings '' + i.caption '' + end + factory :speech_balloon032, :class => SpeechBalloon do |i| + i.panel_id 49 + i.speech_balloon_template_id 3 + i.speech_balloon_template_module_name 'SquareSpeechBalloon' + i.z 2 + i.t 3 + i.speech_balloon_template_settings '' + i.caption '' + end + factory :speech_balloon033, :class => SpeechBalloon do |i| + i.panel_id 49 + i.speech_balloon_template_id 3 + i.speech_balloon_template_module_name 'SquareSpeechBalloon' + i.z 3 + i.t 4 + i.speech_balloon_template_settings '' + i.caption '' + end + factory :speech_balloon034, :class => SpeechBalloon do |i| + i.panel_id 49 + i.speech_balloon_template_id 3 + i.speech_balloon_template_module_name 'SquareSpeechBalloon' + i.z 4 + i.t 5 + i.speech_balloon_template_settings '' + i.caption '' + end + factory :speech_balloon035, :class => SpeechBalloon do |i| + i.panel_id 49 + i.speech_balloon_template_id 2 + i.speech_balloon_template_module_name 'PlainSpeechBalloon' + i.z 8 + i.t 6 + i.speech_balloon_template_settings '' + i.caption '' + end + factory :speech_balloon036, :class => SpeechBalloon do |i| + i.panel_id 50 + i.speech_balloon_template_id 1 + i.speech_balloon_template_module_name 'CircleSpeechBalloon' + i.z 2 + i.t 0 + i.speech_balloon_template_settings '' + i.caption '' + end + factory :speech_balloon037, :class => SpeechBalloon do |i| + i.panel_id 51 + i.speech_balloon_template_id 1 + i.speech_balloon_template_module_name 'CircleSpeechBalloon' + i.z 4 + i.t 0 + i.speech_balloon_template_settings '' + i.caption '' + end + factory :speech_balloon038, :class => SpeechBalloon do |i| + i.panel_id 51 + i.speech_balloon_template_id 2 + i.speech_balloon_template_module_name 'PlainSpeechBalloon' + i.z 1 + i.t 1 + i.speech_balloon_template_settings '' + i.caption '' + end + factory :speech_balloon039, :class => SpeechBalloon do |i| + i.panel_id 52 + i.speech_balloon_template_id 2 + i.speech_balloon_template_module_name 'PlainSpeechBalloon' + i.z 2 + i.t 1 + i.speech_balloon_template_settings '' + i.caption '' + end + factory :speech_balloon040, :class => SpeechBalloon do |i| + i.panel_id 53 + i.speech_balloon_template_id 1 + i.speech_balloon_template_module_name 'CircleSpeechBalloon' + i.z 2 + i.t 0 + i.speech_balloon_template_settings '' + i.caption '' + end + factory :speech_balloon041, :class => SpeechBalloon do |i| + i.panel_id 53 + i.speech_balloon_template_id 1 + i.speech_balloon_template_module_name 'CircleSpeechBalloon' + i.z 3 + i.t 1 + i.speech_balloon_template_settings '' + i.caption '' + end + factory :speech_balloon042, :class => SpeechBalloon do |i| + i.panel_id 54 + i.speech_balloon_template_id 1 + i.speech_balloon_template_module_name 'CircleSpeechBalloon' + i.z 1 + i.t 0 + i.speech_balloon_template_settings '' + i.caption '' + end + factory :speech_balloon043, :class => SpeechBalloon do |i| + i.panel_id 55 + i.speech_balloon_template_id 1 + i.speech_balloon_template_module_name 'CircleSpeechBalloon' + i.z 2 + i.t 0 + i.speech_balloon_template_settings '' + i.caption '' + end + factory :speech_balloon044, :class => SpeechBalloon do |i| + i.panel_id 55 + i.speech_balloon_template_id 3 + i.speech_balloon_template_module_name 'SquareSpeechBalloon' + i.z 3 + i.t 1 + i.speech_balloon_template_settings '' + i.caption '' + end + factory :speech_balloon045, :class => SpeechBalloon do |i| + i.panel_id 56 + i.speech_balloon_template_id 1 + i.speech_balloon_template_module_name 'CircleSpeechBalloon' + i.z 2 + i.t 0 + i.speech_balloon_template_settings '' + i.caption '' + end + factory :speech_balloon046, :class => SpeechBalloon do |i| + i.panel_id 56 + i.speech_balloon_template_id 2 + i.speech_balloon_template_module_name 'PlainSpeechBalloon' + i.z 3 + i.t 1 + i.speech_balloon_template_settings '' + i.caption '' + end + factory :speech_balloon047, :class => SpeechBalloon do |i| + i.panel_id 56 + i.speech_balloon_template_id 3 + i.speech_balloon_template_module_name 'SquareSpeechBalloon' + i.z 4 + i.t 2 + i.speech_balloon_template_settings '' + i.caption '' + end + factory :speech_balloon048, :class => SpeechBalloon do |i| + i.panel_id 58 + i.speech_balloon_template_id 3 + i.speech_balloon_template_module_name 'SquareSpeechBalloon' + i.z 1 + i.t 0 + i.speech_balloon_template_settings '' + i.caption '' + end + factory :speech_balloon049, :class => SpeechBalloon do |i| + i.panel_id 58 + i.speech_balloon_template_id 2 + i.speech_balloon_template_module_name 'PlainSpeechBalloon' + i.z 2 + i.t 1 + i.speech_balloon_template_settings '' + i.caption '' + end + factory :speech_balloon050, :class => SpeechBalloon do |i| + i.panel_id 60 + i.speech_balloon_template_id 1 + i.speech_balloon_template_module_name 'CircleSpeechBalloon' + i.z 1 + i.t 0 + i.speech_balloon_template_settings '' + i.caption '大きな文字で' + end + factory :speech_balloon051, :class => SpeechBalloon do |i| + i.panel_id 65 + i.speech_balloon_template_id 1 + i.speech_balloon_template_module_name 'CircleSpeechBalloon' + i.z 3 + i.t 1 + i.speech_balloon_template_settings '' + i.caption 'ペン次郎は照れくさそうに言い訳をする' + end +end diff --git a/spec/factories/speech_balloon_template.rb b/spec/factories/speech_balloon_template.rb new file mode 100644 index 00000000..90473312 --- /dev/null +++ b/spec/factories/speech_balloon_template.rb @@ -0,0 +1,35 @@ +# -*- encoding: utf-8 -*- +FactoryGirl.define do + factory :speech_balloon_template001, :class => SpeechBalloonTemplate do |i| + i.name 'circle@pettan.com' + i.module_name 'CircleSpeechBalloon' + i.caption '楕円' + i.t 0 + i.system_picture_id 41 + i.settings '{"speech_balloon":{"quotes":"\u300c \u300d \u300e \u300f","default_width":200,"default_height":200,"default_font_size":1.0,"default_text_align":0,"default_fore_color":0,"default_r":140,"r_step":22.5},"0":{"balloon":{"system_picture_id":25},"speech":{"x_rate":20,"y_rate":20,"width_rate":60,"height_rate":60}},"1":{"balloon":{"system_picture_id":26},"speech":{"x_rate":20,"y_rate":20,"width_rate":60,"height_rate":60}},"2":{"balloon":{"system_picture_id":27},"speech":{"x_rate":20,"y_rate":20,"width_rate":60,"height_rate":60}},"3":{"balloon":{"system_picture_id":28},"speech":{"x_rate":20,"y_rate":20,"width_rate":60,"height_rate":60}},"4":{"balloon":{"system_picture_id":29},"speech":{"x_rate":20,"y_rate":20,"width_rate":60,"height_rate":60}},"5":{"balloon":{"system_picture_id":30},"speech":{"x_rate":20,"y_rate":20,"width_rate":60,"height_rate":60}},"6":{"balloon":{"system_picture_id":31},"speech":{"x_rate":20,"y_rate":20,"width_rate":60,"height_rate":60}},"7":{"balloon":{"system_picture_id":32},"speech":{"x_rate":20,"y_rate":20,"width_rate":60,"height_rate":60}},"8":{"balloon":{"system_picture_id":33},"speech":{"x_rate":20,"y_rate":20,"width_rate":60,"height_rate":60}},"9":{"balloon":{"system_picture_id":34},"speech":{"x_rate":20,"y_rate":20,"width_rate":60,"height_rate":60}},"10":{"balloon":{"system_picture_id":35},"speech":{"x_rate":20,"y_rate":20,"width_rate":60,"height_rate":60}},"11":{"balloon":{"system_picture_id":36},"speech":{"x_rate":20,"y_rate":20,"width_rate":60,"height_rate":60}},"12":{"balloon":{"system_picture_id":37},"speech":{"x_rate":20,"y_rate":20,"width_rate":60,"height_rate":60}},"13":{"balloon":{"system_picture_id":38},"speech":{"x_rate":20,"y_rate":20,"width_rate":60,"height_rate":60}},"14":{"balloon":{"system_picture_id":39},"speech":{"x_rate":20,"y_rate":20,"width_rate":60,"height_rate":60}},"15":{"balloon":{"system_picture_id":40},"speech":{"x_rate":20,"y_rate":20,"width_rate":60,"height_rate":60}}}' + end + factory :speech_balloon_template002, :class => SpeechBalloonTemplate do |i| + i.name 'plain@pettan.com' + i.module_name 'PlainSpeechBalloon' + i.caption '透明' + i.t 1 + i.system_picture_id 43 + i.settings '{"speech_balloon":{"quotes":"\u300c \u300d \u300e \u300f","default_width":150,"default_height":150,"default_font_size":1.0,"default_text_align":0,"default_fore_color":0},"all":{"balloon":{"system_picture_id":42},"speech":{"x_rate":0,"y_rate":0,"width_rate":100,"height_rate":100}}}' + end + factory :speech_balloon_template003, :class => SpeechBalloonTemplate do |i| + i.name 'square@pettan.com' + i.module_name 'SquareSpeechBalloon' + i.caption '長方形' + i.t 2 + i.system_picture_id 45 + i.settings '{"speech_balloon":{"quotes":"\u300c \u300d \u300e \u300f","default_width":150,"default_height":150,"default_font_size":1.0,"default_text_align":3,"default_fore_color":0},"all":{"balloon":{"system_picture_id":44},"speech":{"x_rate":5,"y_rate":5,"width_rate":90,"height_rate":90}}}' + end + factory :speech_balloon_template004, :class => SpeechBalloonTemplate do |i| + i.name 'test@pettan.com' + i.module_name 'TestSpeechBalloon' + i.caption 'テスト' + i.t 3 + i.system_picture_id 47 + i.settings '{"speech_balloon":{"quotes":"\u300c \u300d \u300e \u300f","default_width":150,"default_height":150,"default_font_size":1.0,"default_text_align":3,"default_fore_color":0},"all":{"balloon":{"system_picture_id":46},"speech":{"x_rate":5,"y_rate":5,"width_rate":90,"height_rate":90}}}' + end +end diff --git a/spec/factories/square_speech_balloon_balloon.rb b/spec/factories/square_speech_balloon_balloon.rb new file mode 100644 index 00000000..d3f5a12f --- /dev/null +++ b/spec/factories/square_speech_balloon_balloon.rb @@ -0,0 +1 @@ + diff --git a/spec/factories/square_speech_balloon_speech.rb b/spec/factories/square_speech_balloon_speech.rb new file mode 100644 index 00000000..d3f5a12f --- /dev/null +++ b/spec/factories/square_speech_balloon_speech.rb @@ -0,0 +1 @@ + diff --git a/spec/factories/square_speech_balloon_speech_balloon.rb b/spec/factories/square_speech_balloon_speech_balloon.rb new file mode 100644 index 00000000..d3f5a12f --- /dev/null +++ b/spec/factories/square_speech_balloon_speech_balloon.rb @@ -0,0 +1 @@ + diff --git a/spec/factories/story.rb b/spec/factories/story.rb new file mode 100644 index 00000000..fe2e5bd0 --- /dev/null +++ b/spec/factories/story.rb @@ -0,0 +1,52 @@ +# -*- encoding: utf-8 -*- +FactoryGirl.define do + factory :story001, :class => Story do |i| + i.title '区別がつかな' + i.description '' + i.t + i.visible 1 + i.author_id 1 + end + factory :story002, :class => Story do |i| + i.title '絵師の都合' + i.description '' + i.t + i.visible 1 + i.author_id 1 + end + factory :story003, :class => Story do |i| + i.title 'キツネが憑いている' + i.description '' + i.t + i.visible 1 + i.author_id 1 + end + factory :story004, :class => Story do |i| + i.title '刑務所に隔離' + i.description '' + i.t + i.visible 1 + i.author_id 1 + end + factory :story005, :class => Story do |i| + i.title '海賊行為に精を出す守護大名' + i.description '' + i.t + i.visible 1 + i.author_id 1 + end + factory :story006, :class => Story do |i| + i.title 'プログラマとお金' + i.description '' + i.t + i.visible 0 + i.author_id 1 + end + factory :story007, :class => Story do |i| + i.title 'プログラマとお金(_完全版)' + i.description '' + i.t + i.visible 1 + i.author_id 1 + end +end diff --git a/spec/factories/story_sheet.rb b/spec/factories/story_sheet.rb new file mode 100644 index 00000000..b0671954 --- /dev/null +++ b/spec/factories/story_sheet.rb @@ -0,0 +1,93 @@ +# -*- encoding: utf-8 -*- +FactoryGirl.define do + factory :story_sheet001, :class => StorySheet do |i| + i.story_id 1 + i.sheet_id 1 + i.t 1 + i.author_id 1 + end + factory :story_sheet002, :class => StorySheet do |i| + i.story_id 1 + i.sheet_id 3 + i.t 0 + i.author_id 1 + end + factory :story_sheet003, :class => StorySheet do |i| + i.story_id 2 + i.sheet_id 4 + i.t 1 + i.author_id 1 + end + factory :story_sheet004, :class => StorySheet do |i| + i.story_id 2 + i.sheet_id 5 + i.t 0 + i.author_id 1 + end + factory :story_sheet005, :class => StorySheet do |i| + i.story_id 4 + i.sheet_id 4 + i.t 0 + i.author_id 1 + end + factory :story_sheet006, :class => StorySheet do |i| + i.story_id 4 + i.sheet_id 6 + i.t 1 + i.author_id 1 + end + factory :story_sheet007, :class => StorySheet do |i| + i.story_id 5 + i.sheet_id 6 + i.t 0 + i.author_id 1 + end + factory :story_sheet008, :class => StorySheet do |i| + i.story_id 5 + i.sheet_id 5 + i.t 1 + i.author_id 1 + end + factory :story_sheet009, :class => StorySheet do |i| + i.story_id 8 + i.sheet_id 7 + i.t 0 + i.author_id 1 + end + factory :story_sheet010, :class => StorySheet do |i| + i.story_id 8 + i.sheet_id 7 + i.t 1 + i.author_id 1 + end + factory :story_sheet011, :class => StorySheet do |i| + i.story_id 8 + i.sheet_id 7 + i.t 2 + i.author_id 1 + end + factory :story_sheet012, :class => StorySheet do |i| + i.story_id 8 + i.sheet_id 7 + i.t 3 + i.author_id 1 + end + factory :story_sheet013, :class => StorySheet do |i| + i.story_id 9 + i.sheet_id 3 + i.t 1 + i.author_id 1 + end + factory :story_sheet014, :class => StorySheet do |i| + i.story_id 9 + i.sheet_id 4 + i.t 0 + i.author_id 1 + end + factory :story_sheet015, :class => StorySheet do |i| + i.story_id 9 + i.sheet_id 5 + i.t 2 + i.author_id 1 + end +end diff --git a/spec/factories/system_picture.rb b/spec/factories/system_picture.rb new file mode 100644 index 00000000..24d52471 --- /dev/null +++ b/spec/factories/system_picture.rb @@ -0,0 +1,339 @@ +# -*- encoding: utf-8 -*- +FactoryGirl.define do + factory :system_picture001, :class => SystemPicture do |i| + i.ext 'png' + i.width 17 + i.height 17 + i.filesize 160 + i.md5 '05722b184172adef876604239842c18b' + end + factory :system_picture002, :class => SystemPicture do |i| + i.ext 'png' + i.width 17 + i.height 17 + i.filesize 179 + i.md5 '00c4246c193c7cec0425d44e34c43828' + end + factory :system_picture003, :class => SystemPicture do |i| + i.ext 'png' + i.width 81 + i.height 29 + i.filesize 2464 + i.md5 'e81f3a5f9516d8d1f07ce2d0e8c6aaf8' + end + factory :system_picture004, :class => SystemPicture do |i| + i.ext 'png' + i.width 81 + i.height 29 + i.filesize 3174 + i.md5 'cce51e8e35282b8a8cbc706eb5a6f51a' + end + factory :system_picture005, :class => SystemPicture do |i| + i.ext 'png' + i.width 81 + i.height 29 + i.filesize 3154 + i.md5 'f9ef0d5dcd416efd25dfa69b30a8fdc2' + end + factory :system_picture006, :class => SystemPicture do |i| + i.ext 'png' + i.width 81 + i.height 29 + i.filesize 3769 + i.md5 '66bb3cea6943c73d1e2f9df0969d9006' + end + factory :system_picture007, :class => SystemPicture do |i| + i.ext 'png' + i.width 81 + i.height 29 + i.filesize 3101 + i.md5 'bedf959134b14a734c983e41899e4e7b' + end + factory :system_picture008, :class => SystemPicture do |i| + i.ext 'png' + i.width 81 + i.height 29 + i.filesize 3731 + i.md5 'ead5ffb65e66c1a7b022984be0220b9f' + end + factory :system_picture009, :class => SystemPicture do |i| + i.ext 'png' + i.width 88 + i.height 31 + i.filesize 2307 + i.md5 '42748c6f32afa939feefbfd2898021fa' + end + factory :system_picture010, :class => SystemPicture do |i| + i.ext 'png' + i.width 88 + i.height 31 + i.filesize 3466 + i.md5 '1282a4e8a6c4ab748add11d89b51fc33' + end + factory :system_picture011, :class => SystemPicture do |i| + i.ext 'png' + i.width 88 + i.height 31 + i.filesize 3410 + i.md5 'e85a1d09345728ded036630632ab11bd' + end + factory :system_picture012, :class => SystemPicture do |i| + i.ext 'png' + i.width 88 + i.height 31 + i.filesize 4487 + i.md5 '198e176b8648171c8e69350363f872f0' + end + factory :system_picture013, :class => SystemPicture do |i| + i.ext 'png' + i.width 88 + i.height 31 + i.filesize 3375 + i.md5 '76a6d32b01bcfe71fb25d3ada91ebc71' + end + factory :system_picture014, :class => SystemPicture do |i| + i.ext 'png' + i.width 88 + i.height 31 + i.filesize 4452 + i.md5 '6db748654ddc0978aaf368a94b9c9b1e' + end + factory :system_picture015, :class => SystemPicture do |i| + i.ext 'png' + i.width 88 + i.height 31 + i.filesize 2171 + i.md5 '6264a6ca899dbef6b871e3906b84133c' + end + factory :system_picture016, :class => SystemPicture do |i| + i.ext 'png' + i.width 88 + i.height 31 + i.filesize 3231 + i.md5 '54a09677d2a4be98eb3b98e90b2b1e2d' + end + factory :system_picture017, :class => SystemPicture do |i| + i.ext 'png' + i.width 88 + i.height 31 + i.filesize 3097 + i.md5 '9d314c0d9ab57b2017e1d1a91991a417' + end + factory :system_picture018, :class => SystemPicture do |i| + i.ext 'png' + i.width 88 + i.height 31 + i.filesize 4140 + i.md5 'a0f8da39e217fadaecca342cf65354be' + end + factory :system_picture019, :class => SystemPicture do |i| + i.ext 'png' + i.width 88 + i.height 31 + i.filesize 2229 + i.md5 'df69e656dbb2983a9a11c07749991fab' + end + factory :system_picture020, :class => SystemPicture do |i| + i.ext 'png' + i.width 88 + i.height 31 + i.filesize 3129 + i.md5 'a0873323807a14b061cd16076f2ebfe5' + end + factory :system_picture021, :class => SystemPicture do |i| + i.ext 'png' + i.width 88 + i.height 31 + i.filesize 4181 + i.md5 '8d83b08816d6ae8b4c1fd78da9a6e3d3' + end + factory :system_picture022, :class => SystemPicture do |i| + i.ext 'png' + i.width 88 + i.height 31 + i.filesize 2103 + i.md5 '32b7ddf075f71ec26c8911c2c294b633' + end + factory :system_picture023, :class => SystemPicture do |i| + i.ext 'png' + i.width 88 + i.height 31 + i.filesize 2508 + i.md5 'dfa632a44818a340eb5c9febd8e52742' + end + factory :system_picture024, :class => SystemPicture do |i| + i.ext 'png' + i.width 88 + i.height 31 + i.filesize 1548 + i.md5 'dd94c3acb7c22f6cdb35ff69371407ed' + end + factory :system_picture025, :class => SystemPicture do |i| + i.ext 'png' + i.width 200 + i.height 200 + i.filesize 5662 + i.md5 '67d7c8acd3c52cb6e9abf7deb23be11d' + end + factory :system_picture026, :class => SystemPicture do |i| + i.ext 'png' + i.width 200 + i.height 200 + i.filesize 9607 + i.md5 '58634a962f2126d6bc9119e843a07ed9' + end + factory :system_picture027, :class => SystemPicture do |i| + i.ext 'png' + i.width 200 + i.height 200 + i.filesize 9362 + i.md5 '3e0d2528d0b58fb32414593a04daa7b3' + end + factory :system_picture028, :class => SystemPicture do |i| + i.ext 'png' + i.width 200 + i.height 200 + i.filesize 9492 + i.md5 'dd3590336d7b69f2e85fc0c1b629d64a' + end + factory :system_picture029, :class => SystemPicture do |i| + i.ext 'png' + i.width 200 + i.height 200 + i.filesize 8478 + i.md5 'a04f3ea06f95e33358ac57645031512d' + end + factory :system_picture030, :class => SystemPicture do |i| + i.ext 'png' + i.width 200 + i.height 200 + i.filesize 9599 + i.md5 'd76cf38c3de4df74ae9f8bc76911a5a9' + end + factory :system_picture031, :class => SystemPicture do |i| + i.ext 'png' + i.width 200 + i.height 200 + i.filesize 9426 + i.md5 '51974b0cc1d0283be6cda04114927dc5' + end + factory :system_picture032, :class => SystemPicture do |i| + i.ext 'png' + i.width 200 + i.height 200 + i.filesize 9588 + i.md5 '68af2004a103a389d2c83b2cfcd98b22' + end + factory :system_picture033, :class => SystemPicture do |i| + i.ext 'png' + i.width 200 + i.height 200 + i.filesize 8439 + i.md5 '9feac91d55ef144bad8389ee4f0751ac' + end + factory :system_picture034, :class => SystemPicture do |i| + i.ext 'png' + i.width 200 + i.height 200 + i.filesize 11054 + i.md5 '50fb44750f5506cc9ed0783d92f58f00' + end + factory :system_picture035, :class => SystemPicture do |i| + i.ext 'png' + i.width 200 + i.height 200 + i.filesize 10864 + i.md5 'bb65ca8d549401f6cc0bd6228cf6b79b' + end + factory :system_picture036, :class => SystemPicture do |i| + i.ext 'png' + i.width 200 + i.height 200 + i.filesize 10953 + i.md5 'a6d32cb9218abc587fa732a21c94883e' + end + factory :system_picture037, :class => SystemPicture do |i| + i.ext 'png' + i.width 200 + i.height 200 + i.filesize 9534 + i.md5 'b0aba72c940b80e9e32b87bd48ca2635' + end + factory :system_picture038, :class => SystemPicture do |i| + i.ext 'png' + i.width 200 + i.height 200 + i.filesize 12008 + i.md5 'b886601235032b7006c23ba8bf309f74' + end + factory :system_picture039, :class => SystemPicture do |i| + i.ext 'png' + i.width 200 + i.height 200 + i.filesize 11751 + i.md5 'e98e6b7bba74f8d166f0f69303b14a19' + end + factory :system_picture040, :class => SystemPicture do |i| + i.ext 'png' + i.width 200 + i.height 200 + i.filesize 9609 + i.md5 '6756b435ba777f66dfea8e34d2e94567' + end + factory :system_picture041, :class => SystemPicture do |i| + i.ext 'png' + i.width 64 + i.height 64 + i.filesize 744 + i.md5 'ca30a88b2e03bd149860325d5f3770a7' + end + factory :system_picture042, :class => SystemPicture do |i| + i.ext 'png' + i.width 150 + i.height 150 + i.filesize 464 + i.md5 '8197e42069aab7d15983425e6c121503' + end + factory :system_picture043, :class => SystemPicture do |i| + i.ext 'png' + i.width 64 + i.height 64 + i.filesize 492 + i.md5 'd6b95a015cafe40f05f0a26b4ac3c51e' + end + factory :system_picture044, :class => SystemPicture do |i| + i.ext 'png' + i.width 150 + i.height 150 + i.filesize 503 + i.md5 '8159134d0af4b24ef21f30048f018ab1' + end + factory :system_picture045, :class => SystemPicture do |i| + i.ext 'png' + i.width 64 + i.height 64 + i.filesize 473 + i.md5 '6f683574166286bb65d8ffa25a0af17f' + end + factory :system_picture046, :class => SystemPicture do |i| + i.ext 'png' + i.width 150 + i.height 150 + i.filesize 730 + i.md5 '604a977cf756a4e8b2b74d05c3d647d2' + end + factory :system_picture047, :class => SystemPicture do |i| + i.ext 'png' + i.width 64 + i.height 64 + i.filesize 608 + i.md5 'a33a8a440701a6d3d68bc4df4687ab6d' + end + factory :system_picture048, :class => SystemPicture do |i| + i.ext 'png' + i.width 64 + i.height 64 + i.filesize 782 + i.md5 '8d3659feb1f01fe84d1b723c8e67aaf5' + end +end diff --git a/spec/factories/test_speech_balloon_balloon.rb b/spec/factories/test_speech_balloon_balloon.rb new file mode 100644 index 00000000..d3f5a12f --- /dev/null +++ b/spec/factories/test_speech_balloon_balloon.rb @@ -0,0 +1 @@ + diff --git a/spec/factories/test_speech_balloon_speech.rb b/spec/factories/test_speech_balloon_speech.rb new file mode 100644 index 00000000..d3f5a12f --- /dev/null +++ b/spec/factories/test_speech_balloon_speech.rb @@ -0,0 +1 @@ + diff --git a/spec/factories/test_speech_balloon_speech_balloon.rb b/spec/factories/test_speech_balloon_speech_balloon.rb new file mode 100644 index 00000000..d3f5a12f --- /dev/null +++ b/spec/factories/test_speech_balloon_speech_balloon.rb @@ -0,0 +1 @@ + diff --git a/spec/factories/writing_format.rb b/spec/factories/writing_format.rb new file mode 100644 index 00000000..1bf0f940 --- /dev/null +++ b/spec/factories/writing_format.rb @@ -0,0 +1,17 @@ +# -*- encoding: utf-8 -*- +FactoryGirl.define do + factory :writing_format001, :class => WritingFormat do |i| + i.name 'simple_format@pettan.com' + i.module_name 'PettanrSimpleFormat' + i.caption 'シンプル' + i.system_picture_id 48 + i.settings '{}' + end + factory :writing_format002, :class => WritingFormat do |i| + i.name 'new' + i.module_name 'PettanrSimpleFormat' + i.caption 'neew' + i.system_picture_id 1 + i.settings '{}' + end +end diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index ff721422..19d27e0f 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -7,7 +7,7 @@ require 'rspec/autorun' # Requires supporting ruby files with custom matchers and macros, etc, # in spec/support/ and its subdirectories. Dir[Rails.root.join("spec/support/**/*.rb")].each {|f| require f} -require File.expand_path(File.dirname(__FILE__) + '/factories.rb') +Dir.glob(File.dirname(__FILE__) + '/factories/*.rb').each {|f| require f } RSpec.configure do |config| # == Mock Framework @@ -31,7 +31,8 @@ RSpec.configure do |config| # automatically. This will be the default behavior in future versions of # rspec-rails. config.infer_base_class_for_anonymous_controllers = false - config.include Devise::TestHelpers, :type => :controller -# config.extend ControllerMacros, :type => :controller - + config.include Devise::TestHelpers, :type => :controller +# config.extend ControllerMacros, :type => :controller + config.infer_spec_type_from_file_location! + config.raise_errors_for_deprecations! end diff --git a/spec/views/scrolls/show.html.erb_spec.rb b/spec/views/scrolls/show.html.erb_spec.rb new file mode 100644 index 00000000..27554265 --- /dev/null +++ b/spec/views/scrolls/show.html.erb_spec.rb @@ -0,0 +1,25 @@ +require 'spec_helper' + +describe 'scrolls/show.html.erb' do + before do + @user = FactoryGirl.create( :user_yas) + @author = FactoryGirl.create :author, :user_id => @user.id + end + + context 'with 2 widgets' do + before(:each) do + @scroll = FactoryGirl.create :scroll, :author_id => @author.id + @operators = Operator.new [@user, @author, @artist, @admin, @demand_user] + assign(:item, @scroll) + assign(:play_count, 3) + assign(:operators, @operators) + end + + it 'rendered' do + render + + rendered.should contain('icon') + end + end +end + -- 2.11.0