RubyApp 0.0.59 → 0.0.60

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.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- RubyApp (0.0.59)
4
+ RubyApp (0.0.60)
5
5
  BlueCloth
6
6
  chronic
7
7
  chronic_duration
@@ -11,6 +11,7 @@ require 'ruby_app/elements/dialog'
11
11
  require 'ruby_app/elements/dialogs/blank_dialog'
12
12
  require 'ruby_app/elements/dialogs/close_dialog'
13
13
  require 'ruby_app/elements/dialogs/yes_no_dialog'
14
+ require 'ruby_app/elements/inputs/toggle_input'
14
15
  require 'ruby_app/elements/list'
15
16
  require 'ruby_app/elements/lists/select'
16
17
  require 'ruby_app/elements/markdown'
@@ -26,6 +27,7 @@ RubyApp::Elements::Dialog.template_path(:css, File.join(File.dirname(__FILE__),
26
27
  RubyApp::Elements::Dialogs::BlankDialog.template_path(:css, File.join(File.dirname(__FILE__), %w[mobile dialogs]))
27
28
  RubyApp::Elements::Dialogs::CloseDialog.template_path(:css, File.join(File.dirname(__FILE__), %w[mobile dialogs]))
28
29
  RubyApp::Elements::Dialogs::YesNoDialog.template_path(:css, File.join(File.dirname(__FILE__), %w[mobile dialogs]))
30
+ RubyApp::Elements::Inputs::ToggleInput.template_path(:css, File.join(File.dirname(__FILE__), %w[mobile inputs]))
29
31
  RubyApp::Elements::List.template_path(:css, File.join(File.dirname(__FILE__), %w[mobile]))
30
32
  RubyApp::Elements::Lists::Select.template_path(:css, File.join(File.dirname(__FILE__), %w[mobile lists]))
31
33
  RubyApp::Elements::Markdown.template_path(:css, File.join(File.dirname(__FILE__), %w[mobile]))
@@ -0,0 +1,15 @@
1
+ - self.rendered?(__FILE__) do
2
+ :sass
3
+ /* #{__FILE__}
4
+ @import '#{File.join(File.dirname(__FILE__), %w[.. colors.sass])}'
5
+ input[type="checkbox"]
6
+ -webkit-appearance: none
7
+ border: 2px solid $page_foreground
8
+ border-radius: 5px
9
+ width: 25px
10
+ height: 25px
11
+ background-position: center center
12
+ background-repeat: no-repeat
13
+ &:checked
14
+ background-image: url('/ruby_app/resources/themes/mobile/inputs/toggle.png')
15
+ = yield
@@ -1,4 +1,4 @@
1
1
  module RubyApp
2
- VERSION = "0.0.59"
2
+ VERSION = "0.0.60"
3
3
  ROOT = File.expand_path(File.dirname(__FILE__))
4
4
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: RubyApp
3
3
  version: !ruby/object:Gem::Version
4
- hash: 105
4
+ hash: 103
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 59
10
- version: 0.0.59
9
+ - 60
10
+ version: 0.0.60
11
11
  platform: ruby
12
12
  authors:
13
13
  - Frank G. Ficnar
@@ -519,6 +519,7 @@ files:
519
519
  - lib/ruby_app/resources/themes/mobile/base/base_page/manifest
520
520
  - lib/ruby_app/resources/themes/mobile/base/base_page/start.png
521
521
  - lib/ruby_app/resources/themes/mobile/base/base_page/start.psd
522
+ - lib/ruby_app/resources/themes/mobile/inputs/toggle.png
522
523
  - lib/ruby_app/resources/themes/mobile/lists/select.png
523
524
  - lib/ruby_app/resources/themes/mobile/lists/select.psd
524
525
  - lib/ruby_app/resources/themes/mobile/page.gif
@@ -548,6 +549,7 @@ files:
548
549
  - lib/ruby_app/themes/mobile/dialogs/blank_dialog.css.haml
549
550
  - lib/ruby_app/themes/mobile/dialogs/close_dialog.css.haml
550
551
  - lib/ruby_app/themes/mobile/dialogs/yes_no_dialog.css.haml
552
+ - lib/ruby_app/themes/mobile/inputs/toggle_input.css.haml
551
553
  - lib/ruby_app/themes/mobile/list.css.haml
552
554
  - lib/ruby_app/themes/mobile/lists/select.css.haml
553
555
  - lib/ruby_app/themes/mobile/markdown.css.haml