prime_reside_menu 0.1.1 → 0.1.2

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
- MTY0MjlmOGQ0ZmRjNGQ1ZDQ4OTAyODBkOWM2NDJkZmQwOWU5ZmYwNw==
4
+ NDkwNTBkODU5MjBjMWFiNDZlYTJkNWMwZDQxMGY3ZGM4NjQxNTcyNw==
5
5
  data.tar.gz: !binary |-
6
- NTk3NTM4NzA2NGYwOTcxOGNjMDI5NjEzNmJkNzk2ZjQ1OTczMzI2OA==
6
+ OTU3YzlkMGJmYWIxYmM0MzQ1YjkyYzhkZThiMDJmMzcxYzA1ZWQ1MQ==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- MmZmMWNkNTcwNWQ1NWU1ZWRhNWJiNzcwNGYzOTA4ZjVmODM3Mzg5Y2RiZTAy
10
- N2QzMTVmYWI0YWNlNTY5NTNkNTdiMjg3YzM4ODY1YmVhNzk4OTQ1MWYxZjBh
11
- MzU4N2E4YzE4ODdiZTZmZWM3OTJkZmFkNDVhOTI0YzJjZGQxMTM=
9
+ MWU0NTMwMzFmMzJlYWUyMjI2N2ViM2M1ZmIxODMyNWFmMmE5NGQ5NzE0ZmRi
10
+ YWYzMWVkZmU3MDYxMjRiNmI4OTc3ZjA4NzYxMWM4YWM4OGMxODcyYTNjYzNj
11
+ ZTczYmQyYjlmYTM1NjUxMzEyNDE4N2ZmNjgyYTI5OTQ0YTgyZWQ=
12
12
  data.tar.gz: !binary |-
13
- YmQxZGY4MzhjOTQ2NGU1OTgyOGFhODI3NTI1OWFiMDMyMjE1ODIyMDllMzg2
14
- NjU4NDY1ZDQxNjZhYWQ0NmI0MzJlZDc5MGRhNTA5NTVmZWMxNzA5NGM0YjNm
15
- NDY3ZDQ0NDQ1ODJkZTdhZTU1MTNmZjJmZmI2MjNhMGY5ZDkxYWI=
13
+ MzJlNjNhNjYwNTc4ZDM4ZGU3YzMwNWRlZjZjMTllNWJlMGY2N2M3ZjQzMzdi
14
+ MDM2NWUyNjJjODk2MWY0ZjIwOWE4ZjYyOWE2NDMyY2RmZWE0ZWZmNDExNjhl
15
+ ZDUzNjBiZjFlOGYyNjhiMTUzNmVlYjE2Mjc2NTQyMzcyMWMxNWQ=
@@ -5,7 +5,7 @@ module PrimeResideMenu
5
5
  def self.new(menu, content, options = {})
6
6
  screen = self.alloc.initWithContentViewController(nil, menuViewController: nil)
7
7
  screen.parallaxEnabled = false
8
- if Prime::Config.sidebar_container.background_image?
8
+ if !Prime::Config.sidebar_container.background_image.nil?
9
9
  screen.backgroundImage = Prime::Config.sidebar_container.background_image
10
10
  end
11
11
 
@@ -36,6 +36,10 @@ module PrimeResideMenu
36
36
  self.hideMenuViewController
37
37
  end
38
38
 
39
+ def toggle_sidebar
40
+ self.presentMenuViewController
41
+ end
42
+
39
43
  def menu_controller=(c)
40
44
  self.setMenuViewController prepare_controller(c)
41
45
  end
@@ -1,3 +1,3 @@
1
1
  module PrimeResideMenu
2
- VERSION = '0.1.1'
2
+ VERSION = '0.1.2'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: prime_reside_menu
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Iskander Haziev