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 +8 -8
- data/Gemfile.lock +1 -1
- data/lib/project/base.rb +6 -5
- data/status_bar.gemspec +1 -1
- data/vendor/Pods/.build/libPods-Reachability.a +0 -0
- data/vendor/Pods/.build/libPods.a +0 -0
- data/vendor/Pods/build-iPhoneOS/libPods.a +0 -0
- data/vendor/Pods/build-iPhoneSimulator/libPods.a +0 -0
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
N2Y0OWQzYjU5Y2ZmYjAxMmNkOTc3OWE3ZWFiZjQ4NTFlYzg2ZDZjZg==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MDBiZGUzNDQ4YTk5ODIzNDNiYjIzZjM2ZGEwZWM1YzlmMzg0ZDBkYg==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ZmI3YmJjZTZkNGQ5ZTgyNWE5NjI5YjQzYTFlOTgyZTc4N2Y3ZjQ5YTA3ZmVl
|
10
|
+
MjYxOThiMDM4OWIyMTQyMmZkNjE5NzNhNmY0OTIxOWUyNzJkMDRjNDZiYTI3
|
11
|
+
ZDhmZTk1MWUwMTcyNjYyNWYxZmNiZmRlZGFmNTBiMDQ0MjE1MTc=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
ZmY4ZWJkYzM3ZTBjYTdiNWFhZWI1MmQ3Mzc2ZWM5MmUyM2ZlMzE1NjAzMWY3
|
14
|
+
MDgxZTA2YjAzZThkMWRlODIzMjY3YjMyNGU0OGIwZWNlODYyZDFmYjEyOWI5
|
15
|
+
OTNiZGMyODZkYjQ2MWZmZGZlODQzODZlNDU1NTQ3NGNiMzMzOWY=
|
data/Gemfile.lock
CHANGED
data/lib/project/base.rb
CHANGED
@@ -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])
|
94
|
+
view.move_to([0, -20]) if visible?
|
94
95
|
view.y = 20 if !visible?
|
95
96
|
end
|
96
97
|
|
data/status_bar.gemspec
CHANGED
Binary file
|
Binary file
|
Binary file
|
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.
|
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-
|
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:
|