abstractor 1.0.16 → 1.0.17

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- MzViNmRmMjQzZWEzOWZkZWYzYWZkYWI1N2Q4NTViNjJiYzUzMmMyOA==
4
+ YTU0MDIzMDI3ZDg1ZWM2MGE1NjdjMzIzNmVmYWU5OTI1MjBlNDcwNQ==
5
5
  data.tar.gz: !binary |-
6
- MmY5ZmQ2M2ZhZWVhMWRkYWZlOTZjNWMzZTVkMGEzMTcyYjM2N2VjNQ==
6
+ OWQ2ODQ5ZjI3YzQwNzA1Mjc2MWU1NDU2MzI3YWU3ZGExZDUyZDU1YQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- ZDViNWM4NzE5MzkyOTYzY2IwZjc1NGViMjJjZWM1OGU4YjcyYzM3ZTg2YTVj
10
- MmUyMjRiYmYxOGVmOWE2MjU0M2RmYjFlM2UyNTAwNGNjZWU3YjkxZDBlYTY1
11
- MTM5MTQ5MzhhZWM1YWU2OTIyYzUyMGEzNDQzYjc3MmQ1NzA3ZGY=
9
+ MTkzYjI1NGM0OGIyNDUyYmJhZTM5MDlmZmI3NGZiYzYzNDY3MGE0NjM1ZDA3
10
+ YmVlYzhmODMwNmUwMzYzNzg5Nzc3YzRiNzQ4MTUxMmMxOTFkN2Q1OWI4ZjEy
11
+ YjI3MmE1MjE3MjM2NWM0ZWM4NTFiNTA1ZDc4ZDE4ODQ2MzEyMWI=
12
12
  data.tar.gz: !binary |-
13
- MDk4MzUzNWM4Y2RlYTgyZTFkYjhiZmQ1MjhmYmM3NjQ5NWExNjk2NjhkMDE3
14
- YTlhNzRjYTQxMzk0ZTI5ODQ5YzJhODM4NTcxODdiNGEwY2VhY2Q3ZjYxNTUy
15
- Yjg1ODA5OGZjMjMxZTRlZWY4NGU0NWFiYzZhMWI3ZGViYjkxYWE=
13
+ MGJmMTQ5ZWRlYTMxNzc1M2QyNDEzNDYzN2JhNmI1NTRjOWUzYjhkZDYyZWNl
14
+ Yjg2ZjEzY2I4OWYwNWQwNjhmODRiOTAyZDFjZWYwN2M5NmJlZTNhYTgyOGVk
15
+ MTZlZWI4NWU5ZTVmYjBlNDg2NmRlMmI5MjJmZGQxNWRhZDYwYTQ=
@@ -74,9 +74,10 @@ Abstractor.AbstractionUI = function(){
74
74
  };
75
75
 
76
76
  Abstractor.AbstractionSuggestionUI = function(){
77
- $(document).on('change', 'form.edit_abstractor_suggestion select', function() {
77
+ $(document).on('change', '#abstractor_suggestion_abstractor_suggestion_status_id_1, #abstractor_suggestion_abstractor_suggestion_status_id_2, #abstractor_suggestion_abstractor_suggestion_status_id_3', function() {
78
78
  $(this).closest('form').submit();
79
79
  });
80
+
80
81
  $(document).on('ajax:success', 'form.edit_abstractor_suggestion', function(e, data, status, xhr){
81
82
  $(this).closest('.abstractor_abstraction').html(xhr.responseText);
82
83
  });
@@ -47,7 +47,13 @@
47
47
  - else
48
48
  = simple_format(abstractable_from_column.clone)
49
49
  .column-3
50
- = f.select :abstractor_suggestion_status_id, Abstractor::AbstractorSuggestionStatus.all.sort_by(&:name).map{|s| [s.name, s.id]}
50
+ - values = Abstractor::AbstractorSuggestionStatus.all.sort_by(&:name).map{|s| [s.name, s.id] }
51
+ - values.each do |value|
52
+ = f.radio_button :abstractor_suggestion_status_id, value.last
53
+ = f.label :abstractor_suggestion_status_id, value.first, value: value.last
54
+ %br
55
+ = f.radio_button :abstractor_suggestion_status_id, '', {:style => 'display:none;' }
56
+ %hr
51
57
  - else
52
58
  .column-9
53
59
  - abstractor_abstraction.abstractor_subject.abstractor_abstraction_sources.each do |abstractor_abstraction_source|
@@ -1,3 +1,3 @@
1
1
  module Abstractor
2
- VERSION = '1.0.16'
2
+ VERSION = '1.0.17'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: abstractor
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.16
4
+ version: 1.0.17
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Gurley, Yulia Bushmanova
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-06-11 00:00:00.000000000 Z
11
+ date: 2014-06-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails