soca 0.3.2 → 0.3.3
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +4 -3
- data/Gemfile.lock +44 -41
- data/lib/soca.rb +1 -1
- data/lib/soca/cli.rb +1 -1
- data/soca.gemspec +12 -12
- metadata +77 -27
data/Gemfile
CHANGED
@@ -3,9 +3,9 @@ source "http://rubygems.org"
|
|
3
3
|
|
4
4
|
gem 'json', '~>1.4.6'
|
5
5
|
gem 'mime-types', '~>1.16'
|
6
|
-
gem 'typhoeus', '~>0.
|
7
|
-
gem 'thor', '~>0.
|
8
|
-
gem 'jim', '~>0.3
|
6
|
+
gem 'typhoeus', '~>0.3.0'
|
7
|
+
gem 'thor', '~>0.15'
|
8
|
+
gem 'jim', '~>0.3'
|
9
9
|
gem 'compass', '~>0.11'
|
10
10
|
gem 'mustache', '~>0.99'
|
11
11
|
gem 'coffee-script', '~>2.2'
|
@@ -16,6 +16,7 @@ group :development do
|
|
16
16
|
end
|
17
17
|
|
18
18
|
group :test do
|
19
|
+
gem "mocha"
|
19
20
|
gem "shoulda", ">= 0"
|
20
21
|
end
|
21
22
|
|
data/Gemfile.lock
CHANGED
@@ -1,70 +1,72 @@
|
|
1
1
|
GEM
|
2
2
|
remote: http://rubygems.org/
|
3
3
|
specs:
|
4
|
+
activesupport (3.2.8)
|
5
|
+
i18n (~> 0.6)
|
6
|
+
multi_json (~> 1.0)
|
4
7
|
archive-tar-minitar (0.5.2)
|
5
|
-
chunky_png (1.2.
|
8
|
+
chunky_png (1.2.6)
|
6
9
|
coffee-script (2.2.0)
|
7
10
|
coffee-script-source
|
8
11
|
execjs
|
9
|
-
coffee-script-source (1.
|
10
|
-
compass (0.
|
12
|
+
coffee-script-source (1.3.3)
|
13
|
+
compass (0.12.2)
|
11
14
|
chunky_png (~> 1.2)
|
12
15
|
fssm (>= 0.2.7)
|
13
16
|
sass (~> 3.1)
|
14
17
|
downlow (0.1.4)
|
15
18
|
archive-tar-minitar (>= 0.5.2)
|
16
19
|
rubyzip (>= 0.9.4)
|
17
|
-
execjs (1.
|
20
|
+
execjs (1.4.0)
|
18
21
|
multi_json (~> 1.0)
|
19
|
-
|
20
|
-
fssm (0.2.
|
22
|
+
ffi (1.1.5)
|
23
|
+
fssm (0.2.9)
|
21
24
|
git (1.2.5)
|
22
|
-
|
25
|
+
i18n (0.6.0)
|
26
|
+
jeweler (1.8.4)
|
23
27
|
bundler (~> 1.0)
|
24
28
|
git (>= 1.2.5)
|
25
29
|
rake
|
26
|
-
|
30
|
+
rdoc
|
31
|
+
jim (0.3.3)
|
27
32
|
downlow (~> 0.1.3)
|
28
|
-
|
29
|
-
|
30
|
-
fssm
|
31
|
-
fssm (~> 0.2.0)
|
32
|
-
jeweler
|
33
|
-
leftright
|
34
|
-
mocha
|
35
|
-
rack-test
|
36
|
-
rake
|
37
|
-
shoulda
|
38
|
-
test-unit
|
39
|
-
thor
|
40
|
-
thor (~> 0.14.4)
|
41
|
-
version_sorter (~> 1.1.0)
|
33
|
+
listen
|
34
|
+
thor (~> 0.15)
|
42
35
|
version_sorter (~> 1.1.0)
|
43
36
|
yajl-ruby
|
44
|
-
yajl-ruby
|
45
37
|
json (1.4.6)
|
46
38
|
keychain_services (0.1.1)
|
47
|
-
|
39
|
+
listen (0.4.7)
|
40
|
+
rb-fchange (~> 0.0.5)
|
41
|
+
rb-fsevent (~> 0.9.1)
|
42
|
+
rb-inotify (~> 0.8.8)
|
48
43
|
metaclass (0.0.1)
|
49
|
-
mime-types (1.
|
50
|
-
mocha (0.
|
44
|
+
mime-types (1.19)
|
45
|
+
mocha (0.12.3)
|
51
46
|
metaclass (~> 0.0.1)
|
52
|
-
multi_json (1.
|
47
|
+
multi_json (1.3.6)
|
53
48
|
mustache (0.99.4)
|
54
|
-
rack (1.3.3)
|
55
|
-
rack-test (0.6.1)
|
56
|
-
rack (>= 1.0)
|
57
49
|
rake (0.9.2.2)
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
50
|
+
rb-fchange (0.0.5)
|
51
|
+
ffi
|
52
|
+
rb-fsevent (0.9.1)
|
53
|
+
rb-inotify (0.8.8)
|
54
|
+
ffi (>= 0.5.0)
|
55
|
+
rdoc (3.12)
|
56
|
+
json (~> 1.4)
|
57
|
+
rubyzip (0.9.9)
|
58
|
+
sass (3.2.0)
|
59
|
+
shoulda (3.1.1)
|
60
|
+
shoulda-context (~> 1.0)
|
61
|
+
shoulda-matchers (~> 1.2)
|
62
|
+
shoulda-context (1.0.0)
|
63
|
+
shoulda-matchers (1.2.0)
|
64
|
+
activesupport (>= 3.0.0)
|
65
|
+
thor (0.15.4)
|
66
|
+
typhoeus (0.3.3)
|
65
67
|
mime-types
|
66
68
|
version_sorter (1.1.0)
|
67
|
-
yajl-ruby (1.
|
69
|
+
yajl-ruby (1.1.0)
|
68
70
|
|
69
71
|
PLATFORMS
|
70
72
|
ruby
|
@@ -73,12 +75,13 @@ DEPENDENCIES
|
|
73
75
|
coffee-script (~> 2.2)
|
74
76
|
compass (~> 0.11)
|
75
77
|
jeweler
|
76
|
-
jim (~> 0.3
|
78
|
+
jim (~> 0.3)
|
77
79
|
json (~> 1.4.6)
|
78
80
|
keychain_services (~> 0.1.1)
|
79
81
|
mime-types (~> 1.16)
|
82
|
+
mocha
|
80
83
|
mustache (~> 0.99)
|
81
84
|
rake
|
82
85
|
shoulda
|
83
|
-
thor (~> 0.
|
84
|
-
typhoeus (~> 0.
|
86
|
+
thor (~> 0.15)
|
87
|
+
typhoeus (~> 0.3.0)
|
data/lib/soca.rb
CHANGED
data/lib/soca/cli.rb
CHANGED
@@ -39,7 +39,7 @@ module Soca
|
|
39
39
|
end
|
40
40
|
self.appdir = options[:appdir] || File.expand_path(Dir.pwd)
|
41
41
|
self.config_file = options[:config]
|
42
|
-
self.debug
|
42
|
+
self.debug = options[:debug]
|
43
43
|
if debug
|
44
44
|
Soca.debug = true
|
45
45
|
logger.level = Logger::DEBUG
|
data/soca.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "soca"
|
8
|
-
s.version = "0.3.
|
8
|
+
s.version = "0.3.3"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Aaron Quint"]
|
12
|
-
s.date = "2012-
|
12
|
+
s.date = "2012-08-13"
|
13
13
|
s.description = "soca is a different way of writing apps for CouchDB. The structure is up to you."
|
14
14
|
s.email = "aaron@quirkey.com"
|
15
15
|
s.executables = ["soca"]
|
@@ -79,7 +79,7 @@ Gem::Specification.new do |s|
|
|
79
79
|
]
|
80
80
|
s.homepage = "http://github.com/quirkey/soca"
|
81
81
|
s.require_paths = ["lib"]
|
82
|
-
s.rubygems_version = "1.8.
|
82
|
+
s.rubygems_version = "1.8.24"
|
83
83
|
s.summary = "Sammy on CouchApp"
|
84
84
|
|
85
85
|
if s.respond_to? :specification_version then
|
@@ -88,9 +88,9 @@ Gem::Specification.new do |s|
|
|
88
88
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
89
89
|
s.add_runtime_dependency(%q<json>, ["~> 1.4.6"])
|
90
90
|
s.add_runtime_dependency(%q<mime-types>, ["~> 1.16"])
|
91
|
-
s.add_runtime_dependency(%q<typhoeus>, ["~> 0.
|
92
|
-
s.add_runtime_dependency(%q<thor>, ["~> 0.
|
93
|
-
s.add_runtime_dependency(%q<jim>, ["~> 0.3
|
91
|
+
s.add_runtime_dependency(%q<typhoeus>, ["~> 0.3.0"])
|
92
|
+
s.add_runtime_dependency(%q<thor>, ["~> 0.15"])
|
93
|
+
s.add_runtime_dependency(%q<jim>, ["~> 0.3"])
|
94
94
|
s.add_runtime_dependency(%q<compass>, ["~> 0.11"])
|
95
95
|
s.add_runtime_dependency(%q<mustache>, ["~> 0.99"])
|
96
96
|
s.add_runtime_dependency(%q<coffee-script>, ["~> 2.2"])
|
@@ -99,9 +99,9 @@ Gem::Specification.new do |s|
|
|
99
99
|
else
|
100
100
|
s.add_dependency(%q<json>, ["~> 1.4.6"])
|
101
101
|
s.add_dependency(%q<mime-types>, ["~> 1.16"])
|
102
|
-
s.add_dependency(%q<typhoeus>, ["~> 0.
|
103
|
-
s.add_dependency(%q<thor>, ["~> 0.
|
104
|
-
s.add_dependency(%q<jim>, ["~> 0.3
|
102
|
+
s.add_dependency(%q<typhoeus>, ["~> 0.3.0"])
|
103
|
+
s.add_dependency(%q<thor>, ["~> 0.15"])
|
104
|
+
s.add_dependency(%q<jim>, ["~> 0.3"])
|
105
105
|
s.add_dependency(%q<compass>, ["~> 0.11"])
|
106
106
|
s.add_dependency(%q<mustache>, ["~> 0.99"])
|
107
107
|
s.add_dependency(%q<coffee-script>, ["~> 2.2"])
|
@@ -111,9 +111,9 @@ Gem::Specification.new do |s|
|
|
111
111
|
else
|
112
112
|
s.add_dependency(%q<json>, ["~> 1.4.6"])
|
113
113
|
s.add_dependency(%q<mime-types>, ["~> 1.16"])
|
114
|
-
s.add_dependency(%q<typhoeus>, ["~> 0.
|
115
|
-
s.add_dependency(%q<thor>, ["~> 0.
|
116
|
-
s.add_dependency(%q<jim>, ["~> 0.3
|
114
|
+
s.add_dependency(%q<typhoeus>, ["~> 0.3.0"])
|
115
|
+
s.add_dependency(%q<thor>, ["~> 0.15"])
|
116
|
+
s.add_dependency(%q<jim>, ["~> 0.3"])
|
117
117
|
s.add_dependency(%q<compass>, ["~> 0.11"])
|
118
118
|
s.add_dependency(%q<mustache>, ["~> 0.99"])
|
119
119
|
s.add_dependency(%q<coffee-script>, ["~> 2.2"])
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: soca
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-08-13 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: json
|
16
|
-
requirement:
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
@@ -21,10 +21,15 @@ dependencies:
|
|
21
21
|
version: 1.4.6
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements:
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ~>
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: 1.4.6
|
25
30
|
- !ruby/object:Gem::Dependency
|
26
31
|
name: mime-types
|
27
|
-
requirement:
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
28
33
|
none: false
|
29
34
|
requirements:
|
30
35
|
- - ~>
|
@@ -32,43 +37,63 @@ dependencies:
|
|
32
37
|
version: '1.16'
|
33
38
|
type: :runtime
|
34
39
|
prerelease: false
|
35
|
-
version_requirements:
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ~>
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: '1.16'
|
36
46
|
- !ruby/object:Gem::Dependency
|
37
47
|
name: typhoeus
|
38
|
-
requirement:
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
39
49
|
none: false
|
40
50
|
requirements:
|
41
51
|
- - ~>
|
42
52
|
- !ruby/object:Gem::Version
|
43
|
-
version: 0.
|
53
|
+
version: 0.3.0
|
44
54
|
type: :runtime
|
45
55
|
prerelease: false
|
46
|
-
version_requirements:
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
58
|
+
requirements:
|
59
|
+
- - ~>
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 0.3.0
|
47
62
|
- !ruby/object:Gem::Dependency
|
48
63
|
name: thor
|
49
|
-
requirement:
|
64
|
+
requirement: !ruby/object:Gem::Requirement
|
50
65
|
none: false
|
51
66
|
requirements:
|
52
67
|
- - ~>
|
53
68
|
- !ruby/object:Gem::Version
|
54
|
-
version: 0.
|
69
|
+
version: '0.15'
|
55
70
|
type: :runtime
|
56
71
|
prerelease: false
|
57
|
-
version_requirements:
|
72
|
+
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
74
|
+
requirements:
|
75
|
+
- - ~>
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: '0.15'
|
58
78
|
- !ruby/object:Gem::Dependency
|
59
79
|
name: jim
|
60
|
-
requirement:
|
80
|
+
requirement: !ruby/object:Gem::Requirement
|
61
81
|
none: false
|
62
82
|
requirements:
|
63
83
|
- - ~>
|
64
84
|
- !ruby/object:Gem::Version
|
65
|
-
version: 0.3
|
85
|
+
version: '0.3'
|
66
86
|
type: :runtime
|
67
87
|
prerelease: false
|
68
|
-
version_requirements:
|
88
|
+
version_requirements: !ruby/object:Gem::Requirement
|
89
|
+
none: false
|
90
|
+
requirements:
|
91
|
+
- - ~>
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
version: '0.3'
|
69
94
|
- !ruby/object:Gem::Dependency
|
70
95
|
name: compass
|
71
|
-
requirement:
|
96
|
+
requirement: !ruby/object:Gem::Requirement
|
72
97
|
none: false
|
73
98
|
requirements:
|
74
99
|
- - ~>
|
@@ -76,10 +101,15 @@ dependencies:
|
|
76
101
|
version: '0.11'
|
77
102
|
type: :runtime
|
78
103
|
prerelease: false
|
79
|
-
version_requirements:
|
104
|
+
version_requirements: !ruby/object:Gem::Requirement
|
105
|
+
none: false
|
106
|
+
requirements:
|
107
|
+
- - ~>
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: '0.11'
|
80
110
|
- !ruby/object:Gem::Dependency
|
81
111
|
name: mustache
|
82
|
-
requirement:
|
112
|
+
requirement: !ruby/object:Gem::Requirement
|
83
113
|
none: false
|
84
114
|
requirements:
|
85
115
|
- - ~>
|
@@ -87,10 +117,15 @@ dependencies:
|
|
87
117
|
version: '0.99'
|
88
118
|
type: :runtime
|
89
119
|
prerelease: false
|
90
|
-
version_requirements:
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
none: false
|
122
|
+
requirements:
|
123
|
+
- - ~>
|
124
|
+
- !ruby/object:Gem::Version
|
125
|
+
version: '0.99'
|
91
126
|
- !ruby/object:Gem::Dependency
|
92
127
|
name: coffee-script
|
93
|
-
requirement:
|
128
|
+
requirement: !ruby/object:Gem::Requirement
|
94
129
|
none: false
|
95
130
|
requirements:
|
96
131
|
- - ~>
|
@@ -98,10 +133,15 @@ dependencies:
|
|
98
133
|
version: '2.2'
|
99
134
|
type: :runtime
|
100
135
|
prerelease: false
|
101
|
-
version_requirements:
|
136
|
+
version_requirements: !ruby/object:Gem::Requirement
|
137
|
+
none: false
|
138
|
+
requirements:
|
139
|
+
- - ~>
|
140
|
+
- !ruby/object:Gem::Version
|
141
|
+
version: '2.2'
|
102
142
|
- !ruby/object:Gem::Dependency
|
103
143
|
name: rake
|
104
|
-
requirement:
|
144
|
+
requirement: !ruby/object:Gem::Requirement
|
105
145
|
none: false
|
106
146
|
requirements:
|
107
147
|
- - ! '>='
|
@@ -109,10 +149,15 @@ dependencies:
|
|
109
149
|
version: '0'
|
110
150
|
type: :development
|
111
151
|
prerelease: false
|
112
|
-
version_requirements:
|
152
|
+
version_requirements: !ruby/object:Gem::Requirement
|
153
|
+
none: false
|
154
|
+
requirements:
|
155
|
+
- - ! '>='
|
156
|
+
- !ruby/object:Gem::Version
|
157
|
+
version: '0'
|
113
158
|
- !ruby/object:Gem::Dependency
|
114
159
|
name: jeweler
|
115
|
-
requirement:
|
160
|
+
requirement: !ruby/object:Gem::Requirement
|
116
161
|
none: false
|
117
162
|
requirements:
|
118
163
|
- - ! '>='
|
@@ -120,7 +165,12 @@ dependencies:
|
|
120
165
|
version: '0'
|
121
166
|
type: :development
|
122
167
|
prerelease: false
|
123
|
-
version_requirements:
|
168
|
+
version_requirements: !ruby/object:Gem::Requirement
|
169
|
+
none: false
|
170
|
+
requirements:
|
171
|
+
- - ! '>='
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
version: '0'
|
124
174
|
description: soca is a different way of writing apps for CouchDB. The structure is
|
125
175
|
up to you.
|
126
176
|
email: aaron@quirkey.com
|
@@ -203,7 +253,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
203
253
|
version: '0'
|
204
254
|
segments:
|
205
255
|
- 0
|
206
|
-
hash:
|
256
|
+
hash: 361415240481344412
|
207
257
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
208
258
|
none: false
|
209
259
|
requirements:
|
@@ -212,7 +262,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
212
262
|
version: '0'
|
213
263
|
requirements: []
|
214
264
|
rubyforge_project:
|
215
|
-
rubygems_version: 1.8.
|
265
|
+
rubygems_version: 1.8.24
|
216
266
|
signing_key:
|
217
267
|
specification_version: 3
|
218
268
|
summary: Sammy on CouchApp
|