Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

update to latest social core

  • Loading branch information...
commit 3134091048f6e20c84b7c9765c4644c8d0d7bdfd 1 parent 17b7eb0
Keith Donald authored
View
2  build.gradle
@@ -99,6 +99,7 @@ configure(javaprojects) {
junitVersion = '4.8.2'
mockitoVersion = '1.8.5'
springVersion = '3.1.0.M2'
+ springSecurityVersion = '3.1.0.CI-SNAPSHOT'
sourceSets {
main {
@@ -118,6 +119,7 @@ configure(javaprojects) {
testCompile "junit:junit:$junitVersion"
testCompile "org.mockito:mockito-all:$mockitoVersion"
testCompile "org.springframework:spring-test:$springVersion"
+ testCompile "org.springframework.security:spring-security-crypto:$springSecurityVersion"
}
// enable all compiler warnings (GRADLE-1077)
View
3  spring-social-tripit/src/main/java/org/springframework/social/tripit/api/TripIt.java
@@ -17,6 +17,7 @@
import java.util.List;
+import org.springframework.social.ApiBinding;
import org.springframework.social.tripit.api.impl.TripItTemplate;
/**
@@ -29,7 +30,7 @@
*
* @author Craig Walls
*/
-public interface TripIt {
+public interface TripIt extends ApiBinding {
/**
* Retrieves the user's TripIt profile ID.
View
4 ...ocial-tripit/src/main/java/org/springframework/social/tripit/api/impl/TripItTemplate.java
@@ -20,7 +20,7 @@
import org.codehaus.jackson.map.ObjectMapper;
import org.springframework.http.converter.HttpMessageConverter;
import org.springframework.http.converter.json.MappingJacksonHttpMessageConverter;
-import org.springframework.social.oauth1.AbstractOAuth1ApiTemplate;
+import org.springframework.social.oauth1.AbstractOAuth1ApiBinding;
import org.springframework.social.tripit.api.Trip;
import org.springframework.social.tripit.api.TripIt;
import org.springframework.social.tripit.api.TripItProfile;
@@ -35,7 +35,7 @@
* </p>
* @author Craig Walls
*/
-public class TripItTemplate extends AbstractOAuth1ApiTemplate implements TripIt {
+public class TripItTemplate extends AbstractOAuth1ApiBinding implements TripIt {
/**
* Constructs a TripItTemplate with the minimal amount of information required to sign requests with an OAuth <code>Authorization</code> header.
Please sign in to comment.
Something went wrong with that request. Please try again.