timezone_detection 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +1 -1
- data/lib/timezone_detection/ip_info_db.rb +2 -1
- data/lib/timezone_detection/version.rb +1 -1
- data/test/dummy/log/test.log +173 -0
- data/test/timezone_detection_test.rb +6 -0
- metadata +34 -2
data/README.rdoc
CHANGED
@@ -17,6 +17,7 @@ module TimezoneDetection
|
|
17
17
|
|
18
18
|
def get_timezone_offset(ip)
|
19
19
|
begin
|
20
|
+
raise if ip == "127.0.0.1"
|
20
21
|
response = Net::HTTP.get(URI("http://api.ipinfodb.com/v3/ip-city/?key=#{api_key}&ip=#{ip}&format=json"))
|
21
22
|
json = ActiveSupport::JSON.decode(response)
|
22
23
|
if json["statusCode"] == STATUS_CODES::SUCCESS
|
@@ -28,7 +29,7 @@ module TimezoneDetection
|
|
28
29
|
#TODO make output to Rails logger
|
29
30
|
puts e.message
|
30
31
|
"Request to http://www.ipinfodb.com/ failed. Please try later!"
|
31
|
-
|
32
|
+
Time.new.utc_offset / 60 / 60
|
32
33
|
end
|
33
34
|
end
|
34
35
|
|
data/test/dummy/log/test.log
CHANGED
@@ -764,3 +764,176 @@ Connecting to database specified by database.yml
|
|
764
764
|
[1m[35m (0.1ms)[0m rollback transaction
|
765
765
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
766
766
|
[1m[35m (0.0ms)[0m rollback transaction
|
767
|
+
Connecting to database specified by database.yml
|
768
|
+
Connecting to database specified by database.yml
|
769
|
+
[1m[36m (1.5ms)[0m [1mbegin transaction[0m
|
770
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
771
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
772
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
773
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
774
|
+
[1m[35mTimezoneDetection::IpTimezone Load (0.1ms)[0m SELECT "timezone_detection_ip_timezones".* FROM "timezone_detection_ip_timezones"
|
775
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
776
|
+
[1m[35mTimezoneDetection::IpTimezone Exists (0.2ms)[0m SELECT 1 AS one FROM "timezone_detection_ip_timezones" WHERE "timezone_detection_ip_timezones"."ip_in_longint" = 1245284686 LIMIT 1
|
777
|
+
[1m[36mSQL (5.6ms)[0m [1mINSERT INTO "timezone_detection_ip_timezones" ("ip_in_longint", "utc_offset") VALUES (?, ?)[0m [["ip_in_longint", 1245284686], ["utc_offset", 3]]
|
778
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
779
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "timezone_detection_ip_timezones" [0m
|
780
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
781
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
782
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
783
|
+
[1m[36mTimezoneDetection::IpTimezone Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "timezone_detection_ip_timezones" WHERE "timezone_detection_ip_timezones"."ip_in_longint" = 1245284686 LIMIT 1[0m
|
784
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "timezone_detection_ip_timezones" ("ip_in_longint", "utc_offset") VALUES (?, ?) [["ip_in_longint", 1245284686], ["utc_offset", 3]]
|
785
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
786
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
787
|
+
[1m[36mTimezoneDetection::IpTimezone Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "timezone_detection_ip_timezones" WHERE "timezone_detection_ip_timezones"."ip_in_longint" = 1245284686 LIMIT 1[0m
|
788
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
789
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "timezone_detection_ip_timezones" [0m
|
790
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
791
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
792
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
793
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
794
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
795
|
+
Connecting to database specified by database.yml
|
796
|
+
[1m[36m (0.6ms)[0m [1mbegin transaction[0m
|
797
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
798
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
799
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
800
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
801
|
+
[1m[35mTimezoneDetection::IpTimezone Load (0.1ms)[0m SELECT "timezone_detection_ip_timezones".* FROM "timezone_detection_ip_timezones"
|
802
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
803
|
+
[1m[35mTimezoneDetection::IpTimezone Exists (0.2ms)[0m SELECT 1 AS one FROM "timezone_detection_ip_timezones" WHERE "timezone_detection_ip_timezones"."ip_in_longint" = 1245284686 LIMIT 1
|
804
|
+
[1m[36mSQL (5.6ms)[0m [1mINSERT INTO "timezone_detection_ip_timezones" ("ip_in_longint", "utc_offset") VALUES (?, ?)[0m [["ip_in_longint", 1245284686], ["utc_offset", 3]]
|
805
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
806
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "timezone_detection_ip_timezones" [0m
|
807
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
808
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
809
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
810
|
+
[1m[36mTimezoneDetection::IpTimezone Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "timezone_detection_ip_timezones" WHERE "timezone_detection_ip_timezones"."ip_in_longint" = 1245284686 LIMIT 1[0m
|
811
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "timezone_detection_ip_timezones" ("ip_in_longint", "utc_offset") VALUES (?, ?) [["ip_in_longint", 1245284686], ["utc_offset", 3]]
|
812
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
813
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
814
|
+
[1m[36mTimezoneDetection::IpTimezone Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "timezone_detection_ip_timezones" WHERE "timezone_detection_ip_timezones"."ip_in_longint" = 1245284686 LIMIT 1[0m
|
815
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
816
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "timezone_detection_ip_timezones" [0m
|
817
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
818
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
819
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
820
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
821
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
822
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
823
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
824
|
+
Connecting to database specified by database.yml
|
825
|
+
[1m[36m (0.6ms)[0m [1mbegin transaction[0m
|
826
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
827
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
828
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
829
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
830
|
+
[1m[35mTimezoneDetection::IpTimezone Load (0.1ms)[0m SELECT "timezone_detection_ip_timezones".* FROM "timezone_detection_ip_timezones"
|
831
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
832
|
+
[1m[35mTimezoneDetection::IpTimezone Exists (0.2ms)[0m SELECT 1 AS one FROM "timezone_detection_ip_timezones" WHERE "timezone_detection_ip_timezones"."ip_in_longint" = 1245284686 LIMIT 1
|
833
|
+
[1m[36mSQL (6.1ms)[0m [1mINSERT INTO "timezone_detection_ip_timezones" ("ip_in_longint", "utc_offset") VALUES (?, ?)[0m [["ip_in_longint", 1245284686], ["utc_offset", 3]]
|
834
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
835
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "timezone_detection_ip_timezones" [0m
|
836
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
837
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
838
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
839
|
+
[1m[36mTimezoneDetection::IpTimezone Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "timezone_detection_ip_timezones" WHERE "timezone_detection_ip_timezones"."ip_in_longint" = 1245284686 LIMIT 1[0m
|
840
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "timezone_detection_ip_timezones" ("ip_in_longint", "utc_offset") VALUES (?, ?) [["ip_in_longint", 1245284686], ["utc_offset", 3]]
|
841
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
842
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
843
|
+
[1m[36mTimezoneDetection::IpTimezone Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "timezone_detection_ip_timezones" WHERE "timezone_detection_ip_timezones"."ip_in_longint" = 1245284686 LIMIT 1[0m
|
844
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
845
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "timezone_detection_ip_timezones" [0m
|
846
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
847
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
848
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
849
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
850
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
851
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
852
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
853
|
+
Connecting to database specified by database.yml
|
854
|
+
[1m[36m (0.6ms)[0m [1mbegin transaction[0m
|
855
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
856
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
857
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
858
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
859
|
+
[1m[35mTimezoneDetection::IpTimezone Load (0.1ms)[0m SELECT "timezone_detection_ip_timezones".* FROM "timezone_detection_ip_timezones"
|
860
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
861
|
+
[1m[35mTimezoneDetection::IpTimezone Exists (0.2ms)[0m SELECT 1 AS one FROM "timezone_detection_ip_timezones" WHERE "timezone_detection_ip_timezones"."ip_in_longint" = 1245284686 LIMIT 1
|
862
|
+
[1m[36mSQL (5.7ms)[0m [1mINSERT INTO "timezone_detection_ip_timezones" ("ip_in_longint", "utc_offset") VALUES (?, ?)[0m [["ip_in_longint", 1245284686], ["utc_offset", 3]]
|
863
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
864
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "timezone_detection_ip_timezones" [0m
|
865
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
866
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
867
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
868
|
+
[1m[36mTimezoneDetection::IpTimezone Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "timezone_detection_ip_timezones" WHERE "timezone_detection_ip_timezones"."ip_in_longint" = 1245284686 LIMIT 1[0m
|
869
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "timezone_detection_ip_timezones" ("ip_in_longint", "utc_offset") VALUES (?, ?) [["ip_in_longint", 1245284686], ["utc_offset", 3]]
|
870
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
871
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
872
|
+
[1m[36mTimezoneDetection::IpTimezone Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "timezone_detection_ip_timezones" WHERE "timezone_detection_ip_timezones"."ip_in_longint" = 1245284686 LIMIT 1[0m
|
873
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
874
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "timezone_detection_ip_timezones" [0m
|
875
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
876
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
877
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
878
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
879
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
880
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
881
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
882
|
+
Connecting to database specified by database.yml
|
883
|
+
[1m[36m (0.6ms)[0m [1mbegin transaction[0m
|
884
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
885
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
886
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
887
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
888
|
+
[1m[35mTimezoneDetection::IpTimezone Load (0.1ms)[0m SELECT "timezone_detection_ip_timezones".* FROM "timezone_detection_ip_timezones"
|
889
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
890
|
+
[1m[35mTimezoneDetection::IpTimezone Exists (0.2ms)[0m SELECT 1 AS one FROM "timezone_detection_ip_timezones" WHERE "timezone_detection_ip_timezones"."ip_in_longint" = 1245284686 LIMIT 1
|
891
|
+
[1m[36mSQL (5.6ms)[0m [1mINSERT INTO "timezone_detection_ip_timezones" ("ip_in_longint", "utc_offset") VALUES (?, ?)[0m [["ip_in_longint", 1245284686], ["utc_offset", 3]]
|
892
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
893
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "timezone_detection_ip_timezones" [0m
|
894
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
895
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
896
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
897
|
+
[1m[36mTimezoneDetection::IpTimezone Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "timezone_detection_ip_timezones" WHERE "timezone_detection_ip_timezones"."ip_in_longint" = 1245284686 LIMIT 1[0m
|
898
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "timezone_detection_ip_timezones" ("ip_in_longint", "utc_offset") VALUES (?, ?) [["ip_in_longint", 1245284686], ["utc_offset", 3]]
|
899
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
900
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
901
|
+
[1m[36mTimezoneDetection::IpTimezone Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "timezone_detection_ip_timezones" WHERE "timezone_detection_ip_timezones"."ip_in_longint" = 1245284686 LIMIT 1[0m
|
902
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
903
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "timezone_detection_ip_timezones" [0m
|
904
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
905
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
906
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
907
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
908
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
909
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
910
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
911
|
+
Connecting to database specified by database.yml
|
912
|
+
[1m[36m (0.6ms)[0m [1mbegin transaction[0m
|
913
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
914
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
915
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
916
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
917
|
+
[1m[35mTimezoneDetection::IpTimezone Load (0.1ms)[0m SELECT "timezone_detection_ip_timezones".* FROM "timezone_detection_ip_timezones"
|
918
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
919
|
+
[1m[35mTimezoneDetection::IpTimezone Exists (0.2ms)[0m SELECT 1 AS one FROM "timezone_detection_ip_timezones" WHERE "timezone_detection_ip_timezones"."ip_in_longint" = 1245284686 LIMIT 1
|
920
|
+
[1m[36mSQL (5.5ms)[0m [1mINSERT INTO "timezone_detection_ip_timezones" ("ip_in_longint", "utc_offset") VALUES (?, ?)[0m [["ip_in_longint", 1245284686], ["utc_offset", 3]]
|
921
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
922
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "timezone_detection_ip_timezones" [0m
|
923
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
924
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
925
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
926
|
+
[1m[36mTimezoneDetection::IpTimezone Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "timezone_detection_ip_timezones" WHERE "timezone_detection_ip_timezones"."ip_in_longint" = 1245284686 LIMIT 1[0m
|
927
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "timezone_detection_ip_timezones" ("ip_in_longint", "utc_offset") VALUES (?, ?) [["ip_in_longint", 1245284686], ["utc_offset", 3]]
|
928
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
929
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
930
|
+
[1m[36mTimezoneDetection::IpTimezone Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "timezone_detection_ip_timezones" WHERE "timezone_detection_ip_timezones"."ip_in_longint" = 1245284686 LIMIT 1[0m
|
931
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
932
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "timezone_detection_ip_timezones" [0m
|
933
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
934
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
935
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
936
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
937
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
938
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
939
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
@@ -23,6 +23,12 @@ class TimezoneDetectionTest < ActiveSupport::TestCase
|
|
23
23
|
assert_equal 3, ip_info.get_timezone_offset(ip)
|
24
24
|
end
|
25
25
|
|
26
|
+
test "timezone lookup by local IP" do
|
27
|
+
ip = "127.0.0.1"
|
28
|
+
ip_info = TimezoneDetection::IpInfoDB.new
|
29
|
+
assert_equal Time.new.utc_offset / 60 / 60, ip_info.get_timezone_offset(ip)
|
30
|
+
end
|
31
|
+
|
26
32
|
test "ip_timezone record creation" do
|
27
33
|
ip = "78.137.57.74"
|
28
34
|
TimezoneDetection::IpTimezone.destroy_all
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: timezone_detection
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,7 +10,39 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
date: 2012-08-09 00:00:00.000000000 Z
|
13
|
-
dependencies:
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: rails
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - '='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: 3.2.7
|
22
|
+
type: :development
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - '='
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: 3.2.7
|
30
|
+
- !ruby/object:Gem::Dependency
|
31
|
+
name: sqlite3
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
34
|
+
requirements:
|
35
|
+
- - ! '>='
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: '0'
|
38
|
+
type: :development
|
39
|
+
prerelease: false
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ! '>='
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: '0'
|
14
46
|
description: Visit https://github.com/Bor1s/timezone-detection for more information.
|
15
47
|
email:
|
16
48
|
- boris.bbk@gmail.com
|