Skip to content

Commit

Permalink
Prepare release 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
bourvill committed May 2, 2017
1 parent fb7ee34 commit 7b5cac5
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 9 deletions.
4 changes: 2 additions & 2 deletions bagit/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
<key>CFBundlePackageType</key>
<string>XPC!</string>
<key>CFBundleShortVersionString</key>
<string>1.3.2</string>
<string>1.3.3</string>
<key>CFBundleVersion</key>
<string>40</string>
<string>41</string>
<key>ITSEncryptionExportComplianceCode</key>
<string></string>
<key>NSAppTransportSecurity</key>
Expand Down
4 changes: 2 additions & 2 deletions wallabag.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -1154,7 +1154,7 @@
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = "$(inherited)";
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CODE_SIGN_ENTITLEMENTS = wallabag/wallabag.entitlements;
CURRENT_PROJECT_VERSION = 40;
CURRENT_PROJECT_VERSION = 41;
DEVELOPMENT_TEAM = G97URPCGB8;
INFOPLIST_FILE = wallabag/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
Expand All @@ -1172,7 +1172,7 @@
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = "$(inherited)";
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CODE_SIGN_ENTITLEMENTS = wallabag/wallabag.entitlements;
CURRENT_PROJECT_VERSION = 40;
CURRENT_PROJECT_VERSION = 41;
DEVELOPMENT_TEAM = G97URPCGB8;
INFOPLIST_FILE = wallabag/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
Expand Down
4 changes: 2 additions & 2 deletions wallabag/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>1.3.2</string>
<string>1.3.3</string>
<key>CFBundleVersion</key>
<string>40</string>
<string>41</string>
<key>ITSAppUsesNonExemptEncryption</key>
<false/>
<key>LSRequiresIPhoneOS</key>
Expand Down
3 changes: 3 additions & 0 deletions wallabag/Lib/BearerTokenAdapter.swift
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@ class BearerTokenAdapter: RequestAdapter, RequestRetrier {
strongSelf.lock.lock() ; defer { strongSelf.lock.unlock() }

if let accessToken = accessToken, let refreshToken = refreshToken {
let shareDefaults = UserDefaults(suiteName: "group.wallabag.share_extension")
shareDefaults?.set(accessToken, forKey: "token")
shareDefaults?.set(refreshToken, forKey: "refreshToken")
strongSelf.accessToken = accessToken
strongSelf.refreshToken = refreshToken
}
Expand Down
3 changes: 3 additions & 0 deletions wallabag/Lib/WallabagApi.swift
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@ final class WallabagApi {
return
}

let shareDefaults = UserDefaults(suiteName: "group.wallabag.share_extension")
shareDefaults?.set(accessToken, forKey: "token")
shareDefaults?.set(refreshToken, forKey: "refreshToken")
let bearer = BearerTokenAdapter(clientID: clientId!, clientSecret: clientSecret!, username: username!, password: password!, baseURLString: endpoint!, accessToken: accessToken, refreshToken: refreshToken)
sessionManager.adapter = bearer
sessionManager.retrier = bearer
Expand Down
2 changes: 1 addition & 1 deletion wallabagScreenshotUITests/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleVersion</key>
<string>40</string>
<string>41</string>
</dict>
</plist>
2 changes: 1 addition & 1 deletion wallabagTests/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleVersion</key>
<string>40</string>
<string>41</string>
</dict>
</plist>
2 changes: 1 addition & 1 deletion wallabagUITests/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleVersion</key>
<string>40</string>
<string>41</string>
</dict>
</plist>

0 comments on commit 7b5cac5

Please sign in to comment.