formadmin 0.1.3 → 0.1.4

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b3ef27da30f048eb8ec2b6f60deff3dc938e0911
4
- data.tar.gz: 1be4fb5ed07d84e517fc615ba8873b0dce244c49
3
+ metadata.gz: 4ef95239b812b1131999e6e5e2b7079ab3ef71d1
4
+ data.tar.gz: cd52ebc83f4d8c20f984595df2dc6eb0cec06c3a
5
5
  SHA512:
6
- metadata.gz: cacd1bc0cdd7bbbbdba30b5a57d10ba9f721f4199e9d1141d7a432d4c3f42f6b0081a132674e237525e2ee9f008d5b0c95c035adf172d67c02865663d515865b
7
- data.tar.gz: 7622071f6f3a82cce8721bad56bd0d647ead9fa3efaaae6dfd721bf580dd0650b43f5f43a16ab04e7860901c21827f5891045032b69b347c1f6ee2b3e0cb136e
6
+ metadata.gz: 09e2c7d7eb8e99d1cce418f0ac8a34ef4e3bc6dea1c629869e3a7f55c8d64ea18a387bdb20b2afad0947ead392bdf6f2be35018370ae6d3e9374be5e2d16778d
7
+ data.tar.gz: 0cd568a59890ebfa169f680bdd8368f18feea9cc8161e0be03a9ba99244f403059f379c565d74b460c89fef274f63f236699fbf8ed9e94f37e01d82bcbda40ed
data/README.md CHANGED
@@ -1,23 +1,20 @@
1
1
  # Formadmin
2
2
 
3
- Modern theme for Active Admin used by Formaweb.
3
+ Modern and responsive theme for Active Admin used by Formaweb.
4
4
 
5
5
  ## Installation
6
6
 
7
7
  1. Please make sure that you are using Active Admin from their Github repo:
8
-
9
8
  ```
10
9
  gem 'activeadmin', github: 'activeadmin/activeadmin'
11
10
  ```
12
11
 
13
12
  2. Add this gem in your `Gemfile`:
14
-
15
13
  ```
16
14
  gem 'formadmin'
17
15
  ```
18
16
 
19
17
  3. So, bundle...
20
-
21
18
  ```
22
19
  $ bundle install
23
20
  ```
@@ -4,4 +4,8 @@
4
4
  box-shadow: inset 0 1px 0 $white;
5
5
  border-bottom: 1px solid $silver;
6
6
  padding: 12px 15px;
7
+
8
+ @media #{$phone-screen} {
9
+ text-align: center;
10
+ }
7
11
  }
@@ -0,0 +1,57 @@
1
+ .menu-button {
2
+ background: none !important;
3
+ border: 0 !important;
4
+ box-shadow: none !important;
5
+ color: $white;
6
+ cursor: pointer;
7
+ display: block;
8
+ outline: none;
9
+ padding: 0;
10
+
11
+ i {
12
+ display: inline-block;
13
+ width: 100%;
14
+
15
+ &,
16
+ &:before,
17
+ &:after {
18
+ background-color: currentColor;
19
+ border-radius: $circular-radius;
20
+ height: 4px;
21
+ left: 0;
22
+ position: relative;
23
+ transition: all 250ms;
24
+ width: 20px;
25
+ }
26
+
27
+ &:before,
28
+ &:after {
29
+ content: '';
30
+ position: absolute;
31
+ }
32
+
33
+ &:before {
34
+ top: -8px;
35
+ }
36
+
37
+ &:after {
38
+ bottom: -8px;
39
+ }
40
+ }
41
+
42
+ @at-root .opened-menu & {
43
+ i {
44
+ background-color: transparent;
45
+
46
+ &:before {
47
+ top: 0;
48
+ transform: rotateZ(45deg);
49
+ }
50
+
51
+ &:after {
52
+ bottom: 0;
53
+ transform: rotateZ(-45deg);
54
+ }
55
+ }
56
+ }
57
+ }
@@ -16,4 +16,12 @@
16
16
  display: block;
17
17
  line-height: 1.5;
18
18
  }
19
+
20
+ // Medias
21
+ @media #{$phone-screen} {
22
+ .blank_slate {
23
+ margin: 40px 0;
24
+ padding: 15px;
25
+ }
26
+ }
19
27
  }
@@ -204,6 +204,10 @@ form {
204
204
  }
205
205
  }
206
206
 
207
+ .hidden {
208
+ display: none;
209
+ }
210
+
207
211
  // Utils
208
212
  .inline-hints,
209
213
  .inline-errors {
@@ -242,6 +246,42 @@ form {
242
246
  }
243
247
  }
244
248
  }
249
+
250
+ // Medias
251
+ @media #{$phone-screen} {
252
+ ol > li label,
253
+ input[type='text'],
254
+ input[type='password'],
255
+ input[type='email'],
256
+ input[type='number'],
257
+ input[type='url'],
258
+ input[type='tel'],
259
+ input[type='date'],
260
+ textarea {
261
+ display: block;
262
+ float: none;
263
+ width: 100%;
264
+ }
265
+
266
+ ol > li label {
267
+ margin-bottom: 5px;
268
+ }
269
+
270
+ select,
271
+ input[type='file'],
272
+ .date_select fieldset ol,
273
+ .time_select fieldset ol,
274
+ .datetime_select fieldset ol,
275
+ .inline-hints,
276
+ .inline-errors {
277
+ margin-left: 0;
278
+ width: 100%;
279
+ }
280
+
281
+ .boolean label {
282
+ padding-left: 0;
283
+ }
284
+ }
245
285
  }
246
286
 
247
287
  // Sidebar
@@ -283,8 +323,13 @@ form.filter_form {
283
323
  &.select_and_search {
284
324
  select,
285
325
  input[type='text'] {
326
+ float: left;
286
327
  width: calc(50% - 5px);
287
328
  }
329
+
330
+ input[type='text'] {
331
+ float: right;
332
+ }
288
333
  }
289
334
 
290
335
  &.filter_date_range {
@@ -74,3 +74,16 @@
74
74
  color: $white;
75
75
  }
76
76
  }
77
+
78
+ // Medias
79
+ @media #{$largest-phone-screen} {
80
+ .pagination,
81
+ .pagination_information,
82
+ .pagination_per_page,
83
+ .download_links {
84
+ display: block;
85
+ float: none;
86
+ text-align: center;
87
+ width: 100%;
88
+ }
89
+ }
@@ -130,17 +130,41 @@ table.index_table {
130
130
  background-image: asset-url('formadmin/view.svg');
131
131
  }
132
132
 
133
- // .view_link {
134
- // background-position: -16px 0;
135
- // }
136
- //
137
- // .edit_link {
138
- // background-position: -32px 0;
139
- // }
140
- //
141
- // .delete_link {
142
- // background-position: -48px 0;
143
- // }
133
+ // Medias
134
+ @media #{$phone-and-tablet-screen} {
135
+ overflow: hidden;
136
+
137
+ &,
138
+ tr,
139
+ th,
140
+ td,
141
+ thead,
142
+ tbody {
143
+ display: block;
144
+ text-align: left !important;
145
+ width: 100% !important;
146
+ }
147
+
148
+ tr {
149
+ padding: 20px;
150
+ }
151
+
152
+ th,
153
+ td {
154
+ background: transparent !important;
155
+ border: 0 !important;
156
+ border-radius: 0 !important;
157
+ padding: 5px 0 !important;
158
+
159
+ &:empty {
160
+ display: none;
161
+ }
162
+ }
163
+
164
+ tbody tr {
165
+ border-top: 1px solid $silver;
166
+ }
167
+ }
144
168
  }
145
169
 
146
170
  // Resource Attributes Table
@@ -173,8 +197,24 @@ table.index_table {
173
197
  opacity: 0.5;
174
198
  text-transform: uppercase;
175
199
  }
176
- }
177
200
 
178
- .attributes_table table {
201
+ // Medias
202
+ @media #{$phone-screen} {
203
+ th,
204
+ td {
205
+ display: block;
206
+ padding: 0 0 5px;
207
+ width: 100%;
208
+ }
209
+
210
+ tr + tr {
211
+ th {
212
+ padding: 20px 0 5px;
213
+ }
179
214
 
215
+ td {
216
+ border-top: 0;
217
+ }
218
+ }
219
+ }
180
220
  }
@@ -65,4 +65,27 @@
65
65
  border-left: 1px solid $silver;
66
66
  }
67
67
  }
68
+
69
+ // Media
70
+ @media #{$phone-screen} {
71
+ margin-bottom: 20px;
72
+ text-align: center;
73
+
74
+ .batch_actions_selector,
75
+ .scopes {
76
+ float: none;
77
+ margin: 0 0 20px;
78
+ }
79
+
80
+ .scopes,
81
+ .scope {
82
+ float: none !important;
83
+ width: 100% !important;
84
+ }
85
+
86
+ .scope + .scope {
87
+ border-top: 1px solid $silver;
88
+ border-left: 0;
89
+ }
90
+ }
68
91
  }
@@ -1,7 +1,8 @@
1
- .header {
1
+ #header.header {
2
+ align-items: center;
2
3
  background-color: rgba($primary-color, 0.95);
3
4
  backdrop-filter: blur(3px);
4
- display: table;
5
+ display: flex;
5
6
  color: $white;
6
7
  height: 50px;
7
8
  position: fixed;
@@ -12,11 +13,9 @@
12
13
  z-index: 10;
13
14
 
14
15
  .site_title {
15
- display: table-cell;
16
16
  font-weight: bold;
17
17
  margin: 0 20px 0 0;
18
18
  padding: 0 30px;
19
- vertical-align: middle;
20
19
  }
21
20
 
22
21
  #site_title_image {
@@ -25,9 +24,6 @@
25
24
  }
26
25
 
27
26
  .header-item {
28
- display: table-cell;
29
- vertical-align: middle;
30
-
31
27
  &,
32
28
  ul {
33
29
  margin: 0;
@@ -145,12 +141,12 @@
145
141
 
146
142
  #utility_nav {
147
143
  color: $silver;
148
- display: table-cell;
149
144
  margin: 0;
150
145
  padding: 0 20px 0 0;
151
146
  text-align: right;
152
147
  transition: color 250ms;
153
148
  white-space: nowrap;
149
+ width: 100%;
154
150
 
155
151
  a {
156
152
  text-decoration: none;
@@ -162,6 +158,103 @@
162
158
 
163
159
  li {
164
160
  display: inline;
161
+
162
+ &:not(#current_user) {
163
+ opacity: 0.75;
164
+ transition: opacity 250ms;
165
+
166
+ &:hover {
167
+ opacity: 1;
168
+ }
169
+ }
170
+ }
171
+ }
172
+
173
+ .menu-button {
174
+ display: none;
175
+ }
176
+
177
+ // Medias
178
+ @media #{$largest-phone-screen} {
179
+ #tabs,
180
+ #utility_nav {
181
+ left: 0;
182
+ opacity: 0;
183
+ position: fixed;
184
+ right: 0;
185
+ transform: translateY(calc(-100% - 90px));
186
+ transition: transform 250ms;
187
+ }
188
+
189
+ #utility_nav {
190
+ background-color: $primary-color;
191
+ height: 40px;
192
+ padding: 11px 0;
193
+ text-align: center;
194
+ top: 50px;
195
+ }
196
+
197
+ #tabs {
198
+ background-color: rgba($primary-color, 0.95);
199
+ top: 90px;
200
+
201
+ li {
202
+ display: block;
203
+ float: none;
204
+ margin: 0;
205
+ padding: 5px 15px;
206
+ width: 100%;
207
+
208
+ + li {
209
+ border-top: 1px solid rgba($white, 0.1);
210
+ }
211
+ }
212
+
213
+ a {
214
+ display: block;
215
+ }
216
+ }
217
+
218
+ .site_title {
219
+ padding: 0 15px;
220
+ }
221
+
222
+ .header-item ul {
223
+ background: transparent;
224
+ height: auto;
225
+ max-width: 100%;
226
+ opacity: 1;
227
+ margin-left: 5px;
228
+ position: static;
229
+ transform: scale(1);
230
+ width: 100%;
231
+
232
+ li {
233
+ border: 0 !important;
234
+ padding: 0 !important;
235
+
236
+ a:before {
237
+ display: inline;
238
+ content: '↳';
239
+ margin-right: 5px;
240
+ }
241
+ }
242
+ }
243
+
244
+ .menu-button {
245
+ display: block;
246
+ margin-left: auto;
247
+ margin-right: 15px;
248
+ margin-top: -5px;
249
+ }
250
+
251
+ @at-root .opened-menu & {
252
+ #tabs,
253
+ #utility_nav {
254
+ display: block;
255
+ opacity: 1;
256
+ transform: translateY(0);
257
+ }
165
258
  }
166
259
  }
167
260
  }
@@ -7,6 +7,8 @@
7
7
  #main_content_wrapper {
8
8
  float: left;
9
9
  width: 100%;
10
+
11
+ @include clearfix;
10
12
  }
11
13
 
12
14
  // Sidebar Stuffs
@@ -27,4 +29,24 @@
27
29
  }
28
30
  }
29
31
  }
32
+
33
+ // Medias
34
+ @media #{$largest-phone-screen} {
35
+ padding: 15px 15px 0;
36
+
37
+ &.with_sidebar #main_content {
38
+ margin-right: 0;
39
+ }
40
+
41
+ #main_content_wrapper {
42
+ float: none;
43
+ }
44
+
45
+ #sidebar {
46
+ float: none;
47
+ margin-left: 0;
48
+ margin-top: 40px;
49
+ width: 100%;
50
+ }
51
+ }
30
52
  }
@@ -63,4 +63,25 @@
63
63
  opacity: 0.5;
64
64
  }
65
65
  }
66
+
67
+ // Medias
68
+ @media #{$phone-and-tablet-screen} {
69
+ #page_title {
70
+ word-break: keep-all;
71
+ }
72
+
73
+ #titlebar_left,
74
+ #titlebar_right {
75
+ display: block;
76
+ text-align: center;
77
+ }
78
+
79
+ #titlebar_right {
80
+ margin-top: 10px;
81
+ }
82
+
83
+ .action_item a {
84
+ margin: 2px 0;
85
+ }
86
+ }
66
87
  }
@@ -8,7 +8,8 @@ body.logged_out {
8
8
  #content_wrapper {
9
9
  margin: 70px auto;
10
10
  padding: 0;
11
- width: 500px;
11
+ max-width: 500px;
12
+ width: 100%;
12
13
  }
13
14
 
14
15
  h2 {
@@ -42,4 +43,16 @@ body.logged_out {
42
43
  border-width: 1px;
43
44
  margin-bottom: 20px;
44
45
  }
46
+
47
+ // Medias
48
+ @media #{$largest-phone-screen} {
49
+ #wrapper {
50
+ padding: 15px;
51
+ }
52
+
53
+ #content_wrapper {
54
+ margin: 0 auto;
55
+ max-width: 450px;
56
+ }
57
+ }
45
58
  }
@@ -0,0 +1,6 @@
1
+ module ActiveAdmin
2
+ responsive_viewport = { viewport: 'width=device-width, initial-scale=1' }
3
+
4
+ ActiveAdmin.application.meta_tags.merge! responsive_viewport
5
+ ActiveAdmin.application.meta_tags_for_logged_out_pages.merge! responsive_viewport
6
+ end
@@ -0,0 +1,16 @@
1
+ module ActiveAdmin
2
+ module Views
3
+ class Header < Component
4
+ alias_method :_build, :build
5
+
6
+ def build namespace, menu
7
+ _build namespace, menu
8
+ build_responsive_menu
9
+ end
10
+
11
+ def build_responsive_menu
12
+ button '<i></i>'.html_safe, type: 'button', class: 'menu-button', onclick: 'document.body.classList.toggle("opened-menu")'
13
+ end
14
+ end
15
+ end
16
+ end
@@ -0,0 +1,6 @@
1
+ module Formadmin
2
+ module Rails
3
+ class Engine < ::Rails::Engine
4
+ end
5
+ end
6
+ end
@@ -1,3 +1,3 @@
1
1
  module Formadmin
2
- VERSION = '0.1.3'
2
+ VERSION = '0.1.4'
3
3
  end
data/lib/formadmin.rb CHANGED
@@ -1,8 +1,4 @@
1
1
  require 'formadmin/version'
2
-
3
- module Formadmin
4
- module Rails
5
- class Engine < ::Rails::Engine
6
- end
7
- end
8
- end
2
+ require 'formadmin/engine'
3
+ require 'formadmin/active_admin/application'
4
+ require 'formadmin/active_admin/views/header'
metadata CHANGED
@@ -1,43 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: formadmin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Caio Tarifa
8
8
  autorequire:
9
- bindir: exe
9
+ bindir: bin
10
10
  cert_chain: []
11
- date: 2016-09-27 00:00:00.000000000 Z
11
+ date: 2016-10-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: bundler
14
+ name: activeadmin
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '1.10'
20
- type: :development
19
+ version: '0'
20
+ type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: '1.10'
27
- - !ruby/object:Gem::Dependency
28
- name: rake
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - "~>"
32
- - !ruby/object:Gem::Version
33
- version: '10.0'
34
- type: :development
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - "~>"
39
- - !ruby/object:Gem::Version
40
- version: '10.0'
26
+ version: '0'
41
27
  description: Modern theme for Active Admin used by Formaweb.
42
28
  email:
43
29
  - caio@formaweb.com.br
@@ -45,9 +31,6 @@ executables: []
45
31
  extensions: []
46
32
  extra_rdoc_files: []
47
33
  files:
48
- - ".gitignore"
49
- - Gemfile
50
- - LICENSE.txt
51
34
  - README.md
52
35
  - Rakefile
53
36
  - app/assets/images/formadmin/edit.svg
@@ -59,6 +42,7 @@ files:
59
42
  - app/assets/stylesheets/formadmin/atoms/_drag.scss
60
43
  - app/assets/stylesheets/formadmin/atoms/_header.scss
61
44
  - app/assets/stylesheets/formadmin/atoms/_input.scss
45
+ - app/assets/stylesheets/formadmin/atoms/_menu-button.scss
62
46
  - app/assets/stylesheets/formadmin/atoms/_turbolinks.scss
63
47
  - app/assets/stylesheets/formadmin/components/_blank.scss
64
48
  - app/assets/stylesheets/formadmin/components/_button.scss
@@ -87,10 +71,10 @@ files:
87
71
  - app/assets/stylesheets/formadmin/layouts/_main.scss
88
72
  - app/assets/stylesheets/formadmin/layouts/_title-bar.scss
89
73
  - app/assets/stylesheets/formadmin/pages/_logged-out.scss
90
- - bin/console
91
- - bin/setup
92
- - formadmin.gemspec
93
74
  - lib/formadmin.rb
75
+ - lib/formadmin/active_admin/application.rb
76
+ - lib/formadmin/active_admin/views/header.rb
77
+ - lib/formadmin/engine.rb
94
78
  - lib/formadmin/version.rb
95
79
  homepage: http://github.com/formaweb/formadmin
96
80
  licenses:
@@ -112,7 +96,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
112
96
  version: '0'
113
97
  requirements: []
114
98
  rubyforge_project:
115
- rubygems_version: 2.5.1
99
+ rubygems_version: 2.6.4
116
100
  signing_key:
117
101
  specification_version: 4
118
102
  summary: Modern theme for Active Admin used by Formaweb.
data/.gitignore DELETED
@@ -1,45 +0,0 @@
1
- ################
2
- # Defaults #
3
- ################
4
- /.bundle/
5
- /.yardoc
6
- /Gemfile.lock
7
- /_yardoc/
8
- /coverage/
9
- /doc/
10
- /pkg/
11
- /spec/reports/
12
- /tmp/
13
-
14
- ####################
15
- # OS & Editors #
16
- ####################
17
- ._*
18
- .cache
19
- .DS_Store
20
- .idea
21
- .project
22
- .settings
23
- .tmproj
24
- *.esproj
25
- *.sublime-project
26
- *.sublime-workspace
27
- nbproject
28
- Thumbs.db
29
-
30
-
31
-
32
- ##############
33
- # Others #
34
- ##############
35
- *.diff
36
- *.err
37
- *.log
38
- *.orig
39
- *.rej
40
- *.sass-cache
41
- *.swo
42
- *.swp
43
- *.vi
44
- *.zip
45
- *~
data/Gemfile DELETED
@@ -1,2 +0,0 @@
1
- source 'https://rubygems.org'
2
- gemspec
data/LICENSE.txt DELETED
@@ -1,21 +0,0 @@
1
- The MIT License (MIT)
2
-
3
- Copyright (c) 2016 Caio Tarifa
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in
13
- all copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
- THE SOFTWARE.
data/bin/console DELETED
@@ -1,14 +0,0 @@
1
- #!/usr/bin/env ruby
2
-
3
- require "bundler/setup"
4
- require "formadmin"
5
-
6
- # You can add fixtures and/or initialization code here to make experimenting
7
- # with your gem easier. You can also use a different console, if you like.
8
-
9
- # (If you use this, don't forget to add pry to your Gemfile!)
10
- # require "pry"
11
- # Pry.start
12
-
13
- require "irb"
14
- IRB.start
data/bin/setup DELETED
@@ -1,7 +0,0 @@
1
- #!/bin/bash
2
- set -euo pipefail
3
- IFS=$'\n\t'
4
-
5
- bundle install
6
-
7
- # Do any other automated setup that you need to do here
data/formadmin.gemspec DELETED
@@ -1,24 +0,0 @@
1
- # coding: utf-8
2
- lib = File.expand_path('../lib', __FILE__)
3
- $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
- require 'formadmin/version'
5
-
6
- Gem::Specification.new do |spec|
7
- spec.name = 'formadmin'
8
- spec.version = Formadmin::VERSION
9
- spec.authors = ['Caio Tarifa']
10
- spec.email = ['caio@formaweb.com.br']
11
-
12
- spec.summary = 'Modern theme for Active Admin used by Formaweb.'
13
- spec.description = 'Modern theme for Active Admin used by Formaweb.'
14
- spec.homepage = 'http://github.com/formaweb/formadmin'
15
- spec.license = 'MIT'
16
-
17
- spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
18
- spec.bindir = "exe"
19
- spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
20
- spec.require_paths = ['lib']
21
-
22
- spec.add_development_dependency "bundler", "~> 1.10"
23
- spec.add_development_dependency "rake", "~> 10.0"
24
- end