rails_plan 0.0.6 → 0.0.8

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 969195f7b64b0ef75ccf58680888c53b11ba90802ed85c73b67e00069b6595c0
4
- data.tar.gz: 5e14518c6e60047d2c0c301d825b0be45c227e8f2eafe21fb5d5320f918c18e4
3
+ metadata.gz: d5a42c784799064bc10b367f99e14cf35b393aa8e820903daa8c2424fc773d12
4
+ data.tar.gz: 6c625013fb09d836965c876f7c0182f077ea4314dad2809cc009a2986f252a3a
5
5
  SHA512:
6
- metadata.gz: d1f65c034266e92e2e21e44a54aa36698fb066312fd65ee895c522194abba62228e3657c57660d0798375b6d7d5964098188b7992b13e792319a154d76d6599e
7
- data.tar.gz: 8f809791401f24dbb6df1f9b42fc82ed320c8311bddc7f3b045c3cfc52b8e71caa70d3aa9b23996c2a889c01395d0523208618ac88549d365e0ec519d7879de6
6
+ metadata.gz: f893b503e24860a6ca219bdb575d5058cc7c0df4ff740a32c706611af7dbb9cf1d2ba66067523b93b291b957e292bbd444837a31afb416f67cf6c831ccd103db
7
+ data.tar.gz: 9921a066fe3229b6d999852e7b38a0f522abb50a74117e84db78b14fcee8b190b345356718a57a4b2fdde4cb6dc9f2bdb6de4049a6b611ff59d680fb7d5e1baf
@@ -3,8 +3,7 @@
3
3
  module RailsPlan
4
4
  module Cli
5
5
  class FetchTemplate
6
- # API_URL = 'https://railsplan.com/api/v1'
7
- API_URL = 'http://localhost:3000/api/v1'
6
+ API_URL = 'https://railsplan.com/api/v1'
8
7
 
9
8
  def call(uid)
10
9
  response = RestClient.get(API_URL + "/plans/#{uid}") { |res| res }
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RailsPlan
4
- VERSION = '0.0.6'
4
+ VERSION = '0.0.8'
5
5
  end
data/lib/rails_plan.rb CHANGED
@@ -21,6 +21,8 @@ module RailsPlan
21
21
  FileUtils.mkdir_p(File.dirname(file_path))
22
22
  File.write(file_path, file['content'])
23
23
  end
24
+
25
+ FileUtils.chmod_R("u+x", './bin')
24
26
  end
25
27
  end
26
28
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_plan
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Paweł Dąbrowski
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-08-10 00:00:00.000000000 Z
11
+ date: 2024-08-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client
@@ -59,7 +59,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
59
59
  - !ruby/object:Gem::Version
60
60
  version: '0'
61
61
  requirements: []
62
- rubygems_version: 3.4.10
62
+ rubygems_version: 3.2.32
63
63
  signing_key:
64
64
  specification_version: 4
65
65
  summary: Speed up Rails app planning and development process