lonely_coder 0.1.5 → 0.1.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +15 -0
- data/Gemfile +3 -2
- data/lib/lonely_coder/authentication.rb +20 -12
- data/lib/lonely_coder/mailbox.rb +1 -0
- data/lonely_coder.gemspec +8 -8
- data/spec/cassettes/failed_authentication.yml +34 -291
- data/spec/cassettes/loading_conversation.yml +1206 -1031
- data/spec/cassettes/successful_authentication.yml +40 -835
- data/spec/mailbox_spec.rb +3 -3
- metadata +7 -14
data/spec/mailbox_spec.rb
CHANGED
|
@@ -42,7 +42,7 @@ describe "Conversation" do
|
|
|
42
42
|
end
|
|
43
43
|
|
|
44
44
|
it "contains a list of messages" do
|
|
45
|
-
@conversation.messages.count.should ==
|
|
45
|
+
@conversation.messages.count.should == 12
|
|
46
46
|
end
|
|
47
47
|
|
|
48
48
|
describe "each message" do
|
|
@@ -51,11 +51,11 @@ describe "Conversation" do
|
|
|
51
51
|
end
|
|
52
52
|
|
|
53
53
|
it "has a to_me" do
|
|
54
|
-
@message.to_me.should ==
|
|
54
|
+
@message.to_me.should == false
|
|
55
55
|
end
|
|
56
56
|
|
|
57
57
|
it "has a from_me" do
|
|
58
|
-
@message.from_me.should ==
|
|
58
|
+
@message.from_me.should == true
|
|
59
59
|
end
|
|
60
60
|
end
|
|
61
61
|
end
|
metadata
CHANGED
|
@@ -1,20 +1,18 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: lonely_coder
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.5
|
|
5
|
-
prerelease:
|
|
4
|
+
version: 0.1.5.1
|
|
6
5
|
platform: ruby
|
|
7
6
|
authors:
|
|
8
7
|
- Trek Glowacki
|
|
9
8
|
autorequire:
|
|
10
9
|
bindir: bin
|
|
11
10
|
cert_chain: []
|
|
12
|
-
date:
|
|
11
|
+
date: 2014-02-04 00:00:00.000000000 Z
|
|
13
12
|
dependencies:
|
|
14
13
|
- !ruby/object:Gem::Dependency
|
|
15
14
|
name: mechanize
|
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
|
17
|
-
none: false
|
|
18
16
|
requirements:
|
|
19
17
|
- - '='
|
|
20
18
|
- !ruby/object:Gem::Version
|
|
@@ -22,7 +20,6 @@ dependencies:
|
|
|
22
20
|
type: :runtime
|
|
23
21
|
prerelease: false
|
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
25
|
-
none: false
|
|
26
23
|
requirements:
|
|
27
24
|
- - '='
|
|
28
25
|
- !ruby/object:Gem::Version
|
|
@@ -30,7 +27,6 @@ dependencies:
|
|
|
30
27
|
- !ruby/object:Gem::Dependency
|
|
31
28
|
name: activesupport
|
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
|
33
|
-
none: false
|
|
34
30
|
requirements:
|
|
35
31
|
- - ! '>='
|
|
36
32
|
- !ruby/object:Gem::Version
|
|
@@ -38,7 +34,6 @@ dependencies:
|
|
|
38
34
|
type: :runtime
|
|
39
35
|
prerelease: false
|
|
40
36
|
version_requirements: !ruby/object:Gem::Requirement
|
|
41
|
-
none: false
|
|
42
37
|
requirements:
|
|
43
38
|
- - ! '>='
|
|
44
39
|
- !ruby/object:Gem::Version
|
|
@@ -94,28 +89,27 @@ files:
|
|
|
94
89
|
- spec/spec_helper.rb
|
|
95
90
|
homepage: http://github.com/trek/lonely_coder
|
|
96
91
|
licenses: []
|
|
97
|
-
|
|
98
|
-
|
|
92
|
+
metadata: {}
|
|
93
|
+
post_install_message: ! "\n\n\n\n ,d88b.d88b,\n 88888888888\n `Y8888888Y'\n
|
|
94
|
+
\ `Y888Y'\n `Y'\n\n Good luck out there.\n\n\n "
|
|
99
95
|
rdoc_options: []
|
|
100
96
|
require_paths:
|
|
101
97
|
- lib
|
|
102
98
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
103
|
-
none: false
|
|
104
99
|
requirements:
|
|
105
100
|
- - ! '>='
|
|
106
101
|
- !ruby/object:Gem::Version
|
|
107
102
|
version: '0'
|
|
108
103
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
109
|
-
none: false
|
|
110
104
|
requirements:
|
|
111
105
|
- - ! '>='
|
|
112
106
|
- !ruby/object:Gem::Version
|
|
113
107
|
version: '0'
|
|
114
108
|
requirements: []
|
|
115
109
|
rubyforge_project:
|
|
116
|
-
rubygems_version: 1.
|
|
110
|
+
rubygems_version: 2.1.11
|
|
117
111
|
signing_key:
|
|
118
|
-
specification_version:
|
|
112
|
+
specification_version: 4
|
|
119
113
|
summary: A gem for interacting with OKCupid as if it had an API
|
|
120
114
|
test_files:
|
|
121
115
|
- spec/authentication_spec.rb
|
|
@@ -141,4 +135,3 @@ test_files:
|
|
|
141
135
|
- spec/profile_spec.rb
|
|
142
136
|
- spec/search_spec.rb
|
|
143
137
|
- spec/spec_helper.rb
|
|
144
|
-
has_rdoc:
|