lib/riak/cache_store.rb in riak-client-0.9.1 vs lib/riak/cache_store.rb in riak-client-0.9.2
- old
+ new
@@ -9,11 +9,17 @@
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
-require 'riak'
+
+require 'yaml'
+require 'riak/client'
+require 'riak/bucket'
+require 'riak/robject'
+require 'riak/failed_request'
require 'active_support/version'
+
if ActiveSupport::VERSION::STRING < "3.0.0"
raise LoadError, "ActiveSupport 3.0.0 or greater is required to use Riak::CacheStore."
else
require 'active_support/cache'
end