exchange-offline-address-book 0.0.21 → 0.0.22
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 +4 -4
- data/Gemfile.lock +1 -1
- data/lib/exchange-offline-address-book.rb +4 -4
- data/lib/exchange-offline-address-book/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 947c78913649b08047b71e83727990a8f878a8f8
|
4
|
+
data.tar.gz: 1254537b6ba6e736117ca69886f4e3ae4be3743f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dadbeb5b49a5e1b8eb36758268dfcc05df5f3d7d4c4d6199eea6d3ca19be91dbde817dae3795999d1b97dd0bb7471dcf6a5b75fc5a475a9321ca4cf463800cd6
|
7
|
+
data.tar.gz: 7674415ad4af74494f8044da15bb2e600b755e648d1a3abb1df844279d8420fad8a8e936dd905ec519c02b5bafb81cc68aa1e6f6025daf505df1658110b644bb
|
data/Gemfile.lock
CHANGED
@@ -59,6 +59,10 @@ module Exchange
|
|
59
59
|
open(cache, 'w'){|f| f.write(JSON.pretty_generate(@records)) }
|
60
60
|
end
|
61
61
|
|
62
|
+
def cache
|
63
|
+
@cache ||= File.join(@dir || @cachedir, File.basename(addressbook, File.extname(addressbook)) + '.json')
|
64
|
+
end
|
65
|
+
|
62
66
|
private
|
63
67
|
|
64
68
|
def fetch_to(dir)
|
@@ -116,10 +120,6 @@ module Exchange
|
|
116
120
|
File.join(@dir, oab)
|
117
121
|
end
|
118
122
|
end
|
119
|
-
|
120
|
-
def cache
|
121
|
-
@cache ||= File.join(@dir, File.basename(addressbook, File.extname(addressbook)) + '.json')
|
122
|
-
end
|
123
123
|
end
|
124
124
|
|
125
125
|
end
|