pebbles_audio_files 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.0
1
+ 1.0.1
@@ -6,7 +6,7 @@ class PebblesAudioFilesGenerator < Rails::Generator::Base
6
6
  record do |m|
7
7
  audio_clip_model = "app/models/audio_clip.rb"
8
8
  if File.exists?(audio_clip_model)
9
- m.insert_into audio_clip_model, "include PebblesAudioClip::Models::AudioClip"
9
+ m.insert_into audio_clip_model, "include PebblesAudioFiles::Models::AudioClip"
10
10
  else
11
11
  m.directory File.join("app","models")
12
12
  m.file "audio_clip.rb", audio_clip_model
@@ -14,7 +14,7 @@ class PebblesAudioFilesGenerator < Rails::Generator::Base
14
14
 
15
15
  m.migration_template "migrations/create_audio_clips.rb",
16
16
  'db/migrate',
17
- :migration_file_name => "pebbles_audio_files_create_audio_clips"
17
+ :migration_file_name => "create_audio_clips"
18
18
 
19
19
  end
20
20
  end
@@ -1,6 +1,8 @@
1
1
  module PebblesAudioFiles::Models
2
2
 
3
3
  module AudioClip
4
+ unloadable
5
+
4
6
  def self.included(base)
5
7
  base.send(:extend, ClassMethods)
6
8
  base.send(:include, InstanceMethods)
@@ -1,6 +1,8 @@
1
1
  module PebblesAudioFiles::Models
2
2
 
3
3
  module Product
4
+ unloadable
5
+
4
6
  def self.included(base)
5
7
  base.send(:extend, ClassMethods)
6
8
  base.send(:include, InstanceMethods)
@@ -5,15 +5,13 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{pebbles_audio_files}
8
- s.version = "1.0.0"
8
+ s.version = "1.0.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Ryan Smith", "Bobby Wilson"]
12
12
  s.date = %q{2010-09-24}
13
- s.default_executable = %q{rake}
14
13
  s.description = %q{See summary}
15
14
  s.email = %q{dev@entryway.net}
16
- s.executables = ["rake"]
17
15
  s.files = [
18
16
  "Rakefile",
19
17
  "VERSION",
data/rails/init.rb CHANGED
@@ -1,4 +1,5 @@
1
1
  require File.expand_path(File.dirname(__FILE__) + "/../pebbles_audio_files")
2
2
  require 'rails_generator'
3
3
  Dir[File.dirname(__FILE__) + 'generators/**/*.rb'].each {|file| require file}
4
+
4
5
  Product.send(:include, PebblesAudioFiles::Models::Product)
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pebbles_audio_files
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
4
+ hash: 21
5
5
  prerelease: false
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
- - 0
10
- version: 1.0.0
9
+ - 1
10
+ version: 1.0.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Ryan Smith
@@ -17,13 +17,13 @@ bindir: bin
17
17
  cert_chain: []
18
18
 
19
19
  date: 2010-09-24 00:00:00 -06:00
20
- default_executable: rake
20
+ default_executable:
21
21
  dependencies: []
22
22
 
23
23
  description: See summary
24
24
  email: dev@entryway.net
25
- executables:
26
- - rake
25
+ executables: []
26
+
27
27
  extensions: []
28
28
 
29
29
  extra_rdoc_files: []
@@ -41,7 +41,6 @@ files:
41
41
  - pebbles_audio_files.gemspec
42
42
  - pebbles_audio_files.rb
43
43
  - rails/init.rb
44
- - bin/rake
45
44
  has_rdoc: true
46
45
  homepage: http://github.com/entryway/pebbles_audio_files
47
46
  licenses: []
data/bin/rake DELETED
@@ -1,19 +0,0 @@
1
- #!/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
2
- #
3
- # This file was generated by RubyGems.
4
- #
5
- # The application 'rake' is installed as part of a gem, and
6
- # this file is here to facilitate running it.
7
- #
8
-
9
- require 'rubygems'
10
-
11
- version = ">= 0"
12
-
13
- if ARGV.first =~ /^_(.*)_$/ and Gem::Version.correct? $1 then
14
- version = $1
15
- ARGV.shift
16
- end
17
-
18
- gem 'rake', version
19
- load Gem.bin_path('rake', 'rake', version)