skype-history-import 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
data/README.rdoc CHANGED
@@ -1,6 +1,20 @@
1
1
  = skype-history-import
2
2
 
3
- Description goes here.
3
+ Open Skype -> Throught context menu Select all message -> Put them in file or string -> run function 'import'
4
+
5
+ How to use, example
6
+
7
+ require 'rubygems'
8
+ require 'skype-history-import'
9
+
10
+ file = File.open("/home/msa/real_skype_chat.txt", "rb")
11
+ messages = file.read
12
+
13
+ result = import(messages)
14
+
15
+ p "so real messages count is #{result.size}"
16
+ p "first message #{result[0].inspect}"
17
+
4
18
 
5
19
  == Contributing to skype-history-import
6
20
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.0
1
+ 1.0.1
@@ -1,3 +1,5 @@
1
+ require 'date'
2
+
1
3
  def import(text)
2
4
  result = []
3
5
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{skype-history-import}
8
- s.version = "1.0.0"
8
+ s.version = "1.0.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["SergXIIIth"]
@@ -60,7 +60,7 @@ Exception#to_s was found to be problematic around it. The method can trick safe
60
60
  end
61
61
 
62
62
  should "import real chat" do
63
- file = File.open("/home/msa/real_skypy_chat.txt", "rb")
63
+ file = File.open("/home/msa/real_skype_chat.txt", "rb")
64
64
  messages = file.read
65
65
  result = import(messages)
66
66
  p "so real messages count is #{result.size}"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: skype-history-import
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -14,7 +14,7 @@ default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: shoulda
17
- requirement: &21344620 !ruby/object:Gem::Requirement
17
+ requirement: &23612180 !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
20
  - - ! '>='
@@ -22,10 +22,10 @@ dependencies:
22
22
  version: '0'
23
23
  type: :development
24
24
  prerelease: false
25
- version_requirements: *21344620
25
+ version_requirements: *23612180
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: bundler
28
- requirement: &21343820 !ruby/object:Gem::Requirement
28
+ requirement: &23611420 !ruby/object:Gem::Requirement
29
29
  none: false
30
30
  requirements:
31
31
  - - ~>
@@ -33,10 +33,10 @@ dependencies:
33
33
  version: 1.0.0
34
34
  type: :development
35
35
  prerelease: false
36
- version_requirements: *21343820
36
+ version_requirements: *23611420
37
37
  - !ruby/object:Gem::Dependency
38
38
  name: jeweler
39
- requirement: &21342660 !ruby/object:Gem::Requirement
39
+ requirement: &23610660 !ruby/object:Gem::Requirement
40
40
  none: false
41
41
  requirements:
42
42
  - - ~>
@@ -44,10 +44,10 @@ dependencies:
44
44
  version: 1.6.2
45
45
  type: :development
46
46
  prerelease: false
47
- version_requirements: *21342660
47
+ version_requirements: *23610660
48
48
  - !ruby/object:Gem::Dependency
49
49
  name: rcov
50
- requirement: &21341900 !ruby/object:Gem::Requirement
50
+ requirement: &23609540 !ruby/object:Gem::Requirement
51
51
  none: false
52
52
  requirements:
53
53
  - - ! '>='
@@ -55,7 +55,7 @@ dependencies:
55
55
  version: '0'
56
56
  type: :development
57
57
  prerelease: false
58
- version_requirements: *21341900
58
+ version_requirements: *23609540
59
59
  description: Skype history import to JSON
60
60
  email: smkrbr@gmail.com
61
61
  executables: []
@@ -91,7 +91,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
91
91
  version: '0'
92
92
  segments:
93
93
  - 0
94
- hash: 4171949496189517685
94
+ hash: -4449956713510521139
95
95
  required_rubygems_version: !ruby/object:Gem::Requirement
96
96
  none: false
97
97
  requirements: