jsus 0.3.6 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (71) hide show
  1. data/.travis.yml +2 -0
  2. data/CHANGELOG +5 -0
  3. data/Gemfile +7 -4
  4. data/VERSION +1 -1
  5. data/bin/jsus +1 -5
  6. data/cucumber.yml +1 -1
  7. data/features/command-line/external_dependency_resolution.feature +4 -4
  8. data/features/command-line/generate_includes.feature +34 -0
  9. data/features/command-line/mooforge_compatibility_layer.feature +1 -1
  10. data/features/command-line/postproc.feature +12 -3
  11. data/features/command-line/structure_json.feature +5 -40
  12. data/features/data/ExternalDependencyWithExternalDependency/Leonardo/Source/Core.js +2 -2
  13. data/features/step_definitions/cli_steps.rb +15 -9
  14. data/features/support/env.rb +1 -1
  15. data/jsus.gemspec +25 -7
  16. data/lib/extensions/rgl.rb +2 -1
  17. data/lib/jsus/cli.rb +43 -27
  18. data/lib/jsus/container.rb +71 -51
  19. data/lib/jsus/middleware.rb +2 -3
  20. data/lib/jsus/package.rb +27 -129
  21. data/lib/jsus/packager.rb +10 -6
  22. data/lib/jsus/pool.rb +48 -20
  23. data/lib/jsus/source_file.rb +119 -198
  24. data/lib/jsus/tag.rb +72 -106
  25. data/lib/jsus/util.rb +14 -4
  26. data/lib/jsus/util/compressor.rb +1 -1
  27. data/lib/jsus/util/documenter.rb +1 -1
  28. data/lib/jsus/util/mixins.rb +7 -0
  29. data/lib/jsus/util/mixins/operates_on_sources.rb +29 -0
  30. data/lib/jsus/util/post_processor.rb +35 -0
  31. data/lib/jsus/util/post_processor/base.rb +32 -0
  32. data/lib/jsus/util/post_processor/moocompat12.rb +19 -0
  33. data/lib/jsus/util/post_processor/mooltie8.rb +19 -0
  34. data/lib/jsus/util/post_processor/semicolon.rb +18 -0
  35. data/lib/jsus/util/validator/base.rb +3 -23
  36. data/lib/jsus/util/watcher.rb +8 -6
  37. data/spec/data/Extensions/app/javascripts/Core/Source/Hash.js +13 -0
  38. data/spec/data/Extensions/app/javascripts/Core/Source/Mash.js +13 -0
  39. data/spec/data/Extensions/app/javascripts/Core/package.yml +3 -1
  40. data/spec/data/Extensions/app/javascripts/Orwik/Extensions/Mash.js +16 -0
  41. data/spec/data/Extensions/app/javascripts/Orwik/package.yml +2 -1
  42. data/spec/data/OutsideDependencies/app/javascripts/Orwik/package.yml +3 -3
  43. data/spec/data/SimpleSources/dependent_source_one.js +15 -0
  44. data/spec/data/SimpleSources/replacement_source_one.js +13 -0
  45. data/spec/data/SimpleSources/simple_source_one.js +13 -0
  46. data/spec/data/SimpleSources/simple_source_two.js +13 -0
  47. data/spec/data/extension_1.js +15 -0
  48. data/spec/data/extension_2.js +15 -0
  49. data/spec/data/replacement.js +15 -0
  50. data/spec/jsus/container_spec.rb +72 -14
  51. data/spec/jsus/package_spec.rb +10 -128
  52. data/spec/jsus/packager_spec.rb +11 -11
  53. data/spec/jsus/pool_spec.rb +13 -22
  54. data/spec/jsus/source_file_spec.rb +66 -215
  55. data/spec/jsus/tag_spec.rb +24 -69
  56. data/spec/jsus/util/documenter_spec.rb +1 -1
  57. data/spec/jsus/util/post_processor/moocompat12_spec.rb +23 -0
  58. data/spec/jsus/util/post_processor/mooltie8_spec.rb +23 -0
  59. data/spec/jsus/util/post_processor/semicolon_spec.rb +21 -0
  60. data/spec/jsus/util/post_processors/base_spec.rb +6 -0
  61. data/spec/jsus/util/tree_spec.rb +3 -3
  62. data/spec/jsus/util/validator/base_spec.rb +4 -2
  63. data/spec/jsus/util/watcher_spec.rb +12 -2
  64. data/spec/shared/mixins_segs.rb +38 -0
  65. data/spec/spec_helper.rb +6 -0
  66. metadata +28 -10
  67. data/features/data/tmp2/package.js +0 -35
  68. data/features/data/tmp2/scripts.json +0 -13
  69. data/features/data/tmp2/tree.json +0 -26
  70. data/lib/jsus/compiler.rb +0 -28
  71. data/spec/shared/class_stubs.rb +0 -31
@@ -4,59 +4,23 @@ describe Jsus::Tag do
4
4
  subject { Jsus::Tag.new("Wtf") }
5
5
 
6
6
  context "initialization" do
7
- it "should set given name" do
8
- Jsus::Tag.new("Wtf").name.should == "Wtf"
9
- end
10
-
11
- it "should truncate leading slash with optional period (.)" do
12
- Jsus::Tag.new("/Class").name.should == "Class"
13
- end
14
-
15
- it "should parse package name" do
16
- Jsus::Tag.new("Class").package_name.should == ""
17
- Jsus::Tag.new("Core/Wtf").package_name.should == "Core"
18
- Jsus::Tag.new("Core/Subpackage/Wtf").package_name.should == "Core/Subpackage"
19
- end
20
-
21
- it "should allow explicit package setting" do
22
- Jsus::Tag.new("Wtf", :package => Package.new(:name => "Core")).name.should == "Core/Wtf"
7
+ it "should set given full name" do
8
+ Jsus::Tag.new("Wtf").full_name.should == "Wtf"
9
+ Jsus::Tag.new("Core/Wtf").full_name.should == "Core/Wtf"
23
10
  end
24
11
 
25
- it "should set external flag if it looks like an external dependency and not given a package option" do
26
- Jsus::Tag.new("Core/WTF").should be_external
27
- end
28
-
29
- it "should not set external flag if it doesn't look like an external dependency and not given a package option" do
30
- Jsus::Tag.new("WTF").should_not be_external
31
- end
32
-
33
- it "should set external flag if package from options is not the same as parsed package" do
34
- Jsus::Tag.new("Core/WTF", :package => Package.new(:name => "Class")).should be_external
35
- end
36
-
37
- it "should not set external flag if package from options is the same as parsed package" do
38
- Jsus::Tag.new("Core/WTF", :package => Package.new(:name => "Core")).should_not be_external
39
- end
40
-
41
- it "should use implcit package setting whenever possible" do
42
- Jsus::Tag.new("Class/Wtf", :package => Package.new(:name => "Core")).name.should == "Class/Wtf"
43
- end
44
-
45
- it "should return a given tag if given a tag" do
46
- Jsus::Tag.new(subject).should == subject
47
- end
48
-
49
- it "should translate mooforge styled names into jsus-styled names" do
50
- Jsus::Tag.new("mootools_core/Wtf").should == Jsus::Tag.new("MootoolsCore/Wtf")
51
- Jsus::Tag.new("Effects.Fx/Hello.World").should == Jsus::Tag.new("EffectsFx/Hello.World")
52
- Jsus::Tag.new("effects.fx/Wtf").should == Jsus::Tag.new("EffectsFx/Wtf")
12
+ it "when given a tag it should return that tag" do
13
+ tag = Jsus::Tag.new("Wtf")
14
+ new_tag = Jsus::Tag.new(tag)
15
+ new_tag.should == tag
16
+ new_tag.object_id.should == tag.object_id
53
17
  end
54
18
  end
55
19
 
56
20
  describe "#name" do
57
- it "should return full name unless asked for a short form" do
58
- Jsus::Tag.new("Core/Wtf").name.should == "Core/Wtf"
59
- Jsus::Tag.new("Core/Subpackage/Wtf").name.should == "Core/Subpackage/Wtf"
21
+ it "should return short form of the tag" do
22
+ Jsus::Tag.new("Core/Wtf").name.should == "Wtf"
23
+ Jsus::Tag.new("Core/Subpackage/Wtf").name.should == "Wtf"
60
24
  end
61
25
 
62
26
  it "should not add slashes if package name is not set" do
@@ -66,35 +30,26 @@ describe Jsus::Tag do
66
30
  it "should strip leading slashes" do
67
31
  Jsus::Tag.new("./Wtf").name.should == "Wtf"
68
32
  end
69
-
70
- it "should remove package from short form of non-external tags" do
71
- tag = Jsus::Tag.new("Core/WTF")
72
- tag.external = false
73
- tag.name(:short => true).should == "WTF"
74
- end
75
-
76
33
  end
77
34
 
78
- describe ".normalize_name_and_options" do
79
- it "should parse name as full name if no options given" do
80
- normalized = Jsus::Tag.normalize_name_and_options("Core/Wtf")
81
- normalized[:name].should == "Wtf"
82
- normalized[:package_name].should == "Core"
35
+ describe "#namespace" do
36
+ it "should be nil for empty namespace" do
37
+ Jsus::Tag.new("Class").namespace.should be_nil
83
38
  end
84
39
 
85
- it "should strip leading slash" do
86
- Jsus::Tag.normalize_name_and_options("./Core/Wtf")[:package_name].should == "Core"
87
- Jsus::Tag.normalize_name_and_options("./Core/Wtf")[:name].should == "Wtf"
88
- Jsus::Tag.normalize_name_and_options("./Wtf")[:name].should == "Wtf"
40
+ it "should be non-empty for non-empty namespace" do
41
+ Jsus::Tag.new("Core/Class").namespace.should == "Core"
42
+ Jsus::Tag.new("Mootools/Core/Class").namespace.should == "Mootools/Core"
89
43
  end
44
+ end
90
45
 
91
- it "should use given package name whenever no package name can be restored from name" do
92
- Jsus::Tag.normalize_name_and_options("Wtf", :package => Package.new(:name => "Core"))[:package_name].should == "Core"
93
- Jsus::Tag.normalize_name_and_options("./Wtf", :package => Package.new(:name => "Core"))[:package_name].should == "Core"
46
+ describe "#==" do
47
+ it "should translate mooforge styled names into jsus-styled names" do
48
+ Jsus::Tag.new("mootools_core/Wtf").should == Jsus::Tag.new("MootoolsCore/Wtf")
94
49
  end
95
50
 
96
- it "should parse name as full name whenever possible" do
97
- Jsus::Tag.normalize_name_and_options("Class/Wtf", :package => Package.new(:name => "Core"))[:package_name].should == "Class"
51
+ it "should distinguish between same name in different namespaces" do
52
+ Jsus::Tag.new("Mootools/Slick.Finder").should_not == Jsus::Tag.new("Slick/Slick.Finder")
98
53
  end
99
54
  end
100
55
 
@@ -125,4 +80,4 @@ describe Jsus::Tag do
125
80
  end
126
81
 
127
82
 
128
- end
83
+ end
@@ -28,4 +28,4 @@ describe Jsus::Util::Documenter do
28
28
  end
29
29
  end
30
30
 
31
- end
31
+ end
@@ -0,0 +1,23 @@
1
+ require 'spec_helper'
2
+
3
+ describe Jsus::Util::PostProcessor::Moocompat12 do
4
+ it_should_behave_like "Jsus::Util::Mixins::OperatesOnSources"
5
+
6
+ let(:input_dir) { "spec/data/ComplexDependencies" }
7
+ let(:pool) { Jsus::Pool.new(input_dir) }
8
+
9
+ describe "#process" do
10
+ subject { described_class.new(pool) }
11
+ let!(:source) { pool.sources.detect {|s| s.source.index("1.2compat") } }
12
+
13
+ it "should remove 1.2compat tags" do
14
+ subject.process.each {|s| s.source.index("1.2compat").should be_nil }
15
+ end
16
+
17
+ it "should not mutate arguments" do
18
+ source.source.index("1.2compat").should_not be_nil
19
+ subject.process
20
+ source.source.index("1.2compat").should_not be_nil
21
+ end
22
+ end
23
+ end
@@ -0,0 +1,23 @@
1
+ require 'spec_helper'
2
+
3
+ describe Jsus::Util::PostProcessor::MooltIE8 do
4
+ it_should_behave_like "Jsus::Util::Mixins::OperatesOnSources"
5
+
6
+ let(:input_dir) { "spec/data/ComplexDependencies" }
7
+ let(:pool) { Jsus::Pool.new(input_dir) }
8
+
9
+ describe "#process" do
10
+ subject { described_class.new(pool) }
11
+ let!(:source) { pool.sources.detect {|s| s.source.index("ltIE8") } }
12
+
13
+ it "should remove ltIE8 tags" do
14
+ subject.process.each {|s| s.source.index("ltIE8").should be_nil }
15
+ end
16
+
17
+ it "should not mutate arguments" do
18
+ source.source.index("ltIE8").should_not be_nil
19
+ subject.process
20
+ source.source.index("ltIE8").should_not be_nil
21
+ end
22
+ end
23
+ end
@@ -0,0 +1,21 @@
1
+ require 'spec_helper'
2
+
3
+ describe Jsus::Util::PostProcessor::Semicolon do
4
+ it_should_behave_like "Jsus::Util::Mixins::OperatesOnSources"
5
+
6
+ let(:input_dir) { "spec/data/ComplexDependencies" }
7
+ let(:pool) { Jsus::Pool.new(input_dir) }
8
+
9
+ describe "#process" do
10
+ subject { described_class.new(pool) }
11
+
12
+ it "should add semicolon to the beginning of each file" do
13
+ subject.process.each {|source| source.source[0,1].should == ";" }
14
+ end
15
+
16
+ it "should not mutate arguments" do
17
+ subject.process
18
+ pool.sources.each {|source| source.source[0,1].should_not == ";" }
19
+ end
20
+ end
21
+ end
@@ -0,0 +1,6 @@
1
+ require 'spec_helper'
2
+
3
+ describe Jsus::Util::PostProcessor::Base do
4
+ it_should_behave_like "Jsus::Util::Mixins::OperatesOnSources"
5
+ subject { described_class.new }
6
+ end
@@ -104,8 +104,8 @@ describe Jsus::Util::Tree do
104
104
  end
105
105
 
106
106
  it "should allow tags for nodes insertion" do
107
- subject.insert(Jsus::Tag["hello"], "world")
108
- subject.root.children[0].full_path.should == "/hello"
107
+ subject.insert(Jsus::Tag["Hello"], "world")
108
+ subject.root.children[0].full_path.should == "/Hello"
109
109
  subject.root.children[0].value.should == "world"
110
110
  end
111
111
  end
@@ -274,4 +274,4 @@ describe Jsus::Util::Tree do
274
274
 
275
275
  end
276
276
 
277
- end
277
+ end
@@ -1,10 +1,11 @@
1
1
  require 'spec_helper'
2
2
 
3
3
  describe Jsus::Util::Validator::Base do
4
- subject { described_class.new(pool) }
4
+ it_should_behave_like "Jsus::Util::Mixins::OperatesOnSources"
5
5
  let(:input_dir) { "spec/data/ChainDependencies/app/javascripts" }
6
6
  let!(:pool) { Jsus::Pool.new(input_dir) }
7
7
  context "initialization" do
8
+ subject { described_class.new(pool) }
8
9
  it "should accept pool as the first argument" do
9
10
  described_class.new(pool).source_files.should =~ pool.sources.to_a
10
11
  end
@@ -23,6 +24,7 @@ describe Jsus::Util::Validator::Base do
23
24
  end
24
25
 
25
26
  describe ".validate" do
27
+ subject { described_class.new(pool) }
26
28
  it "should be the same as calling new + validate" do
27
29
  validator = mock
28
30
  described_class.should_receive(:new).with([1]).and_return(validator)
@@ -30,4 +32,4 @@ describe Jsus::Util::Validator::Base do
30
32
  described_class.validate([1])
31
33
  end
32
34
  end
33
- end
35
+ end
@@ -23,10 +23,10 @@ describe Jsus::Util::Watcher do
23
23
 
24
24
  describe ".watch" do
25
25
  let(:watched_file) { "#{directory}/hello.js" }
26
- def watch(directory, callback_countdown = 1, &block)
26
+ def watch(directory, callback_countdown = 1, ignored_dirs = [], &block)
27
27
  @main_thread = Thread.current
28
28
  @watcher_thread = Thread.new do
29
- described_class.watch(directory) do |*args|
29
+ described_class.watch(directory, ignored_dirs) do |*args|
30
30
  yield(*args)
31
31
  callback_countdown -= 1
32
32
  @main_thread.wakeup if callback_countdown <= 0
@@ -118,5 +118,15 @@ describe Jsus::Util::Watcher do
118
118
  stop_watching
119
119
  @callback_called.should == true
120
120
  end
121
+
122
+ it "should ignore ignored dirs" do
123
+ FileUtils.mkdir_p("#{directory}/output")
124
+ watch(directory, 1, ["#{directory}/output"]) do
125
+ @callback_called = true
126
+ end
127
+ File.open("#{directory}/output/out.js", "w+") {|f| f.puts "Hello, world" }
128
+ stop_watching
129
+ @callback_called.should be_false
130
+ end
121
131
  end
122
132
  end
@@ -0,0 +1,38 @@
1
+ shared_examples_for "Jsus::Util::Mixins::OperatesOnSources" do
2
+ let(:sources) { (0..3).map {|i| Jsus::SourceFile.from_file("spec/data/test_source_one.js") } }
3
+ it "should respond to source_files, source_files=" do
4
+ subject.should respond_to(:source_files, :source_files=)
5
+ end
6
+
7
+ describe "#source_files=" do
8
+ it "should accept array" do
9
+ subject.source_files = sources
10
+ subject.source_files.should =~ sources
11
+ end
12
+
13
+ it "should accept container" do
14
+ container = mock("Container", :to_a => sources)
15
+ subject.source_files = sources
16
+ subject.source_files.should =~ sources
17
+ end
18
+
19
+ it "should accept pool" do
20
+ pool = mock("Pool", :sources => sources)
21
+ subject.source_files = sources
22
+ subject.source_files.should =~ sources
23
+ end
24
+
25
+ it "should default to empty array if given anything else" do
26
+ subject.source_files = nil
27
+ subject.source_files.should == []
28
+ subject.source_files = 0
29
+ subject.source_files.should == []
30
+ end
31
+ end
32
+
33
+ describe "#source_files" do
34
+ it "should default with empty array" do
35
+ subject.source_files.should == []
36
+ end
37
+ end
38
+ end
@@ -6,6 +6,12 @@ $LOAD_PATH.unshift File.expand_path(File.join(File.dirname(__FILE__), ".."))
6
6
  require 'lib/jsus'
7
7
  Dir["spec/shared/*.rb"].each {|f| require f}
8
8
 
9
+ RSpec.configure do |c|
10
+ c.filter_run :focus => true
11
+ c.filter_run_excluding :ignore => true
12
+ c.run_all_when_everything_filtered = true
13
+ end
14
+
9
15
  # cleanup compiled stuff
10
16
  def cleanup
11
17
  `rm -rf spec/data/Basic/public`
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jsus
3
3
  version: !ruby/object:Gem::Version
4
- hash: 31
4
+ hash: 15
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
- - 3
9
- - 6
10
- version: 0.3.6
8
+ - 4
9
+ - 0
10
+ version: 0.4.0
11
11
  platform: ruby
12
12
  authors:
13
13
  - Mark Abramov
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-09-18 00:00:00 +04:00
18
+ date: 2011-11-01 00:00:00 +04:00
19
19
  default_executable: jsus
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -318,6 +318,7 @@ files:
318
318
  - features/command-line/compression.feature
319
319
  - features/command-line/extensions.feature
320
320
  - features/command-line/external_dependency_resolution.feature
321
+ - features/command-line/generate_includes.feature
321
322
  - features/command-line/json_package.feature
322
323
  - features/command-line/mooforge_compatibility_layer.feature
323
324
  - features/command-line/postproc.feature
@@ -368,16 +369,12 @@ files:
368
369
  - features/data/Replacements/Source/Library/Color.js
369
370
  - features/data/Replacements/package.yml
370
371
  - features/data/compression.min.js
371
- - features/data/tmp2/package.js
372
- - features/data/tmp2/scripts.json
373
- - features/data/tmp2/tree.json
374
372
  - features/step_definitions/cli_steps.rb
375
373
  - features/support/env.rb
376
374
  - jsus.gemspec
377
375
  - lib/extensions/rgl.rb
378
376
  - lib/jsus.rb
379
377
  - lib/jsus/cli.rb
380
- - lib/jsus/compiler.rb
381
378
  - lib/jsus/container.rb
382
379
  - lib/jsus/middleware.rb
383
380
  - lib/jsus/package.rb
@@ -392,6 +389,13 @@ files:
392
389
  - lib/jsus/util/file_cache.rb
393
390
  - lib/jsus/util/inflection.rb
394
391
  - lib/jsus/util/logger.rb
392
+ - lib/jsus/util/mixins.rb
393
+ - lib/jsus/util/mixins/operates_on_sources.rb
394
+ - lib/jsus/util/post_processor.rb
395
+ - lib/jsus/util/post_processor/base.rb
396
+ - lib/jsus/util/post_processor/moocompat12.rb
397
+ - lib/jsus/util/post_processor/mooltie8.rb
398
+ - lib/jsus/util/post_processor/semicolon.rb
395
399
  - lib/jsus/util/tree.rb
396
400
  - lib/jsus/util/validator.rb
397
401
  - lib/jsus/util/validator/base.rb
@@ -431,8 +435,11 @@ files:
431
435
  - spec/data/DependenciesWildcards/app/javascripts/Mash/Source/Mash.js
432
436
  - spec/data/DependenciesWildcards/app/javascripts/Mash/package.yml
433
437
  - spec/data/Extensions/app/javascripts/Core/Source/Class.js
438
+ - spec/data/Extensions/app/javascripts/Core/Source/Hash.js
439
+ - spec/data/Extensions/app/javascripts/Core/Source/Mash.js
434
440
  - spec/data/Extensions/app/javascripts/Core/package.yml
435
441
  - spec/data/Extensions/app/javascripts/Orwik/Extensions/Class.js
442
+ - spec/data/Extensions/app/javascripts/Orwik/Extensions/Mash.js
436
443
  - spec/data/Extensions/app/javascripts/Orwik/package.yml
437
444
  - spec/data/ExternalDependencies/app/javascripts/Orwik/Source/Test.js
438
445
  - spec/data/ExternalDependencies/app/javascripts/Orwik/package.yml
@@ -473,9 +480,16 @@ files:
473
480
  - spec/data/OutsideDependencies/app/javascripts/Orwik/Source/Widget/Input/Input.js
474
481
  - spec/data/OutsideDependencies/app/javascripts/Orwik/Source/Widget/Widget.js
475
482
  - spec/data/OutsideDependencies/app/javascripts/Orwik/package.yml
483
+ - spec/data/SimpleSources/dependent_source_one.js
484
+ - spec/data/SimpleSources/replacement_source_one.js
485
+ - spec/data/SimpleSources/simple_source_one.js
486
+ - spec/data/SimpleSources/simple_source_two.js
476
487
  - spec/data/bad_test_source_one.js
477
488
  - spec/data/bad_test_source_two.js
489
+ - spec/data/extension_1.js
490
+ - spec/data/extension_2.js
478
491
  - spec/data/mooforge_quirky_source.js
492
+ - spec/data/replacement.js
479
493
  - spec/data/test_source_one.js
480
494
  - spec/data/unicode_source.js
481
495
  - spec/data/unicode_source_with_bom.js
@@ -492,12 +506,16 @@ files:
492
506
  - spec/jsus/util/file_cache_spec.rb
493
507
  - spec/jsus/util/inflection_spec.rb
494
508
  - spec/jsus/util/logger_spec.rb
509
+ - spec/jsus/util/post_processor/moocompat12_spec.rb
510
+ - spec/jsus/util/post_processor/mooltie8_spec.rb
511
+ - spec/jsus/util/post_processor/semicolon_spec.rb
512
+ - spec/jsus/util/post_processors/base_spec.rb
495
513
  - spec/jsus/util/tree_spec.rb
496
514
  - spec/jsus/util/validator/base_spec.rb
497
515
  - spec/jsus/util/validator/mooforge_spec.rb
498
516
  - spec/jsus/util/watcher_spec.rb
499
517
  - spec/jsus/util_spec.rb
500
- - spec/shared/class_stubs.rb
518
+ - spec/shared/mixins_segs.rb
501
519
  - spec/spec_helper.rb
502
520
  has_rdoc: true
503
521
  homepage: http://github.com/jsus/jsus
@@ -1,35 +0,0 @@
1
- /*
2
- ---
3
-
4
- script: Color.js
5
-
6
- description: A library to work with colors
7
-
8
- license: MIT-style license
9
-
10
- authors:
11
- - Valerio Proietti
12
-
13
- provides: [Color]
14
-
15
- ...
16
- */
17
- /*
18
- ---
19
-
20
- script: Input.Color.js
21
-
22
- description: Cool colorpicker for everyone to enjoy
23
-
24
- license: MIT-style license
25
-
26
- authors:
27
- - Yaroslaff Fedin
28
-
29
- requires:
30
- - Color
31
-
32
- provides: [Input.Color]
33
-
34
- ...
35
- */