randomphrase 1.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (4) hide show
  1. checksums.yaml +7 -0
  2. data/README.md +44 -0
  3. data/lib/randomphrase.rb +142 -0
  4. metadata +45 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 722a4ab70ce7b5cda93ca5843eca0c4b8a5474eb
4
+ data.tar.gz: f884e69fd9744bd0e4b55623ac74a732a88dce6b
5
+ SHA512:
6
+ metadata.gz: bf3d08c5151f479f98ca461be51cb105d086eefcbe49c7a2aac74a14123f7fd9e61ef5fa8b6e86f62d70cd4d9ff142db90ed443e85d74334eec93a8596cf2607
7
+ data.tar.gz: 9f1a7dcb720ce4d06761e4f5108b9abddcaf3c87e8ad1944317cce4a380b3dd2f3070a96ea4a6d95fb5e39719d6d0b6d76d6942e2ab562620d0ff8f934798e35
data/README.md ADDED
@@ -0,0 +1,44 @@
1
+ # Welcome to the randomphrase, the ultimate random phrase generator.
2
+
3
+ ## Getting Started
4
+
5
+ 1. Install the gem randomphrase like this:
6
+
7
+ $ gem install randomphrase
8
+
9
+ 2. Open Gemfile that sits in the root folder like this:
10
+
11
+ $ sudo nano Gemfile
12
+
13
+ and put one more line to it:
14
+
15
+ $ gem 'randomphrase'
16
+
17
+
18
+ 3. Usage inside in your ruby code:
19
+
20
+ $ puts randomphrase.produzirfraserandomphrase
21
+
22
+ A glamorous and smart totally random phrase will be generated.
23
+
24
+
25
+ ## Contributing
26
+
27
+ [![Code Triage Badge](https://www.codetriage.com/rails/rails/badges/users.svg)](https://www.codetriage.com/rails/rails)
28
+
29
+ We encourage you to contribute to Ruby on Rails! Please check out the
30
+ [Contributing to Ruby on Rails guide](http://edgeguides.rubyonrails.org/contributing_to_ruby_on_rails.html) for guidelines about how to proceed. [Join us!](http://contributors.rubyonrails.org)
31
+
32
+ Trying to report a possible security vulnerability in Rails? Please
33
+ check out our [security policy](http://rubyonrails.org/security/) for
34
+ guidelines about how to proceed.
35
+
36
+ Everyone interacting in Rails and its sub-projects' codebases, issue trackers, chat rooms, and mailing lists is expected to follow the Rails [code of conduct](http://rubyonrails.org/conduct/).
37
+
38
+ ## Code Status
39
+
40
+ [![Build Status](https://travis-ci.org/rails/rails.svg?branch=master)](https://travis-ci.org/rails/rails)
41
+
42
+ ## License
43
+
44
+ Ruby on Rails is released under the [MIT License](http://www.opensource.org/licenses/MIT).
@@ -0,0 +1,142 @@
1
+ class Randomphrase
2
+ # Usage:Lerolero.produzirfraselerolero
3
+ # @param long_mailer_id truthy if the mailer ID is long (9 digits).
4
+ # @raise ArgumentError if invalid
5
+ def self.sentence
6
+
7
+ myarray=[
8
+ "Dear friends, ",
9
+ "On the other hand, ",
10
+ "Likewise ",
11
+ "However, we must not forget that ",
12
+ "In the same way, ",
13
+ "Everyday practice proves that ",
14
+ "It is never too much to remember the weight and meaning of these problems, since ",
15
+ "The accumulated experiences demonstrate that ",
16
+ "Above all, it is fundamental to emphasize that ",
17
+ "The incentive to technological advancement, as well as ",
18
+ "Regardless of, ",
19
+ "All these duly pondered questions cast doubt on whether ",
20
+ "Thinking more in the long run ",
21
+ "What we always have to keep in mind is that ",
22
+ "Still, there are doubts about how ",
23
+ "I would like to emphasize that ",
24
+ "However ",
25
+ "At the organizational level ",
26
+ "The commitment to analyze ",
27
+ "We realize, more and more, that ",
28
+ "In today's world ",
29
+ "It's important to question how much ",
30
+ "In this sense, ",
31
+ "Of course ",
32
+ "Therefore ",
33
+ "Of course ",
34
+ "We can already glimpse the way in which ",
35
+ "In this way, ",
36
+ "Care in identifying critical points n ",
37
+ "The certification of methodologies that help us deal with"
38
+ ]
39
+
40
+ myarray1=[
41
+ "the implementation of the program points ",
42
+ "the complexity of the studies carried out ",
43
+ "the continuous expansion of our activity ",
44
+ "the current structure of the organization ",
45
+ "the new structural model advocated here ",
46
+ "the continuous development of different forms of action ",
47
+ "the constant dissemination of information ",
48
+ "consolidation of structures ",
49
+ "the consultation of various militants ",
50
+ "the beginning of the general activity of attitudinal formation ",
51
+ "the challenging globalized scenario ",
52
+ "mobility of international capital ",
53
+ "the phenomenon of the internet ",
54
+ "the hegemony of the political environment ",
55
+ "the expansion of world markets ",
56
+ "the increase of the dialogue between the different productive sectors ",
57
+ "the growing influence of the media ",
58
+ "the need for procedural renewal ",
59
+ "competitiveness in commercial transactions ",
60
+ "the emergence of virtual commerce ",
61
+ "the revolution of customs ",
62
+ "monitoring consumer preferences ",
63
+ "the commitment between the teams ",
64
+ "the clear determination of goals ",
65
+ "the adoption of decentralization policies ",
66
+ "the valuation of subjective factors ",
67
+ "the perception of difficulties ",
68
+ "understanding of the proposed goals ",
69
+ "the consensus on the need for qualification ",
70
+ "the impartial judgment of eventualities"
71
+ ]
72
+
73
+ myarray2=[
74
+ "forces us to the analysis ",
75
+ "plays an essential role in the formulation ",
76
+ "requires precision and definition ",
77
+ "helps preparation and composition ",
78
+ "ensures the contribution of an important group in the determination ",
79
+ "assumes important positions in the establishment ",
80
+ "facilitates creation ",
81
+ "impedes the appreciation of the importance ",
82
+ "offers an interesting opportunity for verification ",
83
+ "entails a process of reformulation and modernization ",
84
+ "may lead us to consider restructuring ",
85
+ "represents an opening for improvement ",
86
+ "has not convincingly demonstrated that it will participate in the change ",
87
+ "may come to emphasize relativity ",
88
+ "prepares us to face atypical situations arising ",
89
+ "maximizes the possibilities on account ",
90
+ "challenges the equalization ability ",
91
+ "adds value to the establishment ",
92
+ "is one of the consequences ",
93
+ "promotes leverage ",
94
+ "can no longer dissociate itself ",
95
+ "provides a better overall view ",
96
+ "stimulates standardization ",
97
+ "points to improvement ",
98
+ "is part of a management process ",
99
+ "has an indirect impact on the revaluation ",
100
+ "has tendencies towards approving maintenance ",
101
+ "extends reach and importance ",
102
+ "must undergo modifications independently ",
103
+ "positively affects the correct forecast"
104
+ ]
105
+
106
+ myarray3=[
107
+ "the financial and administrative conditions required. ",
108
+ "from the development guidelines for the future. ",
109
+ "of the general participation system. ",
110
+ "of the positions of the governing bodies in relation to their attributions. ",
111
+ "of the new propositions. ",
112
+ "of the preferential directions in the direction of progress. ",
113
+ "of the system of training of staff that corresponds to the needs. ",
114
+ "of undeniably appropriate conditions. ",
115
+ "of the desired indexes. ",
116
+ "of the forms of action. ",
117
+ "of corporate paradigms. ",
118
+ "of vertical relationships between hierarchies. ",
119
+ "of the communication process as a whole. ",
120
+ "of the methods used in the evaluation of results. ",
121
+ "of all the functional resources involved. ",
122
+ "of the levels of departmental motivation. ",
123
+ "of the innovative management of which we are part. ",
124
+ "of the conventional modes of operation. ",
125
+ "of alternatives to orthodox solutions. ",
126
+ "of the procedures normally adopted. ",
127
+ "of strategic knowledge to achieve excellence. ",
128
+ "of the flow of information. ",
129
+ "of the survey of the variables involved. ",
130
+ "of the various currents of thought. ",
131
+ "of the impact on decision agility. ",
132
+ "of the rules of normative conduct. ",
133
+ "of the sector budget. ",
134
+ "long-term expected return. ",
135
+ "of the investment in technical recycling. ",
136
+ "of the redeployment of functional frameworks."
137
+ ]
138
+ srand(Time.now.utc.to_i)
139
+ #myarray=[Time.now.utc.strftime('%s')]
140
+ myarray.sort.sample+" "+myarray1.sort.sample+" "+myarray2.sort.sample+" "+myarray3.sort.sample
141
+ end
142
+ end
metadata ADDED
@@ -0,0 +1,45 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: randomphrase
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.2.1
5
+ platform: ruby
6
+ authors:
7
+ - Milton Yukio Matsumura
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2017-07-28 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description: 'A simple random generation gem '
14
+ email: miltonyukio2@gmail.com
15
+ executables: []
16
+ extensions: []
17
+ extra_rdoc_files: []
18
+ files:
19
+ - README.md
20
+ - lib/randomphrase.rb
21
+ homepage: http://rubygems.org/gems/randomphrase
22
+ licenses:
23
+ - MIT
24
+ metadata: {}
25
+ post_install_message:
26
+ rdoc_options: []
27
+ require_paths:
28
+ - lib
29
+ required_ruby_version: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ required_rubygems_version: !ruby/object:Gem::Requirement
35
+ requirements:
36
+ - - ">="
37
+ - !ruby/object:Gem::Version
38
+ version: '0'
39
+ requirements: []
40
+ rubyforge_project:
41
+ rubygems_version: 2.6.8
42
+ signing_key:
43
+ specification_version: 4
44
+ summary: randomphrase!
45
+ test_files: []