simple_form-dropdown_select 0.0.3 → 0.0.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: 958742e812ff0918a142b0ed68909e6c02e23c3f
4
- data.tar.gz: 63fddafbe4b8c36794f2ada7379b5467cee1b919
3
+ metadata.gz: bb32f34278a6f96989917a44917ab75d656ea4b8
4
+ data.tar.gz: 9c8227f72efce173310adff0bcd7b656a2d5ce52
5
5
  SHA512:
6
- metadata.gz: 222657ac1a0bd8a5a05ca26cb5427aac27c9355f5fc5dd2b2d88a33cbe1b24c82f6f35d179a600d673ad2d8ac9fd12b9da17ce349f35c4b7ea7e240d9d084bb9
7
- data.tar.gz: 24dc09115f8a7509bd6d4697df9009cf0f0c6654e90eccd65fc8ef1ccd8a9cb9dd96fdbd53f75e231ff66fe6ae4bec2f8928127b94a3ecb5e08b43821df8ab77
6
+ metadata.gz: 0ed214540f2a255e6da8e6c4f34fd4d6e73399e133203addd79932f8a5f3fb72df95e853bbf9f411bc6b372267f9f756628d079263decde86af9ae1c24b297f0
7
+ data.tar.gz: 70cb76815b1e0ba59e77872fc569562aec185b6b0a031c0118738b39cc9fb9bb60ab3ab4a08ded027fb163b246b8fdc8477d0a9665f11baa570ea3ce43b24fcd
data/Gemfile.lock CHANGED
@@ -1,75 +1,76 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- simple_form-dropdown_select (0.0.1)
4
+ simple_form-dropdown_select (0.0.3)
5
5
  coffee-script
6
6
  rspec-rails
7
+ sass
7
8
  simple_form
8
- stylus
9
9
 
10
10
  GEM
11
11
  remote: https://rubygems.org/
12
12
  specs:
13
- actionpack (4.1.0)
14
- actionview (= 4.1.0)
15
- activesupport (= 4.1.0)
13
+ actionpack (4.1.6)
14
+ actionview (= 4.1.6)
15
+ activesupport (= 4.1.6)
16
16
  rack (~> 1.5.2)
17
17
  rack-test (~> 0.6.2)
18
- actionview (4.1.0)
19
- activesupport (= 4.1.0)
18
+ actionview (4.1.6)
19
+ activesupport (= 4.1.6)
20
20
  builder (~> 3.1)
21
21
  erubis (~> 2.7.0)
22
- activemodel (4.1.0)
23
- activesupport (= 4.1.0)
22
+ activemodel (4.1.6)
23
+ activesupport (= 4.1.6)
24
24
  builder (~> 3.1)
25
- activesupport (4.1.0)
25
+ activesupport (4.1.6)
26
26
  i18n (~> 0.6, >= 0.6.9)
27
27
  json (~> 1.7, >= 1.7.7)
28
28
  minitest (~> 5.1)
29
29
  thread_safe (~> 0.1)
30
30
  tzinfo (~> 1.1)
31
31
  builder (3.2.2)
32
- coffee-script (2.2.0)
32
+ coffee-script (2.3.0)
33
33
  coffee-script-source
34
34
  execjs
35
- coffee-script-source (1.7.0)
35
+ coffee-script-source (1.8.0)
36
36
  diff-lcs (1.2.5)
37
37
  erubis (2.7.0)
38
- execjs (2.0.2)
39
- i18n (0.6.9)
38
+ execjs (2.2.1)
39
+ i18n (0.6.11)
40
40
  json (1.8.1)
41
- minitest (5.3.3)
41
+ minitest (5.4.1)
42
42
  rack (1.5.2)
43
43
  rack-test (0.6.2)
44
44
  rack (>= 1.0)
45
- railties (4.1.0)
46
- actionpack (= 4.1.0)
47
- activesupport (= 4.1.0)
45
+ railties (4.1.6)
46
+ actionpack (= 4.1.6)
47
+ activesupport (= 4.1.6)
48
48
  rake (>= 0.8.7)
49
49
  thor (>= 0.18.1, < 2.0)
50
- rake (10.3.1)
51
- rspec-core (2.14.8)
52
- rspec-expectations (2.14.5)
53
- diff-lcs (>= 1.1.3, < 2.0)
54
- rspec-mocks (2.14.6)
55
- rspec-rails (2.14.2)
50
+ rake (10.3.2)
51
+ rspec-core (3.0.4)
52
+ rspec-support (~> 3.0.0)
53
+ rspec-expectations (3.0.4)
54
+ diff-lcs (>= 1.2.0, < 2.0)
55
+ rspec-support (~> 3.0.0)
56
+ rspec-mocks (3.0.4)
57
+ rspec-support (~> 3.0.0)
58
+ rspec-rails (3.0.2)
56
59
  actionpack (>= 3.0)
57
- activemodel (>= 3.0)
58
60
  activesupport (>= 3.0)
59
61
  railties (>= 3.0)
60
- rspec-core (~> 2.14.0)
61
- rspec-expectations (~> 2.14.0)
62
- rspec-mocks (~> 2.14.0)
62
+ rspec-core (~> 3.0.0)
63
+ rspec-expectations (~> 3.0.0)
64
+ rspec-mocks (~> 3.0.0)
65
+ rspec-support (~> 3.0.0)
66
+ rspec-support (3.0.4)
67
+ sass (3.4.4)
63
68
  simple_form (3.0.2)
64
69
  actionpack (~> 4.0)
65
70
  activemodel (~> 4.0)
66
- stylus (1.0.1)
67
- execjs
68
- stylus-source
69
- stylus-source (0.42.2)
70
71
  thor (0.19.1)
71
- thread_safe (0.3.3)
72
- tzinfo (1.1.0)
72
+ thread_safe (0.3.4)
73
+ tzinfo (1.2.2)
73
74
  thread_safe (~> 0.1)
74
75
 
75
76
  PLATFORMS
@@ -0,0 +1,39 @@
1
+ .dropdown_select_input {
2
+ .dropdown_toggle_button {
3
+ width: 240px;
4
+ }
5
+
6
+ .dropdown_menu {
7
+ width: 300px;
8
+
9
+ li {
10
+ a {
11
+ white-space: normal;
12
+ padding: 6px 10px 6px 20px;
13
+ }
14
+
15
+ a:hover, &.active a {
16
+ .dropdown_select_input_description {
17
+ color: #e5e5e5;
18
+ }
19
+ }
20
+ }
21
+ }
22
+
23
+ // Support for AutoSubmitter
24
+ .as_indicator {
25
+ right: -28px;
26
+ }
27
+ }
28
+
29
+ .dropdown_select_input_title {
30
+ font-weight: 600;
31
+ display: block;
32
+ }
33
+
34
+ .dropdown_select_input_description {
35
+ display: block;
36
+ color: #aaa;
37
+ font-size: 0.9rem;
38
+ line-height: 1.3;
39
+ }
@@ -1,5 +1,5 @@
1
1
  module SimpleForm
2
2
  module DropdownSelect
3
- VERSION = "0.0.3"
3
+ VERSION = "0.0.4"
4
4
  end
5
- end
5
+ end
@@ -24,5 +24,5 @@ Gem::Specification.new do |s|
24
24
  s.add_dependency 'coffee-script'
25
25
  s.add_dependency 'rspec-rails'
26
26
  s.add_dependency 'simple_form'
27
- s.add_dependency 'stylus'
27
+ s.add_dependency 'sass'
28
28
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simple_form-dropdown_select
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Becker
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-05-01 00:00:00.000000000 Z
11
+ date: 2014-09-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: coffee-script
@@ -53,7 +53,7 @@ dependencies:
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  - !ruby/object:Gem::Dependency
56
- name: stylus
56
+ name: sass
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - ">="
@@ -80,7 +80,7 @@ files:
80
80
  - LICENSE.md
81
81
  - README.md
82
82
  - app/assets/javascripts/simple_form/dropdown_select.js.coffee
83
- - app/assets/stylesheets/simple_form/dropdown_select.styl
83
+ - app/assets/stylesheets/simple_form/dropdown_select.scss
84
84
  - app/inputs/dropdown_select_input.rb
85
85
  - lib/simple_form/dropdown_select.rb
86
86
  - lib/simple_form/dropdown_select/engine.rb
@@ -111,3 +111,4 @@ signing_key:
111
111
  specification_version: 4
112
112
  summary: A more powerful dropdown input for Simple Form.
113
113
  test_files: []
114
+ has_rdoc:
@@ -1,29 +0,0 @@
1
- .dropdown_select_input
2
- .dropdown_toggle_button
3
- width 240px
4
-
5
- .dropdown_menu
6
- width 300px
7
-
8
- li
9
- a
10
- white-space normal
11
- padding 6px 10px 6px 20px
12
-
13
- a:hover, &.active a
14
- .dropdown_select_input_description
15
- color #e5e5e5
16
-
17
- // Support for AutoSubmitter
18
- .as_indicator
19
- right -28px
20
-
21
- .dropdown_select_input_title
22
- font-weight 600
23
- display block
24
-
25
- .dropdown_select_input_description
26
- display block
27
- color #aaa
28
- font-size 0.9rem
29
- line-height 1.3