Skip to content

Commit

Permalink
Modified soca to repurpose it for creating non-design docs that can b…
Browse files Browse the repository at this point in the history
…e used for bundling data with a soca couchapp on a mobile device.
  • Loading branch information
Kevin Malakoff committed Jun 19, 2011
1 parent 34096e8 commit 60c751d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Gemfile.lock
Expand Up @@ -19,8 +19,8 @@ GEM
git (>= 1.2.5)
rake
jim (0.3.1)
downlow (~> 0.1.4)
downlow (~> 0.1.3)
downlow (~> 0.1.4)
fakeweb (>= 1.2.8)
fssm
fssm (~> 0.2.0)
Expand All @@ -31,8 +31,8 @@ GEM
rake
shoulda
test-unit
thor (~> 0.14.4)
thor
thor (~> 0.14.4)
version_sorter (~> 1.1.0)
version_sorter (~> 1.1.0)
yajl-ruby
Expand Down
2 changes: 1 addition & 1 deletion lib/soca/pusher.rb
Expand Up @@ -56,7 +56,7 @@ def db_url

def push_url
raise "no app id specified in config" unless config['id']
"#{db_url}/_design/#{config['id']}"
config['not_design'] ? "#{db_url}/#{config['id']}" : "#{db_url}/_design/#{config['id']}"
end

def app_url
Expand Down

0 comments on commit 60c751d

Please sign in to comment.