jqueryplugingen 0.2.4 → 0.2.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,8 @@
1
+ 0.2.5 2009-06-15
2
+
3
+ * Windows specific fix on cached files causing a freeze
4
+ * gem dependencies aren't auto installed (simple-rss)
5
+
1
6
  0.2.4 2009-06-09
2
7
 
3
8
  * Windows specific command to open html
@@ -10,10 +10,7 @@ Generate the structure of jquery plugins easily. Manage library dependencies suc
10
10
  == FEATURES/PROBLEMS:
11
11
 
12
12
  * CAN't have a '-' or '.' in the project name [need to split plugin name and filename :-)]
13
- * gem dependencies auto installed
14
- * Can I have a ruby implementation of unzip for windows (rather than 7z?)
15
13
  * refactor jquery.rake task like compiletask as it is pretty ugly and has some spaghetti going on
16
- * be able to use the produced code on linux and windows (need jqp.bat)
17
14
  * include qunit
18
15
  * add hoe-type features for updating plugins to jquery plugin page (as rake tasks)
19
16
  * be able to bundle/package library dependencies
data/Rakefile CHANGED
@@ -9,9 +9,9 @@ $hoe = Hoe.new('jqueryplugingen', JqueryPluginGen::VERSION) do |p|
9
9
  p.changes = p.paragraphs_of("History.txt", 0..1).join("\n\n")
10
10
  p.rubyforge_name = 'jqueryplugingen'
11
11
  p.description = "Generate the structure of jquery plugins easily. Manage library dependencies such as other jquery libraries or packing code on either mac or windows. Get jsspec testing baked in. Use the familiar rake tasks to manage your jquery code base."
12
- # p.extra_deps = [
13
- # ['activesupport','>= 2.0.2'],
14
- # ]
12
+ p.extra_deps = [
13
+ ['simple-rss','>= 1.2'],
14
+ ]
15
15
  p.extra_dev_deps = [
16
16
  ['newgem', ">= #{::Newgem::VERSION}"]
17
17
  ]
@@ -138,14 +138,14 @@
138
138
  <key>caret</key>
139
139
  <dict>
140
140
  <key>column</key>
141
- <integer>2</integer>
141
+ <integer>49</integer>
142
142
  <key>line</key>
143
- <integer>115</integer>
143
+ <integer>32</integer>
144
144
  </dict>
145
145
  <key>firstVisibleColumn</key>
146
146
  <integer>0</integer>
147
147
  <key>firstVisibleLine</key>
148
- <integer>92</integer>
148
+ <integer>0</integer>
149
149
  </dict>
150
150
  <key>lib/jquery_plugin_gen/support/test.rake</key>
151
151
  <dict>
@@ -239,6 +239,6 @@
239
239
  <key>showFileHierarchyDrawer</key>
240
240
  <true/>
241
241
  <key>windowFrame</key>
242
- <string>{{204, 28}, {811, 850}}</string>
242
+ <string>{{204, 9}, {986, 869}}</string>
243
243
  </dict>
244
244
  </plist>
@@ -5,5 +5,5 @@ require 'jquery_plugin_gen/quick_template'
5
5
  require 'jquery_plugin_gen/generator'
6
6
 
7
7
  module JqueryPluginGen
8
- VERSION = '0.2.4'
8
+ VERSION = '0.2.5'
9
9
  end
@@ -122,8 +122,6 @@ end
122
122
 
123
123
  def unzip_and_install(dest, tmp_dir, file)
124
124
 
125
- puts tmp_dir
126
- # dest = File.join(dest)
127
125
  extracted_folder = File.join(tmp_dir, file.gsub(/(.*)\.zip/, '\1'))
128
126
 
129
127
  if /mswin|mingw/ =~ RUBY_PLATFORM then
@@ -148,7 +146,7 @@ def unzip_and_install(dest, tmp_dir, file)
148
146
 
149
147
  puts 'Cleaning extracted files'
150
148
  # FileUtils.rm "#{tmp_dir}/#{file}" # I'm allowing for caching
151
- FileUtils.rm_rf extracted_folder
149
+ FileUtils.rm_rf patch_themes_path(extracted_folder)
152
150
  end
153
151
 
154
152
  def patch_themes_path(extracted_path)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jqueryplugingen
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.4
4
+ version: 0.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - toddb
@@ -9,9 +9,19 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-06-11 00:00:00 +12:00
12
+ date: 2009-06-15 00:00:00 +12:00
13
13
  default_executable:
14
14
  dependencies:
15
+ - !ruby/object:Gem::Dependency
16
+ name: simple-rss
17
+ type: :runtime
18
+ version_requirement:
19
+ version_requirements: !ruby/object:Gem::Requirement
20
+ requirements:
21
+ - - ">="
22
+ - !ruby/object:Gem::Version
23
+ version: "1.2"
24
+ version:
15
25
  - !ruby/object:Gem::Dependency
16
26
  name: newgem
17
27
  type: :development