couchup 0.0.5 → 0.0.6
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.
- data/.gitignore +4 -0
- data/.rvmrc +1 -0
- data/Gemfile +3 -0
- data/bin/couchup +0 -22
- data/couchup.gemspec +1 -1
- data/lib/couchup.rb +2 -0
- data/lib/couchup/version.rb +1 -1
- metadata +5 -1
data/.gitignore
ADDED
data/.rvmrc
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
rvm ruby-1.9.2@couchup --create
|
data/Gemfile
ADDED
data/bin/couchup
CHANGED
@@ -1,26 +1,4 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
|
-
begin
|
3
|
-
require "rubygems"
|
4
|
-
require "bundler"
|
5
|
-
rescue LoadError
|
6
|
-
raise "Could not load the bundler gem. Install it with `gem install bundler`."
|
7
|
-
end
|
8
|
-
|
9
|
-
if Gem::Version.new(Bundler::VERSION) <= Gem::Version.new("0.9.24")
|
10
|
-
raise RuntimeError, "Your bundler version is too old for Rails 2.3." +
|
11
|
-
"Run `gem install bundler` to upgrade."
|
12
|
-
end
|
13
|
-
|
14
|
-
begin
|
15
|
-
# Set up load paths for all bundled gems
|
16
|
-
ENV["BUNDLE_GEMFILE"] = File.expand_path("../../Gemfile", __FILE__)
|
17
|
-
Bundler.setup
|
18
|
-
rescue Bundler::GemNotFound
|
19
|
-
raise RuntimeError, "Bundler couldn't find some gems." +
|
20
|
-
"Did you run `bundle install`?"
|
21
|
-
end
|
22
|
-
|
23
|
-
Bundler.require :default
|
24
2
|
require File.expand_path( "../../lib/couchup", __FILE__)
|
25
3
|
require 'irb'
|
26
4
|
require 'irb/completion'
|
data/couchup.gemspec
CHANGED
@@ -14,7 +14,7 @@ Gem::Specification.new do |s|
|
|
14
14
|
|
15
15
|
s.rubyforge_project = "couchup"
|
16
16
|
|
17
|
-
s.files = `git ls-files`.split("\n")
|
17
|
+
s.files = `git ls-files`.split("\n")
|
18
18
|
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
19
19
|
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
20
20
|
s.default_executable = "ey"
|
data/lib/couchup.rb
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
# require 'yajl-ruby'
|
2
|
+
require 'couchrest'
|
1
3
|
require File.expand_path '../couchup/couchup', __FILE__
|
2
4
|
Dir[File.expand_path('../couchup/commands/*.rb',__FILE__)].each { |file| require file}
|
3
5
|
Dir[File.expand_path('../couchup/extensions/*.rb',__FILE__)].each { |file| require file}
|
data/lib/couchup/version.rb
CHANGED
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: couchup
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.0.
|
5
|
+
version: 0.0.6
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- V Sreekanth
|
@@ -111,6 +111,10 @@ extensions: []
|
|
111
111
|
extra_rdoc_files: []
|
112
112
|
|
113
113
|
files:
|
114
|
+
- .gitignore
|
115
|
+
- .rvmrc
|
116
|
+
- Gemfile
|
117
|
+
- Gemfile.lock
|
114
118
|
- Rakefile
|
115
119
|
- Readme.markdown
|
116
120
|
- bin/couchup
|