Skip to content

Commit

Permalink
hard code gem versions in gempsec
Browse files Browse the repository at this point in the history
  • Loading branch information
rjayroach authored and rpbaltazar committed Jan 29, 2020
1 parent 8a8d747 commit db3142e
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 23 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ RUN sed -i '/git/d' ../../lib/sdk/*.gemspec \
# RUN sed -i '/path/d' Gemfile
ARG project=user
COPY services/${project}/Gemfile* ./
COPY services/${project}/ros-${project}.gemspec ./
COPY services/${project}/cnfs-${project}.gemspec ./

RUN bundle install \
&& find /usr/local/bundle -iname '*.o' -exec rm -rf {} \; \
Expand Down
4 changes: 1 addition & 3 deletions lib/sdk/cnfs_sdk.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,9 @@

$LOAD_PATH.push File.expand_path('lib', __dir__)

require 'ros_sdk/version'

Gem::Specification.new do |spec|
spec.name = 'cnfs_sdk'
spec.version = RosSdk::VERSION
spec.version = '0.0.1.alpha'
spec.authors = ['Robert Roach']
spec.email = ['[email protected]']

Expand Down
5 changes: 1 addition & 4 deletions services/cognito/cnfs-cognito.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,10 @@

$LOAD_PATH.push File.expand_path('lib', __dir__)

# Maintain your gem's version:
require 'ros/cognito/version'

# Describe your gem and declare its dependencies:
Gem::Specification.new do |spec|
spec.name = 'cnfs-cognito'
spec.version = Ros::Cognito::VERSION
spec.version = '0.0.1.alpha1'
spec.authors = ['Robert Roach', 'Rui Baltazar']
spec.email = ['[email protected]', '[email protected]']
spec.homepage = 'http://guides.rails-on-services.org/'
Expand Down
7 changes: 2 additions & 5 deletions services/comm/cnfs-comm.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,13 @@

$LOAD_PATH.push File.expand_path('lib', __dir__)

# Maintain your gem's version:
require 'ros/comm/version'

Gem::Specification.new do |spec|
spec.name = 'cnfs-comm'
spec.version = Ros::Comm::VERSION
spec.version = '0.0.1.alpha'
spec.authors = ['Robert Roach', 'Rui Baltazar']
spec.email = ['[email protected]', '[email protected]']
spec.homepage = 'http://guides.rails-on-services.org/'
spec.summary = 'Provides communication tools, e.g. Twilio to the Ros Platform'
spec.summary = 'Provides communication tools, e.g. Twilio to the CNFS Platform'
spec.description = '3rd party communication services can be invoked by other services per tenant'
spec.license = 'MIT'
spec.required_ruby_version = ['> 2.6.0', '< 2.7' ]
Expand Down
3 changes: 1 addition & 2 deletions services/iam/cnfs-iam.gemspec
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
# frozen_string_literal: true

$LOAD_PATH.push File.expand_path('lib', __dir__)
require 'ros/iam/version'

Gem::Specification.new do |spec|
spec.name = 'cnfs-iam'
spec.version = Ros::Iam::VERSION
spec.version = '0.0.1.alpha'
spec.authors = ['Robert Roach', 'Rui Baltazar']
spec.email = ['[email protected]', '[email protected]']
spec.homepage = 'http://guides.rails-on-services.org/'
Expand Down
5 changes: 1 addition & 4 deletions services/organization/cnfs-organization.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,10 @@

$LOAD_PATH.push File.expand_path('lib', __dir__)

# Maintain your gem's version:
require 'ros/organization/version'

# Describe your gem and declare its dependencies:
Gem::Specification.new do |spec|
spec.name = 'cnfs-organization'
spec.version = Ros::Organization::VERSION
spec.version = '0.0.1.alpha'
spec.authors = ['Robert Roach', 'Rui Baltazar']
spec.email = ['[email protected]', '[email protected]']
spec.homepage = 'http://guides.rails-on-services.org/'
Expand Down
5 changes: 1 addition & 4 deletions services/storage/cnfs-storage.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,10 @@

$LOAD_PATH.push File.expand_path('lib', __dir__)

# Maintain your gem's version:
require 'ros/storage/version'

# Describe your gem and declare its dependencies:
Gem::Specification.new do |spec|
spec.name = 'cnfs-storage'
spec.version = Ros::Storage::VERSION
spec.version = '0.0.1.alpha'
spec.authors = ['Robert Roach', 'Rui Baltazar']
spec.email = ['[email protected]', '[email protected]']
spec.homepage = 'http://guides.rails-on-services.org/'
Expand Down

0 comments on commit db3142e

Please sign in to comment.