OSDN Git Service

t#31892:heroku branch
authoryasushiito <yas@pen-chan.jp>
Mon, 19 Aug 2013 08:06:17 +0000 (17:06 +0900)
committeryasushiito <yas@pen-chan.jp>
Mon, 19 Aug 2013 08:06:17 +0000 (17:06 +0900)
23 files changed:
.gitignore
config/element.yml [new file with mode: 0644]
config/license.yml [new file with mode: 0644]
config/magic_number.yml
config/picture_io.yml [new file with mode: 0644]
config/profile.json [new file with mode: 0644]
config/speech_balloon.yml [new file with mode: 0644]
config/test_layout [new file with mode: 0644]
config/writing_format.yml [new file with mode: 0644]
db/migrate/20120820100836_create_creative_commons_v30_licenses_attributes.rb [new file with mode: 0644]
db/migrate/20120820100850_create_pettan_commons_v01_licenses_attributes.rb [new file with mode: 0644]
db/migrate/20120820100916_create_pettan_public_v01_licenses_attributes.rb [new file with mode: 0644]
db/migrate/20120820100929_create_public_domain_v01_licenses_attributes.rb [new file with mode: 0644]
db/migrate/20120820100942_create_unknown_v01_licenses_attributes.rb [new file with mode: 0644]
db/migrate/20130628082138_create_plain_speech_balloon_speech_balloons.rb [new file with mode: 0644]
db/migrate/20130628082206_create_plain_speech_balloon_balloons.rb [new file with mode: 0644]
db/migrate/20130628082225_create_plain_speech_balloon_speeches.rb [new file with mode: 0644]
db/migrate/20130629042309_create_circle_speech_balloon_speech_balloons.rb [new file with mode: 0644]
db/migrate/20130629042351_create_circle_speech_balloon_balloons.rb [new file with mode: 0644]
db/migrate/20130629042410_create_circle_speech_balloon_speeches.rb [new file with mode: 0644]
db/migrate/20130629042701_create_square_speech_balloon_speech_balloons.rb [new file with mode: 0644]
db/migrate/20130629042744_create_square_speech_balloon_balloons.rb [new file with mode: 0644]
db/migrate/20130629042756_create_square_speech_balloon_speeches.rb [new file with mode: 0644]

index 003cd7a..7e0fe35 100644 (file)
@@ -5,23 +5,4 @@ log/*.log
 tmp/
 Gemfile.lock
 .sass-cache/
-public/image/*
-public/assets/*
-config/aws.yaml
-config/picture_io.yml
-config/license.yml
-config/speech_balloon.yml
-config/writing_format.yml
-config/element.yml
-config/profile.json
-config/test_layout
 lib/test/temp/
-db/migrate/*_creative_commons_v??_licenses_attributes.rb
-db/migrate/*_pettan_commons_v??_licenses_attributes.rb
-db/migrate/*_pettan_protected_v??_licenses_attributes.rb
-db/migrate/*_pettan_public_v??_licenses_attributes.rb
-db/migrate/*_public_domain_v??_licenses_attributes.rb
-db/migrate/*_unknown_v??_licenses_attributes.rb
-db/migrate/*_speech_balloon_speech_balloons.rb
-db/migrate/*_speech_balloon_balloons.rb
-db/migrate/*_speech_balloon_speeches.rb
diff --git a/config/element.yml b/config/element.yml
new file mode 100644 (file)
index 0000000..46f9173
--- /dev/null
@@ -0,0 +1,4 @@
+  PanelPicture: panel_pictures
+  SpeechBalloon: speech_balloons
+  GroundPicture: ground_pictures
+  GroundColor: ground_colors
diff --git a/config/license.yml b/config/license.yml
new file mode 100644 (file)
index 0000000..5ee98d3
--- /dev/null
@@ -0,0 +1,7 @@
+#  standard_licenses: StandardLicenses
+  pettanr_creative_commons_v30_licenses: PettanrCreativeCommonsV30Licenses
+  pettanr_pettan_commons_v01_licenses: PettanrPettanCommonsV01Licenses
+  pettanr_pettan_protected_v01_licenses: PettanrPettanProtectedV01Licenses
+  pettanr_pettan_public_v01_licenses: PettanrPettanPublicV01Licenses
+  pettanr_public_domain_v01_licenses: PettanrPublicDomainV01Licenses
+  pettanr_unknown_v01_licenses: PettanrUnknownV01Licenses
index e9037f6..6ad2536 100644 (file)
@@ -1,4 +1,4 @@
-  run_mode: 1
+  run_mode: 0
 
   thumbnail_width: 64
   thumbnail_height: 64
diff --git a/config/picture_io.yml b/config/picture_io.yml
new file mode 100644 (file)
index 0000000..c804b77
--- /dev/null
@@ -0,0 +1,23 @@
+development:
+  adapter: local_picture
+  io: LocalPicture
+  original_picture: /temp/p/o/
+  resource_picture: /temp/p/r/
+  picture: /temp/p/p/
+  system_picture: /temp/p/s/
+
+test:
+  adapter: local_picture
+  io: LocalPicture
+  original_picture: /temp/p/to/
+  resource_picture: /temp/p/tr/
+  picture: /temp/p/tp/
+  system_picture: /temp/p/ts/
+
+production:
+  adapter: s3_picture
+  io: S3Picture
+  original_picture: pettanr-original
+  resource_picture: pettanr-stable
+  picture: pettanr-picture
+  system_picture: pettanr-system
diff --git a/config/profile.json b/config/profile.json
new file mode 100644 (file)
index 0000000..84f875b
--- /dev/null
@@ -0,0 +1,19 @@
+{
+  "admin@localhost": {
+    "users": {
+      "caption": "ぺったんR(開発者)",
+      "url": "http://localhost:3001/", 
+      "description": "ぺったんR開発者がテストに使うサイトです。", 
+    },
+    "admins": {
+      "caption": "ぺったんR(開発者)",
+      "url": "http://your.site.url/admins/", 
+      "description": "ぺったんR開発者がテストに使うサイトです。", 
+    },
+    "demand_users": {
+      "caption": "ぺったんR(開発者)",
+      "url": "http://your.site.url/demanders/", 
+      "description": "ぺったんR開発者がテストに使うサイトです。", 
+    }
+  }
+}
diff --git a/config/speech_balloon.yml b/config/speech_balloon.yml
new file mode 100644 (file)
index 0000000..bce7abe
--- /dev/null
@@ -0,0 +1,4 @@
+  CircleSpeechBalloon: circle_speech_balloon
+  PlainSpeechBalloon: plain_speech_balloon
+  SquareSpeechBalloon: square_speech_balloon
+#  TestSpeechBalloon: test_speech_balloon
diff --git a/config/test_layout b/config/test_layout
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/config/writing_format.yml b/config/writing_format.yml
new file mode 100644 (file)
index 0000000..e61f313
--- /dev/null
@@ -0,0 +1 @@
+  SimpleFormat: pettanr_simple_format
diff --git a/db/migrate/20120820100836_create_creative_commons_v30_licenses_attributes.rb b/db/migrate/20120820100836_create_creative_commons_v30_licenses_attributes.rb
new file mode 100644 (file)
index 0000000..0df9c84
--- /dev/null
@@ -0,0 +1,14 @@
+class CreateCreativeCommonsV30LicensesAttributes < ActiveRecord::Migration
+  def change
+    create_table :creative_commons_v30_licenses_attributes do |t|
+      t.column :license_id, :integer, :null => false, :default => 0\r
+      t.column :artist_name, :string, :null => false, :default => 'unknown'\r
+      t.column :caption, :string 
+      t.column :artist_url, :string 
+      t.column :source_url, :string 
+      t.column :more_permission_url, :string 
+      
+      t.timestamps
+    end
+  end
+end
diff --git a/db/migrate/20120820100850_create_pettan_commons_v01_licenses_attributes.rb b/db/migrate/20120820100850_create_pettan_commons_v01_licenses_attributes.rb
new file mode 100644 (file)
index 0000000..10b7f97
--- /dev/null
@@ -0,0 +1,12 @@
+class CreatePettanCommonsV01LicensesAttributes < ActiveRecord::Migration
+  def change
+    create_table :pettan_commons_v01_licenses_attributes do |t|
+      t.column :license_id, :integer, :null => false, :default => 0
+      t.column :artist_name, :string, :null => false, :default => 'unknown'
+      t.column :caption, :string 
+      t.column :sources, :string 
+
+      t.timestamps
+    end
+  end
+end
diff --git a/db/migrate/20120820100916_create_pettan_public_v01_licenses_attributes.rb b/db/migrate/20120820100916_create_pettan_public_v01_licenses_attributes.rb
new file mode 100644 (file)
index 0000000..b722bc5
--- /dev/null
@@ -0,0 +1,12 @@
+class CreatePettanPublicV01LicensesAttributes < ActiveRecord::Migration
+  def change
+    create_table :pettan_public_v01_licenses_attributes do |t|
+      t.column :license_id, :integer, :null => false, :default => 0
+      t.column :artist_name, :string, :null => false, :default => 'unknown'
+      t.column :caption, :string 
+      t.column :sources, :string 
+
+      t.timestamps
+    end
+  end
+end
diff --git a/db/migrate/20120820100929_create_public_domain_v01_licenses_attributes.rb b/db/migrate/20120820100929_create_public_domain_v01_licenses_attributes.rb
new file mode 100644 (file)
index 0000000..77a9151
--- /dev/null
@@ -0,0 +1,12 @@
+class CreatePublicDomainV01LicensesAttributes < ActiveRecord::Migration
+  def change
+    create_table :public_domain_v01_licenses_attributes do |t|
+      t.column :license_id, :integer, :null => false, :default => 0
+      t.column :artist_name, :string, :null => false, :default => 'unknown'
+      t.column :source_url, :string 
+      t.column :note, :string 
+
+      t.timestamps
+    end
+  end
+end
diff --git a/db/migrate/20120820100942_create_unknown_v01_licenses_attributes.rb b/db/migrate/20120820100942_create_unknown_v01_licenses_attributes.rb
new file mode 100644 (file)
index 0000000..5aeb08e
--- /dev/null
@@ -0,0 +1,12 @@
+class CreateUnknownV01LicensesAttributes < ActiveRecord::Migration
+  def change
+    create_table :unknown_v01_licenses_attributes do |t|
+      t.column :license_id, :integer, :null => false, :default => 0
+      t.column :artist_name, :string, :null => false, :default => 'unknown'
+      t.column :source_url, :string 
+      t.column :note, :string 
+
+      t.timestamps
+    end
+  end
+end
diff --git a/db/migrate/20130628082138_create_plain_speech_balloon_speech_balloons.rb b/db/migrate/20130628082138_create_plain_speech_balloon_speech_balloons.rb
new file mode 100644 (file)
index 0000000..9bd5342
--- /dev/null
@@ -0,0 +1,8 @@
+class CreatePlainSpeechBalloonSpeechBalloons < ActiveRecord::Migration
+  def change
+    create_table :plain_speech_balloon_speech_balloons do |t|
+
+      t.timestamps
+    end
+  end
+end
diff --git a/db/migrate/20130628082206_create_plain_speech_balloon_balloons.rb b/db/migrate/20130628082206_create_plain_speech_balloon_balloons.rb
new file mode 100644 (file)
index 0000000..0216caf
--- /dev/null
@@ -0,0 +1,8 @@
+class CreatePlainSpeechBalloonBalloons < ActiveRecord::Migration
+  def change
+    create_table :plain_speech_balloon_balloons do |t|
+
+      t.timestamps
+    end
+  end
+end
diff --git a/db/migrate/20130628082225_create_plain_speech_balloon_speeches.rb b/db/migrate/20130628082225_create_plain_speech_balloon_speeches.rb
new file mode 100644 (file)
index 0000000..8cebc04
--- /dev/null
@@ -0,0 +1,8 @@
+class CreatePlainSpeechBalloonSpeeches < ActiveRecord::Migration
+  def change
+    create_table :plain_speech_balloon_speeches do |t|
+
+      t.timestamps
+    end
+  end
+end
diff --git a/db/migrate/20130629042309_create_circle_speech_balloon_speech_balloons.rb b/db/migrate/20130629042309_create_circle_speech_balloon_speech_balloons.rb
new file mode 100644 (file)
index 0000000..ca54a5d
--- /dev/null
@@ -0,0 +1,8 @@
+class CreateCircleSpeechBalloonSpeechBalloons < ActiveRecord::Migration
+  def change
+    create_table :circle_speech_balloon_speech_balloons do |t|
+
+      t.timestamps
+    end
+  end
+end
diff --git a/db/migrate/20130629042351_create_circle_speech_balloon_balloons.rb b/db/migrate/20130629042351_create_circle_speech_balloon_balloons.rb
new file mode 100644 (file)
index 0000000..3f2968c
--- /dev/null
@@ -0,0 +1,8 @@
+class CreateCircleSpeechBalloonBalloons < ActiveRecord::Migration
+  def change
+    create_table :circle_speech_balloon_balloons do |t|
+
+      t.timestamps
+    end
+  end
+end
diff --git a/db/migrate/20130629042410_create_circle_speech_balloon_speeches.rb b/db/migrate/20130629042410_create_circle_speech_balloon_speeches.rb
new file mode 100644 (file)
index 0000000..8e52c09
--- /dev/null
@@ -0,0 +1,8 @@
+class CreateCircleSpeechBalloonSpeeches < ActiveRecord::Migration
+  def change
+    create_table :circle_speech_balloon_speeches do |t|
+
+      t.timestamps
+    end
+  end
+end
diff --git a/db/migrate/20130629042701_create_square_speech_balloon_speech_balloons.rb b/db/migrate/20130629042701_create_square_speech_balloon_speech_balloons.rb
new file mode 100644 (file)
index 0000000..4400793
--- /dev/null
@@ -0,0 +1,8 @@
+class CreateSquareSpeechBalloonSpeechBalloons < ActiveRecord::Migration
+  def change
+    create_table :square_speech_balloon_speech_balloons do |t|
+
+      t.timestamps
+    end
+  end
+end
diff --git a/db/migrate/20130629042744_create_square_speech_balloon_balloons.rb b/db/migrate/20130629042744_create_square_speech_balloon_balloons.rb
new file mode 100644 (file)
index 0000000..151d7ff
--- /dev/null
@@ -0,0 +1,8 @@
+class CreateSquareSpeechBalloonBalloons < ActiveRecord::Migration
+  def change
+    create_table :square_speech_balloon_balloons do |t|
+
+      t.timestamps
+    end
+  end
+end
diff --git a/db/migrate/20130629042756_create_square_speech_balloon_speeches.rb b/db/migrate/20130629042756_create_square_speech_balloon_speeches.rb
new file mode 100644 (file)
index 0000000..c1f04b2
--- /dev/null
@@ -0,0 +1,8 @@
+class CreateSquareSpeechBalloonSpeeches < ActiveRecord::Migration
+  def change
+    create_table :square_speech_balloon_speeches do |t|
+
+      t.timestamps
+    end
+  end
+end