flist 0.1.30 → 0.1.33

Sign up to get free protection for your applications and to get access to all the features.
Files changed (47) hide show
  1. checksums.yaml +5 -5
  2. data/.github/workflows/main.yml +31 -0
  3. data/.gitignore +5 -0
  4. data/.rubocop.yml +12 -0
  5. data/.rubocop_todo.yml +129 -0
  6. data/Gemfile +22 -0
  7. data/Rakefile +50 -3
  8. data/SECURITY.md +21 -0
  9. data/bin/console +4 -3
  10. data/bin/setup +2 -0
  11. data/config/.gitkeep +0 -0
  12. data/config/config.yml +14 -0
  13. data/config/config_sample.yml +15 -0
  14. data/config/config_yml.sample +15 -0
  15. data/config/db_scheme.yml +71 -0
  16. data/config/db_scheme.yml.sample +48 -0
  17. data/config/dbsetup.rb +56 -0
  18. data/config/opts.rb +9 -0
  19. data/config/opts.rb.sample +7 -0
  20. data/config/setting.yml +2 -0
  21. data/config/sqlite3.yml +26 -0
  22. data/config/tmp/db_scheme.yml +71 -0
  23. data/db/migrate/010_create_countdatetime.rb +11 -0
  24. data/db/migrate/020_create_flistz.rb +22 -0
  25. data/db/migrate/030_create_invalidflistz.rb +13 -0
  26. data/db/migrate/040_create_currentflistz.rb +15 -0
  27. data/db/migrate/050_create_dirz.rb +12 -0
  28. data/db/migrate/060_create_invaliddirz.rb +13 -0
  29. data/db/migrate/070_create_currentdirz.rb +15 -0
  30. data/exe/flist +80 -27
  31. data/flist.gemspec +33 -20
  32. data/lib/dbacrecord.rb +36 -0
  33. data/lib/flist/cli.rb +49 -0
  34. data/lib/flist/config.rb +16 -0
  35. data/lib/flist/csvx.rb +29 -0
  36. data/lib/flist/dbutil/dbmgr.rb +25 -24
  37. data/lib/flist/dbutil/dirzmgr.rb +75 -12
  38. data/lib/flist/dbutil/flistzmgr.rb +81 -34
  39. data/lib/flist/dbutil.rb +4 -4
  40. data/lib/flist/flist/filelist.rb +219 -168
  41. data/lib/flist/flist.rb +282 -101
  42. data/lib/flist/version.rb +3 -1
  43. data/lib/flist.rb +51 -5
  44. data/lib/template/config_yml.erb +15 -0
  45. metadata +128 -33
  46. data/exe/makemigrate +0 -52
  47. data/lib/flist/flist/store.rb +0 -79
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 74954e35dbe3808fe8a56740b5ac175d23352dc6
4
- data.tar.gz: 8304a1b252e2bddb3e0c8da9cc725dc62fce8c32
2
+ SHA256:
3
+ metadata.gz: d39ef08e21cea0fdd6d2ad26d2a23e6f8d711507486a92e70152fb02925f5b91
4
+ data.tar.gz: dca998382f32a359f9b42453927d65f646b3384e72e2f75ab794b5cb7ecfb412
5
5
  SHA512:
6
- metadata.gz: 21df6f570883e78784888d41f5018d7dfad5f6a1f5d64cca97cb1d5adc5594e4faf82d7934eb0f3ee0a7c21afa99d6ba4e68d9464eeccd5d6dee4072d405000b
7
- data.tar.gz: e86f66c766f38f3517cc6d4fb4ede4f71b334e8de185b5a416376e8ae2d7df06b0d4789c9fffdfe6beb1e036774d8fcc9aa3f6df7c1bbf3f853db558e77ba13e
6
+ metadata.gz: 817da79ec789360c3a9294475a411d916920b3a3de6019fb847de25436ba1a664fe0373d856df8f807d460b39a0c9c62bddab0dcaade6eaae3f4799a6276c426
7
+ data.tar.gz: 185d888808486747ff851570dc2b47493479ef61fc32e1bcf8fe8e8621bad468c4831ef50b3dcb9fbd0ce7ff075d9af67e94ea346eede60a4bc6d7167bcde486
@@ -0,0 +1,31 @@
1
+ name: Ruby
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - master
7
+
8
+ pull_request:
9
+
10
+ jobs:
11
+ build:
12
+ runs-on: ubuntu-latest
13
+
14
+ strategy:
15
+ matrix:
16
+ ruby:
17
+ - 2.7
18
+
19
+ steps:
20
+ - uses: actions/checkout@v2
21
+ - name: Set up Ruby
22
+ uses: ruby/setup-ruby@v1
23
+ with:
24
+ ruby-version: ${{ matrix.ruby }}
25
+ bundler-cache: true
26
+ - name: Run the arx task
27
+ run: bundle exec rake arx:arxutils_sqlite3
28
+ - name: Run the flists task
29
+ run: bundle exec rake flists
30
+ - name: Run the default task
31
+ run: bundle exec rake
data/.gitignore CHANGED
@@ -1,3 +1,8 @@
1
+ db/production.sqlite3
2
+ db/sqlite3-database.log
3
+ flist-gem.code-workspace
4
+ /vendor/
5
+ .ruby-version
1
6
  /.bundle/
2
7
  /.yardoc
3
8
  /Gemfile.lock
data/.rubocop.yml ADDED
@@ -0,0 +1,12 @@
1
+ inherit_from: .rubocop_todo.yml
2
+
3
+ AllCops:
4
+ TargetRubyVersion: 2.7
5
+ NewCops: enable
6
+
7
+ require:
8
+ - rubocop-rake
9
+ - rubocop-rspec
10
+
11
+
12
+
data/.rubocop_todo.yml ADDED
@@ -0,0 +1,129 @@
1
+ # This configuration was generated by
2
+ # `rubocop --auto-gen-config`
3
+ # on 2022-09-30 22:38:11 UTC using RuboCop version 1.36.0.
4
+ # The point is for the user to remove these configuration records
5
+ # one by one as the offenses are removed from the code base.
6
+ # Note that changes in the inspected code, or installation of new
7
+ # versions of RuboCop, may require this file to be generated again.
8
+
9
+
10
+ # Offense count: 1
11
+ # This cop supports safe autocorrection (--autocorrect).
12
+ # Configuration parameters: EnforcedStyle.
13
+ # SupportedStyles: empty_lines, empty_lines_except_namespace, empty_lines_special, no_empty_lines
14
+ Layout/EmptyLinesAroundModuleBody:
15
+ Exclude:
16
+ - 'lib/dbacrecord.rb'
17
+
18
+ # Offense count: 2
19
+ # This cop supports safe autocorrection (--autocorrect).
20
+ Layout/HeredocIndentation:
21
+ Exclude:
22
+ - 'db/migrate/040_create_currentflistz.rb'
23
+ - 'db/migrate/070_create_currentdirz.rb'
24
+
25
+ # Offense count: 1
26
+ # This cop supports safe autocorrection (--autocorrect).
27
+ # Configuration parameters: Width, AllowedPatterns, IgnoredPatterns.
28
+ Layout/IndentationWidth:
29
+ Exclude:
30
+ - 'lib/dbacrecord.rb'
31
+
32
+ # Offense count: 2
33
+ Lint/HashCompareByIdentity:
34
+ Exclude:
35
+ - 'lib/flist/dbutil/dirzmgr.rb'
36
+ - 'lib/flist/dbutil/flistzmgr.rb'
37
+
38
+ # Offense count: 12
39
+ # Configuration parameters: AllowedMethods, AllowedPatterns, IgnoredMethods, CountRepeatedAttributes.
40
+ Metrics/AbcSize:
41
+ Max: 61
42
+
43
+ # Offense count: 1
44
+ # Configuration parameters: CountComments, CountAsOne, ExcludedMethods, AllowedMethods, AllowedPatterns, IgnoredMethods, inherit_mode.
45
+ # AllowedMethods: refine
46
+ Metrics/BlockLength:
47
+ Max: 32
48
+
49
+ # Offense count: 2
50
+ # Configuration parameters: CountComments, CountAsOne.
51
+ Metrics/ClassLength:
52
+ Max: 270
53
+
54
+ # Offense count: 2
55
+ # Configuration parameters: AllowedMethods, AllowedPatterns, IgnoredMethods.
56
+ Metrics/CyclomaticComplexity:
57
+ Max: 10
58
+
59
+ # Offense count: 17
60
+ # Configuration parameters: CountComments, CountAsOne, ExcludedMethods, AllowedMethods, AllowedPatterns, IgnoredMethods.
61
+ Metrics/MethodLength:
62
+ Max: 48
63
+
64
+ # Offense count: 7
65
+ # Configuration parameters: CountKeywordArgs.
66
+ Metrics/ParameterLists:
67
+ Max: 11
68
+ MaxOptionalParameters: 11
69
+
70
+ # Offense count: 3
71
+ # Configuration parameters: AllowedMethods, AllowedPatterns, IgnoredMethods.
72
+ Metrics/PerceivedComplexity:
73
+ Max: 10
74
+
75
+ # Offense count: 1
76
+ # This cop supports safe autocorrection (--autocorrect).
77
+ Style/BlockComments:
78
+ Exclude:
79
+ - 'config/dbsetup.rb'
80
+
81
+ # Offense count: 7
82
+ # Configuration parameters: AllowedConstants.
83
+ Style/Documentation:
84
+ Exclude:
85
+ # - 'spec/**/*'
86
+ - 'test/**/*'
87
+ - 'db/migrate/010_create_countdatetime.rb'
88
+ - 'db/migrate/020_create_flistz.rb'
89
+ - 'db/migrate/030_create_invalidflistz.rb'
90
+ - 'db/migrate/040_create_currentflistz.rb'
91
+ - 'db/migrate/050_create_dirz.rb'
92
+ - 'db/migrate/060_create_invaliddirz.rb'
93
+ - 'db/migrate/070_create_currentdirz.rb'
94
+
95
+ # Offense count: 9
96
+ # This cop supports unsafe autocorrection (--autocorrect-all).
97
+ # Configuration parameters: EnforcedStyle.
98
+ # SupportedStyles: always, always_true, never
99
+ Style/FrozenStringLiteralComment:
100
+ Exclude:
101
+ - 'config/dbsetup.rb'
102
+ - 'db/migrate/010_create_countdatetime.rb'
103
+ - 'db/migrate/020_create_flistz.rb'
104
+ - 'db/migrate/030_create_invalidflistz.rb'
105
+ - 'db/migrate/040_create_currentflistz.rb'
106
+ - 'db/migrate/050_create_dirz.rb'
107
+ - 'db/migrate/060_create_invaliddirz.rb'
108
+ - 'db/migrate/070_create_currentdirz.rb'
109
+ - 'lib/dbacrecord.rb'
110
+
111
+ # Offense count: 21
112
+ # This cop supports safe autocorrection (--autocorrect).
113
+ # Configuration parameters: EnforcedStyle, EnforcedShorthandSyntax, UseHashRocketsWithSymbolValues, PreferHashRocketsForNonAlnumEndingSymbols.
114
+ # SupportedStyles: ruby19, hash_rockets, no_mixed_keys, ruby19_no_mixed_keys
115
+ # SupportedShorthandSyntax: always, never, either, consistent
116
+ Style/HashSyntax:
117
+ Exclude:
118
+ - 'db/migrate/010_create_countdatetime.rb'
119
+ - 'db/migrate/020_create_flistz.rb'
120
+ - 'db/migrate/030_create_invalidflistz.rb'
121
+ - 'db/migrate/050_create_dirz.rb'
122
+ - 'db/migrate/060_create_invaliddirz.rb'
123
+
124
+ # Offense count: 2
125
+ # This cop supports safe autocorrection (--autocorrect).
126
+ # Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns, IgnoredPatterns.
127
+ # URISchemes: http, https
128
+ Layout/LineLength:
129
+ Max: 159
data/Gemfile CHANGED
@@ -1,6 +1,28 @@
1
+ # frozen_string_literal: true
2
+
1
3
  source 'https://rubygems.org'
2
4
 
3
5
  # Specify your gem's dependencies in flist.gemspec
4
6
  gemspec
5
7
 
8
+ gem 'bundler'
9
+
10
+ ######
11
+ gem 'arxutils_sqlite3'
12
+ gem 'encx'
13
+ gem 'evernote_oauth'
14
+ gem 'ykxutils'
15
+
16
+ gem 'ykutils', '> 0.1.3'
17
+ # gem 'ykutils', '> 0.1.3', path: '../ykutils'
18
+
19
+ gem 'rake', '~> 13.0'
20
+ gem 'rspec', '~> 3.0'
21
+
22
+ gem 'rubocop', '~> 1.7'
23
+ gem 'rubocop-rake'
24
+ gem 'rubocop-rspec'
6
25
 
26
+ group :development do
27
+ gem 'yard'
28
+ end
data/Rakefile CHANGED
@@ -1,6 +1,53 @@
1
- require "bundler/gem_tasks"
2
- require "rspec/core/rake_task"
1
+ # frozen_string_literal: true
2
+
3
+ require 'flist'
4
+ require 'arxutils_sqlite3/rake_task'
5
+
6
+ require 'bundler/gem_tasks'
7
+ require 'rspec/core/rake_task'
8
+ # require "rubocop"
3
9
 
4
10
  RSpec::Core::RakeTask.new(:spec)
5
11
 
6
- task :default => :spec
12
+ require 'rubocop/rake_task'
13
+
14
+ RuboCop::RakeTask.new
15
+
16
+ # task :default => :spec
17
+ efname = 'env-a1.yaml'
18
+ # efname = "env-a2.yaml"
19
+ # efname = "env-a3.yaml"
20
+ cfname = 'config/config.yml'
21
+
22
+ desc 'Flist related operation'
23
+ task :flists do
24
+ sh "bundle exec exe/flist --cmd=s --env=#{efname} --config=#{cfname}"
25
+ end
26
+
27
+ desc 'Flist related operation'
28
+ task :flistfs1 do
29
+ sh "bundle exec exe/flist --cmd=fs1 --env=#{efname} --config=#{cfname}"
30
+ end
31
+
32
+ desc 'Flist related operation'
33
+ task :flistfs2 do
34
+ sh "bundle exec exe/flist --cmd=fs2 --env=#{efname} --config=#{cfname}"
35
+ end
36
+
37
+ desc 'Flist related operation'
38
+ task :flistfs3 do
39
+ sh "bundle exec exe/flist --cmd=fs3 --env=#{efname} --config=#{cfname}"
40
+ end
41
+
42
+ desc 'Flist related operation'
43
+ task :flistfr do
44
+ sh "bundle exec exe/flist --cmd=fr --env=#{efname} --config=#{cfname}"
45
+ end
46
+
47
+ desc 'Flist related operation'
48
+ task flistall: %i[flistfs1 flistfs2 flistfs3 flistfr]
49
+
50
+ desc 'Flist spec rubocop'
51
+ task default: %i[spec rubocop]
52
+
53
+ # task :default => :spec
data/SECURITY.md ADDED
@@ -0,0 +1,21 @@
1
+ # Security Policy
2
+
3
+ ## Supported Versions
4
+
5
+ Use this section to tell people about which versions of your project are
6
+ currently being supported with security updates.
7
+
8
+ | Version | Supported |
9
+ | ------- | ------------------ |
10
+ | 5.1.x | :white_check_mark: |
11
+ | 5.0.x | :x: |
12
+ | 4.0.x | :white_check_mark: |
13
+ | < 4.0 | :x: |
14
+
15
+ ## Reporting a Vulnerability
16
+
17
+ Use this section to tell people how to report a vulnerability.
18
+
19
+ Tell them where to go, how often they can expect to get an update on a
20
+ reported vulnerability, what to expect if the vulnerability is accepted or
21
+ declined, etc.
data/bin/console CHANGED
@@ -1,7 +1,8 @@
1
1
  #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
2
3
 
3
- require "bundler/setup"
4
- require "flist"
4
+ require 'bundler/setup'
5
+ require 'flist'
5
6
 
6
7
  # You can add fixtures and/or initialization code here to make experimenting
7
8
  # with your gem easier. You can also use a different console, if you like.
@@ -10,5 +11,5 @@ require "flist"
10
11
  # require "pry"
11
12
  # Pry.start
12
13
 
13
- require "irb"
14
+ require 'irb'
14
15
  IRB.start
data/bin/setup CHANGED
@@ -2,6 +2,8 @@
2
2
  set -euo pipefail
3
3
  IFS=$'\n\t'
4
4
 
5
+ bundle config path --local vendor/bundle
5
6
  bundle install
7
+ bundle exec ruby exe/flist --cmd="s"
6
8
 
7
9
  # Do any other automated setup that you need to do here
data/config/.gitkeep ADDED
File without changes
data/config/config.yml ADDED
@@ -0,0 +1,14 @@
1
+ ---
2
+ - # home: '/home/ykominami'
3
+ home: '/mnt/z/BACKUP/ykomi-202008'
4
+ c: '/mnt/c'
5
+ e: '/mnt/e'
6
+ v: '/mnt/e/V'
7
+ x: '/mnt/e/X'
8
+ z: '/mnt/z'
9
+ - home: '/home/ykominami'
10
+ c: 'C:'
11
+ e: 'E:'
12
+ v: 'E:\V'
13
+ x: 'E:\X'
14
+ z: 'Z:'
@@ -0,0 +1,15 @@
1
+ ---
2
+ -
3
+ home: '/home/ykominami'
4
+ c: '/mnt/c'
5
+ e: '/mnt/e'
6
+ v: '/mnt/e/V'
7
+ x: '/mnt/e/X'
8
+ z: '/mnt/z'
9
+ -
10
+ home: '/home/ykominami'
11
+ c: 'C:'
12
+ e: 'E:'
13
+ v: 'E:\V'
14
+ x: 'E:\X'
15
+ z: 'Z:'
@@ -0,0 +1,15 @@
1
+ ---
2
+ -
3
+ home: '/home/ykominami'
4
+ c: '/mnt/c'
5
+ e: '/mnt/e'
6
+ v: '/mnt/e/V'
7
+ x: '/mnt/e/X'
8
+ z: '/mnt/z'
9
+ -
10
+ home: '/home/ykominami'
11
+ c: 'C:'
12
+ e: 'E:'
13
+ v: 'E:\V'
14
+ x: 'E:\X'
15
+ z: 'Z:'
@@ -0,0 +1,71 @@
1
+ ---
2
+ - :flist:
3
+ - noitem
4
+ :classname: Countdatetime
5
+ :classname_downcase: countdatetime
6
+ :items:
7
+ - - countdatetime
8
+ - datetime
9
+ - 'false'
10
+ :plural: countdatetimes
11
+ :ar_version: 6.0
12
+ - :flist:
13
+ - noitem
14
+ - invalid
15
+ - current
16
+ :classname: Flistz
17
+ :classname_downcase: flistz
18
+ :items:
19
+ - - dir_id
20
+ - integer
21
+ - 'false'
22
+ - - level
23
+ - integer
24
+ - 'false'
25
+ - - kind
26
+ - string
27
+ - 'false'
28
+ - - repo
29
+ - string
30
+ - 'false'
31
+ - - path
32
+ - string
33
+ - 'false'
34
+ - - project
35
+ - string
36
+ - 'false'
37
+ - - desc
38
+ - string
39
+ - 'true'
40
+ - - comment
41
+ - string
42
+ - 'true'
43
+ - - atime
44
+ - datetime
45
+ - 'false'
46
+ - - ctime
47
+ - datetime
48
+ - 'false'
49
+ - - mtime
50
+ - datetime
51
+ - 'false'
52
+ - - start_datetime
53
+ - datetime
54
+ - 'false'
55
+ :plural: Flistzs
56
+ :ar_version: 6.0
57
+ - :flist:
58
+ - noitem
59
+ - invalid
60
+ - current
61
+ :classname: Dirz
62
+ :classname_downcase: dirz
63
+ :items:
64
+ - - path
65
+ - string
66
+ - 'false'
67
+ - - start_datetime
68
+ - datetime
69
+ - 'false'
70
+ :plural: Dirzs
71
+ :ar_version: 6.0
@@ -0,0 +1,48 @@
1
+ ---
2
+ - :flist:
3
+ - noitem
4
+ :classname: Countdatetime
5
+ :classname_downcase: countdatetime
6
+ :items:
7
+ - - countdatetime
8
+ - datetime
9
+ - 'false'
10
+ :plural: countdatetimes
11
+ :ar_version: 6.0
12
+ - :flist:
13
+ - noitem
14
+ :classname: Flist
15
+ :classname_downcase: flist
16
+ :items:
17
+ - - time_id
18
+ - integer
19
+ - 'false'
20
+ - - ennb_id
21
+ - integer
22
+ - 'false'
23
+ :plural: flists
24
+ :ar_version: 6.0
25
+ - :flist:
26
+ - noitem
27
+ - invalid
28
+ - current
29
+ :classname: Flistlist
30
+ :classname_downcase: flistlist
31
+ :items:
32
+ - - stack
33
+ - string
34
+ - 'false'
35
+ - - notebook
36
+ - string
37
+ - 'false'
38
+ - - count
39
+ - integer
40
+ - 'false'
41
+ - - tag_count
42
+ - integer
43
+ - 'false'
44
+ - - start_datetime
45
+ - datetime
46
+ - 'false'
47
+ :plural: flistlists
48
+ :ar_version: 6.0
data/config/dbsetup.rb ADDED
@@ -0,0 +1,56 @@
1
+ require_relative '../lib/dbacrecord'
2
+
3
+ # テスト用クラス
4
+ class Dbsetup
5
+ def initialize(connect_time)
6
+ @connect_time = connect_time
7
+ @ct = Flist::Dbutil::Countdatetime.create(countdatetime: @connect_time)
8
+ @hs_by_notebook = {}
9
+ @hs_by_id = {}
10
+ end
11
+ =begin
12
+ # 指定stack(文字列)にノートブック(文字列)、ノートブック数、タグ数を追加
13
+ def add( stack , notebook, count, tag_count )
14
+ ennblist = @hs_by_notebook[notebook]
15
+ unless ennblist
16
+ cur_ennblist = Currentennblist.where( notebook: notebook ).limit(1)
17
+ if cur_ennblist.size == 0
18
+ begin
19
+ ennblist = Ennblist.create( stack: stack, notebook: notebook ,
20
+ count: count, tag_count: tag_count ,
21
+ start_datetime: @register_time )
22
+ evnb = Evnb.create( time_id: @ct.id , ennb_id: ennblist.id )
23
+ rescue => ex
24
+ p ex.class
25
+ p ex.message
26
+ pp ex.backtrace
27
+
28
+ ennblist = nil
29
+ evnb = nil
30
+ end
31
+ else
32
+ current_ennblist = cur_ennblist.first.ennblist
33
+ hs = {:stack => stack, :count => count , :tag_count => tag_count }
34
+ value_hs = hs.reduce({}){ |hsx,item|
35
+ if current_ennblist[ item[0] ] != item[1]
36
+ hsx[ item[0] ] = item[1]
37
+ end
38
+ hsx
39
+ }
40
+ if value_hs.size > 0
41
+ if value_hs.all? { |item| item[1] != nil }
42
+ current_ennblist.update(value_hs)
43
+ end
44
+ end
45
+ end
46
+ else
47
+ # ignore this case.
48
+ end
49
+ if ennblist
50
+ @hs_by_notebook[notebook] = ennblist
51
+ @hs_by_id[ennblist.id] = ennblist
52
+ end
53
+ ennblist
54
+ end
55
+ =end
56
+ end
data/config/opts.rb ADDED
@@ -0,0 +1,9 @@
1
+ # frozen_string_literal: true
2
+
3
+ @opts = {
4
+ acrecord: {
5
+ module: %w[Flist Dbutil],
6
+ filename: 'dbacrecord.rb',
7
+ dir: 'lib'
8
+ }
9
+ }
@@ -0,0 +1,7 @@
1
+ @opts = {
2
+ acrecord: {
3
+ module: %w[Flist Dbutil],
4
+ filename: "dbacrecord.rb",
5
+ dir: "lib"
6
+ }
7
+ }
@@ -0,0 +1,2 @@
1
+ ---
2
+ :mod: Flist
@@ -0,0 +1,26 @@
1
+ # SQLite version 3.x
2
+ # gem install sqlite3
3
+ #
4
+ # Ensure the SQLite 3 gem is defined in your Gemfile
5
+ # gem 'sqlite3'
6
+ #
7
+ default_env: &default
8
+ adapter: sqlite3
9
+ pool: 5
10
+ timeout: 5000
11
+ database: db/production.sqlite3
12
+
13
+ development:
14
+ <<: *default
15
+ database: db/development.sqlite3
16
+
17
+ # Warning: The database defined as "test" will be erased and
18
+ # re-generated from your development database when you run "rake".
19
+ # Do not set this db to the same as development or production.
20
+ test:
21
+ <<: *default
22
+ database: db/test.sqlite3
23
+
24
+ production:
25
+ <<: *default
26
+ database: db/production.sqlite3
@@ -0,0 +1,71 @@
1
+ ---
2
+ - :flist:
3
+ - noitem
4
+ :classname: Countdatetime
5
+ :classname_downcase: countdatetime
6
+ :items:
7
+ - - countdatetime
8
+ - datetime
9
+ - 'false'
10
+ :plural: countdatetimes
11
+ :ar_version: 6.0
12
+ - :flist:
13
+ - noitem
14
+ - invalid
15
+ - current
16
+ :classname: Flistz
17
+ :classname_downcase: flistz
18
+ :items:
19
+ - - dir_id
20
+ - integer
21
+ - 'false'
22
+ - - level
23
+ - integer
24
+ - 'false'
25
+ - - kind
26
+ - string
27
+ - 'false'
28
+ - - repo
29
+ - string
30
+ - 'false'
31
+ - - path
32
+ - string
33
+ - 'false'
34
+ - - project
35
+ - string
36
+ - 'false'
37
+ - - desc
38
+ - string
39
+ - 'true'
40
+ - - comment
41
+ - string
42
+ - 'true'
43
+ - - a_time
44
+ - datetime
45
+ - 'false'
46
+ - - c_time
47
+ - datetime
48
+ - 'false'
49
+ - - m_time
50
+ - datetime
51
+ - 'false'
52
+ - - start_datetime
53
+ - datetime
54
+ - 'false'
55
+ :plural: Flistzs
56
+ :ar_version: 6.0
57
+ - :flist:
58
+ - noitem
59
+ - invalid
60
+ - current
61
+ :classname: Dirz
62
+ :classname_downcase: dirz
63
+ :items:
64
+ - - path
65
+ - string
66
+ - 'false'
67
+ - - start_datetime
68
+ - datetime
69
+ - 'false'
70
+ :plural: Dirzs
71
+ :ar_version: 6.0