ceiling_cat 0.1.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. data/lib/ceiling_cat/version.rb +1 -1
  2. data/setup/Rakefile +10 -11
  3. metadata +4 -4
@@ -1,3 +1,3 @@
1
1
  module CeilingCat
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
@@ -4,20 +4,19 @@ namespace :plugin do
4
4
  raise "You need to set a name! `rake plugin:create name=[plugin_name]`" unless ENV["name"]
5
5
  name = ENV["name"].downcase
6
6
  file = File.join("plugins", "#{name}.rb")
7
- test_file = File.join("spec", "plugins", "#{name}_spec.rb")
7
+ test_file = File.join("spec", "plugins", "#{name}_spec.rb")
8
8
 
9
- unless File.exists?(file) || File.exists?(test_file)
10
- contents = plugin_base(name)
11
- File.open(file, 'w') {|f| f.write(contents) }
9
+ unless File.exists?(file) || File.exists?(test_file)
10
+ contents = plugin_base(name)
11
+ File.open(file, 'w') {|f| f.write(contents) }
12
12
 
13
- test_contents = plugin_test_base(name).gsub('\#','#')
14
- File.open(test_file, 'w') {|f| f.write(test_contents) }
13
+ test_contents = plugin_test_base(name).gsub('\#','#')
14
+ File.open(test_file, 'w') {|f| f.write(test_contents) }
15
15
 
16
- puts "Plugin '#{name}' created at #{file}."
17
- puts "Make sure you require it in your Chatfile and add it to your config.plugins so it runs."
18
- else
19
- puts "A plugin named '#{name}' already exists. Try another name."
20
- end
16
+ puts "Plugin '#{name}' created at #{file}."
17
+ puts "Make sure you require it in your Chatfile and add it to your config.plugins so it runs."
18
+ else
19
+ puts "A plugin named '#{name}' already exists. Try another name."
21
20
  end
22
21
  end
23
22
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ceiling_cat
3
3
  version: !ruby/object:Gem::Version
4
- hash: 25
4
+ hash: 31
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 1
10
- version: 0.1.1
9
+ - 2
10
+ version: 0.1.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Chris Warren
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-08-31 00:00:00 Z
18
+ date: 2011-09-04 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: tinder