appscrolls 0.8.3 → 0.8.4

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore CHANGED
@@ -5,4 +5,4 @@ Gemfile.lock
5
5
  dist/*
6
6
  .idea
7
7
  .rvmrc
8
-
8
+ .DS_Store
data/ChangeLog.md CHANGED
@@ -1,6 +1,5 @@
1
1
  # ChangeLog
2
2
 
3
-
4
3
  ## v0.8
5
4
 
6
5
  * `postgresql` - supported on `eycloud` (Currently PostgreSQL 9.1)
@@ -29,6 +28,14 @@ PUBLIC RELEASE! http://drnicwilliams.com/2012/04/10/instant-new-rails-applicatio
29
28
 
30
29
  * `resque` - Use "resque_admin_secret" instead of hardcoded string
31
30
 
31
+ ### v0.8.4
32
+
33
+ * `github` - if private, then create private repo [thx @CraigCottingham]
34
+ * `thin` - moved to active
35
+ * `rails_admin` - new scroll [thx @sferik]
36
+ * `twitter_bootstrap` - Added `therubyracer` gem as a dependency [thx @jackdempsey]
37
+ * added support for scrolls with dashes in their names [thx @grk]
38
+
32
39
  ## v0.7
33
40
 
34
41
  New name! "App Scrolls"
data/README.md CHANGED
@@ -12,6 +12,7 @@ The App Scrolls is a magical tool to generate new Rails and modify existing Rail
12
12
 
13
13
  * Follow on twitter [@appscrolls][9]
14
14
  * [![Build Status](https://secure.travis-ci.org/drnic/appscrolls.png?branch=master)](http://travis-ci.org/drnic/appscrolls)
15
+ * [![Dependency Status](https://gemnasium.com/drnic/appscrolls.png?travis)](https://gemnasium.com/drnic/appscrolls)
15
16
 
16
17
  An example application that was built by the App Scrolls is at [https://github.com/drnic/mydemoapp][14]. The generated README shows all the scrolls that were included.
17
18
 
@@ -36,7 +37,7 @@ To transform an existing Rails app, you ... wait, that's not implemented yet. Bu
36
37
 
37
38
  The current available scrolls grouped by category:
38
39
 
39
- * administration: active_admin
40
+ * administration: active_admin, rails_admin
40
41
  * assets: jquery, prototype
41
42
  * deployment: eycloud, eycloud_recipes_on_deploy, git, github, passenger, thin, unicorn
42
43
  * persistence: mysql, postgresql, redis, sqlite3
@@ -178,7 +179,7 @@ App Scrolls and its scrolls are distributed under the MIT License. See [MIT_LICE
178
179
  [5]:https://github.com/mbleigh
179
180
  [6]:http://www.engineyard.com/products/cloud
180
181
  [7]:http://drnicwilliams.com
181
- [9]:https://twitter.com/elderscrolls
182
+ [9]:https://twitter.com/appscrolls
182
183
  [10]:https://github.com/drnic/appscrolls/blob/master/MIT_LICENSE
183
184
  [11]:https://github.com/drnic/appscrolls/tree/master/scrolls
184
185
  [12]:https://github.com/drnic/appscrolls/tree/master/scrolls/zzz
data/appscrolls.gemspec CHANGED
@@ -9,25 +9,23 @@ Gem::Specification.new do |s|
9
9
  s.authors = ["Michael Bleigh", "Dr Nic Williams"]
10
10
  s.email = ["michael@intridea.com", "drnicwilliams@gmail.com"]
11
11
  s.homepage = "http://appscrolls.org/"
12
- s.summary = %q{The App Scrolls is a magical tool to generate new Rails and modify existing Rails applications (coming) to include your favourite, powerful magic. }
13
- s.description = %q{The App Scrolls is a magical tool to generate new Rails and modify existing Rails applications (coming) to include your favourite, powerful magic. }
12
+ s.summary = %q{The App Scrolls is a magical tool to generate new Rails and modify existing Rails applications (coming) to include your favourite, powerful magic.}
13
+ s.description = s.summary
14
14
 
15
- s.add_dependency "rails", "~> 3.2.2"
16
- s.add_dependency "i18n"
17
- s.add_dependency "json", "1.6.5"
18
15
  s.add_dependency "activesupport", "~> 3.0"
16
+ s.add_dependency "i18n"
17
+ s.add_dependency "rails", "~> 3.2.2"
18
+ s.add_dependency "json", "~> 1.7.0"
19
19
  s.add_dependency "thor"
20
- s.add_development_dependency "rspec", "~> 2.5.0"
21
- s.add_development_dependency "guard-rspec"
22
- s.add_development_dependency "cucumber"
23
- s.add_development_dependency "guard-cucumber"
24
20
  s.add_development_dependency "bundler", "~> 1.1.0"
21
+ s.add_development_dependency "cucumber"
25
22
  s.add_development_dependency "guard-bundler"
26
- s.add_development_dependency "rails", "~> 3.0"
23
+ s.add_development_dependency "guard-cucumber"
24
+ s.add_development_dependency "guard-rspec"
25
+ s.add_development_dependency "rspec"
27
26
 
28
27
  s.files = `git ls-files`.split("\n")
29
28
  s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
30
29
  s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
31
30
  s.require_paths = ["lib"]
32
31
  end
33
-
data/bin/scrolls CHANGED
File without changes
@@ -2,9 +2,9 @@ module AppScrollsScrolls
2
2
  module Scrolls
3
3
  @@categories = {}
4
4
  @@list = {}
5
-
5
+
6
6
  def self.add(scroll)
7
- AppScrollsScrolls::Scrolls.const_set ActiveSupport::Inflector.camelize(scroll.key), scroll
7
+ AppScrollsScrolls::Scrolls.const_set ActiveSupport::Inflector.camelize(scroll.key.gsub("-", "_")), scroll
8
8
  @@list[scroll.key] = scroll
9
9
  (@@categories[scroll.category.to_s] ||= []) << scroll.key
10
10
  @@categories[scroll.category.to_s].uniq!
data/scrolls/github.rb CHANGED
@@ -10,7 +10,7 @@ after_everything do
10
10
  else
11
11
  @repo_name = ""
12
12
  end
13
- if config["github_private"]
13
+ if github_private
14
14
  run "bundle exec gh create-from-local #{@repo_name} --private"
15
15
  else
16
16
  run "bundle exec gh create-from-local #{@repo_name}"
@@ -0,0 +1,15 @@
1
+ gem 'rails_admin'
2
+
3
+ after_bundler do
4
+ generate "rails_admin:install"
5
+ end
6
+
7
+ __END__
8
+
9
+ name: RailsAdmin
10
+ description: "An engine that provides an easy-to-use interface for managing your data"
11
+ website: https://github.com/sferik/rails_admin
12
+ author: sferik
13
+ exclusive: administration
14
+ category: administration
15
+ tags: [administration]
File without changes
@@ -1,5 +1,6 @@
1
1
  gem_group :assets do
2
2
  gem 'twitter-bootstrap-rails'
3
+ gem 'therubyracer'
3
4
  end
4
5
 
5
6
  after_bundler do
data/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module AppScrollsScrolls
2
- VERSION = "0.8.3"
2
+ VERSION = "0.8.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: appscrolls
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.3
4
+ version: 0.8.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,22 +10,22 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2012-04-10 00:00:00.000000000 Z
13
+ date: 2012-05-02 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
- name: rails
17
- requirement: &70178453521300 !ruby/object:Gem::Requirement
16
+ name: activesupport
17
+ requirement: &70219846560900 !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
20
  - - ~>
21
21
  - !ruby/object:Gem::Version
22
- version: 3.2.2
22
+ version: '3.0'
23
23
  type: :runtime
24
24
  prerelease: false
25
- version_requirements: *70178453521300
25
+ version_requirements: *70219846560900
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: i18n
28
- requirement: &70178453520700 !ruby/object:Gem::Requirement
28
+ requirement: &70219846560440 !ruby/object:Gem::Requirement
29
29
  none: false
30
30
  requirements:
31
31
  - - ! '>='
@@ -33,32 +33,32 @@ dependencies:
33
33
  version: '0'
34
34
  type: :runtime
35
35
  prerelease: false
36
- version_requirements: *70178453520700
36
+ version_requirements: *70219846560440
37
37
  - !ruby/object:Gem::Dependency
38
- name: json
39
- requirement: &70178453520140 !ruby/object:Gem::Requirement
38
+ name: rails
39
+ requirement: &70219846559820 !ruby/object:Gem::Requirement
40
40
  none: false
41
41
  requirements:
42
- - - =
42
+ - - ~>
43
43
  - !ruby/object:Gem::Version
44
- version: 1.6.5
44
+ version: 3.2.2
45
45
  type: :runtime
46
46
  prerelease: false
47
- version_requirements: *70178453520140
47
+ version_requirements: *70219846559820
48
48
  - !ruby/object:Gem::Dependency
49
- name: activesupport
50
- requirement: &70178453519620 !ruby/object:Gem::Requirement
49
+ name: json
50
+ requirement: &70219846559140 !ruby/object:Gem::Requirement
51
51
  none: false
52
52
  requirements:
53
53
  - - ~>
54
54
  - !ruby/object:Gem::Version
55
- version: '3.0'
55
+ version: 1.7.0
56
56
  type: :runtime
57
57
  prerelease: false
58
- version_requirements: *70178453519620
58
+ version_requirements: *70219846559140
59
59
  - !ruby/object:Gem::Dependency
60
60
  name: thor
61
- requirement: &70178453650500 !ruby/object:Gem::Requirement
61
+ requirement: &70219846558600 !ruby/object:Gem::Requirement
62
62
  none: false
63
63
  requirements:
64
64
  - - ! '>='
@@ -66,21 +66,21 @@ dependencies:
66
66
  version: '0'
67
67
  type: :runtime
68
68
  prerelease: false
69
- version_requirements: *70178453650500
69
+ version_requirements: *70219846558600
70
70
  - !ruby/object:Gem::Dependency
71
- name: rspec
72
- requirement: &70178453649840 !ruby/object:Gem::Requirement
71
+ name: bundler
72
+ requirement: &70219846557480 !ruby/object:Gem::Requirement
73
73
  none: false
74
74
  requirements:
75
75
  - - ~>
76
76
  - !ruby/object:Gem::Version
77
- version: 2.5.0
77
+ version: 1.1.0
78
78
  type: :development
79
79
  prerelease: false
80
- version_requirements: *70178453649840
80
+ version_requirements: *70219846557480
81
81
  - !ruby/object:Gem::Dependency
82
- name: guard-rspec
83
- requirement: &70178453649340 !ruby/object:Gem::Requirement
82
+ name: cucumber
83
+ requirement: &70219846556580 !ruby/object:Gem::Requirement
84
84
  none: false
85
85
  requirements:
86
86
  - - ! '>='
@@ -88,10 +88,10 @@ dependencies:
88
88
  version: '0'
89
89
  type: :development
90
90
  prerelease: false
91
- version_requirements: *70178453649340
91
+ version_requirements: *70219846556580
92
92
  - !ruby/object:Gem::Dependency
93
- name: cucumber
94
- requirement: &70178453648620 !ruby/object:Gem::Requirement
93
+ name: guard-bundler
94
+ requirement: &70219846555540 !ruby/object:Gem::Requirement
95
95
  none: false
96
96
  requirements:
97
97
  - - ! '>='
@@ -99,10 +99,10 @@ dependencies:
99
99
  version: '0'
100
100
  type: :development
101
101
  prerelease: false
102
- version_requirements: *70178453648620
102
+ version_requirements: *70219846555540
103
103
  - !ruby/object:Gem::Dependency
104
104
  name: guard-cucumber
105
- requirement: &70178453645800 !ruby/object:Gem::Requirement
105
+ requirement: &70219846554820 !ruby/object:Gem::Requirement
106
106
  none: false
107
107
  requirements:
108
108
  - - ! '>='
@@ -110,21 +110,10 @@ dependencies:
110
110
  version: '0'
111
111
  type: :development
112
112
  prerelease: false
113
- version_requirements: *70178453645800
113
+ version_requirements: *70219846554820
114
114
  - !ruby/object:Gem::Dependency
115
- name: bundler
116
- requirement: &70178453644800 !ruby/object:Gem::Requirement
117
- none: false
118
- requirements:
119
- - - ~>
120
- - !ruby/object:Gem::Version
121
- version: 1.1.0
122
- type: :development
123
- prerelease: false
124
- version_requirements: *70178453644800
125
- - !ruby/object:Gem::Dependency
126
- name: guard-bundler
127
- requirement: &70178453644360 !ruby/object:Gem::Requirement
115
+ name: guard-rspec
116
+ requirement: &70219846553460 !ruby/object:Gem::Requirement
128
117
  none: false
129
118
  requirements:
130
119
  - - ! '>='
@@ -132,20 +121,20 @@ dependencies:
132
121
  version: '0'
133
122
  type: :development
134
123
  prerelease: false
135
- version_requirements: *70178453644360
124
+ version_requirements: *70219846553460
136
125
  - !ruby/object:Gem::Dependency
137
- name: rails
138
- requirement: &70178453643340 !ruby/object:Gem::Requirement
126
+ name: rspec
127
+ requirement: &70219846568880 !ruby/object:Gem::Requirement
139
128
  none: false
140
129
  requirements:
141
- - - ~>
130
+ - - ! '>='
142
131
  - !ruby/object:Gem::Version
143
- version: '3.0'
132
+ version: '0'
144
133
  type: :development
145
134
  prerelease: false
146
- version_requirements: *70178453643340
147
- description: ! 'The App Scrolls is a magical tool to generate new Rails and modify
148
- existing Rails applications (coming) to include your favourite, powerful magic. '
135
+ version_requirements: *70219846568880
136
+ description: The App Scrolls is a magical tool to generate new Rails and modify existing
137
+ Rails applications (coming) to include your favourite, powerful magic.
149
138
  email:
150
139
  - michael@intridea.com
151
140
  - drnicwilliams@gmail.com
@@ -176,7 +165,6 @@ files:
176
165
  - lib/appscrolls/scroll.rb
177
166
  - lib/appscrolls/scrolls.rb
178
167
  - lib/appscrolls/template.rb
179
- - lib/rails/generators/.DS_Store
180
168
  - lib/rails/generators/run_template/USAGE
181
169
  - lib/rails/generators/run_template/run_template_generator.rb
182
170
  - sample.rb
@@ -195,6 +183,7 @@ files:
195
183
  - scrolls/passenger.rb
196
184
  - scrolls/postgresql.rb
197
185
  - scrolls/prototype.rb
186
+ - scrolls/rails_admin.rb
198
187
  - scrolls/rails_basics.rb
199
188
  - scrolls/redis.rb
200
189
  - scrolls/resque.rb
@@ -203,6 +192,7 @@ files:
203
192
  - scrolls/split.rb
204
193
  - scrolls/sqlite3.rb
205
194
  - scrolls/test_unit.rb
195
+ - scrolls/thin.rb
206
196
  - scrolls/twitter_bootstrap.rb
207
197
  - scrolls/unicorn.rb
208
198
  - scrolls/zzz/activerecord.rb
@@ -236,7 +226,6 @@ files:
236
226
  - scrolls/zzz/paper_trail.rb
237
227
  - scrolls/zzz/pow.rb
238
228
  - scrolls/zzz/puma.rb
239
- - scrolls/zzz/rails_admin.rb
240
229
  - scrolls/zzz/rails_dev_tweaks.rb
241
230
  - scrolls/zzz/rails_erd.rb
242
231
  - scrolls/zzz/rails_footnotes.rb
@@ -249,7 +238,6 @@ files:
249
238
  - scrolls/zzz/sidekiq.rb
250
239
  - scrolls/zzz/slim.rb
251
240
  - scrolls/zzz/spork.rb
252
- - scrolls/zzz/thin.rb
253
241
  - scrolls/zzz/thinking_sphinx.rb
254
242
  - scrolls/zzz/vanity.rb
255
243
  - spec/appscrolls/config_spec.rb
@@ -277,18 +265,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
277
265
  - - ! '>='
278
266
  - !ruby/object:Gem::Version
279
267
  version: '0'
280
- segments:
281
- - 0
282
- hash: 3109168787840978519
283
268
  required_rubygems_version: !ruby/object:Gem::Requirement
284
269
  none: false
285
270
  requirements:
286
271
  - - ! '>='
287
272
  - !ruby/object:Gem::Version
288
273
  version: '0'
289
- segments:
290
- - 0
291
- hash: 3109168787840978519
292
274
  requirements: []
293
275
  rubyforge_project:
294
276
  rubygems_version: 1.8.17
Binary file
@@ -1,22 +0,0 @@
1
- gem 'rails_admin', :git => 'git://github.com/sferik/rails_admin.git'
2
-
3
- after_bundler do
4
- generate 'rails_admin:install_admin'
5
- rake 'admin:copy_assets'
6
- rake 'admin:ckeditor_download' if config['ckeditor']
7
- end
8
-
9
- __END__
10
-
11
- name: RailsAdmin
12
- description: "Install RailsAdmin to manage data in your application"
13
- author: alno
14
- website: https://github.com/sferik/rails_admin
15
-
16
- category: other
17
-
18
- config:
19
- - ckeditor:
20
- type: boolean
21
- prompt: Install CKEditor?
22
-