textualize 0.2.1 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/textualize/templates/new/Dockerfile +35 -0
- data/lib/textualize/templates/new/Gemfile +0 -2
- data/lib/textualize/templates/new/apis/base.raml +2 -2
- data/lib/textualize/templates/new/apis/base/routes/items.yaml +1 -1
- data/lib/textualize/templates/new/apis/base/routes/orders.yaml +1 -1
- data/lib/textualize/templates/new/apis/resourceTypes/{collection-item-ro.yaml → item-ro.yaml} +1 -1
- data/lib/textualize/templates/new/apis/resourceTypes/{collection-item.yaml → item.yaml} +1 -1
- data/lib/textualize/templates/new/circle.yml +7 -0
- data/lib/textualize/templates/request_specs/{delete_collection-item.rb.erb → delete_item.rb.erb} +0 -0
- data/lib/textualize/templates/request_specs/{get_collection-item.rb.erb → get_item.rb.erb} +0 -0
- data/lib/textualize/templates/request_specs/{patch_collection-item.rb.erb → patch_item.rb.erb} +0 -0
- data/lib/textualize/version.rb +1 -1
- metadata +9 -8
- data/lib/textualize/templates/new/.ruby-version +0 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1002740ce8312d3042b58cacdc6953f98e7ac271
|
4
|
+
data.tar.gz: 8d120ce966239388fc10f6ffa706420aba5dab13
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a9c1effc970b2bd6773b2acac676f8b17434677660c90921043717fb0ec559d0b9a5e2f6b2d7eaed076eaf691d0e3085b49b3f01f199ca49f543a5fc2c98f8c0
|
7
|
+
data.tar.gz: 5d7a8bff9d9bba57bbdb5c8bf41ff251a689701ac20ae27055fdebf40c8be9ec87320753b946d970c2c706c057618937fe3eb80cb2d1bc666d67ecdd003141f2
|
@@ -0,0 +1,35 @@
|
|
1
|
+
FROM nginx
|
2
|
+
|
3
|
+
RUN apt-get update
|
4
|
+
|
5
|
+
RUN apt-get install -y \
|
6
|
+
build-essential \
|
7
|
+
curl \
|
8
|
+
git \
|
9
|
+
automake \
|
10
|
+
libtool \
|
11
|
+
ruby-full
|
12
|
+
RUN curl -sL https://deb.nodesource.com/setup | bash - \
|
13
|
+
&& apt-get install -y nodejs
|
14
|
+
RUN npm install -g gulp
|
15
|
+
RUN gem install bundler
|
16
|
+
|
17
|
+
ADD . /website
|
18
|
+
WORKDIR /website
|
19
|
+
RUN npm install
|
20
|
+
RUN gulp
|
21
|
+
RUN bundle install
|
22
|
+
RUN bundle exec textualize request_specs
|
23
|
+
|
24
|
+
COPY ./dist /usr/share/nginx/html
|
25
|
+
|
26
|
+
RUN rm -rf /usr/lib/node_modules
|
27
|
+
RUN rm -rf ./node_modules
|
28
|
+
|
29
|
+
RUN apt-get purge -y nodejs \
|
30
|
+
build-essential \
|
31
|
+
curl \
|
32
|
+
git \
|
33
|
+
automake \
|
34
|
+
libtool \
|
35
|
+
ruby-full
|
@@ -19,8 +19,8 @@ schemas:
|
|
19
19
|
resourceTypes:
|
20
20
|
- !include ./resourceTypes/collection.yaml
|
21
21
|
- !include ./resourceTypes/collection-ro.yaml
|
22
|
-
- !include ./resourceTypes/
|
23
|
-
- !include ./resourceTypes/
|
22
|
+
- !include ./resourceTypes/item.yaml
|
23
|
+
- !include ./resourceTypes/item-ro.yaml
|
24
24
|
|
25
25
|
/items: !include ./base/routes/items.yaml
|
26
26
|
/orders: !include ./base/routes/orders.yaml
|
data/lib/textualize/templates/request_specs/{delete_collection-item.rb.erb → delete_item.rb.erb}
RENAMED
File without changes
|
File without changes
|
data/lib/textualize/templates/request_specs/{patch_collection-item.rb.erb → patch_item.rb.erb}
RENAMED
File without changes
|
data/lib/textualize/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: textualize
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Q-Centrix Dev Team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-05-
|
11
|
+
date: 2015-05-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|
@@ -189,7 +189,7 @@ files:
|
|
189
189
|
- lib/textualize/templates/http_backend/patch.js.erb
|
190
190
|
- lib/textualize/templates/http_backend/post.js.erb
|
191
191
|
- lib/textualize/templates/new/.gitignore
|
192
|
-
- lib/textualize/templates/new
|
192
|
+
- lib/textualize/templates/new/Dockerfile
|
193
193
|
- lib/textualize/templates/new/Gemfile
|
194
194
|
- lib/textualize/templates/new/Gemfile.lock
|
195
195
|
- lib/textualize/templates/new/Readme.md
|
@@ -205,10 +205,10 @@ files:
|
|
205
205
|
- lib/textualize/templates/new/apis/documentation/authentication.yaml
|
206
206
|
- lib/textualize/templates/new/apis/documentation/http_statuses.md
|
207
207
|
- lib/textualize/templates/new/apis/errors.yaml
|
208
|
-
- lib/textualize/templates/new/apis/resourceTypes/collection-item-ro.yaml
|
209
|
-
- lib/textualize/templates/new/apis/resourceTypes/collection-item.yaml
|
210
208
|
- lib/textualize/templates/new/apis/resourceTypes/collection-ro.yaml
|
211
209
|
- lib/textualize/templates/new/apis/resourceTypes/collection.yaml
|
210
|
+
- lib/textualize/templates/new/apis/resourceTypes/item-ro.yaml
|
211
|
+
- lib/textualize/templates/new/apis/resourceTypes/item.yaml
|
212
212
|
- lib/textualize/templates/new/apis/responses/200.yaml
|
213
213
|
- lib/textualize/templates/new/apis/responses/204.yaml
|
214
214
|
- lib/textualize/templates/new/apis/responses/400.yaml
|
@@ -217,16 +217,17 @@ files:
|
|
217
217
|
- lib/textualize/templates/new/apis/responses/404.yaml
|
218
218
|
- lib/textualize/templates/new/apis/responses/422.yaml
|
219
219
|
- lib/textualize/templates/new/apis/responses/500.yaml
|
220
|
+
- lib/textualize/templates/new/circle.yml
|
220
221
|
- lib/textualize/templates/new/gulpfile.js
|
221
222
|
- lib/textualize/templates/new/package.json
|
222
223
|
- lib/textualize/templates/new/server/api/v1/items/get.json
|
223
224
|
- lib/textualize/templates/new/server/api/v1/items/{item_id}/get.json
|
224
225
|
- lib/textualize/templates/new/server/api/v1/orders/get.json
|
225
226
|
- lib/textualize/templates/new/server/api/v1/orders/{order_id}/get.json
|
226
|
-
- lib/textualize/templates/request_specs/
|
227
|
-
- lib/textualize/templates/request_specs/get_collection-item.rb.erb
|
227
|
+
- lib/textualize/templates/request_specs/delete_item.rb.erb
|
228
228
|
- lib/textualize/templates/request_specs/get_collection.rb.erb
|
229
|
-
- lib/textualize/templates/request_specs/
|
229
|
+
- lib/textualize/templates/request_specs/get_item.rb.erb
|
230
|
+
- lib/textualize/templates/request_specs/patch_item.rb.erb
|
230
231
|
- lib/textualize/templates/request_specs/post_collection.rb.erb
|
231
232
|
- lib/textualize/version.rb
|
232
233
|
- sample_item.rb
|
@@ -1 +0,0 @@
|
|
1
|
-
2.2.1
|