githack 0.3.0 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/githack/repositories/cakephp.rb +15 -0
- data/lib/githack/repositories/codeigniter.rb +22 -0
- data/lib/githack/repositories/django.rb +16 -0
- data/lib/githack/repositories/sailsjs.rb +17 -0
- data/lib/githack/repositories/zend.rb +12 -0
- data/lib/githack/version.rb +1 -1
- metadata +6 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4dc399782d1ab22fed73aa182905d84475804ede
|
|
4
|
+
data.tar.gz: 9aecaaecd10dba406bd56e08eaf7980b1f17eda5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3324c298a1ed6121fb15730c1dc4d13e7c4cb0edeeaa5cadb7a574fb6bf2bd1d98bf27a353ed76430d7f34ce33274bb86a72bdec1d2ec499bb145a45052d58d4
|
|
7
|
+
data.tar.gz: bee56ca9223aa29bab73a25a35d0fbd3043fad24ad89201fe5d26ae56aa55a70b1546aed70224aa7cd02a5457a7735886dcbe0db8b665cba8946eec4b8fe393a
|
data/Gemfile.lock
CHANGED
|
@@ -2,8 +2,11 @@ require 'githack/repository'
|
|
|
2
2
|
|
|
3
3
|
module Githack
|
|
4
4
|
module Repositories
|
|
5
|
+
# https://cakephp.org/
|
|
5
6
|
module CakePHP
|
|
7
|
+
# https://book.cakephp.org/3.0/
|
|
6
8
|
class V3 < Githack::Repository
|
|
9
|
+
# https://book.cakephp.org/3.0/en/orm/database-basics.html#database-configuration
|
|
7
10
|
DATABASE_PATHS = [
|
|
8
11
|
File.join('config', 'app.php')
|
|
9
12
|
].freeze
|
|
@@ -11,7 +14,19 @@ module Githack
|
|
|
11
14
|
# SECRET_PATH = ['config', 'secrets.yml']
|
|
12
15
|
end
|
|
13
16
|
|
|
17
|
+
# https://book.cakephp.org/2.0/
|
|
14
18
|
class V2 < Githack::Repository
|
|
19
|
+
# https://book.cakephp.org/2.0/en/development/configuration.html#database-configuration
|
|
20
|
+
DATABASE_PATHS = [
|
|
21
|
+
File.join('app', 'Config', 'database.php')
|
|
22
|
+
].freeze
|
|
23
|
+
|
|
24
|
+
# SECRET_PATH = ['config', 'secrets.yml']
|
|
25
|
+
end
|
|
26
|
+
|
|
27
|
+
# https://book.cakephp.org/1.3/
|
|
28
|
+
class V1 < Githack::Repository
|
|
29
|
+
# https://book.cakephp.org/2.0/en/development/configuration.html#database-configuration
|
|
15
30
|
DATABASE_PATHS = [
|
|
16
31
|
File.join('app', 'Config', 'database.php')
|
|
17
32
|
].freeze
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
require 'githack/repository'
|
|
2
|
+
|
|
3
|
+
module Githack
|
|
4
|
+
module Repositories
|
|
5
|
+
# https://www.codeigniter.com/
|
|
6
|
+
module Codeigniter
|
|
7
|
+
# https://www.codeigniter.com/userguide3/
|
|
8
|
+
class V3 < Githack::Repository
|
|
9
|
+
# https://www.codeigniter.com/userguide3/database/configuration.html
|
|
10
|
+
DATABASE_PATHS = [
|
|
11
|
+
File.join('application', 'config', 'database.php'),
|
|
12
|
+
File.join('application', 'config', 'production', 'database.php')
|
|
13
|
+
].freeze
|
|
14
|
+
# SECRET_PATHS = [].freeze
|
|
15
|
+
end
|
|
16
|
+
|
|
17
|
+
# https://www.codeigniter.com/userguide2/
|
|
18
|
+
class V2 < V3
|
|
19
|
+
end
|
|
20
|
+
end
|
|
21
|
+
end
|
|
22
|
+
end
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
require 'githack/repository'
|
|
2
|
+
|
|
3
|
+
module Githack
|
|
4
|
+
module Repositories
|
|
5
|
+
# The web framework for perfectionists with deadlines.
|
|
6
|
+
module Django
|
|
7
|
+
class V2 < Githack::Repository
|
|
8
|
+
# https://docs.djangoproject.com/fr/2.1/topics/settings/#default-settings
|
|
9
|
+
DATABASE_PATHS = [
|
|
10
|
+
File.join('django', 'conf', 'global_settings.py')
|
|
11
|
+
].freeze
|
|
12
|
+
# SECRET_PATHS = [].freeze
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
16
|
+
end
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
require 'githack/repository'
|
|
2
|
+
|
|
3
|
+
module Githack
|
|
4
|
+
module Repositories
|
|
5
|
+
# https://sailsjs.com/
|
|
6
|
+
module SailJS
|
|
7
|
+
class V1 < Githack::Repository
|
|
8
|
+
# https://sailsjs.com/documentation/anatomy/config/datastores.js
|
|
9
|
+
DATABASE_PATHS = [
|
|
10
|
+
File.join('config', 'datastores.js'),
|
|
11
|
+
File.join('config', 'env', 'production.js')
|
|
12
|
+
].freeze
|
|
13
|
+
# SECRET_PATHS = [].freeze
|
|
14
|
+
end
|
|
15
|
+
end
|
|
16
|
+
end
|
|
17
|
+
end
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
require 'githack/repository'
|
|
2
|
+
|
|
3
|
+
module Githack
|
|
4
|
+
module Repositories
|
|
5
|
+
# Zend Framework
|
|
6
|
+
# Professional PHP packages ready for PHP 7
|
|
7
|
+
# Focused on Simplicity, Reusability, and Performance
|
|
8
|
+
# https://framework.zend.com/
|
|
9
|
+
module Zend
|
|
10
|
+
end
|
|
11
|
+
end
|
|
12
|
+
end
|
data/lib/githack/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: githack
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Rousseau Alexandre
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-08-
|
|
11
|
+
date: 2018-08-21 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: git
|
|
@@ -103,9 +103,13 @@ files:
|
|
|
103
103
|
- lib/githack.rb
|
|
104
104
|
- lib/githack/leak.rb
|
|
105
105
|
- lib/githack/repositories/cakephp.rb
|
|
106
|
+
- lib/githack/repositories/codeigniter.rb
|
|
107
|
+
- lib/githack/repositories/django.rb
|
|
106
108
|
- lib/githack/repositories/laravel.rb
|
|
107
109
|
- lib/githack/repositories/rails.rb
|
|
110
|
+
- lib/githack/repositories/sailsjs.rb
|
|
108
111
|
- lib/githack/repositories/symfony.rb
|
|
112
|
+
- lib/githack/repositories/zend.rb
|
|
109
113
|
- lib/githack/repository.rb
|
|
110
114
|
- lib/githack/version.rb
|
|
111
115
|
homepage: https://github.com/madeindjs/githack
|