godmin 0.9.0 → 0.9.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a2323184734c0c148b5bc68e99b95990a6e4febe
4
- data.tar.gz: ab3409ae076a133ad899330152f8cea23f6a120b
3
+ metadata.gz: ee1fd80e2ce90fb34a1d9b58fe2f916dee030a99
4
+ data.tar.gz: 35ae94c3359f30aa40127ee6055e77d541773d93
5
5
  SHA512:
6
- metadata.gz: e8ab917763ef63814cd44d76623be142488eb5480bf12d7ef3ae248fd26dea65fcf7488b8bd3ae4358581f5d708125875d6f7ba56a7cccf8da17ec781219d8de
7
- data.tar.gz: ff995006764b61a48b03b5f5ec9a261b1f04e4986687f45c5db197f511a3c5735d14dc21354686a578f1edc1a8137cc86e6f7edb93ea61a6f376d71ef5034188
6
+ metadata.gz: 1afec08484d1c85394d24de728b2fb1f38dde19e1cf679306998bacb22d96d820852acf3f6d5a26f3e1a6a6aae84b99d69deaafb2a11d758cca8514f50f70f7d
7
+ data.tar.gz: f164354f38eca12545c3c12166c8f76f0deeb8d61ac0db65d1e32fd7d73bd204fbe500a76c76f3efe0e688012f8707bc0107788dd767824e9f0a1539f36b7686
data/README.md CHANGED
@@ -1,6 +1,8 @@
1
1
  # Godmin
2
2
 
3
+ [![Gem Version](https://badge.fury.io/rb/godmin.svg)](http://badge.fury.io/rb/godmin)
3
4
  [![Build Status](https://travis-ci.org/varvet/godmin.svg?branch=master)](https://travis-ci.org/varvet/godmin)
5
+ [![Code Climate](https://codeclimate.com/github/varvet/godmin/badges/gpa.svg)](https://codeclimate.com/github/varvet/godmin)
4
6
 
5
7
  Godmin is an admin engine for Rails 4+.
6
8
 
@@ -31,7 +33,7 @@ Godmin supports two common admin scenarios:
31
33
  2. Engine installation
32
34
 
33
35
  ### Standalone installation
34
- For admin-only applications, or for architectures where the admin lives in its own app, i.e. you want to access the admin section at `localhost:3000`.
36
+ Use for admin-only applications, or for architectures where the admin lives in its own app. Typically, you want to access the admin section at `localhost:3000`.
35
37
 
36
38
  Add the gem to the application's `Gemfile`:
37
39
  ```ruby
@@ -46,7 +48,7 @@ $ bin/rails generate godmin:install
46
48
  Godmin should be up and running at `localhost:3000`
47
49
 
48
50
  ### Engine installation
49
- For when the admin is part of the same codebase as the main application, i.e. you want to access the admin section at `localhost:3000/admin`.
51
+ Use when the admin is part of the same codebase as the main application. Typically you want to access the admin section at `localhost:3000/admin`.
50
52
 
51
53
  Generate a [mountable engine](http://guides.rubyonrails.org/engines.html):
52
54
  ```sh
@@ -481,7 +483,7 @@ That is, everyone can list and view articles, only editors can create them, and
481
483
 
482
484
  Godmin supports localization out of the box. Strings can be translated both globally and per resource, similar to how views work.
483
485
 
484
- For a list of translatable strings, [look here](https://github.com/varvet/godmin/blob/resurrection/config/locales/en.yml).
486
+ For a list of translatable strings, [look here](https://github.com/varvet/godmin/blob/master/config/locales/en.yml).
485
487
 
486
488
  For instance, to translate the `godmin.batch_actions.select_all` string globally:
487
489
 
@@ -518,6 +520,12 @@ godmin:
518
520
 
519
521
  Godmin comes with built in support for English and Swedish.
520
522
 
521
- There is a view helper available named `translated_scoped` that can be used in overridden views. Please see the source code for information on how to use it.
523
+ There is a view helper available named `translate_scoped` that can be used in overridden views. Please see the source code for information on how to use it.
522
524
 
523
525
  ## Contributors
526
+
527
+ https://github.com/varvet/godmin/graphs/contributors
528
+
529
+ ## License
530
+
531
+ Licensed under the MIT license. See the separate MIT-LICENSE file.
@@ -1,3 +1,3 @@
1
1
  module Godmin
2
- VERSION = "0.9.0"
2
+ VERSION = "0.9.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: godmin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.9.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jens Ljungblad
@@ -10,164 +10,163 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2014-11-17 00:00:00.000000000 Z
13
+ date: 2014-11-18 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: bcrypt
17
17
  requirement: !ruby/object:Gem::Requirement
18
18
  requirements:
19
- - - "~>"
19
+ - - ~>
20
20
  - !ruby/object:Gem::Version
21
21
  version: 3.1.7
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
25
25
  requirements:
26
- - - "~>"
26
+ - - ~>
27
27
  - !ruby/object:Gem::Version
28
28
  version: 3.1.7
29
29
  - !ruby/object:Gem::Dependency
30
30
  name: bootstrap-sass
31
31
  requirement: !ruby/object:Gem::Requirement
32
32
  requirements:
33
- - - "~>"
33
+ - - ~>
34
34
  - !ruby/object:Gem::Version
35
35
  version: 3.1.1.0
36
36
  type: :runtime
37
37
  prerelease: false
38
38
  version_requirements: !ruby/object:Gem::Requirement
39
39
  requirements:
40
- - - "~>"
40
+ - - ~>
41
41
  - !ruby/object:Gem::Version
42
42
  version: 3.1.1.0
43
43
  - !ruby/object:Gem::Dependency
44
44
  name: coffee-rails
45
45
  requirement: !ruby/object:Gem::Requirement
46
46
  requirements:
47
- - - ">="
47
+ - - '>='
48
48
  - !ruby/object:Gem::Version
49
49
  version: '4.0'
50
- - - "<"
50
+ - - <
51
51
  - !ruby/object:Gem::Version
52
52
  version: '4.2'
53
53
  type: :runtime
54
54
  prerelease: false
55
55
  version_requirements: !ruby/object:Gem::Requirement
56
56
  requirements:
57
- - - ">="
57
+ - - '>='
58
58
  - !ruby/object:Gem::Version
59
59
  version: '4.0'
60
- - - "<"
60
+ - - <
61
61
  - !ruby/object:Gem::Version
62
62
  version: '4.2'
63
63
  - !ruby/object:Gem::Dependency
64
64
  name: kaminari
65
65
  requirement: !ruby/object:Gem::Requirement
66
66
  requirements:
67
- - - "~>"
67
+ - - ~>
68
68
  - !ruby/object:Gem::Version
69
69
  version: 0.16.1
70
70
  type: :runtime
71
71
  prerelease: false
72
72
  version_requirements: !ruby/object:Gem::Requirement
73
73
  requirements:
74
- - - "~>"
74
+ - - ~>
75
75
  - !ruby/object:Gem::Version
76
76
  version: 0.16.1
77
77
  - !ruby/object:Gem::Dependency
78
78
  name: rails
79
79
  requirement: !ruby/object:Gem::Requirement
80
80
  requirements:
81
- - - ">="
81
+ - - '>='
82
82
  - !ruby/object:Gem::Version
83
83
  version: '4.0'
84
- - - "<"
84
+ - - <
85
85
  - !ruby/object:Gem::Version
86
86
  version: '4.2'
87
87
  type: :runtime
88
88
  prerelease: false
89
89
  version_requirements: !ruby/object:Gem::Requirement
90
90
  requirements:
91
- - - ">="
91
+ - - '>='
92
92
  - !ruby/object:Gem::Version
93
93
  version: '4.0'
94
- - - "<"
94
+ - - <
95
95
  - !ruby/object:Gem::Version
96
96
  version: '4.2'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: sass-rails
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - ">="
101
+ - - '>='
102
102
  - !ruby/object:Gem::Version
103
103
  version: '4.0'
104
- - - "<"
104
+ - - <
105
105
  - !ruby/object:Gem::Version
106
106
  version: '4.2'
107
107
  type: :runtime
108
108
  prerelease: false
109
109
  version_requirements: !ruby/object:Gem::Requirement
110
110
  requirements:
111
- - - ">="
111
+ - - '>='
112
112
  - !ruby/object:Gem::Version
113
113
  version: '4.0'
114
- - - "<"
114
+ - - <
115
115
  - !ruby/object:Gem::Version
116
116
  version: '4.2'
117
117
  - !ruby/object:Gem::Dependency
118
118
  name: select2-rails
119
119
  requirement: !ruby/object:Gem::Requirement
120
120
  requirements:
121
- - - "~>"
121
+ - - ~>
122
122
  - !ruby/object:Gem::Version
123
123
  version: 3.5.7
124
124
  type: :runtime
125
125
  prerelease: false
126
126
  version_requirements: !ruby/object:Gem::Requirement
127
127
  requirements:
128
- - - "~>"
128
+ - - ~>
129
129
  - !ruby/object:Gem::Version
130
130
  version: 3.5.7
131
131
  - !ruby/object:Gem::Dependency
132
132
  name: simple_form
133
133
  requirement: !ruby/object:Gem::Requirement
134
134
  requirements:
135
- - - "~>"
135
+ - - ~>
136
136
  - !ruby/object:Gem::Version
137
137
  version: 3.0.0
138
138
  type: :runtime
139
139
  prerelease: false
140
140
  version_requirements: !ruby/object:Gem::Requirement
141
141
  requirements:
142
- - - "~>"
142
+ - - ~>
143
143
  - !ruby/object:Gem::Version
144
144
  version: 3.0.0
145
145
  - !ruby/object:Gem::Dependency
146
146
  name: sqlite3
147
147
  requirement: !ruby/object:Gem::Requirement
148
148
  requirements:
149
- - - ">="
149
+ - - '>='
150
150
  - !ruby/object:Gem::Version
151
151
  version: '0'
152
152
  type: :development
153
153
  prerelease: false
154
154
  version_requirements: !ruby/object:Gem::Requirement
155
155
  requirements:
156
- - - ">="
156
+ - - '>='
157
157
  - !ruby/object:Gem::Version
158
158
  version: '0'
159
159
  description: Godmin is an admin engine for Rails 4+
160
160
  email:
161
161
  - hej@varvet.se
162
- executables:
163
- - rails
162
+ executables: []
164
163
  extensions: []
165
164
  extra_rdoc_files: []
166
165
  files:
167
- - ".gitignore"
168
- - ".hound.yml"
169
- - ".rubocop.yml"
170
- - ".travis.yml"
166
+ - .gitignore
167
+ - .hound.yml
168
+ - .rubocop.yml
169
+ - .travis.yml
171
170
  - Gemfile
172
171
  - MIT-LICENSE
173
172
  - README.md
@@ -206,7 +205,6 @@ files:
206
205
  - app/views/layouts/godmin/_layout.html.erb
207
206
  - app/views/layouts/godmin/application.html.erb
208
207
  - app/views/layouts/godmin/login.html.erb
209
- - bin/rails
210
208
  - config/locales/en.yml
211
209
  - config/locales/sv.yml
212
210
  - config/routes.rb
@@ -285,10 +283,6 @@ files:
285
283
  - test/lib/godmin/policy_finder_test.rb
286
284
  - test/lib/godmin/resolver_test.rb
287
285
  - test/test_helper.rb
288
- - vendor/assets/images/godmin/chosen-sprite.png
289
- - vendor/assets/images/godmin/chosen-sprite@2x.png
290
- - vendor/assets/javascripts/.keep
291
- - vendor/assets/stylesheets/.keep
292
286
  homepage: https://github.com/varvet/godmin
293
287
  licenses:
294
288
  - MIT
@@ -299,17 +293,17 @@ require_paths:
299
293
  - lib
300
294
  required_ruby_version: !ruby/object:Gem::Requirement
301
295
  requirements:
302
- - - ">="
296
+ - - '>='
303
297
  - !ruby/object:Gem::Version
304
298
  version: '0'
305
299
  required_rubygems_version: !ruby/object:Gem::Requirement
306
300
  requirements:
307
- - - ">="
301
+ - - '>='
308
302
  - !ruby/object:Gem::Version
309
303
  version: '0'
310
304
  requirements: []
311
305
  rubyforge_project:
312
- rubygems_version: 2.2.0
306
+ rubygems_version: 2.2.2
313
307
  signing_key:
314
308
  specification_version: 4
315
309
  summary: Godmin is an admin engine for Rails 4+
data/bin/rails DELETED
@@ -1,8 +0,0 @@
1
- #!/usr/bin/env ruby
2
- # This command will automatically be run when you run "rails" with Rails 4 gems installed from the root of your application.
3
-
4
- ENGINE_ROOT = File.expand_path('../..', __FILE__)
5
- ENGINE_PATH = File.expand_path('../../lib/godmin/engine', __FILE__)
6
-
7
- require 'rails/all'
8
- require 'rails/engine/commands'
File without changes
File without changes