platformx 0.0.8.9.9.1 → 0.0.8.9.9.7

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: 84e678fdeb9d32431352616905ca862b83bc1a58
4
- data.tar.gz: 54a3f83476bae3eefb7699420dcacad31eb2137e
3
+ metadata.gz: a509b639883c9845fb1f3e161ed85b21898747b3
4
+ data.tar.gz: ec2ceaa04597378046f5c3d63b3de05ac62c6a55
5
5
  SHA512:
6
- metadata.gz: e41103654fbb8e516f862ab3f1e25e11c4eec9471fda604d3b26d9d1e1d614ff55759b5c79527a6ae167e69d4b8f957e909c0062765089d4104bbbdd7daf05bf
7
- data.tar.gz: f97a2b2971cbb1dc0b58e4cd8377de61ba29a8733ab26c373f8b81fd94508632d156254d51f0494c7edb391ac2906e98a108a7d89c91808f5aa6dc42a91c5aca
6
+ metadata.gz: d9baeda5b44c0105928f3f5d49070c7c0ff1d1dc4fd9eeffb27b4c82c9416639ba8bd88cd1242b773fb60e3bdcb42f8b869f0418fcb4ffbce3a10461b1498dea
7
+ data.tar.gz: 22be06056ee829c9bcdc12f274c447e499ffa987d7adb2810aa910ba0fc63266460b4ffd007dbc60577d85adbba80ea17aac401361c3a31f473ddb5e80e065a7
data/.DS_Store ADDED
Binary file
data/lib/.DS_Store ADDED
Binary file
@@ -103,7 +103,7 @@ EOS
103
103
  # @param inline [Boolean] if the radio is inline or not
104
104
  # @param form_group [Boolean] if the radio is of form group
105
105
  # @return [String] the compiled radio
106
- def x_radio(id: "", name: "", value: "1", label: "", checked: false, align: false, inline: false, include_false_as_hidden: false ,form_group: true)
106
+ def x_radio(id: "", name: "", value: "1", label: "", checked: false, checked_if: "", align: false, inline: false, include_false_as_hidden: false ,form_group: true)
107
107
 
108
108
  checked_output = ""
109
109
  align_class = ""
@@ -112,6 +112,7 @@ EOS
112
112
  form_group_end = ""
113
113
  include_false_as_hidden_element = ""
114
114
 
115
+ if checked == checked_if then checked_output='checked="checked"' end
115
116
  if checked == true then checked_output='checked="checked"' end
116
117
  if align == "left" then align_class='pull-left' end
117
118
  if align == "right" then align_class='pull-right' end
@@ -125,7 +126,7 @@ radio_btn = <<EOS
125
126
  <label class="#{align_class} #{inline_class}">
126
127
  #{include_false_as_hidden_element}
127
128
  <input type="radio" id="#{id}" name="post[#{name}]" value="#{value}" #{checked_output} data-toggle="radio"/>
128
- #{label} </label>
129
+ #{label}</label>
129
130
  </div>
130
131
  #{form_group_end}
131
132
  EOS
@@ -1,3 +1,3 @@
1
1
  module Platformx
2
- VERSION = "0.0.8.9.9.1"
2
+ VERSION = "0.0.8.9.9.7"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: platformx
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8.9.9.1
4
+ version: 0.0.8.9.9.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - timmushen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-06-12 00:00:00.000000000 Z
11
+ date: 2017-06-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -409,12 +409,14 @@ executables: []
409
409
  extensions: []
410
410
  extra_rdoc_files: []
411
411
  files:
412
+ - ".DS_Store"
412
413
  - ".gitignore"
413
414
  - ".rspec"
414
415
  - Gemfile
415
416
  - LICENSE.txt
416
417
  - README.md
417
418
  - Rakefile
419
+ - lib/.DS_Store
418
420
  - lib/platformx.rb
419
421
  - lib/platformx/auth.rb
420
422
  - lib/platformx/aws.rb