architecture-js 0.3.8 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile CHANGED
@@ -1,6 +1,6 @@
1
- source "http://rubygems.org"
1
+ source :rubygems
2
2
 
3
- gem "fssm", "~> 0.2.8.1"
3
+ gem "listen"
4
4
  gem "jsmin", "~> 1.0.1"
5
5
 
6
6
  group :test do
@@ -11,6 +11,4 @@ group :development do
11
11
  gem "rspec", "~> 2.8.0"
12
12
  gem "bundler"
13
13
  gem "jeweler", "~> 1.8.3"
14
- gem "ZenTest", "~> 4.6.2"
15
- gem "autotest-growl", "~> 0.2.16"
16
14
  end
data/Gemfile.lock CHANGED
@@ -1,10 +1,8 @@
1
1
  GEM
2
2
  remote: http://rubygems.org/
3
3
  specs:
4
- ZenTest (4.6.2)
5
- autotest-growl (0.2.16)
6
4
  diff-lcs (1.1.3)
7
- fssm (0.2.8.1)
5
+ ffi (1.0.11)
8
6
  git (1.2.5)
9
7
  jeweler (1.8.3)
10
8
  bundler (~> 1.0)
@@ -12,9 +10,18 @@ GEM
12
10
  rake
13
11
  rdoc
14
12
  jsmin (1.0.1)
15
- json (1.6.6)
13
+ json (1.7.3)
14
+ listen (0.4.2)
15
+ rb-fchange (~> 0.0.5)
16
+ rb-fsevent (~> 0.9.1)
17
+ rb-inotify (~> 0.8.8)
16
18
  multi_json (1.0.4)
17
19
  rake (0.9.2.2)
20
+ rb-fchange (0.0.5)
21
+ ffi
22
+ rb-fsevent (0.9.1)
23
+ rb-inotify (0.8.8)
24
+ ffi (>= 0.5.0)
18
25
  rdoc (3.12)
19
26
  json (~> 1.4)
20
27
  rspec (2.8.0)
@@ -34,11 +41,9 @@ PLATFORMS
34
41
  ruby
35
42
 
36
43
  DEPENDENCIES
37
- ZenTest (~> 4.6.2)
38
- autotest-growl (~> 0.2.16)
39
44
  bundler
40
- fssm (~> 0.2.8.1)
41
45
  jeweler (~> 1.8.3)
42
46
  jsmin (~> 1.0.1)
47
+ listen
43
48
  rspec (~> 2.8.0)
44
49
  simplecov (~> 0.5.4)
data/README.md CHANGED
@@ -1,13 +1,14 @@
1
1
  # architecture-js [![Build Status](https://secure.travis-ci.org/daytonn/architecture-js.png)](http://travis-ci.org/daytonn/architecture-js)
2
2
 
3
+ [Documentation](http://daytonn.github.com/architecture-js/)
4
+
3
5
  ##About
4
- ArchitectureJS is a suite of tools to help you build and manage complex javascript applications and frameworks. With ArchitectureJS you can compile, and compress your javascript application all in real time as you write plain old vanilla javascript, create project scaffolding and generate dynamic templates, manage third-party and custom libraries. In addition to large applications, ArchitectureJS is perfect for developing your own javascript frameworks and libraries. ArchitectureJS contains the following tools to help you build modern javascript applications and frameworks:
6
+ ArchitectureJS is javascript build tool that helps you create and manage large-scale javascript applications with one simple command line interface. The goal of Architecturejs is to take the headache out of managing complex javascript code. ArchitectureJS is really a few tools rolled into one that provides a simple but flexible workflow:
5
7
 
6
8
  * Project-specific configuration to manage defaults and dependencies
7
9
  * JavaScript Compiler (Sprockets 1.0.2)
8
10
  * JavaScript Compression (JSMin)
9
11
  * Scaffold generation using editable templates
10
- * Custom local JavaScript package management _(not yet implemented)_
11
12
  * Realtime file monitoring utility to compile your application while you code
12
13
 
13
14
  ## Installation
@@ -24,7 +25,7 @@ ArchitectureJS comes with a small command line utility named `architect` to mana
24
25
 
25
26
  architect -h
26
27
 
27
- If `architect` is installed correctly, this command will display the help menu. You will see there are only a few simple commands: create, compile, watch, and generate. These commands are all you need to manage complex javascript applications and frameworks.
28
+ If `architect` is installed, you should see the help menu. There are only a few simple commands: create, compile, watch, and generate. These commands are all you need to manage your architecture projects.
28
29
 
29
30
  To create an architect application use the create command (where "myapp" is the name of _your_ application)
30
31
 
@@ -39,7 +40,7 @@ This will create the default project scaffold:
39
40
 
40
41
  <a id="configuration"></a>
41
42
  ## Default Configurtaion
42
- The `myapp.blueprint` file contains the configuration for your architecture project. These few simple settings will give you a great amount of control over the compilation of your project. The default config file looks something like this
43
+ The `myapp.blueprint` file is the configuration file for your project. The default config file looks something like this
43
44
 
44
45
  blueprint: default
45
46
  src_dir: src
@@ -49,14 +50,14 @@ The `myapp.blueprint` file contains the configuration for your architecture proj
49
50
  name: myapp
50
51
 
51
52
  ### blueprint
52
- The `blueprint` is what determines the application scaffold and configuration settings. It defaults to `default` which is a bare bones project layout for simple javascript libraries. It has one directory for source files (src), and a build directory named "lib" for distributable code. Other blueprints can be plugged in to support any architecture. These blueprints can extend the basic architecture project including the scaffolding, templates, compilation tasks, and default templates. All blueprints will share the default configuration options (although some blueprints may treat them differently).
53
+ The project's `blueprint` is the scaffolding framework your application is based on. The default blueprint is `default` which is a bare bones layout for simple javascript libraries. It has one directory for source files (src), and a build directory named "lib" for distributable code. Other blueprints can be plugged in to support other architectures. These blueprints extend the basic project template and can have their own templates, compilation tasks, and project scaffolding. Third party blueprints may have many of their own properties and layouts, but all ArchitectureJS projects will share this same core properties contained in this default blueprint.
53
54
 
54
55
  ### src_dir
55
- The `src_dir` is the directory or directories where the source files that will be compiled into the build directory (`build_dir`) are kept. By default the `src_dir` is usually a single directory represented as a string:
56
+ The `src_dir` is the directory or directories where the source files to be compiled into the `build_dir` are kept. By default the `src_dir` is usually a single directory represented as a string:
56
57
 
57
58
  src_dir: src
58
59
 
59
- but can be multiple directories. If you wished to compile the files in the three directories named "classes", "widgets", and "plugins", src_dir would be an array:
60
+ However the src_dir can be multiple directories. To compile the files in the three directories named "classes", "widgets", and "plugins", src_dir would be an array:
60
61
 
61
62
  src_dir: [classes, widgets, plugins]
62
63
 
@@ -64,10 +65,10 @@ The `src_dir` is the directory or directories where the source files that will b
64
65
  Any files in these three directories would be compiled into the build directory, including their requirements.
65
66
 
66
67
  ### build_dir
67
- The `build_dir` is where all your source files will be compiled, including their requirements.
68
+ The `build_dir` is where all your source files will be compiled.
68
69
 
69
70
  ### asset_root
70
- The `asset_root` is where stylesheet and image assets will be installed by the `provide` directive. By default the `asset_root` is the project root. Stylesheets and images will be placed in css and images directories respectively.
71
+ The `asset_root` is where stylesheet and image assets will be installed by the `//= provide` directive. By default the `asset_root` is the project root. Stylesheets and images will be placed in css and images directories respectively.
71
72
 
72
73
  <a id="output"></a>
73
74
  ### output
@@ -78,7 +79,7 @@ The `name` is the name of your architecture project. The name value can be used
78
79
 
79
80
  <a id="sprockets"></a>
80
81
  ## Sprockets
81
- ArchitectureJS uses the Sprockets javascript compiler under the hood to allow you to create a file system architecture that corresponds to your application architecture. This is the heart of the ArchitectureJS system. In addition to concatenating scripts together with special comments, Sprockets can also include stylesheet and image assets required by script files. It has a basic syntax using javascript comments, gracefully enhancing plain old vanilla javascript.
82
+ ArchitectureJS uses Sprockets under the hood to enable using a file system layout that corresponds to your javascript architecture. This is the heart of the ArchitectureJS system. In addition to concatenating scripts, Sprockets can also include stylesheet and image assets used by scripts. It has a basic syntax using javascript comments, gracefully enhancing plain old vanilla javascript.
82
83
 
83
84
  Sprockets takes any number of source files and preprocesses them line-by-line in order to build a single concatenation. Specially formatted lines act as directives to the Sprockets preprocessor, telling it to require the contents of another file or library first or to provide a set of asset files to the document root. Sprockets attempts to fulfill required dependencies by searching a set of directories called the load path.
84
85
 
@@ -212,8 +213,6 @@ Which generates:
212
213
 
213
214
  This is obviously a contrived but not wholly unrealistic example of how you can use the architect template generator. Some blueprints contain default templates of their own which are available without the presence of a `/templates` folder. These templates should be documented by the blueprint's authors.
214
215
 
215
- ## Package Management
216
- _(Not Yet Implemented)_
217
216
 
218
217
  ##Contributing to architecture.js
219
218
 
data/Rakefile CHANGED
@@ -21,7 +21,7 @@ Jeweler::Tasks.new do |gem|
21
21
  # Include your dependencies below. Runtime dependencies are required when using your gem,
22
22
  # and development dependencies are only needed for development (ie running rake tasks, tests, etc)
23
23
  gem.add_runtime_dependency 'jsmin'
24
- gem.add_runtime_dependency 'fssm'
24
+ gem.add_runtime_dependency 'listen'
25
25
  # gem.add_development_dependency 'rspec', '> 1.2.3'
26
26
  end
27
27
  Jeweler::RubygemsDotOrgTasks.new
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.8
1
+ 0.4.0
data/docs/docco.css ADDED
@@ -0,0 +1,186 @@
1
+ /*--------------------- Layout and Typography ----------------------------*/
2
+ body {
3
+ font-family: 'Palatino Linotype', 'Book Antiqua', Palatino, FreeSerif, serif;
4
+ font-size: 15px;
5
+ line-height: 22px;
6
+ color: #252519;
7
+ margin: 0; padding: 0;
8
+ }
9
+ a {
10
+ color: #261a3b;
11
+ }
12
+ a:visited {
13
+ color: #261a3b;
14
+ }
15
+ p {
16
+ margin: 0 0 15px 0;
17
+ }
18
+ h1, h2, h3, h4, h5, h6 {
19
+ margin: 0px 0 15px 0;
20
+ }
21
+ h1 {
22
+ margin-top: 40px;
23
+ }
24
+ #container {
25
+ position: relative;
26
+ }
27
+ #background {
28
+ position: fixed;
29
+ top: 0; left: 525px; right: 0; bottom: 0;
30
+ background: #f5f5ff;
31
+ border-left: 1px solid #e5e5ee;
32
+ z-index: -1;
33
+ }
34
+ #jump_to, #jump_page {
35
+ background: white;
36
+ -webkit-box-shadow: 0 0 25px #777; -moz-box-shadow: 0 0 25px #777;
37
+ -webkit-border-bottom-left-radius: 5px; -moz-border-radius-bottomleft: 5px;
38
+ font: 10px Arial;
39
+ text-transform: uppercase;
40
+ cursor: pointer;
41
+ text-align: right;
42
+ }
43
+ #jump_to, #jump_wrapper {
44
+ position: fixed;
45
+ right: 0; top: 0;
46
+ padding: 5px 10px;
47
+ }
48
+ #jump_wrapper {
49
+ padding: 0;
50
+ display: none;
51
+ }
52
+ #jump_to:hover #jump_wrapper {
53
+ display: block;
54
+ }
55
+ #jump_page {
56
+ padding: 5px 0 3px;
57
+ margin: 0 0 25px 25px;
58
+ }
59
+ #jump_page .source {
60
+ display: block;
61
+ padding: 5px 10px;
62
+ text-decoration: none;
63
+ border-top: 1px solid #eee;
64
+ }
65
+ #jump_page .source:hover {
66
+ background: #f5f5ff;
67
+ }
68
+ #jump_page .source:first-child {
69
+ }
70
+ table td {
71
+ border: 0;
72
+ outline: 0;
73
+ }
74
+ td.docs, th.docs {
75
+ max-width: 450px;
76
+ min-width: 450px;
77
+ min-height: 5px;
78
+ padding: 10px 25px 1px 50px;
79
+ overflow-x: hidden;
80
+ vertical-align: top;
81
+ text-align: left;
82
+ }
83
+ .docs pre {
84
+ margin: 15px 0 15px;
85
+ padding-left: 15px;
86
+ }
87
+ .docs p tt, .docs p code {
88
+ background: #f8f8ff;
89
+ border: 1px solid #dedede;
90
+ font-size: 12px;
91
+ padding: 0 0.2em;
92
+ }
93
+ .pilwrap {
94
+ position: relative;
95
+ }
96
+ .pilcrow {
97
+ font: 12px Arial;
98
+ text-decoration: none;
99
+ color: #454545;
100
+ position: absolute;
101
+ top: 3px; left: -20px;
102
+ padding: 1px 2px;
103
+ opacity: 0;
104
+ -webkit-transition: opacity 0.2s linear;
105
+ }
106
+ td.docs:hover .pilcrow {
107
+ opacity: 1;
108
+ }
109
+ td.code, th.code {
110
+ padding: 14px 15px 16px 25px;
111
+ width: 100%;
112
+ vertical-align: top;
113
+ background: #f5f5ff;
114
+ border-left: 1px solid #e5e5ee;
115
+ }
116
+ pre, tt, code {
117
+ font-size: 12px; line-height: 18px;
118
+ font-family: Monaco, Consolas, "Lucida Console", monospace;
119
+ margin: 0; padding: 0;
120
+ }
121
+
122
+
123
+ /*---------------------- Syntax Highlighting -----------------------------*/
124
+ td.linenos { background-color: #f0f0f0; padding-right: 10px; }
125
+ span.lineno { background-color: #f0f0f0; padding: 0 5px 0 5px; }
126
+ body .hll { background-color: #ffffcc }
127
+ body .c { color: #408080; font-style: italic } /* Comment */
128
+ body .err { border: 1px solid #FF0000 } /* Error */
129
+ body .k { color: #954121 } /* Keyword */
130
+ body .o { color: #666666 } /* Operator */
131
+ body .cm { color: #408080; font-style: italic } /* Comment.Multiline */
132
+ body .cp { color: #BC7A00 } /* Comment.Preproc */
133
+ body .c1 { color: #408080; font-style: italic } /* Comment.Single */
134
+ body .cs { color: #408080; font-style: italic } /* Comment.Special */
135
+ body .gd { color: #A00000 } /* Generic.Deleted */
136
+ body .ge { font-style: italic } /* Generic.Emph */
137
+ body .gr { color: #FF0000 } /* Generic.Error */
138
+ body .gh { color: #000080; font-weight: bold } /* Generic.Heading */
139
+ body .gi { color: #00A000 } /* Generic.Inserted */
140
+ body .go { color: #808080 } /* Generic.Output */
141
+ body .gp { color: #000080; font-weight: bold } /* Generic.Prompt */
142
+ body .gs { font-weight: bold } /* Generic.Strong */
143
+ body .gu { color: #800080; font-weight: bold } /* Generic.Subheading */
144
+ body .gt { color: #0040D0 } /* Generic.Traceback */
145
+ body .kc { color: #954121 } /* Keyword.Constant */
146
+ body .kd { color: #954121; font-weight: bold } /* Keyword.Declaration */
147
+ body .kn { color: #954121; font-weight: bold } /* Keyword.Namespace */
148
+ body .kp { color: #954121 } /* Keyword.Pseudo */
149
+ body .kr { color: #954121; font-weight: bold } /* Keyword.Reserved */
150
+ body .kt { color: #B00040 } /* Keyword.Type */
151
+ body .m { color: #666666 } /* Literal.Number */
152
+ body .s { color: #219161 } /* Literal.String */
153
+ body .na { color: #7D9029 } /* Name.Attribute */
154
+ body .nb { color: #954121 } /* Name.Builtin */
155
+ body .nc { color: #0000FF; font-weight: bold } /* Name.Class */
156
+ body .no { color: #880000 } /* Name.Constant */
157
+ body .nd { color: #AA22FF } /* Name.Decorator */
158
+ body .ni { color: #999999; font-weight: bold } /* Name.Entity */
159
+ body .ne { color: #D2413A; font-weight: bold } /* Name.Exception */
160
+ body .nf { color: #0000FF } /* Name.Function */
161
+ body .nl { color: #A0A000 } /* Name.Label */
162
+ body .nn { color: #0000FF; font-weight: bold } /* Name.Namespace */
163
+ body .nt { color: #954121; font-weight: bold } /* Name.Tag */
164
+ body .nv { color: #19469D } /* Name.Variable */
165
+ body .ow { color: #AA22FF; font-weight: bold } /* Operator.Word */
166
+ body .w { color: #bbbbbb } /* Text.Whitespace */
167
+ body .mf { color: #666666 } /* Literal.Number.Float */
168
+ body .mh { color: #666666 } /* Literal.Number.Hex */
169
+ body .mi { color: #666666 } /* Literal.Number.Integer */
170
+ body .mo { color: #666666 } /* Literal.Number.Oct */
171
+ body .sb { color: #219161 } /* Literal.String.Backtick */
172
+ body .sc { color: #219161 } /* Literal.String.Char */
173
+ body .sd { color: #219161; font-style: italic } /* Literal.String.Doc */
174
+ body .s2 { color: #219161 } /* Literal.String.Double */
175
+ body .se { color: #BB6622; font-weight: bold } /* Literal.String.Escape */
176
+ body .sh { color: #219161 } /* Literal.String.Heredoc */
177
+ body .si { color: #BB6688; font-weight: bold } /* Literal.String.Interpol */
178
+ body .sx { color: #954121 } /* Literal.String.Other */
179
+ body .sr { color: #BB6688 } /* Literal.String.Regex */
180
+ body .s1 { color: #219161 } /* Literal.String.Single */
181
+ body .ss { color: #19469D } /* Literal.String.Symbol */
182
+ body .bp { color: #954121 } /* Name.Builtin.Pseudo */
183
+ body .vc { color: #19469D } /* Name.Variable.Class */
184
+ body .vg { color: #19469D } /* Name.Variable.Global */
185
+ body .vi { color: #19469D } /* Name.Variable.Instance */
186
+ body .il { color: #666666 } /* Literal.Number.Integer.Long */
@@ -97,49 +97,43 @@ module Architect
97
97
  #compile
98
98
 
99
99
  def watch
100
- require "fssm"
101
100
  path ||= Dir.getwd
102
101
  path = File.expand_path(path)
103
102
 
104
103
  puts ArchitectureJS::Notification.log "architect is watching for changes. Press Ctrl-C to stop."
105
104
  project = ArchitectureJS::Blueprint::new_from_config(path)
106
105
  project.update
107
- watch_hash = Hash.new
108
- watch_files = Dir["#{path}/**/"]
109
- watch_files.shift # remove the project root
110
- # remove the build_dir
111
- watch_files.reject! { |dir| dir.match(/#{path}\/#{project.config[:build_dir]}/) }
112
-
113
- watch_files.each do |dir|
114
- watch_hash[dir] = "**/*.js"
115
- end
116
-
117
- watch_hash[path] = "**/*.blueprint"
118
- watch_hash["#{ArchitectureJS::base_directory}/repository"] = "**/*.js" # check changes to the repository as well
106
+
107
+ Listen.to(path, :filter => /\.jst?$/, :ignore => /#{project.config[:build_dir]}|spec|test/) do |modified, added, removed|
108
+ if modified.length > 0
109
+
110
+ modified.each do |f|
111
+ file = File.basename(f)
112
+ puts ArchitectureJS::Notification.event "change detected in #{file}"
113
+ project.config.read if f.match(/blueprint$/)
114
+ end
119
115
 
120
- FSSM.monitor do
121
- watch_hash.each do |dir, g|
122
- path "#{dir}" do
123
- glob g
116
+ project.update
117
+ end
124
118
 
125
- update do |base, relative|
126
- puts ArchitectureJS::Notification.event "change detected in #{relative}"
127
- project.config.read if relative.match(/conf$/)
128
- project.update
129
- end
119
+ if added.length > 0
120
+ added.each do |f|
121
+ file = File.basename(f)
122
+ puts ArchitectureJS::Notification.event "#{file} created"
123
+ end
130
124
 
131
- create do |base, relative|
132
- puts ArchitectureJS::Notification.event "#{relative} created"
133
- project.update
134
- end
125
+ project.update
126
+ end
135
127
 
136
- delete do |base, relative|
137
- puts ArchitectureJS::Notification.event "#{relative} deleted"
138
- project.update
139
- end
128
+ if removed.length > 0
129
+ removed.each do |f|
130
+ file = File.basename(f)
131
+ puts ArchitectureJS::Notification.event "#{file} deleted"
140
132
  end
141
133
  end
134
+
142
135
  end
136
+
143
137
  end
144
138
  #watch
145
139
 
@@ -1,16 +1,18 @@
1
1
  begin
2
- require 'yaml'
3
- require 'jsmin'
4
2
  require 'tempfile'
5
3
  require 'fileutils'
6
4
  require 'time'
7
5
  require 'erb'
8
- rescue LoadError
9
- require 'rubygems'
10
6
  require 'yaml'
11
7
  require 'jsmin'
8
+ require 'listen'
9
+ rescue LoadError
10
+ require 'rubygems'
12
11
  require 'tempfile'
13
12
  require 'fileutils'
14
13
  require 'time'
15
14
  require 'erb'
15
+ require 'yaml'
16
+ require 'jsmin'
17
+ require 'listen'
16
18
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: architecture-js
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.8
4
+ version: 0.4.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,24 +9,24 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-04-14 00:00:00.000000000 Z
12
+ date: 2012-05-26 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
- name: fssm
15
+ name: listen
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
- - - ~>
19
+ - - ! '>='
20
20
  - !ruby/object:Gem::Version
21
- version: 0.2.8.1
21
+ version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
25
25
  none: false
26
26
  requirements:
27
- - - ~>
27
+ - - ! '>='
28
28
  - !ruby/object:Gem::Version
29
- version: 0.2.8.1
29
+ version: '0'
30
30
  - !ruby/object:Gem::Dependency
31
31
  name: jsmin
32
32
  requirement: !ruby/object:Gem::Requirement
@@ -91,38 +91,6 @@ dependencies:
91
91
  - - ~>
92
92
  - !ruby/object:Gem::Version
93
93
  version: 1.8.3
94
- - !ruby/object:Gem::Dependency
95
- name: ZenTest
96
- requirement: !ruby/object:Gem::Requirement
97
- none: false
98
- requirements:
99
- - - ~>
100
- - !ruby/object:Gem::Version
101
- version: 4.6.2
102
- type: :development
103
- prerelease: false
104
- version_requirements: !ruby/object:Gem::Requirement
105
- none: false
106
- requirements:
107
- - - ~>
108
- - !ruby/object:Gem::Version
109
- version: 4.6.2
110
- - !ruby/object:Gem::Dependency
111
- name: autotest-growl
112
- requirement: !ruby/object:Gem::Requirement
113
- none: false
114
- requirements:
115
- - - ~>
116
- - !ruby/object:Gem::Version
117
- version: 0.2.16
118
- type: :development
119
- prerelease: false
120
- version_requirements: !ruby/object:Gem::Requirement
121
- none: false
122
- requirements:
123
- - - ~>
124
- - !ruby/object:Gem::Version
125
- version: 0.2.16
126
94
  - !ruby/object:Gem::Dependency
127
95
  name: jsmin
128
96
  requirement: !ruby/object:Gem::Requirement
@@ -140,7 +108,7 @@ dependencies:
140
108
  - !ruby/object:Gem::Version
141
109
  version: '0'
142
110
  - !ruby/object:Gem::Dependency
143
- name: fssm
111
+ name: listen
144
112
  requirement: !ruby/object:Gem::Requirement
145
113
  none: false
146
114
  requirements:
@@ -177,8 +145,8 @@ files:
177
145
  - README.md
178
146
  - Rakefile
179
147
  - VERSION
180
- - architecture-js.gemspec
181
148
  - bin/architect
149
+ - docs/docco.css
182
150
  - lib/architecture-js.rb
183
151
  - lib/architecture-js/architect.rb
184
152
  - lib/architecture-js/blueprint.rb
@@ -272,7 +240,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
272
240
  version: '0'
273
241
  segments:
274
242
  - 0
275
- hash: -3369947198155868797
243
+ hash: -2544092032087362210
276
244
  required_rubygems_version: !ruby/object:Gem::Requirement
277
245
  none: false
278
246
  requirements:
@@ -1,156 +0,0 @@
1
- # Generated by jeweler
2
- # DO NOT EDIT THIS FILE DIRECTLY
3
- # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
- # -*- encoding: utf-8 -*-
5
-
6
- Gem::Specification.new do |s|
7
- s.name = "architecture-js"
8
- s.version = "0.3.8"
9
-
10
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
- s.authors = ["Dayton Nolan"]
12
- s.date = "2012-04-14"
13
- s.description = "Architecture.js helps you generate scaffolding, manage third-party packages, compile, and compress your application."
14
- s.email = "daytonn@gmail.com"
15
- s.executables = ["architect"]
16
- s.extra_rdoc_files = [
17
- "LICENSE.txt",
18
- "README.md"
19
- ]
20
- s.files = [
21
- ".DS_Store",
22
- ".document",
23
- ".rvmrc",
24
- ".travis.yml",
25
- "AUTHORS",
26
- "Gemfile",
27
- "Gemfile.lock",
28
- "HELP",
29
- "LICENSE.txt",
30
- "README.md",
31
- "Rakefile",
32
- "VERSION",
33
- "architecture-js.gemspec",
34
- "bin/architect",
35
- "lib/architecture-js.rb",
36
- "lib/architecture-js/architect.rb",
37
- "lib/architecture-js/blueprint.rb",
38
- "lib/architecture-js/dependencies.rb",
39
- "lib/architecture-js/generator.rb",
40
- "lib/architecture-js/helpers.rb",
41
- "lib/architecture-js/notification.rb",
42
- "lib/sprockets/CHANGELOG",
43
- "lib/sprockets/LICENSE",
44
- "lib/sprockets/README.markdown",
45
- "lib/sprockets/lib/sprockets.rb",
46
- "lib/sprockets/lib/sprockets/concatenation.rb",
47
- "lib/sprockets/lib/sprockets/environment.rb",
48
- "lib/sprockets/lib/sprockets/error.rb",
49
- "lib/sprockets/lib/sprockets/pathname.rb",
50
- "lib/sprockets/lib/sprockets/preprocessor.rb",
51
- "lib/sprockets/lib/sprockets/secretary.rb",
52
- "lib/sprockets/lib/sprockets/source_file.rb",
53
- "lib/sprockets/lib/sprockets/source_line.rb",
54
- "lib/sprockets/lib/sprockets/version.rb",
55
- "lib/sprockets/test/fixtures/assets/images/script_with_assets/one.png",
56
- "lib/sprockets/test/fixtures/assets/images/script_with_assets/two.png",
57
- "lib/sprockets/test/fixtures/assets/stylesheets/script_with_assets.css",
58
- "lib/sprockets/test/fixtures/constants.yml",
59
- "lib/sprockets/test/fixtures/double_slash_comments_that_are_not_requires_should_be_ignored_when_strip_comments_is_false.js",
60
- "lib/sprockets/test/fixtures/double_slash_comments_that_are_not_requires_should_be_removed_by_default.js",
61
- "lib/sprockets/test/fixtures/multiline_comments_should_be_removed_by_default.js",
62
- "lib/sprockets/test/fixtures/requiring_a_file_after_it_has_already_been_required_should_do_nothing.js",
63
- "lib/sprockets/test/fixtures/requiring_a_file_that_does_not_exist_should_raise_an_error.js",
64
- "lib/sprockets/test/fixtures/requiring_a_single_file_should_replace_the_require_comment_with_the_file_contents.js",
65
- "lib/sprockets/test/fixtures/requiring_the_current_file_should_do_nothing.js",
66
- "lib/sprockets/test/fixtures/src/constants.yml",
67
- "lib/sprockets/test/fixtures/src/foo.js",
68
- "lib/sprockets/test/fixtures/src/foo/bar.js",
69
- "lib/sprockets/test/fixtures/src/foo/foo.js",
70
- "lib/sprockets/test/fixtures/src/script_with_assets.js",
71
- "lib/sprockets/test/fixtures/src/script_with_comments.js",
72
- "lib/sprockets/test/test_concatenation.rb",
73
- "lib/sprockets/test/test_environment.rb",
74
- "lib/sprockets/test/test_helper.rb",
75
- "lib/sprockets/test/test_pathname.rb",
76
- "lib/sprockets/test/test_preprocessor.rb",
77
- "lib/sprockets/test/test_secretary.rb",
78
- "lib/sprockets/test/test_source_file.rb",
79
- "lib/sprockets/test/test_source_line.rb",
80
- "repository/modjs/plugins/jquery-elements.js",
81
- "spec/.DS_Store",
82
- "spec/architect_spec.rb",
83
- "spec/architecture-js_spec.rb",
84
- "spec/blueprint_spec.rb",
85
- "spec/fixtures/.DS_Store",
86
- "spec/fixtures/_hidden.js",
87
- "spec/fixtures/compiled_src.js",
88
- "spec/fixtures/compressed.blueprint",
89
- "spec/fixtures/compressed.js",
90
- "spec/fixtures/ejs.ejs",
91
- "spec/fixtures/env-test.js",
92
- "spec/fixtures/existing.blueprint",
93
- "spec/fixtures/lib1.js",
94
- "spec/fixtures/lib1_compressed.js",
95
- "spec/fixtures/lib2.js",
96
- "spec/fixtures/lib2_compressed.js",
97
- "spec/fixtures/myapp.blueprint",
98
- "spec/fixtures/src_file.js",
99
- "spec/fixtures/templates/env_template.js",
100
- "spec/fixtures/templates/test_template_one.js",
101
- "spec/fixtures/templates/test_template_two.js",
102
- "spec/fixtures/test_blueprint.rb",
103
- "spec/fixtures/test_template_options.js",
104
- "spec/fixtures/test_template_two.js",
105
- "spec/fixtures/underscore_template.js",
106
- "spec/fixtures/update.blueprint",
107
- "spec/fixtures/update.js",
108
- "spec/generator_spec.rb",
109
- "spec/helpers_spec.rb",
110
- "spec/notification_spec.rb",
111
- "spec/spec_helper.rb",
112
- "templates/blank.js"
113
- ]
114
- s.homepage = "https://github.com/daytonn/architecture-js"
115
- s.licenses = ["MIT"]
116
- s.require_paths = ["lib"]
117
- s.rubygems_version = "1.8.21"
118
- s.summary = "architecture.js is a command line application to dynamically build and manage complex javascript applications."
119
-
120
- if s.respond_to? :specification_version then
121
- s.specification_version = 3
122
-
123
- if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
124
- s.add_runtime_dependency(%q<fssm>, ["~> 0.2.8.1"])
125
- s.add_runtime_dependency(%q<jsmin>, ["~> 1.0.1"])
126
- s.add_development_dependency(%q<rspec>, ["~> 2.8.0"])
127
- s.add_development_dependency(%q<bundler>, [">= 0"])
128
- s.add_development_dependency(%q<jeweler>, ["~> 1.8.3"])
129
- s.add_development_dependency(%q<ZenTest>, ["~> 4.6.2"])
130
- s.add_development_dependency(%q<autotest-growl>, ["~> 0.2.16"])
131
- s.add_runtime_dependency(%q<jsmin>, [">= 0"])
132
- s.add_runtime_dependency(%q<fssm>, [">= 0"])
133
- else
134
- s.add_dependency(%q<fssm>, ["~> 0.2.8.1"])
135
- s.add_dependency(%q<jsmin>, ["~> 1.0.1"])
136
- s.add_dependency(%q<rspec>, ["~> 2.8.0"])
137
- s.add_dependency(%q<bundler>, [">= 0"])
138
- s.add_dependency(%q<jeweler>, ["~> 1.8.3"])
139
- s.add_dependency(%q<ZenTest>, ["~> 4.6.2"])
140
- s.add_dependency(%q<autotest-growl>, ["~> 0.2.16"])
141
- s.add_dependency(%q<jsmin>, [">= 0"])
142
- s.add_dependency(%q<fssm>, [">= 0"])
143
- end
144
- else
145
- s.add_dependency(%q<fssm>, ["~> 0.2.8.1"])
146
- s.add_dependency(%q<jsmin>, ["~> 1.0.1"])
147
- s.add_dependency(%q<rspec>, ["~> 2.8.0"])
148
- s.add_dependency(%q<bundler>, [">= 0"])
149
- s.add_dependency(%q<jeweler>, ["~> 1.8.3"])
150
- s.add_dependency(%q<ZenTest>, ["~> 4.6.2"])
151
- s.add_dependency(%q<autotest-growl>, ["~> 0.2.16"])
152
- s.add_dependency(%q<jsmin>, [">= 0"])
153
- s.add_dependency(%q<fssm>, [">= 0"])
154
- end
155
- end
156
-