status_bar 0.2.2 → 0.2.3

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
- YWFiMTAxYjZlYWM5NGQwZTZiODgxMjY4NTE0NjA3OTk0MzJjNjBmMw==
4
+ N2Y0OWQzYjU5Y2ZmYjAxMmNkOTc3OWE3ZWFiZjQ4NTFlYzg2ZDZjZg==
5
5
  data.tar.gz: !binary |-
6
- ZjhiZWNmMzA4Y2IyMjMyOGY0Zjk5MWU1ZmM5N2VhM2E3ZTZhOTAzYQ==
6
+ MDBiZGUzNDQ4YTk5ODIzNDNiYjIzZjM2ZGEwZWM1YzlmMzg0ZDBkYg==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- MDM3ZWJjYWVlZjk1YTEzNWVjZGZlZDcyMGFkNDk5YmIyMDU3NzlmY2I0ODdh
10
- YjdiZDcyZTNmMzIxYjI2ZmU1ZDFjOWJkMTZiNDRhYmY1MDZiZjdlMWE1OWFm
11
- NmZiOGQyMDllMWJhZWY1NGI4NGNmYjg0NWY4ZjJkNzFkZWY0ZWM=
9
+ ZmI3YmJjZTZkNGQ5ZTgyNWE5NjI5YjQzYTFlOTgyZTc4N2Y3ZjQ5YTA3ZmVl
10
+ MjYxOThiMDM4OWIyMTQyMmZkNjE5NzNhNmY0OTIxOWUyNzJkMDRjNDZiYTI3
11
+ ZDhmZTk1MWUwMTcyNjYyNWYxZmNiZmRlZGFmNTBiMDQ0MjE1MTc=
12
12
  data.tar.gz: !binary |-
13
- YzFhNzdhNDU2OTEyM2U4MTFjNjExZDI3YTViNzVmZWIxMTg5NjlmMDEyNWVk
14
- NjE1YjNjOWVhM2FjMWU0MGVlZGY4YTIwODE0MmMwZTQ4ZTY0MzhlN2E0NTM3
15
- NjdmY2FlZDQzNmIyOTk5YThhNzNhNmVmMDM2MzMyNmI1YTM4NjY=
13
+ ZmY4ZWJkYzM3ZTBjYTdiNWFhZWI1MmQ3Mzc2ZWM5MmUyM2ZlMzE1NjAzMWY3
14
+ MDgxZTA2YjAzZThkMWRlODIzMjY3YjMyNGU0OGIwZWNlODYyZDFmYjEyOWI5
15
+ OTNiZGMyODZkYjQ2MWZmZGZlODQzODZlNDU1NTQ3NGNiMzMzOWY=
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ~/Projects/*Defaults/Misc/Gems/status_bar
3
3
  specs:
4
- status_bar (0.2)
4
+ status_bar (0.2.2)
5
5
  bubble-wrap (= 1.4.0)
6
6
  hs
7
7
  sugarcube (= 1.3.5)
@@ -76,21 +76,22 @@ module StatusBar
76
76
  accessory = StatusBar::Helper.accessory(notice_view)
77
77
 
78
78
  EM.cancel_timer(@timer) unless @timer == nil
79
- clear_notice_view(@current_notice_view) unless StatusBar::Helper.view_visible?(notice_view)
79
+ 0.1.seconds.later { clear_notice_view(@current_notice_view) } unless StatusBar::Helper.view_visible?(notice_view)
80
80
 
81
81
  label.text = text
82
- notice_view.y = 0 if !visible?
83
- notice_view.move_to([0, 0]) if visible?
84
82
  position_inner_views(notice_view)
83
+ notice_view.y = 20 unless notice_view.y == 0
84
+ 0.1.seconds.later { notice_view.y = 0 } if !visible?
85
+ 0.1.seconds.later { notice_view.move_to([0, 0]) } if visible?
85
86
  @timer = EM.add_timer 3 { hide_status_bar_view } if accessory != nil && accessory.class == UIImageView
86
87
 
87
88
  show_status_bar_view unless visible?
88
- @current_notice_view = notice_view
89
+ 0.1.seconds.later { @current_notice_view = notice_view }
89
90
  end
90
91
 
91
92
  def clear_notice_view(view)
92
93
  return if view == nil
93
- view.move_to([0, -20]) { view.y = 20 } if visible?
94
+ view.move_to([0, -20]) if visible?
94
95
  view.y = 20 if !visible?
95
96
  end
96
97
 
@@ -1,5 +1,5 @@
1
1
  # -*- encoding: utf-8 -*-
2
- STATUSBAR_VERSION = "0.2.2"
2
+ STATUSBAR_VERSION = "0.2.3"
3
3
 
4
4
  Gem::Specification.new do |spec|
5
5
  spec.name = "status_bar"
Binary file
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: status_bar
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Holger Sindbaek
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-11-06 00:00:00.000000000 Z
11
+ date: 2013-11-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -145,6 +145,7 @@ files:
145
145
  - vendor/Pods/Reachability/README.md
146
146
  - vendor/Pods/Reachability/Reachability.h
147
147
  - vendor/Pods/Reachability/Reachability.m
148
+ - vendor/Pods/build-iPhoneOS/libPods.a
148
149
  - vendor/Pods/build-iPhoneSimulator/libPods.a
149
150
  homepage: https://github.com/holgersindbaek/status_bar
150
151
  licenses: