ken_all 0.1.12 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (59) hide show
  1. checksums.yaml +5 -5
  2. data/.travis.yml +2 -1
  3. data/Gemfile +0 -2
  4. data/Gemfile.lock +131 -95
  5. data/db/migrate/20121028092517_create_ken_all_postal_codes.rb +7 -1
  6. data/db/migrate/20130722102956_column_change_postal_codes.rb +7 -1
  7. data/ken_all.gemspec +1 -1
  8. data/lib/ken_all/version.rb +1 -1
  9. data/spec/dummy/README.md +24 -0
  10. data/spec/dummy/Rakefile +2 -3
  11. data/spec/dummy/config/application.rb +18 -50
  12. data/spec/dummy/config/boot.rb +3 -9
  13. data/spec/dummy/config/database.yml +9 -9
  14. data/spec/dummy/config/environment.rb +4 -4
  15. data/spec/dummy/config/environments/test.rb +24 -15
  16. data/spec/dummy/config/initializers/assets.rb +14 -0
  17. data/spec/dummy/config/initializers/cookies_serializer.rb +5 -0
  18. data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  19. data/spec/dummy/config/initializers/wrap_parameters.rb +5 -5
  20. data/spec/dummy/config/routes.rb +1 -2
  21. data/spec/dummy/config.ru +3 -2
  22. data/spec/dummy/db/migrate/{20121028094049_create_ken_all_postal_codes.ken_all.rb → 20121028092517_create_ken_all_postal_codes.rb} +9 -2
  23. data/spec/dummy/db/migrate/{20130722113003_column_change_postal_codes.ken_all.rb → 20130722102956_column_change_postal_codes.rb} +7 -2
  24. data/spec/dummy/db/schema.rb +12 -13
  25. data/spec/dummy/db/seeds.rb +7 -0
  26. data/spec/dummy/public/404.html +55 -14
  27. data/spec/dummy/public/422.html +55 -14
  28. data/spec/dummy/public/500.html +54 -13
  29. data/{app/assets/images/ken_all/.gitkeep → spec/dummy/public/apple-touch-icon-precomposed.png} +0 -0
  30. data/spec/dummy/{app/mailers/.gitkeep → public/apple-touch-icon.png} +0 -0
  31. data/spec/dummy/public/robots.txt +1 -0
  32. data/spec/lib/ken_all_spec.rb +14 -14
  33. data/spec/models/ken_all/postal_code_spec.rb +2 -2
  34. data/spec/spec_helper.rb +0 -1
  35. metadata +37 -52
  36. data/app/assets/javascripts/ken_all/application.js +0 -15
  37. data/app/assets/stylesheets/ken_all/application.css +0 -13
  38. data/app/controllers/ken_all/application_controller.rb +0 -4
  39. data/app/helpers/ken_all/application_helper.rb +0 -4
  40. data/app/views/layouts/ken_all/application.html.erb +0 -14
  41. data/config/routes.rb +0 -2
  42. data/spec/dummy/README.rdoc +0 -261
  43. data/spec/dummy/app/assets/javascripts/application.js +0 -15
  44. data/spec/dummy/app/assets/stylesheets/application.css +0 -13
  45. data/spec/dummy/app/controllers/application_controller.rb +0 -3
  46. data/spec/dummy/app/helpers/application_helper.rb +0 -2
  47. data/spec/dummy/app/models/.gitkeep +0 -0
  48. data/spec/dummy/app/views/layouts/application.html.erb +0 -14
  49. data/spec/dummy/config/environments/development.rb +0 -37
  50. data/spec/dummy/config/environments/production.rb +0 -67
  51. data/spec/dummy/config/initializers/backtrace_silencers.rb +0 -7
  52. data/spec/dummy/config/initializers/inflections.rb +0 -15
  53. data/spec/dummy/config/initializers/mime_types.rb +0 -5
  54. data/spec/dummy/config/initializers/secret_token.rb +0 -7
  55. data/spec/dummy/config/initializers/session_store.rb +0 -8
  56. data/spec/dummy/config/locales/en.yml +0 -5
  57. data/spec/dummy/lib/assets/.gitkeep +0 -0
  58. data/spec/dummy/log/.gitkeep +0 -0
  59. data/spec/dummy/script/rails +0 -6
@@ -1,5 +1,10 @@
1
- # This migration comes from ken_all (originally 20121028092517)
2
- class CreateKenAllPostalCodes < ActiveRecord::Migration
1
+ if ActiveRecord.gem_version >= Gem::Version.new('4.2')
2
+ class CreateKenAllPostalCodes < ActiveRecord::Migration[4.2]; end
3
+ else
4
+ class CreateKenAllPostalCodes < ActiveRecord::Migration; end
5
+ end
6
+
7
+ CreateKenAllPostalCodes.class_eval do
3
8
  def change
4
9
  create_table :ken_all_postal_codes do |t|
5
10
  t.string :code
@@ -11,5 +16,7 @@ class CreateKenAllPostalCodes < ActiveRecord::Migration
11
16
  t.string :address_kana3
12
17
  t.timestamps
13
18
  end
19
+
20
+ add_index :ken_all_postal_codes, :code
14
21
  end
15
22
  end
@@ -1,5 +1,10 @@
1
- # This migration comes from ken_all (originally 20130722102956)
2
- class ColumnChangePostalCodes < ActiveRecord::Migration
1
+ if ActiveRecord.gem_version >= Gem::Version.new('4.2')
2
+ class ColumnChangePostalCodes < ActiveRecord::Migration[4.2]; end
3
+ else
4
+ class ColumnChangePostalCodes < ActiveRecord::Migration; end
5
+ end
6
+
7
+ ColumnChangePostalCodes.class_eval do
3
8
  def change
4
9
  change_column :ken_all_postal_codes, :address1, :text
5
10
  change_column :ken_all_postal_codes, :address2, :text
@@ -1,4 +1,3 @@
1
- # encoding: UTF-8
2
1
  # This file is auto-generated from the current state of the database. Instead
3
2
  # of editing this file, please use the migrations feature of Active Record to
4
3
  # incrementally modify your database, and then regenerate this schema definition.
@@ -9,20 +8,20 @@
9
8
  # from scratch. The latter is a flawed and unsustainable approach (the more migrations
10
9
  # you'll amass, the slower it'll run and the greater likelihood for issues).
11
10
  #
12
- # It's strongly recommended to check this file into your version control system.
11
+ # It's strongly recommended that you check this file into your version control system.
13
12
 
14
- ActiveRecord::Schema.define(:version => 20130722113003) do
13
+ ActiveRecord::Schema.define(version: 2013_07_22_113003) do
15
14
 
16
- create_table "ken_all_postal_codes", :force => true do |t|
17
- t.string "code"
18
- t.text "address1", :limit => 255
19
- t.text "address2", :limit => 255
20
- t.text "address3", :limit => 255
21
- t.text "address_kana1", :limit => 255
22
- t.text "address_kana2", :limit => 255
23
- t.text "address_kana3", :limit => 255
24
- t.datetime "created_at", :null => false
25
- t.datetime "updated_at", :null => false
15
+ create_table "ken_all_postal_codes", force: :cascade do |t|
16
+ t.string "code"
17
+ t.text "address1"
18
+ t.text "address2"
19
+ t.text "address3"
20
+ t.text "address_kana1"
21
+ t.text "address_kana2"
22
+ t.text "address_kana3"
23
+ t.datetime "created_at"
24
+ t.datetime "updated_at"
26
25
  end
27
26
 
28
27
  end
@@ -0,0 +1,7 @@
1
+ # This file should contain all the record creation needed to seed the database with its default values.
2
+ # The data can then be loaded with the rails db:seed command (or created alongside the database with db:setup).
3
+ #
4
+ # Examples:
5
+ #
6
+ # movies = Movie.create([{ name: 'Star Wars' }, { name: 'Lord of the Rings' }])
7
+ # Character.create(name: 'Luke', movie: movies.first)
@@ -2,25 +2,66 @@
2
2
  <html>
3
3
  <head>
4
4
  <title>The page you were looking for doesn't exist (404)</title>
5
- <style type="text/css">
6
- body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
7
- div.dialog {
8
- width: 25em;
9
- padding: 0 4em;
10
- margin: 4em auto 0 auto;
11
- border: 1px solid #ccc;
12
- border-right-color: #999;
13
- border-bottom-color: #999;
14
- }
15
- h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
5
+ <meta name="viewport" content="width=device-width,initial-scale=1">
6
+ <style>
7
+ .rails-default-error-page {
8
+ background-color: #EFEFEF;
9
+ color: #2E2F30;
10
+ text-align: center;
11
+ font-family: arial, sans-serif;
12
+ margin: 0;
13
+ }
14
+
15
+ .rails-default-error-page div.dialog {
16
+ width: 95%;
17
+ max-width: 33em;
18
+ margin: 4em auto 0;
19
+ }
20
+
21
+ .rails-default-error-page div.dialog > div {
22
+ border: 1px solid #CCC;
23
+ border-right-color: #999;
24
+ border-left-color: #999;
25
+ border-bottom-color: #BBB;
26
+ border-top: #B00100 solid 4px;
27
+ border-top-left-radius: 9px;
28
+ border-top-right-radius: 9px;
29
+ background-color: white;
30
+ padding: 7px 12% 0;
31
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
32
+ }
33
+
34
+ .rails-default-error-page h1 {
35
+ font-size: 100%;
36
+ color: #730E15;
37
+ line-height: 1.5em;
38
+ }
39
+
40
+ .rails-default-error-page div.dialog > p {
41
+ margin: 0 0 1em;
42
+ padding: 1em;
43
+ background-color: #F7F7F7;
44
+ border: 1px solid #CCC;
45
+ border-right-color: #999;
46
+ border-left-color: #999;
47
+ border-bottom-color: #999;
48
+ border-bottom-left-radius: 4px;
49
+ border-bottom-right-radius: 4px;
50
+ border-top-color: #DADADA;
51
+ color: #666;
52
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
53
+ }
16
54
  </style>
17
55
  </head>
18
56
 
19
- <body>
57
+ <body class="rails-default-error-page">
20
58
  <!-- This file lives in public/404.html -->
21
59
  <div class="dialog">
22
- <h1>The page you were looking for doesn't exist.</h1>
23
- <p>You may have mistyped the address or the page may have moved.</p>
60
+ <div>
61
+ <h1>The page you were looking for doesn't exist.</h1>
62
+ <p>You may have mistyped the address or the page may have moved.</p>
63
+ </div>
64
+ <p>If you are the application owner check the logs for more information.</p>
24
65
  </div>
25
66
  </body>
26
67
  </html>
@@ -2,25 +2,66 @@
2
2
  <html>
3
3
  <head>
4
4
  <title>The change you wanted was rejected (422)</title>
5
- <style type="text/css">
6
- body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
7
- div.dialog {
8
- width: 25em;
9
- padding: 0 4em;
10
- margin: 4em auto 0 auto;
11
- border: 1px solid #ccc;
12
- border-right-color: #999;
13
- border-bottom-color: #999;
14
- }
15
- h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
5
+ <meta name="viewport" content="width=device-width,initial-scale=1">
6
+ <style>
7
+ .rails-default-error-page {
8
+ background-color: #EFEFEF;
9
+ color: #2E2F30;
10
+ text-align: center;
11
+ font-family: arial, sans-serif;
12
+ margin: 0;
13
+ }
14
+
15
+ .rails-default-error-page div.dialog {
16
+ width: 95%;
17
+ max-width: 33em;
18
+ margin: 4em auto 0;
19
+ }
20
+
21
+ .rails-default-error-page div.dialog > div {
22
+ border: 1px solid #CCC;
23
+ border-right-color: #999;
24
+ border-left-color: #999;
25
+ border-bottom-color: #BBB;
26
+ border-top: #B00100 solid 4px;
27
+ border-top-left-radius: 9px;
28
+ border-top-right-radius: 9px;
29
+ background-color: white;
30
+ padding: 7px 12% 0;
31
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
32
+ }
33
+
34
+ .rails-default-error-page h1 {
35
+ font-size: 100%;
36
+ color: #730E15;
37
+ line-height: 1.5em;
38
+ }
39
+
40
+ .rails-default-error-page div.dialog > p {
41
+ margin: 0 0 1em;
42
+ padding: 1em;
43
+ background-color: #F7F7F7;
44
+ border: 1px solid #CCC;
45
+ border-right-color: #999;
46
+ border-left-color: #999;
47
+ border-bottom-color: #999;
48
+ border-bottom-left-radius: 4px;
49
+ border-bottom-right-radius: 4px;
50
+ border-top-color: #DADADA;
51
+ color: #666;
52
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
53
+ }
16
54
  </style>
17
55
  </head>
18
56
 
19
- <body>
57
+ <body class="rails-default-error-page">
20
58
  <!-- This file lives in public/422.html -->
21
59
  <div class="dialog">
22
- <h1>The change you wanted was rejected.</h1>
23
- <p>Maybe you tried to change something you didn't have access to.</p>
60
+ <div>
61
+ <h1>The change you wanted was rejected.</h1>
62
+ <p>Maybe you tried to change something you didn't have access to.</p>
63
+ </div>
64
+ <p>If you are the application owner check the logs for more information.</p>
24
65
  </div>
25
66
  </body>
26
67
  </html>
@@ -2,24 +2,65 @@
2
2
  <html>
3
3
  <head>
4
4
  <title>We're sorry, but something went wrong (500)</title>
5
- <style type="text/css">
6
- body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
7
- div.dialog {
8
- width: 25em;
9
- padding: 0 4em;
10
- margin: 4em auto 0 auto;
11
- border: 1px solid #ccc;
12
- border-right-color: #999;
13
- border-bottom-color: #999;
14
- }
15
- h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
5
+ <meta name="viewport" content="width=device-width,initial-scale=1">
6
+ <style>
7
+ .rails-default-error-page {
8
+ background-color: #EFEFEF;
9
+ color: #2E2F30;
10
+ text-align: center;
11
+ font-family: arial, sans-serif;
12
+ margin: 0;
13
+ }
14
+
15
+ .rails-default-error-page div.dialog {
16
+ width: 95%;
17
+ max-width: 33em;
18
+ margin: 4em auto 0;
19
+ }
20
+
21
+ .rails-default-error-page div.dialog > div {
22
+ border: 1px solid #CCC;
23
+ border-right-color: #999;
24
+ border-left-color: #999;
25
+ border-bottom-color: #BBB;
26
+ border-top: #B00100 solid 4px;
27
+ border-top-left-radius: 9px;
28
+ border-top-right-radius: 9px;
29
+ background-color: white;
30
+ padding: 7px 12% 0;
31
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
32
+ }
33
+
34
+ .rails-default-error-page h1 {
35
+ font-size: 100%;
36
+ color: #730E15;
37
+ line-height: 1.5em;
38
+ }
39
+
40
+ .rails-default-error-page div.dialog > p {
41
+ margin: 0 0 1em;
42
+ padding: 1em;
43
+ background-color: #F7F7F7;
44
+ border: 1px solid #CCC;
45
+ border-right-color: #999;
46
+ border-left-color: #999;
47
+ border-bottom-color: #999;
48
+ border-bottom-left-radius: 4px;
49
+ border-bottom-right-radius: 4px;
50
+ border-top-color: #DADADA;
51
+ color: #666;
52
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
53
+ }
16
54
  </style>
17
55
  </head>
18
56
 
19
- <body>
57
+ <body class="rails-default-error-page">
20
58
  <!-- This file lives in public/500.html -->
21
59
  <div class="dialog">
22
- <h1>We're sorry, but something went wrong.</h1>
60
+ <div>
61
+ <h1>We're sorry, but something went wrong.</h1>
62
+ </div>
63
+ <p>If you are the application owner check the logs for more information.</p>
23
64
  </div>
24
65
  </body>
25
66
  </html>
@@ -0,0 +1 @@
1
+ # See http://www.robotstxt.org/robotstxt.html for documentation on how to use the robots.txt file
@@ -14,7 +14,7 @@ describe KenAll::Import do
14
14
  ENV['FILE'] = File.join(File.dirname(__FILE__), '..', 'files/import-test.zip')
15
15
  obj.from_file
16
16
  ENV.delete 'FILE'
17
- KenAll::PostalCode.scoped.size.should == 7
17
+ expect(KenAll::PostalCode.all.size).to eq 7
18
18
  end
19
19
  end
20
20
 
@@ -23,7 +23,7 @@ describe KenAll::Import do
23
23
  ENV['FILE'] = File.join(File.dirname(__FILE__), '..', 'files/import-test.csv')
24
24
  obj.from_file
25
25
  ENV.delete 'FILE'
26
- KenAll::PostalCode.scoped.size.should == 7
26
+ expect(KenAll::PostalCode.all.size).to eq 7
27
27
  end
28
28
  end
29
29
 
@@ -45,51 +45,51 @@ EOS
45
45
  obj.import_model(csv)
46
46
  end
47
47
  it "正しく取り込まれること" do
48
- KenAll::PostalCode.scoped.size.should == 7
48
+ expect(KenAll::PostalCode.all.size).to eq 7
49
49
  end
50
50
  context "以下に掲載がない場合" do
51
51
  let(:record){KenAll::PostalCode.find_by_code("0600000")}
52
52
  it "address3に空文字列がセットされていること" do
53
- record.address3.should == ""
53
+ expect(record.address3).to eq ''
54
54
  end
55
55
  it "address_kana3に空文字列がセットされていること" do
56
- record.address_kana3.should == ""
56
+ expect(record.address_kana3).to eq ''
57
57
  end
58
58
  end
59
59
  context "の次に番地がくる場合" do
60
60
  let(:record){KenAll::PostalCode.find_by_code("3060433")}
61
61
  it "address3に空文字列がセットされていること" do
62
- record.address3.should == ""
62
+ expect(record.address3).to eq ''
63
63
  end
64
64
  it "address_kana3に空文字列がセットされていること" do
65
- record.address_kana3.should == ""
65
+ expect(record.address_kana3).to eq ''
66
66
  end
67
67
  end
68
68
  context "〜一円" do
69
69
  let(:record){KenAll::PostalCode.find_by_code("1000301")}
70
70
  it "address3に空文字列がセットされていること" do
71
- record.address3.should == ""
71
+ expect(record.address3).to eq ''
72
72
  end
73
73
  it "address_kana3に空文字列がセットされていること" do
74
- record.address_kana3.should == ""
74
+ expect(record.address_kana3).to eq ''
75
75
  end
76
76
  end
77
77
  context "一円という地名" do
78
78
  let(:record){KenAll::PostalCode.find_by_code("5220317")}
79
79
  it "address3の修正はされないこと" do
80
- record.address3.should == "一円"
80
+ expect(record.address3).to eq "一円"
81
81
  end
82
82
  it "address_kana3の修正はされないこと" do
83
- record.address_kana3.should == "イチエン"
83
+ expect(record.address_kana3).to eq "イチエン"
84
84
  end
85
85
  end
86
86
  context "〒066-0005の住所のマージ" do
87
87
  let(:record){KenAll::PostalCode.find_by_code("0660005")}
88
88
  it "address3が正しいこと" do
89
- record.address3.should == "協和(88−2、271−10、343−2、404−1、427−3、431−12、443−6、608−2、641−8、814、842−5、1137−3、1392、1657、1752番地)"
89
+ expect(record.address3).to eq "協和(88−2、271−10、343−2、404−1、427−3、431−12、443−6、608−2、641−8、814、842−5、1137−3、1392、1657、1752番地)"
90
90
  end
91
91
  it "address_kana3が正しいこと" do
92
- record.address_kana3.should == "キョウワ(88-2、271-10、343-2、404-1、427-3、431-12、443-6、608-2、641-8、814、842-5、1137-3、1392、1657、1752バンチ)"
92
+ expect(record.address_kana3).to eq "キョウワ(88-2、271-10、343-2、404-1、427-3、431-12、443-6、608-2、641-8、814、842-5、1137-3、1392、1657、1752バンチ)"
93
93
  end
94
94
  end
95
95
  end
@@ -100,7 +100,7 @@ EOS
100
100
  allow(KenAll::PostalCode.columns).to receive(:select) { [column] }
101
101
  end
102
102
  it '例外が発生すること' do
103
- expect {KenAll::Import.new}.to raise_error
103
+ expect {KenAll::Import.new}.to raise_error(KenAll::OldSchemaException)
104
104
  end
105
105
  end
106
106
  end
@@ -7,7 +7,7 @@ describe KenAll::PostalCode do
7
7
  :address3 => "丸の内", :address_kana1 => "オカヤマケン", :address_kana2 => "オカヤマシキタク",
8
8
  :address_kana3 => "マルノウチ")}
9
9
  it "バリデーションが成功すること" do
10
- postal_code.should be_valid
10
+ expect(postal_code).to be_valid
11
11
  end
12
12
  end
13
13
  context "異常なデータの場合" do
@@ -15,7 +15,7 @@ describe KenAll::PostalCode do
15
15
  :address3 => "丸の内", :address_kana1 => "オカヤマケン", :address_kana2 => "オカヤマシキタク",
16
16
  :address_kana3 => "マルノウチ")}
17
17
  it "バリデーションが失敗すること" do
18
- postal_code.should_not be_valid
18
+ expect(postal_code).not_to be_valid
19
19
  end
20
20
  end
21
21
  end
data/spec/spec_helper.rb CHANGED
@@ -2,7 +2,6 @@
2
2
  ENV["RAILS_ENV"] ||= 'test'
3
3
  require File.expand_path("../../spec/dummy/config/environment", __FILE__)
4
4
  require 'rspec/rails'
5
- require 'rspec/autorun'
6
5
 
7
6
  # Requires supporting ruby files with custom matchers and macros, etc,
8
7
  # in spec/support/ and its subdirectories.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ken_all
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.12
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yamamoto Kazuhisa
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-08-18 00:00:00.000000000 Z
11
+ date: 2018-06-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord-import
@@ -66,6 +66,20 @@ dependencies:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
68
  version: '1.0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: listen
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
69
83
  - !ruby/object:Gem::Dependency
70
84
  name: sqlite3
71
85
  requirement: !ruby/object:Gem::Requirement
@@ -109,14 +123,7 @@ files:
109
123
  - MIT-LICENSE
110
124
  - README.rdoc
111
125
  - Rakefile
112
- - app/assets/images/ken_all/.gitkeep
113
- - app/assets/javascripts/ken_all/application.js
114
- - app/assets/stylesheets/ken_all/application.css
115
- - app/controllers/ken_all/application_controller.rb
116
- - app/helpers/ken_all/application_helper.rb
117
126
  - app/models/ken_all/postal_code.rb
118
- - app/views/layouts/ken_all/application.html.erb
119
- - config/routes.rb
120
127
  - db/migrate/20121028092517_create_ken_all_postal_codes.rb
121
128
  - db/migrate/20130722102956_column_change_postal_codes.rb
122
129
  - ken_all.gemspec
@@ -129,41 +136,30 @@ files:
129
136
  - lib/ken_all/visualizer.rb
130
137
  - lib/tasks/ken_all_tasks.rake
131
138
  - script/rails
132
- - spec/dummy/README.rdoc
139
+ - spec/dummy/README.md
133
140
  - spec/dummy/Rakefile
134
- - spec/dummy/app/assets/javascripts/application.js
135
- - spec/dummy/app/assets/stylesheets/application.css
136
- - spec/dummy/app/controllers/application_controller.rb
137
- - spec/dummy/app/helpers/application_helper.rb
138
- - spec/dummy/app/mailers/.gitkeep
139
- - spec/dummy/app/models/.gitkeep
140
- - spec/dummy/app/views/layouts/application.html.erb
141
141
  - spec/dummy/config.ru
142
142
  - spec/dummy/config/application.rb
143
143
  - spec/dummy/config/boot.rb
144
144
  - spec/dummy/config/database.yml
145
145
  - spec/dummy/config/environment.rb
146
- - spec/dummy/config/environments/development.rb
147
- - spec/dummy/config/environments/production.rb
148
146
  - spec/dummy/config/environments/test.rb
149
- - spec/dummy/config/initializers/backtrace_silencers.rb
150
- - spec/dummy/config/initializers/inflections.rb
151
- - spec/dummy/config/initializers/mime_types.rb
152
- - spec/dummy/config/initializers/secret_token.rb
153
- - spec/dummy/config/initializers/session_store.rb
147
+ - spec/dummy/config/initializers/assets.rb
148
+ - spec/dummy/config/initializers/cookies_serializer.rb
149
+ - spec/dummy/config/initializers/filter_parameter_logging.rb
154
150
  - spec/dummy/config/initializers/wrap_parameters.rb
155
- - spec/dummy/config/locales/en.yml
156
151
  - spec/dummy/config/routes.rb
157
- - spec/dummy/db/migrate/20121028094049_create_ken_all_postal_codes.ken_all.rb
158
- - spec/dummy/db/migrate/20130722113003_column_change_postal_codes.ken_all.rb
152
+ - spec/dummy/db/migrate/20121028092517_create_ken_all_postal_codes.rb
153
+ - spec/dummy/db/migrate/20130722102956_column_change_postal_codes.rb
159
154
  - spec/dummy/db/schema.rb
160
- - spec/dummy/lib/assets/.gitkeep
161
- - spec/dummy/log/.gitkeep
155
+ - spec/dummy/db/seeds.rb
162
156
  - spec/dummy/public/404.html
163
157
  - spec/dummy/public/422.html
164
158
  - spec/dummy/public/500.html
159
+ - spec/dummy/public/apple-touch-icon-precomposed.png
160
+ - spec/dummy/public/apple-touch-icon.png
165
161
  - spec/dummy/public/favicon.ico
166
- - spec/dummy/script/rails
162
+ - spec/dummy/public/robots.txt
167
163
  - spec/files/import-test.csv
168
164
  - spec/files/import-test.zip
169
165
  - spec/lib/ken_all_spec.rb
@@ -189,46 +185,35 @@ required_rubygems_version: !ruby/object:Gem::Requirement
189
185
  version: '0'
190
186
  requirements: []
191
187
  rubyforge_project:
192
- rubygems_version: 2.6.11
188
+ rubygems_version: 2.7.6
193
189
  signing_key:
194
190
  specification_version: 4
195
191
  summary: Japanese postal code tools.
196
192
  test_files:
197
- - spec/dummy/README.rdoc
193
+ - spec/dummy/README.md
198
194
  - spec/dummy/Rakefile
199
- - spec/dummy/app/assets/javascripts/application.js
200
- - spec/dummy/app/assets/stylesheets/application.css
201
- - spec/dummy/app/controllers/application_controller.rb
202
- - spec/dummy/app/helpers/application_helper.rb
203
- - spec/dummy/app/mailers/.gitkeep
204
- - spec/dummy/app/models/.gitkeep
205
- - spec/dummy/app/views/layouts/application.html.erb
206
195
  - spec/dummy/config.ru
207
196
  - spec/dummy/config/application.rb
208
197
  - spec/dummy/config/boot.rb
209
198
  - spec/dummy/config/database.yml
210
199
  - spec/dummy/config/environment.rb
211
- - spec/dummy/config/environments/development.rb
212
- - spec/dummy/config/environments/production.rb
213
200
  - spec/dummy/config/environments/test.rb
214
- - spec/dummy/config/initializers/backtrace_silencers.rb
215
- - spec/dummy/config/initializers/inflections.rb
216
- - spec/dummy/config/initializers/mime_types.rb
217
- - spec/dummy/config/initializers/secret_token.rb
218
- - spec/dummy/config/initializers/session_store.rb
201
+ - spec/dummy/config/initializers/assets.rb
202
+ - spec/dummy/config/initializers/cookies_serializer.rb
203
+ - spec/dummy/config/initializers/filter_parameter_logging.rb
219
204
  - spec/dummy/config/initializers/wrap_parameters.rb
220
- - spec/dummy/config/locales/en.yml
221
205
  - spec/dummy/config/routes.rb
222
- - spec/dummy/db/migrate/20121028094049_create_ken_all_postal_codes.ken_all.rb
223
- - spec/dummy/db/migrate/20130722113003_column_change_postal_codes.ken_all.rb
206
+ - spec/dummy/db/migrate/20121028092517_create_ken_all_postal_codes.rb
207
+ - spec/dummy/db/migrate/20130722102956_column_change_postal_codes.rb
224
208
  - spec/dummy/db/schema.rb
225
- - spec/dummy/lib/assets/.gitkeep
226
- - spec/dummy/log/.gitkeep
209
+ - spec/dummy/db/seeds.rb
227
210
  - spec/dummy/public/404.html
228
211
  - spec/dummy/public/422.html
229
212
  - spec/dummy/public/500.html
213
+ - spec/dummy/public/apple-touch-icon-precomposed.png
214
+ - spec/dummy/public/apple-touch-icon.png
230
215
  - spec/dummy/public/favicon.ico
231
- - spec/dummy/script/rails
216
+ - spec/dummy/public/robots.txt
232
217
  - spec/files/import-test.csv
233
218
  - spec/files/import-test.zip
234
219
  - spec/lib/ken_all_spec.rb
@@ -1,15 +0,0 @@
1
- // This is a manifest file that'll be compiled into application.js, which will include all the files
2
- // listed below.
3
- //
4
- // Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
5
- // or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative path.
6
- //
7
- // It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
8
- // the compiled file.
9
- //
10
- // WARNING: THE FIRST BLANK LINE MARKS THE END OF WHAT'S TO BE PROCESSED, ANY BLANK LINE SHOULD
11
- // GO AFTER THE REQUIRES BELOW.
12
- //
13
- //= require jquery
14
- //= require jquery_ujs
15
- //= require_tree .
@@ -1,13 +0,0 @@
1
- /*
2
- * This is a manifest file that'll be compiled into application.css, which will include all the files
3
- * listed below.
4
- *
5
- * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
6
- * or vendor/assets/stylesheets of plugins, if any, can be referenced here using a relative path.
7
- *
8
- * You're free to add application-wide styles to this file and they'll appear at the top of the
9
- * compiled file, but it's generally better to create a new file per style scope.
10
- *
11
- *= require_self
12
- *= require_tree .
13
- */
@@ -1,4 +0,0 @@
1
- module KenAll
2
- class ApplicationController < ActionController::Base
3
- end
4
- end
@@ -1,4 +0,0 @@
1
- module KenAll
2
- module ApplicationHelper
3
- end
4
- end