active_assets 0.2.0.rc → 0.2.0.rc2
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +1 -1
- metadata +7 -18
- data/.autotest +0 -55
- data/.gitignore +0 -13
- data/Gemfile +0 -4
- data/Rakefile +0 -18
- data/active_assets.gemspec +0 -27
- data/config.ru +0 -2
- data/script/console +0 -1
- data/script/server +0 -1
- data/script/test_server +0 -1
- data/vendor/bin/ng +0 -0
- data/vendor/bin/ng.exe +0 -0
- data/vendor/jruby-complete-1.5.6.jar +0 -0
data/README.md
CHANGED
metadata
CHANGED
@@ -1,14 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: active_assets
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 15424049
|
5
5
|
prerelease: 6
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 2
|
9
9
|
- 0
|
10
10
|
- rc
|
11
|
-
|
11
|
+
- 2
|
12
|
+
version: 0.2.0.rc2
|
12
13
|
platform: ruby
|
13
14
|
authors:
|
14
15
|
- Sam Woodard
|
@@ -139,15 +140,6 @@ extensions: []
|
|
139
140
|
extra_rdoc_files: []
|
140
141
|
|
141
142
|
files:
|
142
|
-
- .autotest
|
143
|
-
- .gitignore
|
144
|
-
- Gemfile
|
145
|
-
- README.md
|
146
|
-
- Rakefile
|
147
|
-
- active_assets.gemspec
|
148
|
-
- config.ru
|
149
|
-
- lib/active_assets.rb
|
150
|
-
- lib/active_assets/active_expansions.rb
|
151
143
|
- lib/active_assets/active_expansions/asset.rb
|
152
144
|
- lib/active_assets/active_expansions/asset_scope.rb
|
153
145
|
- lib/active_assets/active_expansions/assets.rb
|
@@ -158,22 +150,22 @@ files:
|
|
158
150
|
- lib/active_assets/active_expansions/railtie.rb
|
159
151
|
- lib/active_assets/active_expansions/stylesheets.rb
|
160
152
|
- lib/active_assets/active_expansions/type_inferrable.rb
|
161
|
-
- lib/active_assets/
|
153
|
+
- lib/active_assets/active_expansions.rb
|
162
154
|
- lib/active_assets/active_sprites/railtie.rb
|
163
155
|
- lib/active_assets/active_sprites/runner.rb
|
164
156
|
- lib/active_assets/active_sprites/sprite.rb
|
165
157
|
- lib/active_assets/active_sprites/sprite_piece.rb
|
166
158
|
- lib/active_assets/active_sprites/sprite_stylesheet.rb
|
167
159
|
- lib/active_assets/active_sprites/sprites.rb
|
160
|
+
- lib/active_assets/active_sprites.rb
|
168
161
|
- lib/active_assets/railtie.rb
|
162
|
+
- lib/active_assets.rb
|
169
163
|
- lib/rails/active_assets.rb
|
170
164
|
- lib/rails/active_expansions.rb
|
171
165
|
- lib/rails/active_sprites.rb
|
172
166
|
- lib/tasks/active_expansions/cache.rake
|
173
167
|
- lib/tasks/active_sprites/sprites.rake
|
174
|
-
-
|
175
|
-
- script/server
|
176
|
-
- script/test_server
|
168
|
+
- README.md
|
177
169
|
- test/active_assets/active_expansions/asset_test.rb
|
178
170
|
- test/active_assets/active_expansions/expansions_test.rb
|
179
171
|
- test/active_assets/active_sprites/runner_test.rb
|
@@ -246,9 +238,6 @@ files:
|
|
246
238
|
- test/fixtures/sinatra_root/views/sprite.erb
|
247
239
|
- test/helper.rb
|
248
240
|
- test/support/rails_helper.rb
|
249
|
-
- vendor/bin/ng
|
250
|
-
- vendor/bin/ng.exe
|
251
|
-
- vendor/jruby-complete-1.5.6.jar
|
252
241
|
has_rdoc: true
|
253
242
|
homepage: http://github.com/shwoodard/active_assets
|
254
243
|
licenses: []
|
data/.autotest
DELETED
@@ -1,55 +0,0 @@
|
|
1
|
-
require 'autotest/restart'
|
2
|
-
require 'autotest/bundler'
|
3
|
-
|
4
|
-
Autotest.add_hook :initialize do |at|
|
5
|
-
at.testlib = 'test/unit test/autocolor'
|
6
|
-
|
7
|
-
# Remove the old test unit mappings
|
8
|
-
at.clear_mappings
|
9
|
-
|
10
|
-
# Don't track other dirs, this just burns cpu.
|
11
|
-
(File.read('.gitignore').split("\n") + Dir['test/fixtures/**/*']).each do |ignore|
|
12
|
-
next if ignore.nil? or ignore.empty?
|
13
|
-
at.add_exception ignore
|
14
|
-
end
|
15
|
-
|
16
|
-
# Test::Unit is normally test_, so autotest doesn't have this mapping. Tests
|
17
|
-
# want to match themselves, that is, if there's no changes, run them all.
|
18
|
-
at.add_mapping(%r%^test/.*_test\.rb$%) { |f, _| f }
|
19
|
-
|
20
|
-
# Allow for matches of lib files to test files in a flat way
|
21
|
-
at.add_mapping(%r%^lib/(.*)\.rb$%) do |f, md|
|
22
|
-
at.files_matching( %r%^test/#{md[1]}_test\.rb$%)
|
23
|
-
end
|
24
|
-
|
25
|
-
# Make sure that we run all tests if the helper changes:
|
26
|
-
at.add_mapping(%r%^test/helper\.rb$%) do |f, _|
|
27
|
-
at.files_matching %r%.*_test\.rb%
|
28
|
-
end
|
29
|
-
|
30
|
-
# If bundle did something, run all tests again
|
31
|
-
at.add_mapping(%r%^Gemfile\.lock$%) do |f, _|
|
32
|
-
at.files_matching %r%.*_test\.rb%
|
33
|
-
end
|
34
|
-
|
35
|
-
# If update support, run all tests
|
36
|
-
at.add_mapping(%r%^test/support/.*\.rb$%) do |f, _|
|
37
|
-
at.files_matching %r%.*_test\.rb%
|
38
|
-
end
|
39
|
-
|
40
|
-
def at.path_to_classname(path)
|
41
|
-
file = File.basename(path, '.rb')
|
42
|
-
|
43
|
-
file.gsub!('test_', '')
|
44
|
-
file.gsub!('_test', '')
|
45
|
-
file.capitalize + 'Test'
|
46
|
-
end
|
47
|
-
|
48
|
-
end
|
49
|
-
|
50
|
-
# If the Gemfile gets updated, run bundle install
|
51
|
-
Autotest.add_hook :updated do |at, *args|
|
52
|
-
if args.flatten.grep(%r%^Gemfile$|^.*\.gemspec$%).any?
|
53
|
-
system 'bundle'
|
54
|
-
end
|
55
|
-
end
|
data/.gitignore
DELETED
@@ -1,13 +0,0 @@
|
|
1
|
-
.DS_Store
|
2
|
-
.rvmrc
|
3
|
-
pkg/*
|
4
|
-
*.gem
|
5
|
-
.bundle
|
6
|
-
Gemfile.lock
|
7
|
-
doc
|
8
|
-
|
9
|
-
test/fixtures/rails_root/log
|
10
|
-
test/fixtures/rails_root/public/stylesheets/cache
|
11
|
-
test/fixtures/rails_root/public/javascripts/cache
|
12
|
-
test/fixtures/rails_root/public/stylesheets/sprites
|
13
|
-
test/fixtures/rails_root/public/images/sprites
|
data/Gemfile
DELETED
data/Rakefile
DELETED
@@ -1,18 +0,0 @@
|
|
1
|
-
require 'rake/testtask'
|
2
|
-
require 'bundler'
|
3
|
-
require 'bundler/setup'
|
4
|
-
Bundler::GemHelper.install_tasks
|
5
|
-
|
6
|
-
Rake::TestTask.new(:test) do |t|
|
7
|
-
t.libs << "test"
|
8
|
-
t.pattern = 'test/**/*_test.rb'
|
9
|
-
t.verbose = true
|
10
|
-
end
|
11
|
-
|
12
|
-
task :environment do
|
13
|
-
load 'test/fixtures/rails_root/config/environment.rb'
|
14
|
-
end
|
15
|
-
|
16
|
-
Dir['lib/tasks/**/*.rake'].each {|f| load f}
|
17
|
-
|
18
|
-
task :default => :test
|
data/active_assets.gemspec
DELETED
@@ -1,27 +0,0 @@
|
|
1
|
-
# -*- encoding: utf-8 -*-
|
2
|
-
Gem::Specification.new do |s|
|
3
|
-
s.name = "active_assets"
|
4
|
-
s.version = '0.2.0.rc'
|
5
|
-
s.platform = Gem::Platform::RUBY
|
6
|
-
s.authors = ["Sam Woodard"]
|
7
|
-
s.email = ["sam@wildfireapp.com"]
|
8
|
-
s.homepage = "http://github.com/shwoodard/active_assets"
|
9
|
-
s.summary = %q{A Railtie that provides a full asset management system, including support for development and deployment.}
|
10
|
-
s.description = %q{A Railtie that provides a full asset management system, including support for development and deployment. It is comprised of two libraries, ActiveSprites and ActiveExpansions. ActiveSprites generates sprites and their corresponding stylesheet from dsl definition. ActiveExpansions manages javascript and css, including concatenation support for deployment, using Rails expansions plus a dsl.}
|
11
|
-
|
12
|
-
s.rubyforge_project = "activeassets"
|
13
|
-
|
14
|
-
s.files = `git ls-files`.split("\n")
|
15
|
-
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
16
|
-
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
17
|
-
s.require_paths = ["lib"]
|
18
|
-
|
19
|
-
s.add_runtime_dependency 'rmagick'
|
20
|
-
|
21
|
-
s.add_development_dependency "sinatra", "~>1.1.2"
|
22
|
-
s.add_development_dependency "thin", "~>1.2.7"
|
23
|
-
s.add_development_dependency "rails", "~>3.0.3"
|
24
|
-
s.add_development_dependency "test-unit", "> 2.0"
|
25
|
-
s.add_development_dependency "capybara", "~>0.4.1.1"
|
26
|
-
s.add_development_dependency "ZenTest", "~>4.4.2"
|
27
|
-
end
|
data/config.ru
DELETED
data/script/console
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
irb -I./test/fixtures/rails_root -rrubygems -rbundler/setup -rconfig/environment
|
data/script/server
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
rackup -I./test/fixtures/sinatra_root -p 3000 -s thin
|
data/script/test_server
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
java -Xms32m -Xmx1024m -cp vendor/jruby-complete-1.5.6.jar com.martiansoftware.nailgun.NGServer
|
data/vendor/bin/ng
DELETED
Binary file
|
data/vendor/bin/ng.exe
DELETED
Binary file
|
Binary file
|