the_role_bootstrap3_ui 1.0 → 1.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: e2247e8f683d3b6c2fec1f99782e34c6a7efcfc6
4
- data.tar.gz: d451a5bc4d68e6a49027506db80c2ca45c2fc228
3
+ metadata.gz: ffe0fa96dba55db88062be122a43f7181fcba9e0
4
+ data.tar.gz: 3ee860d11f64856eba22a84c700a1aa4e5feed0b
5
5
  SHA512:
6
- metadata.gz: e890d2c9052a08084574f2324d48bb26a59c4345a5c9245d0c4b8d3110169958e270c85bf5b240eb9a9313c908736e63491a2460d9ff9b0c745c861b530c8932
7
- data.tar.gz: f1392c7b8179f13065908d2b37121e47d28e8582a8a79b4b0112dd0fd639ec629441073c9f0b77179a61b8a19d46073a771c39af1ab1605030cb5bad00fc6593
6
+ metadata.gz: 2313e99c7bebd78b8e2f12dca698d30ea01eee1a0b63dae35313e782832c7422d27ef39e1b64280b6dd52f0497fdeb3942e78c820decd90ab4fb860ce9f646fd
7
+ data.tar.gz: 1be27efa51d6fbb1a269d0b1af068c3aaa4d879c17f35c12fe0a7874e5a0120e06b3671f6068a46f022813f1e0a54ae1184a77e8b451f4487776f9a2fef0ff49
@@ -22,4 +22,10 @@
22
22
  %label= t('.description')
23
23
  %p= f.text_field :description, class: "form-control"
24
24
 
25
+ - opts = options_for_select Role.all.map{|role| [ role.name, role.id ] }
26
+ - unless opts.empty?
27
+ .form-group
28
+ %label= t('.based_on_role')
29
+ = f.select :based_on_role, opts, { include_blank: true }, class: "form-control"
30
+
25
31
  = f.submit t('.create'), class: "btn btn-success"
data/gem_version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module TheRoleBootstrap3Ui
2
- VERSION = "1.0"
2
+ VERSION = "1.1"
3
3
  end
metadata CHANGED
@@ -1,85 +1,85 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: the_role_bootstrap3_ui
3
3
  version: !ruby/object:Gem::Version
4
- version: '1.0'
4
+ version: '1.1'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ilya N. Zykin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-03-18 00:00:00.000000000 Z
11
+ date: 2014-03-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ~>
18
18
  - !ruby/object:Gem::Version
19
19
  version: '1.5'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - ~>
25
25
  - !ruby/object:Gem::Version
26
26
  version: '1.5'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ">="
31
+ - - '>='
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ">="
38
+ - - '>='
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: haml
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ">="
45
+ - - '>='
46
46
  - !ruby/object:Gem::Version
47
47
  version: '0'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ">="
52
+ - - '>='
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rails
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ">="
59
+ - - '>='
60
60
  - !ruby/object:Gem::Version
61
61
  version: '3'
62
- - - "<"
62
+ - - <
63
63
  - !ruby/object:Gem::Version
64
64
  version: '5'
65
65
  type: :runtime
66
66
  prerelease: false
67
67
  version_requirements: !ruby/object:Gem::Requirement
68
68
  requirements:
69
- - - ">="
69
+ - - '>='
70
70
  - !ruby/object:Gem::Version
71
71
  version: '3'
72
- - - "<"
72
+ - - <
73
73
  - !ruby/object:Gem::Version
74
74
  version: '5'
75
- description: " Bootstrap3 views for TheRole "
75
+ description: ' Bootstrap3 views for TheRole '
76
76
  email:
77
77
  - zykin-ilya@ya.ru
78
78
  executables: []
79
79
  extensions: []
80
80
  extra_rdoc_files: []
81
81
  files:
82
- - ".gitignore"
82
+ - .gitignore
83
83
  - Gemfile
84
84
  - LICENSE.txt
85
85
  - README.md
@@ -105,12 +105,12 @@ require_paths:
105
105
  - lib
106
106
  required_ruby_version: !ruby/object:Gem::Requirement
107
107
  requirements:
108
- - - ">="
108
+ - - '>='
109
109
  - !ruby/object:Gem::Version
110
110
  version: '0'
111
111
  required_rubygems_version: !ruby/object:Gem::Requirement
112
112
  requirements:
113
- - - ">="
113
+ - - '>='
114
114
  - !ruby/object:Gem::Version
115
115
  version: '0'
116
116
  requirements: []