tangled
alpha
login
or
join now
mackuba.eu
/
lycan
35
fork
atom
Don't forget to lycansubscribe
35
fork
atom
overview
issues
1
pulls
pipelines
imported some project skeleton from bluefeeds
mackuba.eu
6 months ago
5ae9e985
+141
6 changed files
expand all
collapse all
unified
split
Gemfile
Gemfile.lock
Rakefile
app
init.rb
bin
console
config
database.yml
+7
Gemfile
···
1
1
+
source "https://rubygems.org"
2
2
+
3
3
+
gem 'activerecord', '~> 7.2'
4
4
+
gem 'sinatra-activerecord', '~> 2.0'
5
5
+
gem 'pg'
6
6
+
gem 'rake'
7
7
+
gem 'irb'
+103
Gemfile.lock
···
1
1
+
GEM
2
2
+
remote: https://rubygems.org/
3
3
+
specs:
4
4
+
activemodel (7.2.2.2)
5
5
+
activesupport (= 7.2.2.2)
6
6
+
activerecord (7.2.2.2)
7
7
+
activemodel (= 7.2.2.2)
8
8
+
activesupport (= 7.2.2.2)
9
9
+
timeout (>= 0.4.0)
10
10
+
activesupport (7.2.2.2)
11
11
+
base64
12
12
+
benchmark (>= 0.3)
13
13
+
bigdecimal
14
14
+
concurrent-ruby (~> 1.0, >= 1.3.1)
15
15
+
connection_pool (>= 2.2.5)
16
16
+
drb
17
17
+
i18n (>= 1.6, < 2)
18
18
+
logger (>= 1.4.2)
19
19
+
minitest (>= 5.1)
20
20
+
securerandom (>= 0.3)
21
21
+
tzinfo (~> 2.0, >= 2.0.5)
22
22
+
base64 (0.3.0)
23
23
+
benchmark (0.4.1)
24
24
+
bigdecimal (3.2.2)
25
25
+
concurrent-ruby (1.3.5)
26
26
+
connection_pool (2.5.3)
27
27
+
date (3.4.1)
28
28
+
drb (2.2.3)
29
29
+
erb (5.0.2)
30
30
+
i18n (1.14.7)
31
31
+
concurrent-ruby (~> 1.0)
32
32
+
io-console (0.8.1)
33
33
+
irb (1.15.2)
34
34
+
pp (>= 0.6.0)
35
35
+
rdoc (>= 4.0.0)
36
36
+
reline (>= 0.4.2)
37
37
+
logger (1.7.0)
38
38
+
minitest (5.25.5)
39
39
+
mustermann (3.0.4)
40
40
+
ruby2_keywords (~> 0.0.1)
41
41
+
pg (1.6.1)
42
42
+
pg (1.6.1-aarch64-linux)
43
43
+
pg (1.6.1-aarch64-linux-musl)
44
44
+
pg (1.6.1-arm64-darwin)
45
45
+
pg (1.6.1-x86_64-darwin)
46
46
+
pg (1.6.1-x86_64-linux)
47
47
+
pg (1.6.1-x86_64-linux-musl)
48
48
+
pp (0.6.2)
49
49
+
prettyprint
50
50
+
prettyprint (0.2.0)
51
51
+
psych (5.2.6)
52
52
+
date
53
53
+
stringio
54
54
+
rack (3.2.0)
55
55
+
rack-protection (4.1.1)
56
56
+
base64 (>= 0.1.0)
57
57
+
logger (>= 1.6.0)
58
58
+
rack (>= 3.0.0, < 4)
59
59
+
rack-session (2.1.1)
60
60
+
base64 (>= 0.1.0)
61
61
+
rack (>= 3.0.0)
62
62
+
rake (13.3.0)
63
63
+
rdoc (6.14.2)
64
64
+
erb
65
65
+
psych (>= 4.0.0)
66
66
+
reline (0.6.2)
67
67
+
io-console (~> 0.5)
68
68
+
ruby2_keywords (0.0.5)
69
69
+
securerandom (0.4.1)
70
70
+
sinatra (4.1.1)
71
71
+
logger (>= 1.6.0)
72
72
+
mustermann (~> 3.0)
73
73
+
rack (>= 3.0.0, < 4)
74
74
+
rack-protection (= 4.1.1)
75
75
+
rack-session (>= 2.0.0, < 3)
76
76
+
tilt (~> 2.0)
77
77
+
sinatra-activerecord (2.0.28)
78
78
+
activerecord (>= 4.1)
79
79
+
sinatra (>= 1.0)
80
80
+
stringio (3.1.7)
81
81
+
tilt (2.6.1)
82
82
+
timeout (0.4.3)
83
83
+
tzinfo (2.0.6)
84
84
+
concurrent-ruby (~> 1.0)
85
85
+
86
86
+
PLATFORMS
87
87
+
aarch64-linux
88
88
+
aarch64-linux-musl
89
89
+
arm64-darwin
90
90
+
ruby
91
91
+
x86_64-darwin
92
92
+
x86_64-linux
93
93
+
x86_64-linux-musl
94
94
+
95
95
+
DEPENDENCIES
96
96
+
activerecord (~> 7.2)
97
97
+
irb
98
98
+
pg
99
99
+
rake
100
100
+
sinatra-activerecord (~> 2.0)
101
101
+
102
102
+
BUNDLED WITH
103
103
+
2.7.0
+9
Rakefile
···
1
1
+
require 'bundler/setup'
2
2
+
require 'sinatra/activerecord'
3
3
+
require 'sinatra/activerecord/rake'
4
4
+
5
5
+
Rake.add_rakelib File.join(__dir__, 'lib', 'tasks')
6
6
+
7
7
+
if ENV['ARLOG'] == '1'
8
8
+
ActiveRecord::Base.logger = Logger.new(STDOUT)
9
9
+
end
+4
app/init.rb
···
1
1
+
require 'sinatra/activerecord'
2
2
+
3
3
+
ActiveRecord::ConnectionAdapters::PostgreSQLAdapter.datetime_type = :timestamptz
4
4
+
RubyVM::YJIT.enable
+9
bin/console
···
1
1
+
#!/usr/bin/env ruby
2
2
+
3
3
+
require 'bundler/setup'
4
4
+
require 'irb'
5
5
+
require_relative '../app/init'
6
6
+
7
7
+
Dir[File.join(__dir__, '..', 'app', '**', '*.rb')].each { |f| require(f) }
8
8
+
9
9
+
IRB.start(__FILE__)
+9
config/database.yml
···
1
1
+
development:
2
2
+
adapter: postgresql
3
3
+
database: lycan_development
4
4
+
encoding: unicode
5
5
+
6
6
+
production:
7
7
+
adapter: postgresql
8
8
+
database: lycan_production
9
9
+
encoding: unicode