grape-gen 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +16 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +31 -0
- data/Rakefile +2 -0
- data/bin/grape-gen +5 -0
- data/grape-scaffold.gemspec +24 -0
- data/lib/grape/generate/version.rb +5 -0
- data/lib/grape/generate.rb +91 -0
- data/template/Gemfile.tt +95 -0
- data/template/Guardfile +20 -0
- data/template/abilities/api_ability.rb +15 -0
- data/template/api/api_app.rb +85 -0
- data/template/api/mounts/auth.rb.tt +42 -0
- data/template/api/mounts/profile.rb.tt +24 -0
- data/template/config/application.yml.tt +33 -0
- data/template/config/boot.rb.tt +85 -0
- data/template/config/boot_faye.rb +22 -0
- data/template/config/boot_sidekiq.rb.tt +33 -0
- data/template/config/boot_spec.rb.tt +85 -0
- data/template/config/database.rb.tt +6 -0
- data/template/config/database.yml.tt +21 -0
- data/template/config/initializers/carrierwave.rb +3 -0
- data/template/config/initializers/core_ext.rb +14 -0
- data/template/config/initializers/em-patches/carrierwave.rb +13 -0
- data/template/config/initializers/em-patches/faye.rb +4 -0
- data/template/config/initializers/em-patches/lazy_evaluated_pool.rb +35 -0
- data/template/config/initializers/em-patches/mandrill.rb +45 -0
- data/template/config/initializers/em-patches/redis.rb +13 -0
- data/template/config/initializers/em-patches/redis_lazy_evaluated_pool.rb +19 -0
- data/template/config/initializers/em-patches/sidekiq.rb +46 -0
- data/template/config/initializers/em-patches/tire.rb +8 -0
- data/template/config/initializers/faye.rb +3 -0
- data/template/config/initializers/grape.rb +11 -0
- data/template/config/initializers/logging.rb +38 -0
- data/template/config/initializers/mandrill.rb +1 -0
- data/template/config/initializers/patches/redis_namespace.rb +96 -0
- data/template/config/initializers/sidekiq.rb +15 -0
- data/template/config/initializers/tire.rb +6 -0
- data/template/config/initializers/workflow.rb +31 -0
- data/template/config/logging.yml.tt +39 -0
- data/template/config/settings.rb +24 -0
- data/template/config/sidekiq.yml.tt +22 -0
- data/template/config.ru.tt +8 -0
- data/template/faye.ru +55 -0
- data/template/jobs/pong_time.rb +11 -0
- data/template/lib/faye_auth_extension.rb +61 -0
- data/template/lib/faye_publisher.rb +63 -0
- data/template/lib/mongoid/tire_plugin.rb +17 -0
- data/template/lib/warden/token_strategy.rb +18 -0
- data/template/mailers/registration_mailer.rb +17 -0
- data/template/models/user.rb.tt +75 -0
- data/template/public/faye.html +36 -0
- data/template/search_indexes/search_index.rb +60 -0
- data/template/search_indexes/user_index.rb +20 -0
- data/template/spec/api/mounts/auth_spec.rb.tt +37 -0
- data/template/spec/factories/user.rb +8 -0
- data/template/spec/spec_helper.rb.tt +132 -0
- data/template/uploaders/avatar_uploader.rb +23 -0
- data/template/views/v1/user/profile.json.jbuilder.tt +4 -0
- metadata +147 -0
metadata
ADDED
@@ -0,0 +1,147 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: grape-gen
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- AMar4enko
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2015-01-16 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: thor
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 0.19.1
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 0.19.1
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: bundler
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '1.7'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '1.7'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rake
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '10.0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '10.0'
|
55
|
+
description:
|
56
|
+
email:
|
57
|
+
- amar4enko@gmail.com
|
58
|
+
executables:
|
59
|
+
- grape-gen
|
60
|
+
extensions: []
|
61
|
+
extra_rdoc_files: []
|
62
|
+
files:
|
63
|
+
- ".gitignore"
|
64
|
+
- Gemfile
|
65
|
+
- LICENSE.txt
|
66
|
+
- README.md
|
67
|
+
- Rakefile
|
68
|
+
- bin/grape-gen
|
69
|
+
- grape-scaffold.gemspec
|
70
|
+
- lib/grape/generate.rb
|
71
|
+
- lib/grape/generate/version.rb
|
72
|
+
- template/Gemfile.tt
|
73
|
+
- template/Guardfile
|
74
|
+
- template/abilities/api_ability.rb
|
75
|
+
- template/api/api_app.rb
|
76
|
+
- template/api/mounts/auth.rb.tt
|
77
|
+
- template/api/mounts/profile.rb.tt
|
78
|
+
- template/config.ru.tt
|
79
|
+
- template/config/application.yml.tt
|
80
|
+
- template/config/boot.rb.tt
|
81
|
+
- template/config/boot_faye.rb
|
82
|
+
- template/config/boot_sidekiq.rb.tt
|
83
|
+
- template/config/boot_spec.rb.tt
|
84
|
+
- template/config/database.rb.tt
|
85
|
+
- template/config/database.yml.tt
|
86
|
+
- template/config/initializers/carrierwave.rb
|
87
|
+
- template/config/initializers/core_ext.rb
|
88
|
+
- template/config/initializers/em-patches/carrierwave.rb
|
89
|
+
- template/config/initializers/em-patches/faye.rb
|
90
|
+
- template/config/initializers/em-patches/lazy_evaluated_pool.rb
|
91
|
+
- template/config/initializers/em-patches/mandrill.rb
|
92
|
+
- template/config/initializers/em-patches/redis.rb
|
93
|
+
- template/config/initializers/em-patches/redis_lazy_evaluated_pool.rb
|
94
|
+
- template/config/initializers/em-patches/sidekiq.rb
|
95
|
+
- template/config/initializers/em-patches/tire.rb
|
96
|
+
- template/config/initializers/faye.rb
|
97
|
+
- template/config/initializers/grape.rb
|
98
|
+
- template/config/initializers/logging.rb
|
99
|
+
- template/config/initializers/mandrill.rb
|
100
|
+
- template/config/initializers/patches/redis_namespace.rb
|
101
|
+
- template/config/initializers/sidekiq.rb
|
102
|
+
- template/config/initializers/tire.rb
|
103
|
+
- template/config/initializers/workflow.rb
|
104
|
+
- template/config/logging.yml.tt
|
105
|
+
- template/config/settings.rb
|
106
|
+
- template/config/sidekiq.yml.tt
|
107
|
+
- template/faye.ru
|
108
|
+
- template/jobs/pong_time.rb
|
109
|
+
- template/lib/faye_auth_extension.rb
|
110
|
+
- template/lib/faye_publisher.rb
|
111
|
+
- template/lib/mongoid/tire_plugin.rb
|
112
|
+
- template/lib/warden/token_strategy.rb
|
113
|
+
- template/mailers/registration_mailer.rb
|
114
|
+
- template/models/user.rb.tt
|
115
|
+
- template/public/faye.html
|
116
|
+
- template/search_indexes/search_index.rb
|
117
|
+
- template/search_indexes/user_index.rb
|
118
|
+
- template/spec/api/mounts/auth_spec.rb.tt
|
119
|
+
- template/spec/factories/user.rb
|
120
|
+
- template/spec/spec_helper.rb.tt
|
121
|
+
- template/uploaders/avatar_uploader.rb
|
122
|
+
- template/views/v1/user/profile.json.jbuilder.tt
|
123
|
+
homepage: https://github.com/AlexYankee/grape-gen
|
124
|
+
licenses:
|
125
|
+
- MIT
|
126
|
+
metadata: {}
|
127
|
+
post_install_message:
|
128
|
+
rdoc_options: []
|
129
|
+
require_paths:
|
130
|
+
- lib
|
131
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
132
|
+
requirements:
|
133
|
+
- - ">="
|
134
|
+
- !ruby/object:Gem::Version
|
135
|
+
version: '0'
|
136
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
137
|
+
requirements:
|
138
|
+
- - ">="
|
139
|
+
- !ruby/object:Gem::Version
|
140
|
+
version: '0'
|
141
|
+
requirements: []
|
142
|
+
rubyforge_project:
|
143
|
+
rubygems_version: 2.4.4
|
144
|
+
signing_key:
|
145
|
+
specification_version: 4
|
146
|
+
summary: Grape-powered rack application generator with batteries included
|
147
|
+
test_files: []
|