crawl_station 0.1.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 +7 -0
- data/.codeclimate.yml +24 -0
- data/.gitignore +10 -0
- data/.rspec +2 -0
- data/.rubocop.yml +98 -0
- data/.travis.yml +9 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/Gemfile +14 -0
- data/LICENSE.txt +21 -0
- data/README.md +43 -0
- data/Rakefile +6 -0
- data/benchmarks/.gitkeep +0 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/crawl_station.gemspec +32 -0
- data/examples/.gitkeep +0 -0
- data/exe/station +3 -0
- data/lib/crawl_station/application_record.rb +17 -0
- data/lib/crawl_station/cache.rb +13 -0
- data/lib/crawl_station/cache_adapters/abstract_adapter.rb +6 -0
- data/lib/crawl_station/cache_adapters/db_adapter.rb +6 -0
- data/lib/crawl_station/cache_adapters/memory_adapter.rb +17 -0
- data/lib/crawl_station/cli.rb +26 -0
- data/lib/crawl_station/command/create.rb +20 -0
- data/lib/crawl_station/command/generate.rb +88 -0
- data/lib/crawl_station/command.rb +26 -0
- data/lib/crawl_station/concerns/adapter_concern.rb +26 -0
- data/lib/crawl_station/configuration.rb +7 -0
- data/lib/crawl_station/fundation/parse_struct.rb +45 -0
- data/lib/crawl_station/launcher.rb +28 -0
- data/lib/crawl_station/logger.rb +12 -0
- data/lib/crawl_station/producer.rb +64 -0
- data/lib/crawl_station/ruby_version_check.rb +9 -0
- data/lib/crawl_station/schedule.rb +13 -0
- data/lib/crawl_station/schedule_adapters/abstract_adapter.rb +18 -0
- data/lib/crawl_station/schedule_adapters/db_adapter.rb +18 -0
- data/lib/crawl_station/schedule_adapters/memory_adapter.rb +21 -0
- data/lib/crawl_station/tasks/db.rake +33 -0
- data/lib/crawl_station/tasks/launcher.rake +6 -0
- data/lib/crawl_station/tasks/module.rake +6 -0
- data/lib/crawl_station/tasks.rb +3 -0
- data/lib/crawl_station/templates/create/Gemfile +11 -0
- data/lib/crawl_station/templates/create/Rakefile +2 -0
- data/lib/crawl_station/templates/create/config/boot.rb +6 -0
- data/lib/crawl_station/templates/create/config/initializers/station_config.rb +4 -0
- data/lib/crawl_station/templates/create/lib/tasks/.gitkeep +0 -0
- data/lib/crawl_station/templates/create/module/.gitkeep +0 -0
- data/lib/crawl_station/templates/generate/item.erb +9 -0
- data/lib/crawl_station/templates/generate/migration.erb +4 -0
- data/lib/crawl_station/templates/generate/module/config/.gitkeep +0 -0
- data/lib/crawl_station/templates/generate/module/db/migrate/.gitkeep +0 -0
- data/lib/crawl_station/templates/generate/module/item/.gitkeep +0 -0
- data/lib/crawl_station/templates/generate/module/parser/.gitkeep +0 -0
- data/lib/crawl_station/templates/generate/module/tasks/.gitkeep +0 -0
- data/lib/crawl_station/templates/generate/parser.erb +10 -0
- data/lib/crawl_station/utils.rb +36 -0
- data/lib/crawl_station/version.rb +3 -0
- data/lib/crawl_station.rb +152 -0
- metadata +199 -0
metadata
ADDED
|
@@ -0,0 +1,199 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: crawl_station
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.1.1
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- watsy0007
|
|
8
|
+
autorequire:
|
|
9
|
+
bindir: exe
|
|
10
|
+
cert_chain: []
|
|
11
|
+
date: 2016-10-27 00:00:00.000000000 Z
|
|
12
|
+
dependencies:
|
|
13
|
+
- !ruby/object:Gem::Dependency
|
|
14
|
+
name: activesupport
|
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
|
16
|
+
requirements:
|
|
17
|
+
- - "~>"
|
|
18
|
+
- !ruby/object:Gem::Version
|
|
19
|
+
version: '5.0'
|
|
20
|
+
- - ">="
|
|
21
|
+
- !ruby/object:Gem::Version
|
|
22
|
+
version: 5.0.0
|
|
23
|
+
type: :runtime
|
|
24
|
+
prerelease: false
|
|
25
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
26
|
+
requirements:
|
|
27
|
+
- - "~>"
|
|
28
|
+
- !ruby/object:Gem::Version
|
|
29
|
+
version: '5.0'
|
|
30
|
+
- - ">="
|
|
31
|
+
- !ruby/object:Gem::Version
|
|
32
|
+
version: 5.0.0
|
|
33
|
+
- !ruby/object:Gem::Dependency
|
|
34
|
+
name: activerecord
|
|
35
|
+
requirement: !ruby/object:Gem::Requirement
|
|
36
|
+
requirements:
|
|
37
|
+
- - "~>"
|
|
38
|
+
- !ruby/object:Gem::Version
|
|
39
|
+
version: '5.0'
|
|
40
|
+
- - ">="
|
|
41
|
+
- !ruby/object:Gem::Version
|
|
42
|
+
version: 5.0.0
|
|
43
|
+
type: :runtime
|
|
44
|
+
prerelease: false
|
|
45
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
46
|
+
requirements:
|
|
47
|
+
- - "~>"
|
|
48
|
+
- !ruby/object:Gem::Version
|
|
49
|
+
version: '5.0'
|
|
50
|
+
- - ">="
|
|
51
|
+
- !ruby/object:Gem::Version
|
|
52
|
+
version: 5.0.0
|
|
53
|
+
- !ruby/object:Gem::Dependency
|
|
54
|
+
name: bundler
|
|
55
|
+
requirement: !ruby/object:Gem::Requirement
|
|
56
|
+
requirements:
|
|
57
|
+
- - "~>"
|
|
58
|
+
- !ruby/object:Gem::Version
|
|
59
|
+
version: '1.13'
|
|
60
|
+
type: :development
|
|
61
|
+
prerelease: false
|
|
62
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
63
|
+
requirements:
|
|
64
|
+
- - "~>"
|
|
65
|
+
- !ruby/object:Gem::Version
|
|
66
|
+
version: '1.13'
|
|
67
|
+
- !ruby/object:Gem::Dependency
|
|
68
|
+
name: rake
|
|
69
|
+
requirement: !ruby/object:Gem::Requirement
|
|
70
|
+
requirements:
|
|
71
|
+
- - "~>"
|
|
72
|
+
- !ruby/object:Gem::Version
|
|
73
|
+
version: '11.3'
|
|
74
|
+
type: :development
|
|
75
|
+
prerelease: false
|
|
76
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
77
|
+
requirements:
|
|
78
|
+
- - "~>"
|
|
79
|
+
- !ruby/object:Gem::Version
|
|
80
|
+
version: '11.3'
|
|
81
|
+
- !ruby/object:Gem::Dependency
|
|
82
|
+
name: rspec
|
|
83
|
+
requirement: !ruby/object:Gem::Requirement
|
|
84
|
+
requirements:
|
|
85
|
+
- - "~>"
|
|
86
|
+
- !ruby/object:Gem::Version
|
|
87
|
+
version: '3.5'
|
|
88
|
+
type: :development
|
|
89
|
+
prerelease: false
|
|
90
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
91
|
+
requirements:
|
|
92
|
+
- - "~>"
|
|
93
|
+
- !ruby/object:Gem::Version
|
|
94
|
+
version: '3.5'
|
|
95
|
+
- !ruby/object:Gem::Dependency
|
|
96
|
+
name: pry
|
|
97
|
+
requirement: !ruby/object:Gem::Requirement
|
|
98
|
+
requirements:
|
|
99
|
+
- - "~>"
|
|
100
|
+
- !ruby/object:Gem::Version
|
|
101
|
+
version: '0.10'
|
|
102
|
+
type: :development
|
|
103
|
+
prerelease: false
|
|
104
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
105
|
+
requirements:
|
|
106
|
+
- - "~>"
|
|
107
|
+
- !ruby/object:Gem::Version
|
|
108
|
+
version: '0.10'
|
|
109
|
+
description: crawl station system
|
|
110
|
+
email:
|
|
111
|
+
- watsy0007@gmail.com
|
|
112
|
+
executables:
|
|
113
|
+
- station
|
|
114
|
+
extensions: []
|
|
115
|
+
extra_rdoc_files: []
|
|
116
|
+
files:
|
|
117
|
+
- ".codeclimate.yml"
|
|
118
|
+
- ".gitignore"
|
|
119
|
+
- ".rspec"
|
|
120
|
+
- ".rubocop.yml"
|
|
121
|
+
- ".travis.yml"
|
|
122
|
+
- CODE_OF_CONDUCT.md
|
|
123
|
+
- Gemfile
|
|
124
|
+
- LICENSE.txt
|
|
125
|
+
- README.md
|
|
126
|
+
- Rakefile
|
|
127
|
+
- benchmarks/.gitkeep
|
|
128
|
+
- bin/console
|
|
129
|
+
- bin/setup
|
|
130
|
+
- crawl_station.gemspec
|
|
131
|
+
- examples/.gitkeep
|
|
132
|
+
- exe/station
|
|
133
|
+
- lib/crawl_station.rb
|
|
134
|
+
- lib/crawl_station/application_record.rb
|
|
135
|
+
- lib/crawl_station/cache.rb
|
|
136
|
+
- lib/crawl_station/cache_adapters/abstract_adapter.rb
|
|
137
|
+
- lib/crawl_station/cache_adapters/db_adapter.rb
|
|
138
|
+
- lib/crawl_station/cache_adapters/memory_adapter.rb
|
|
139
|
+
- lib/crawl_station/cli.rb
|
|
140
|
+
- lib/crawl_station/command.rb
|
|
141
|
+
- lib/crawl_station/command/create.rb
|
|
142
|
+
- lib/crawl_station/command/generate.rb
|
|
143
|
+
- lib/crawl_station/concerns/adapter_concern.rb
|
|
144
|
+
- lib/crawl_station/configuration.rb
|
|
145
|
+
- lib/crawl_station/fundation/parse_struct.rb
|
|
146
|
+
- lib/crawl_station/launcher.rb
|
|
147
|
+
- lib/crawl_station/logger.rb
|
|
148
|
+
- lib/crawl_station/producer.rb
|
|
149
|
+
- lib/crawl_station/ruby_version_check.rb
|
|
150
|
+
- lib/crawl_station/schedule.rb
|
|
151
|
+
- lib/crawl_station/schedule_adapters/abstract_adapter.rb
|
|
152
|
+
- lib/crawl_station/schedule_adapters/db_adapter.rb
|
|
153
|
+
- lib/crawl_station/schedule_adapters/memory_adapter.rb
|
|
154
|
+
- lib/crawl_station/tasks.rb
|
|
155
|
+
- lib/crawl_station/tasks/db.rake
|
|
156
|
+
- lib/crawl_station/tasks/launcher.rake
|
|
157
|
+
- lib/crawl_station/tasks/module.rake
|
|
158
|
+
- lib/crawl_station/templates/create/Gemfile
|
|
159
|
+
- lib/crawl_station/templates/create/Rakefile
|
|
160
|
+
- lib/crawl_station/templates/create/config/boot.rb
|
|
161
|
+
- lib/crawl_station/templates/create/config/initializers/station_config.rb
|
|
162
|
+
- lib/crawl_station/templates/create/lib/tasks/.gitkeep
|
|
163
|
+
- lib/crawl_station/templates/create/module/.gitkeep
|
|
164
|
+
- lib/crawl_station/templates/generate/item.erb
|
|
165
|
+
- lib/crawl_station/templates/generate/migration.erb
|
|
166
|
+
- lib/crawl_station/templates/generate/module/config/.gitkeep
|
|
167
|
+
- lib/crawl_station/templates/generate/module/db/migrate/.gitkeep
|
|
168
|
+
- lib/crawl_station/templates/generate/module/item/.gitkeep
|
|
169
|
+
- lib/crawl_station/templates/generate/module/parser/.gitkeep
|
|
170
|
+
- lib/crawl_station/templates/generate/module/tasks/.gitkeep
|
|
171
|
+
- lib/crawl_station/templates/generate/parser.erb
|
|
172
|
+
- lib/crawl_station/utils.rb
|
|
173
|
+
- lib/crawl_station/version.rb
|
|
174
|
+
homepage: https://github.io/watsy0007/crawl_sation
|
|
175
|
+
licenses:
|
|
176
|
+
- MIT
|
|
177
|
+
metadata: {}
|
|
178
|
+
post_install_message:
|
|
179
|
+
rdoc_options: []
|
|
180
|
+
require_paths:
|
|
181
|
+
- lib
|
|
182
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
183
|
+
requirements:
|
|
184
|
+
- - ">="
|
|
185
|
+
- !ruby/object:Gem::Version
|
|
186
|
+
version: 2.3.0
|
|
187
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
188
|
+
requirements:
|
|
189
|
+
- - ">="
|
|
190
|
+
- !ruby/object:Gem::Version
|
|
191
|
+
version: '0'
|
|
192
|
+
requirements: []
|
|
193
|
+
rubyforge_project:
|
|
194
|
+
rubygems_version: 2.5.1
|
|
195
|
+
signing_key:
|
|
196
|
+
specification_version: 4
|
|
197
|
+
summary: crawl station system
|
|
198
|
+
test_files: []
|
|
199
|
+
has_rdoc:
|