rda 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.travis.yml +4 -0
- data/CHANGELOG.md +4 -0
- data/Gemfile +0 -1
- data/Gemfile.lock +40 -41
- data/lib/rda.rb +2 -2
- data/lib/rda/app.rb +1 -1
- data/lib/rda/version.rb +1 -1
- data/rda.gemspec +6 -1
- metadata +92 -107
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,63 +1,64 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
rda (0.4.
|
4
|
+
rda (0.4.1)
|
5
5
|
activesupport (>= 3.1)
|
6
6
|
confstruct (~> 0.2)
|
7
|
-
|
7
|
+
json_pure (~> 1.7.7)
|
8
8
|
thor (~> 0.15)
|
9
9
|
|
10
10
|
GEM
|
11
11
|
remote: http://ruby.taobao.org/
|
12
12
|
specs:
|
13
|
-
activesupport (3.2.
|
14
|
-
i18n (
|
13
|
+
activesupport (3.2.13)
|
14
|
+
i18n (= 0.6.1)
|
15
15
|
multi_json (~> 1.0)
|
16
|
-
coderay (1.0.
|
17
|
-
confstruct (0.2.
|
18
|
-
diff-lcs (1.1
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
16
|
+
coderay (1.0.9)
|
17
|
+
confstruct (0.2.5)
|
18
|
+
diff-lcs (1.2.1)
|
19
|
+
fivemat (1.2.1)
|
20
|
+
guard (1.6.2)
|
21
|
+
listen (>= 0.6.0)
|
22
|
+
lumberjack (>= 1.0.2)
|
23
|
+
pry (>= 0.9.10)
|
24
|
+
terminal-table (>= 1.4.3)
|
23
25
|
thor (>= 0.14.6)
|
24
26
|
guard-bundler (1.0.0)
|
25
27
|
bundler (~> 1.0)
|
26
28
|
guard (~> 1.1)
|
27
|
-
guard-rspec (2.
|
29
|
+
guard-rspec (2.5.1)
|
28
30
|
guard (>= 1.1)
|
29
31
|
rspec (~> 2.11)
|
30
32
|
i18n (0.6.1)
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
oj (1.4.4)
|
38
|
-
pry (0.9.9.6)
|
33
|
+
json_pure (1.7.7)
|
34
|
+
listen (0.7.3)
|
35
|
+
lumberjack (1.0.2)
|
36
|
+
method_source (0.8.1)
|
37
|
+
multi_json (1.7.1)
|
38
|
+
pry (0.9.12)
|
39
39
|
coderay (~> 1.0.5)
|
40
|
-
method_source (~> 0.
|
41
|
-
slop (
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
rspec-
|
50
|
-
rspec-
|
51
|
-
|
52
|
-
rspec-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
thor (0.
|
40
|
+
method_source (~> 0.8)
|
41
|
+
slop (~> 3.4)
|
42
|
+
pry (0.9.12-java)
|
43
|
+
coderay (~> 1.0.5)
|
44
|
+
method_source (~> 0.8)
|
45
|
+
slop (~> 3.4)
|
46
|
+
spoon (~> 0.0)
|
47
|
+
rspec (2.13.0)
|
48
|
+
rspec-core (~> 2.13.0)
|
49
|
+
rspec-expectations (~> 2.13.0)
|
50
|
+
rspec-mocks (~> 2.13.0)
|
51
|
+
rspec-core (2.13.1)
|
52
|
+
rspec-expectations (2.13.0)
|
53
|
+
diff-lcs (>= 1.1.3, < 2.0)
|
54
|
+
rspec-mocks (2.13.0)
|
55
|
+
slop (3.4.4)
|
56
|
+
spoon (0.0.1)
|
57
|
+
terminal-table (1.4.5)
|
58
|
+
thor (0.17.0)
|
59
59
|
|
60
60
|
PLATFORMS
|
61
|
+
java
|
61
62
|
ruby
|
62
63
|
|
63
64
|
DEPENDENCIES
|
@@ -66,7 +67,5 @@ DEPENDENCIES
|
|
66
67
|
guard-bundler (~> 1.0)
|
67
68
|
guard-rspec (~> 2.1)
|
68
69
|
pry (~> 0.9.9)
|
69
|
-
rake
|
70
70
|
rda!
|
71
71
|
rspec (~> 2.10)
|
72
|
-
ruby_gntp (~> 0.3)
|
data/lib/rda.rb
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
require 'thor'
|
2
|
-
require '
|
2
|
+
require 'multi_json'
|
3
3
|
require 'confstruct'
|
4
4
|
require 'confstruct/configuration'
|
5
5
|
require 'active_support/inflector'
|
@@ -12,7 +12,7 @@ module Rda
|
|
12
12
|
def config
|
13
13
|
begin
|
14
14
|
@config ||= Confstruct::Configuration.new(
|
15
|
-
|
15
|
+
MultiJson.load(File.open(File.join(Rda::Rails.root, '.rda')))
|
16
16
|
)
|
17
17
|
rescue Errno::ENOENT
|
18
18
|
$stderr.puts 'ERROR: Rda is not initialized, please run `rda init` first.'
|
data/lib/rda/app.rb
CHANGED
@@ -50,7 +50,7 @@ module Rda
|
|
50
50
|
system("cd #{pkg_dir};tar czf #{app_name}-#{version}.src.tar.gz #{app_name}")
|
51
51
|
|
52
52
|
puts "Create the bin release..."
|
53
|
-
system("bundle package")
|
53
|
+
system("bundle package --all")
|
54
54
|
system("mv #{Rda::Rails.root}/vendor/cache #{tmp_dir}/vendor")
|
55
55
|
system("cd #{pkg_dir};tar czf #{app_name}-#{version}.bin.tar.gz #{app_name}")
|
56
56
|
system("rm -fr #{tmp_dir}")
|
data/lib/rda/version.rb
CHANGED
data/rda.gemspec
CHANGED
@@ -31,5 +31,10 @@ Gem::Specification.new do |s|
|
|
31
31
|
s.add_dependency 'activesupport', '>= 3.1'
|
32
32
|
s.add_dependency 'thor', '~> 0.15'
|
33
33
|
s.add_dependency 'confstruct', '~> 0.2'
|
34
|
-
|
34
|
+
|
35
|
+
if RUBY_PLATFORM == 'java'
|
36
|
+
s.add_dependency 'json_pure', '~> 1.7.7'
|
37
|
+
else
|
38
|
+
s.add_dependency 'oj', '~> 1.4.4'
|
39
|
+
end
|
35
40
|
end
|
metadata
CHANGED
@@ -1,194 +1,177 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rda
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
|
4
|
+
prerelease:
|
5
|
+
version: 0.4.1
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Tower He
|
9
|
-
autorequire:
|
9
|
+
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2013-03-19 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: pry
|
16
|
-
|
17
|
-
none: false
|
16
|
+
version_requirements: !ruby/object:Gem::Requirement
|
18
17
|
requirements:
|
19
|
-
- - ~>
|
18
|
+
- - "~>"
|
20
19
|
- !ruby/object:Gem::Version
|
21
20
|
version: 0.9.9
|
22
|
-
type: :development
|
23
|
-
prerelease: false
|
24
|
-
version_requirements: !ruby/object:Gem::Requirement
|
25
21
|
none: false
|
22
|
+
requirement: !ruby/object:Gem::Requirement
|
26
23
|
requirements:
|
27
|
-
- - ~>
|
24
|
+
- - "~>"
|
28
25
|
- !ruby/object:Gem::Version
|
29
26
|
version: 0.9.9
|
27
|
+
none: false
|
28
|
+
prerelease: false
|
29
|
+
type: :development
|
30
30
|
- !ruby/object:Gem::Dependency
|
31
31
|
name: rspec
|
32
|
-
|
33
|
-
none: false
|
32
|
+
version_requirements: !ruby/object:Gem::Requirement
|
34
33
|
requirements:
|
35
|
-
- - ~>
|
34
|
+
- - "~>"
|
36
35
|
- !ruby/object:Gem::Version
|
37
36
|
version: '2.10'
|
38
|
-
type: :development
|
39
|
-
prerelease: false
|
40
|
-
version_requirements: !ruby/object:Gem::Requirement
|
41
37
|
none: false
|
38
|
+
requirement: !ruby/object:Gem::Requirement
|
42
39
|
requirements:
|
43
|
-
- - ~>
|
40
|
+
- - "~>"
|
44
41
|
- !ruby/object:Gem::Version
|
45
42
|
version: '2.10'
|
43
|
+
none: false
|
44
|
+
prerelease: false
|
45
|
+
type: :development
|
46
46
|
- !ruby/object:Gem::Dependency
|
47
47
|
name: guard
|
48
|
-
|
49
|
-
none: false
|
48
|
+
version_requirements: !ruby/object:Gem::Requirement
|
50
49
|
requirements:
|
51
|
-
- - ~>
|
50
|
+
- - "~>"
|
52
51
|
- !ruby/object:Gem::Version
|
53
52
|
version: '1.2'
|
54
|
-
type: :development
|
55
|
-
prerelease: false
|
56
|
-
version_requirements: !ruby/object:Gem::Requirement
|
57
53
|
none: false
|
54
|
+
requirement: !ruby/object:Gem::Requirement
|
58
55
|
requirements:
|
59
|
-
- - ~>
|
56
|
+
- - "~>"
|
60
57
|
- !ruby/object:Gem::Version
|
61
58
|
version: '1.2'
|
59
|
+
none: false
|
60
|
+
prerelease: false
|
61
|
+
type: :development
|
62
62
|
- !ruby/object:Gem::Dependency
|
63
63
|
name: guard-bundler
|
64
|
-
|
65
|
-
none: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
66
65
|
requirements:
|
67
|
-
- - ~>
|
66
|
+
- - "~>"
|
68
67
|
- !ruby/object:Gem::Version
|
69
68
|
version: '1.0'
|
70
|
-
type: :development
|
71
|
-
prerelease: false
|
72
|
-
version_requirements: !ruby/object:Gem::Requirement
|
73
69
|
none: false
|
70
|
+
requirement: !ruby/object:Gem::Requirement
|
74
71
|
requirements:
|
75
|
-
- - ~>
|
72
|
+
- - "~>"
|
76
73
|
- !ruby/object:Gem::Version
|
77
74
|
version: '1.0'
|
75
|
+
none: false
|
76
|
+
prerelease: false
|
77
|
+
type: :development
|
78
78
|
- !ruby/object:Gem::Dependency
|
79
79
|
name: guard-rspec
|
80
|
-
|
81
|
-
none: false
|
80
|
+
version_requirements: !ruby/object:Gem::Requirement
|
82
81
|
requirements:
|
83
|
-
- - ~>
|
82
|
+
- - "~>"
|
84
83
|
- !ruby/object:Gem::Version
|
85
84
|
version: '2.1'
|
86
|
-
type: :development
|
87
|
-
prerelease: false
|
88
|
-
version_requirements: !ruby/object:Gem::Requirement
|
89
85
|
none: false
|
86
|
+
requirement: !ruby/object:Gem::Requirement
|
90
87
|
requirements:
|
91
|
-
- - ~>
|
88
|
+
- - "~>"
|
92
89
|
- !ruby/object:Gem::Version
|
93
90
|
version: '2.1'
|
91
|
+
none: false
|
92
|
+
prerelease: false
|
93
|
+
type: :development
|
94
94
|
- !ruby/object:Gem::Dependency
|
95
95
|
name: fivemat
|
96
|
-
|
97
|
-
none: false
|
96
|
+
version_requirements: !ruby/object:Gem::Requirement
|
98
97
|
requirements:
|
99
|
-
- - ~>
|
98
|
+
- - "~>"
|
100
99
|
- !ruby/object:Gem::Version
|
101
100
|
version: '1.0'
|
102
|
-
type: :development
|
103
|
-
prerelease: false
|
104
|
-
version_requirements: !ruby/object:Gem::Requirement
|
105
101
|
none: false
|
102
|
+
requirement: !ruby/object:Gem::Requirement
|
106
103
|
requirements:
|
107
|
-
- - ~>
|
104
|
+
- - "~>"
|
108
105
|
- !ruby/object:Gem::Version
|
109
106
|
version: '1.0'
|
110
|
-
- !ruby/object:Gem::Dependency
|
111
|
-
name: ruby_gntp
|
112
|
-
requirement: !ruby/object:Gem::Requirement
|
113
107
|
none: false
|
114
|
-
requirements:
|
115
|
-
- - ~>
|
116
|
-
- !ruby/object:Gem::Version
|
117
|
-
version: '0.3'
|
118
|
-
type: :development
|
119
108
|
prerelease: false
|
120
|
-
|
121
|
-
none: false
|
122
|
-
requirements:
|
123
|
-
- - ~>
|
124
|
-
- !ruby/object:Gem::Version
|
125
|
-
version: '0.3'
|
109
|
+
type: :development
|
126
110
|
- !ruby/object:Gem::Dependency
|
127
111
|
name: activesupport
|
128
|
-
|
129
|
-
none: false
|
112
|
+
version_requirements: !ruby/object:Gem::Requirement
|
130
113
|
requirements:
|
131
|
-
- -
|
114
|
+
- - ">="
|
132
115
|
- !ruby/object:Gem::Version
|
133
116
|
version: '3.1'
|
134
|
-
type: :runtime
|
135
|
-
prerelease: false
|
136
|
-
version_requirements: !ruby/object:Gem::Requirement
|
137
117
|
none: false
|
118
|
+
requirement: !ruby/object:Gem::Requirement
|
138
119
|
requirements:
|
139
|
-
- -
|
120
|
+
- - ">="
|
140
121
|
- !ruby/object:Gem::Version
|
141
122
|
version: '3.1'
|
123
|
+
none: false
|
124
|
+
prerelease: false
|
125
|
+
type: :runtime
|
142
126
|
- !ruby/object:Gem::Dependency
|
143
127
|
name: thor
|
144
|
-
|
145
|
-
none: false
|
128
|
+
version_requirements: !ruby/object:Gem::Requirement
|
146
129
|
requirements:
|
147
|
-
- - ~>
|
130
|
+
- - "~>"
|
148
131
|
- !ruby/object:Gem::Version
|
149
132
|
version: '0.15'
|
150
|
-
type: :runtime
|
151
|
-
prerelease: false
|
152
|
-
version_requirements: !ruby/object:Gem::Requirement
|
153
133
|
none: false
|
134
|
+
requirement: !ruby/object:Gem::Requirement
|
154
135
|
requirements:
|
155
|
-
- - ~>
|
136
|
+
- - "~>"
|
156
137
|
- !ruby/object:Gem::Version
|
157
138
|
version: '0.15'
|
139
|
+
none: false
|
140
|
+
prerelease: false
|
141
|
+
type: :runtime
|
158
142
|
- !ruby/object:Gem::Dependency
|
159
143
|
name: confstruct
|
160
|
-
|
161
|
-
none: false
|
144
|
+
version_requirements: !ruby/object:Gem::Requirement
|
162
145
|
requirements:
|
163
|
-
- - ~>
|
146
|
+
- - "~>"
|
164
147
|
- !ruby/object:Gem::Version
|
165
148
|
version: '0.2'
|
166
|
-
type: :runtime
|
167
|
-
prerelease: false
|
168
|
-
version_requirements: !ruby/object:Gem::Requirement
|
169
149
|
none: false
|
150
|
+
requirement: !ruby/object:Gem::Requirement
|
170
151
|
requirements:
|
171
|
-
- - ~>
|
152
|
+
- - "~>"
|
172
153
|
- !ruby/object:Gem::Version
|
173
154
|
version: '0.2'
|
174
|
-
- !ruby/object:Gem::Dependency
|
175
|
-
name: oj
|
176
|
-
requirement: !ruby/object:Gem::Requirement
|
177
155
|
none: false
|
178
|
-
requirements:
|
179
|
-
- - ~>
|
180
|
-
- !ruby/object:Gem::Version
|
181
|
-
version: 1.4.4
|
182
|
-
type: :runtime
|
183
156
|
prerelease: false
|
157
|
+
type: :runtime
|
158
|
+
- !ruby/object:Gem::Dependency
|
159
|
+
name: json_pure
|
184
160
|
version_requirements: !ruby/object:Gem::Requirement
|
161
|
+
requirements:
|
162
|
+
- - "~>"
|
163
|
+
- !ruby/object:Gem::Version
|
164
|
+
version: 1.7.7
|
185
165
|
none: false
|
166
|
+
requirement: !ruby/object:Gem::Requirement
|
186
167
|
requirements:
|
187
|
-
- - ~>
|
168
|
+
- - "~>"
|
188
169
|
- !ruby/object:Gem::Version
|
189
|
-
version: 1.
|
190
|
-
|
191
|
-
|
170
|
+
version: 1.7.7
|
171
|
+
none: false
|
172
|
+
prerelease: false
|
173
|
+
type: :runtime
|
174
|
+
description: Rda(Rails Development Assist) is combined with lots of useful commands which can help you to setup your development enviroments and tools more quickly.
|
192
175
|
email:
|
193
176
|
- towerhe@gmail.com
|
194
177
|
executables:
|
@@ -196,9 +179,9 @@ executables:
|
|
196
179
|
extensions: []
|
197
180
|
extra_rdoc_files: []
|
198
181
|
files:
|
199
|
-
- .gitignore
|
200
|
-
- .rspec
|
201
|
-
- .travis.yml
|
182
|
+
- ".gitignore"
|
183
|
+
- ".rspec"
|
184
|
+
- ".travis.yml"
|
202
185
|
- CHANGELOG.md
|
203
186
|
- Gemfile
|
204
187
|
- Gemfile.lock
|
@@ -234,32 +217,34 @@ files:
|
|
234
217
|
- spec/spec_helper.rb
|
235
218
|
homepage: https://github.com/towerhe/rda
|
236
219
|
licenses: []
|
237
|
-
post_install_message:
|
220
|
+
post_install_message:
|
238
221
|
rdoc_options: []
|
239
222
|
require_paths:
|
240
223
|
- lib
|
241
224
|
required_ruby_version: !ruby/object:Gem::Requirement
|
242
|
-
none: false
|
243
225
|
requirements:
|
244
|
-
- -
|
226
|
+
- - ">="
|
245
227
|
- !ruby/object:Gem::Version
|
246
|
-
version: '0'
|
247
228
|
segments:
|
248
229
|
- 0
|
249
|
-
hash:
|
250
|
-
|
230
|
+
hash: 2
|
231
|
+
version: !binary |-
|
232
|
+
MA==
|
251
233
|
none: false
|
234
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
252
235
|
requirements:
|
253
|
-
- -
|
236
|
+
- - ">="
|
254
237
|
- !ruby/object:Gem::Version
|
255
|
-
version: '0'
|
256
238
|
segments:
|
257
239
|
- 0
|
258
|
-
hash:
|
240
|
+
hash: 2
|
241
|
+
version: !binary |-
|
242
|
+
MA==
|
243
|
+
none: false
|
259
244
|
requirements: []
|
260
|
-
rubyforge_project:
|
245
|
+
rubyforge_project:
|
261
246
|
rubygems_version: 1.8.24
|
262
|
-
signing_key:
|
247
|
+
signing_key:
|
263
248
|
specification_version: 3
|
264
249
|
summary: Rails Development Assist
|
265
250
|
test_files:
|