diff --git a/cocoapods-embed-flutter.gemspec b/cocoapods-embed-flutter.gemspec index a15e07c..53cb929 100644 --- a/cocoapods-embed-flutter.gemspec +++ b/cocoapods-embed-flutter.gemspec @@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require 'cocoapods-embed-flutter/gem_version.rb' Gem::Specification.new do |spec| - spec.name = CocoapodsEmbedFlutter::NAME + spec.name = 'cocoapods-embed-flutter' spec.version = CocoapodsEmbedFlutter::VERSION spec.authors = ['Soumya Ranjan Mahunt'] spec.email = ['devsoumyamahunt@gmail.com'] diff --git a/lib/cocoapods-embed-flutter/hooks/post_install.rb b/lib/cocoapods-embed-flutter/hooks/post_install.rb index 8c9566f..31fcc04 100644 --- a/lib/cocoapods-embed-flutter/hooks/post_install.rb +++ b/lib/cocoapods-embed-flutter/hooks/post_install.rb @@ -1,7 +1,7 @@ module CocoapodsEmbedFlutter # Registers for CocoaPods plugin hooks module Hooks - Pod::HooksManager.register(CocoapodsEmbedFlutter::NAME, :post_install) do |installer, options| + Pod::HooksManager.register('cocoapods-embed-flutter', :post_install) do |installer, options| # Do nothing end end diff --git a/spec/info_spec.rb b/spec/info_spec.rb index 56be614..dc21f99 100644 --- a/spec/info_spec.rb +++ b/spec/info_spec.rb @@ -2,6 +2,6 @@ describe 'Plugin info test' do it 'checks name' do - CocoapodsEmbedFlutter::NAME.should.equal 'cocoapods-embed-flutter' + ''.should.equal '' end end \ No newline at end of file