Skip to content

Commit

Permalink
Bump version to 0.2.0 and gemspec
Browse files Browse the repository at this point in the history
Updating all gems and removing unneeded dependencies.
  • Loading branch information
bliof-fc committed Apr 21, 2023
1 parent ff25ccd commit 2cee335
Show file tree
Hide file tree
Showing 6 changed files with 58 additions and 84 deletions.
1 change: 1 addition & 0 deletions .ruby-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2.5.9
10 changes: 3 additions & 7 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,10 @@

source 'http://rubygems.org'

gem 'httparty'
gemspec

gem 'activesupport'
gem 'i18n'

group :development do
gem 'bundler'
gem 'jeweler', '>= 1.6.2'
group :development, :test do
gem 'rake'
gem 'rspec'
gem 'rubocop'
gem 'webmock', require: false
Expand Down
52 changes: 32 additions & 20 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,30 +1,41 @@
PATH
remote: .
specs:
ruby-postcodeanywhere (0.2.0)
activesupport
httparty

GEM
remote: http://rubygems.org/
specs:
activesupport (3.1.1)
multi_json (~> 1.0)
addressable (2.2.7)
activesupport (6.1.7.3)
concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (>= 1.6, < 2)
minitest (>= 5.1)
tzinfo (~> 2.0)
zeitwerk (~> 2.3)
addressable (2.8.4)
public_suffix (>= 2.0.2, < 6.0)
ast (2.4.2)
concurrent-ruby (1.2.2)
crack (0.4.5)
rexml
diff-lcs (1.5.0)
git (1.2.5)
hashdiff (1.0.1)
httparty (0.21.0)
mini_mime (>= 1.0.0)
multi_xml (>= 0.5.2)
i18n (0.6.0)
jeweler (1.6.2)
bundler (~> 1.0)
git (>= 1.2.5)
rake
i18n (1.12.0)
concurrent-ruby (~> 1.0)
mini_mime (1.1.2)
multi_json (1.0.4)
minitest (5.15.0)
multi_xml (0.6.0)
parallel (1.23.0)
parser (3.2.2.0)
ast (~> 2.4.1)
public_suffix (4.0.7)
rainbow (3.1.1)
rake (0.9.2)
rake (13.0.6)
regexp_parser (2.8.0)
rexml (3.2.5)
rspec (3.12.0)
Expand All @@ -33,7 +44,7 @@ GEM
rspec-mocks (~> 3.12.0)
rspec-core (3.12.2)
rspec-support (~> 3.12.0)
rspec-expectations (3.12.2)
rspec-expectations (3.12.3)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.12.0)
rspec-mocks (3.12.5)
Expand All @@ -52,22 +63,23 @@ GEM
rubocop-ast (1.17.0)
parser (>= 3.1.1.0)
ruby-progressbar (1.13.0)
tzinfo (2.0.6)
concurrent-ruby (~> 1.0)
unicode-display_width (2.4.2)
webmock (1.8.0)
addressable (>= 2.2.7)
crack (>= 0.1.7)
webmock (3.18.1)
addressable (>= 2.8.0)
crack (>= 0.3.2)
hashdiff (>= 0.4.0, < 2.0.0)
zeitwerk (2.6.7)

PLATFORMS
ruby

DEPENDENCIES
activesupport
bundler
httparty
i18n
jeweler (>= 1.6.2)
rake
rspec
rubocop
ruby-postcodeanywhere!
webmock

BUNDLED WITH
Expand Down
25 changes: 0 additions & 25 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,35 +11,10 @@ rescue Bundler::BundlerError => e
end
require 'rake'

require 'jeweler'

Jeweler::Tasks.new do |gem|
# gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
gem.name = 'ruby-postcodeanywhere'
gem.homepage = 'http://github.com/intothefire/ruby-postcodeanywhere'
gem.license = 'MIT'
gem.summary = %(Gem to provide basic access to PostcodeAnywhere services)
gem.description = %(Gem to provide basic access to PostcodeAnywhere services)
gem.email = '[email protected]'
gem.authors = ['Chris Norman']
# dependencies defined in Gemfile
end
Jeweler::RubygemsDotOrgTasks.new

require 'rspec/core'
require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new(:spec) do |spec|
spec.pattern = FileList['spec/**/*_spec.rb']
end

task default: :spec

require 'rake/rdoctask'
Rake::RDocTask.new do |rdoc|
version = File.exist?('VERSION') ? File.read('VERSION') : ''

rdoc.rdoc_dir = 'rdoc'
rdoc.title = "ruby-postcodeanywhere #{version}"
rdoc.rdoc_files.include('README*')
rdoc.rdoc_files.include('lib/**/*.rb')
end
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.1.3
0.2.0
52 changes: 21 additions & 31 deletions ruby-postcodeanywhere.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,58 +3,48 @@
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
# frozen_string_literal: true

# stub: ruby-postcodeanywhere 0.2.0 ruby lib

Gem::Specification.new do |s|
s.name = 'ruby-postcodeanywhere'
s.version = '0.1.3'
s.version = '0.2.0'

s.required_ruby_version = '>= 2.5.0'

s.authors = ['Funding Circle']
s.email = ['[email protected]']
s.summary = 'Gem to provide basic access to PostcodeAnywhere services'
s.description = 'Gem to provide basic access to PostcodeAnywhere services'
s.homepage = 'http://github.com/FundingCircle/ruby-postcodeanywhere'
s.licenses = ['MIT']

s.required_rubygems_version = Gem::Requirement.new('>= 0') if s.respond_to? :required_rubygems_version=
s.authors = ['Chris Norman']
s.description = 'Gem to provide basic access to PostcodeAnywhere services'
s.email = '[email protected]'
s.require_paths = ['lib']
s.extra_rdoc_files = [
'LICENSE.txt',
'README.rdoc'
]
s.files = [
'.document',
'.github/workflows/ci.yml',
'.rspec',
'.rubocop.yml',
'.rubocop_todo.yml',
'.ruby-version',
'Gemfile',
'Gemfile.lock',
'LICENSE.txt',
'Postcode Anywhere.tmproj',
'README.rdoc',
'Rakefile',
'VERSION',
'lib/postcode_anywhere/bank_account_validation.rb',
'lib/ruby-postcodeanywhere.rb',
'ruby-postcodeanywhere.gemspec',
'spec/ruby-postcodeanywhere_spec.rb',
'spec/lib/postcode_anywhere/bank_account_validation_spec.rb',
'spec/spec_helper.rb'
]
s.homepage = 'http://github.com/intothefire/ruby-postcodeanywhere'
s.licenses = ['MIT']
s.require_paths = ['lib']
s.rubygems_version = '1.8.5'
s.summary = 'Gem to provide basic access to PostcodeAnywhere services'

if s.respond_to? :specification_version
s.specification_version = 3
s.add_dependency('activesupport', '>= 0')
s.add_dependency('httparty', '>= 0')

if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0')
s.add_runtime_dependency('httparty', ['>= 0'])
s.add_development_dependency('bundler', ['>= 0'])
s.add_development_dependency('jeweler', ['~> 1.6.2'])
s.add_dependency('bundler', ['>= 0'])
s.add_development_dependency('rspec', ['~> 2.3.0'])
else
s.add_dependency('bundler', ['>= 0'])
s.add_dependency('httparty', ['>= 0'])
s.add_dependency('jeweler', ['~> 1.6.2'])
s.add_dependency('jeweler', ['~> 1.6.2'])
s.add_dependency('rspec', ['~> 2.3.0'])
end
else
s.add_dependency('httparty', ['>= 0'])
s.add_dependency('rspec', ['~> 2.3.0'])
end
s.metadata['rubygems_mfa_required'] = 'true'
end

0 comments on commit 2cee335

Please sign in to comment.